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...
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.
将码流按使用的参数接口要求进行重组转换 "将 xstring 的字符串存储到行结构为 X 类型内表中,以适合于邮件发 "送接口。该函数并不是将 xstring 字符转换为 二(因为xstring本身就 "是原生态,从函数名上看容易误导)。 CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = xstr TABLES binary_tab ...
Could any guru give sample code for the following function module: SCMS_XSTRING_TO_BINARY SCMS_BINARY_TO_STRING. Thanks a lot
lv_pdf_xstring TYPE xstring, ls_guid_str TYPE string. DATA(lv_uuid) = server->request->get_form_field( 'uuid' ). CALL METHOD me->get_output_data EXPORTING iv_uuid = lv_uuid IMPORTING fpcontent = lv_pdf_xstring. CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' ...
"***Xstring转二进制 CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = lv_bin_xstr TABLES binary_tab = lt_binary_content. "" lt_binary_content 很重要,它就是SMARTFORM的PDF内容 如何采购订单直接由Adobe PDF创建,那么可以直接使用lt_binary_content中的内容。
first i am converting my document path to xstring format using scms_text_to_xstring. then next i want convert xstring to binary format i am using this fm scms_xstring_to_binary. still i am getting xstring format only. can you please suggest me. how solve this issue. i am pasting ...
* 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' ...
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = lv_file_xstring IMPORTING output_length = lv_length TABLES binary_tab = lt_file_content. ls_file_info-binary_flg = 'X'. ls_file_info-file_name = iv_file_name. ls_file_info-file_size = lv_length. ls_file_info-mimetype =...
l_bitmap TYPE xstring, otf LIKE itcoo OCCURS 10 WITH HEADER LINE. PERFORM get_otf_bc_cmd IN PROGRAM sapmssco USING barcode barcdata bc_cmd. CHECK sy-subrc = 0. bp_cmd-tdprintcom = 'BP'. PERFORM get_otf_bp_cmd IN PROGRAM sapmssco ...