/IPRO/TEST_DOCUMENT_SAVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter /IPRO/TEST_DOCUMENT_SAVE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_CONT = Select Content
Selection Text: P_DOC = Select Document ID
Selection Text: P_VARXML = Provide Variable Tree
Title: This report will test the DOCB_DOCUMENT_SAVE service
Text Symbol: 100 = Select Microsoft Word XML file
Text Symbol: 101 = Select Variable XML file
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = p_doc IMPORTING output = p_doc.
SCMS_BINARY_TO_XSTRING CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = lv_len IMPORTING buffer = lx_data TABLES binary_tab = lt_tab EXCEPTIONS failed = 1 OTHERS = 2.
/IPRO/GET_DOCUMENT_DETAILS CALL FUNCTION '/IPRO/GET_DOCUMENT_DETAILS' EXPORTING piv_docmnt = lv_guid piv_return_content = 'X' piv_docsl = '' piv_content = p_cont piv_action = '03' * PIV_LANGUAGE = * PIV_DOCMNT_ID = IMPORTING pev_doc_hdr = ls_doc_header pev_doc = lv_doc_data * PET_MESSAGE = * PET_AUTH_USERS = * PET_AUTH_ORGS = pev_doc_details = lv_doc_detail * PET_REVIEWERS = * PET_APPROVERS = .
SCMS_BINARY_TO_XSTRING CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = lv_len IMPORTING buffer = lv_doc_detail TABLES binary_tab = lt_tab EXCEPTIONS failed = 1 OTHERS = 2.
DOCB_DOCUMENT_SAVE CALL FUNCTION 'DOCB_DOCUMENT_SAVE' EXPORTING piv_doc_binary = piv_document piv_doc_xml = lv_doc_detail * PIT_AUTH_USERS = * PIT_AUTH_ORGS = piv_action = '03' * PIT_REVIEWERS = * PIT_APPROVERS = IMPORTING * PEV_DOC_ID = pet_message = lt_messages CHANGING pcv_dochdr = ls_doc_header.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/IPRO/TEST_DOCUMENT_SAVE - This report will test the DOCB_DOCUMENT_SAVE service /IPRO/TEST_DOCUMENT_SAVE - This report will test the DOCB_DOCUMENT_SAVE service /IPRO/TEST_DOCUMENT_CREATE - This report will test the DOCB_DOCUMENT_CREATE service /IPRO/TEST_DOCUMENT_CREATE - This report will test the DOCB_DOCUMENT_CREATE service /IPRO/TEST_DOCUMENT_COPY - This report will test the DOCB_DOCUMENT_COPY service /IPRO/TEST_DOCUMENT_COPY - This report will test the DOCB_DOCUMENT_COPY service