lr_document = cl_document_bcs=>create_document( i_type = 'RAW' i_text = gw_text_bcsy i_subject = l_subject ). gt_pdf_mail = cl_bcs_convert=>xstring_to_solix( gt_pdf ). * CLEAR l_subject. * l_subject = ps_nast-objky. CLEAR gw_spoolno. CLEAR gv_file_counter. LOOP AT ...
ENDIF. * XSTRING format is then converted to Binary Format (SOLIX_TAB) to use in the attachment mail CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = w_pdf_xstring TABLES binary_tab = g_objcont. CLASS cl_bcs DEFINITION LOAD. SELECT SINGLE adrnr INTO lv_adrnr FROM ...
CONDENSE lv_string. none of them removed the garbage values. Regards, Sandeep Reply Former Member 2015 Apr 13 3:05 PM 0 Kudos 657 SAP Managed Tags: ABAP Development Hi Sandeep, Try to use the method xstring_to_solix in CL_DOCUMENT_BCS to convert the xstring into string.Apply...