当前位置:网站首页>SAP excel has completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
SAP excel has completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
2022-04-23 09:32:00 【rogerix4】
1. SAP export Excel Times wrong
-
Find out “test.xlsx” There is a problem with some of the contents in . Let's try to recover ? If you trust the source of this workbook , Please click on the “ yes ”

-
Excel File level verification and repair completed . Some parts of this workbook may have been repaired or discarded .

2. resolvent
-
Get the data output length when getting the binary export data table :l_length
-
Method 1 :
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = r_xstring IMPORTING output_length = l_length TABLES binary_tab = binary_tab. -
Method 2 :
CALL METHOD cl_bcs_convert=>xstring_to_solix EXPORTING iv_xstring = r_xstring RECEIVING et_solix = binary_tab. l_length = xstrlen( r_xstring ).
-
-
Then call cl_gui_frontend_services=>gui_download when , Pass in the parameter :bin_filesize = l_length
CALL METHOD cl_gui_frontend_services=>gui_download EXPORTING bin_filesize = l_length filename = `C:\Users\xxxx\Desktop\test.xlsx` filetype = 'BIN' CHANGING data_tab = binary_tab EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 not_supported_by_gui = 22 error_no_gui = 23 OTHERS = 24.

- Corrected exported Excel It can be opened directly

版权声明
本文为[rogerix4]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623503941.html
边栏推荐
- 【读书笔记】《Verilog数字系统设计教程》 第5章 条件语句、循环语句和块语句(附思考题答案)
- Simple understanding of arguments in JS
- Kettle experiment conversion case
- Acquisition of DOM learning elements JS
- Employee probation application (Luzhou Laojiao)
- Unfortunately, I broke the leader's confidential documents and spit blood to share the code skills of backup files
- Set the maximum width of the body, but why does the background color of the body cover the whole page?
- Give the method of instantiating the object to the new object
- JS DOM learn three ways to create elements
- MySQL - Chapter 1 (data types in MySQL)
猜你喜欢

《數字電子技術基礎》3.1 門電路概述、3.2 半導體二極管門電路

MySQL of database -- basic common query commands

PHP笔记(一):开发环境配置

Two methods of building Yum source warehouse locally

Personal homepage software fenrus

Exclusive thoughts and cases of JS

SAP debug debug for in, reduce and other complex statements

Go language learning notes - array | go language from scratch

《信息系统项目管理师总结》第八章 项目干系人管理

NPM reports an error: operation not allowed, MKDIR 'C: \ program files \ node JS \ node_ cache _ cacache’
随机推荐
Summary of wrong questions 1
3、 6 [Verilog HDL] gate level modeling of basic knowledge
108. Convert an ordered array into a binary search tree
1 + X cloud computing intermediate -- script construction, read-write separation
Three challenges that a successful Devops leader should be aware of
个人主页软件Fenrus
Kernel PWN learning (4) -- double fetch & 0ctf2018 baby
Machine learning (VI) -- Bayesian classifier
ABAP CDs view with association example
Leetcode question bank 78 Subset (recursive C implementation)
亚马逊云科技入门资源中心,从0到1轻松上云
[Luke V0] verification environment 2 - Verification Environment components
What is monitoring intelligent playback and how to use intelligent playback to query video recording
阿里云架构师解读四大主流游戏架构
Cloud computing competition -- basic part of 2020 competition [task 3]
501. Mode in binary search tree
GUI, CLI and UNIX Philosophy
《信息系统项目管理师总结》第八章 项目干系人管理
Employee probation application (Luzhou Laojiao)
KVM installation and deployment