1, GUI_UPLOAD:上载图片文件 2, SCMS_BINARY_TO_XSTRING:将图片文件转换成xstring 3, SCMS_XSTRING_TO_BINARY:将图片xstring转换成binary格式保存到内表中 4, DP_CREATE_URL:创建得到图片的URL 5, go_pic->load_picture_from_url:根据图片URL导入 6, go_pic->set_display_mode:显示图片 2, 完整代码 1...
Could any guru give sample code for the following function module: SCMS_XSTRING_TO_BINARY SCMS_BINARY_TO_STRING. Thanks a lot
I have a RAWSTRING xxx (get from DB) and want download it using GUI_DOWNLOAD. According to some posts, I call 'SCMS_XSTRING_TO_BINARY' data: data_tab type table of x255.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = bitmap3 " xstring TABLES binary_tab = bitmap4. data bitmap4_size type i. bitmap4_size = xstrlen( bitmap3 ). CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP' EXPORTING OLD_FORMAT = 'BDS' NEW_FORMAT = 'BMP' BITMAP_FILE_BYTECOUNT_...
* ABAP to JSON lo_writer = cl_sxml_string_writer=>create( type = if_sxml=>co_xt_json ). CALL TRANSFORMATION id SOURCE text = lt_zxlth[] RESULT XML lo_writer. lv_jsonx = lo_writer->get_output( ). CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' ...
First convert the xstring to binary. SCMS_XSTRING_TO_BINARY Then binary to string. SCMS_BINARY_TO_STRING It works fine. Thank u. Siva. You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in. Comment Comments (2) For...
There are several use cases when you need to convert SOLIX table to XSTRING. For example, when you are using sap gateway for downloading files from SAP office, you will
Convert the xstring to binary. SCMS_XSTRING_TO_BINARY Then Binary to String SCMS_BINARY_TO_STRING regards, Nazeer Reply MichaelH1 Explorer In response to Former Member 2009 Dec 28 9:44 AM 0 Kudos 543 SAP Managed Tags: ABAP Development Hi Nazeer, thanks for your answer. Your...
ABAP String functions 1 abap technical 1 ABAP test cokpit 1 abap to xml 1 ABAP Trial 2022 AP01 1 abapGit 1 absl 2 Accenture 1 Access Control 1 Access data from datasphere to ADF Azure Data Factory 6 access data from SAP Datasphere directly from Snowflake 1 Access data fr...
In the SAP RFC function call, the whitespace in the Parameter value is treated as an empty string ('') and is trimmed. To make sure that the call keeps whitespace exactly as provided in the payload, include the xml:space="preserve" attribute with the element to comply with the W3C speci...