SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWSIDOCI SAP ABAP Report - Direct re-import of an IDoc into assortment modules







RWSIDOCI 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 RWSIDOCI into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RWSIDOCI. "Basic submit
SUBMIT RWSIDOCI AND RETURN. "Return to original report after report execution complete
SUBMIT RWSIDOCI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_BEFORE = Prefix for new module
Selection Text: P_DETAIL = Detail output
Selection Text: P_MESTY = Message type
Selection Text: P_SKOPF = Module
Selection Text: P_SKOPFN = New module
Title: Direct re-import of an IDoc into assortment modules
Text Symbol: 001 = (& of &) of the assortment modules is posted


INCLUDES used within this REPORT RWSIDOCI

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

MASTERIDOC_CREATE_REQ_ASSMOD CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ASSMOD' EXPORTING RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' * X_CONV = ' * SUPPRESS_PROGRESS_INDICATOR = ' * SUPPRESS_BUFFER_REFRESH = ' * IMPORTING * CREATED_COMM_IDOCS = * CREATED_MASTER_IDOCS = TABLES T_WSOHKEY = T_WSOHKEY * WLK1KEY = t_wlk1key EXCEPTIONS OTHERS = 1.

MASTERIDOC_CREATE_REQ_LIKOND CALL FUNCTION 'MASTERIDOC_CREATE_REQ_LIKOND' EXPORTING RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' * X_CONV = ' ' * SUPPRESS_PROGRESS_INDICATOR = ' ' * SUPPRESS_BUFFER_REFRESH = ' ' * IMPORTING * CREATED_COMM_IDOCS = * CREATED_MASTER_IDOCS = TABLES * wsohkey = t_wsohkey T_MARAKEY = T_MARAKEY EXCEPTIONS OTHERS = 0."#EC FB_NORC

MASTERIDOC_CREATE_ASSMOD CALL FUNCTION 'MASTERIDOC_CREATE_ASSMOD' EXPORTING P_WSOHKEY = F_WSOHKEY * wlk1key = f_wlk1key RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' TABLES T_WSOTKEY = T_WSOTKEY T_WSOPKEY = T_WSOPKEY T_WSOFKEY = T_WSOFKEY EXCEPTIONS OTHERS = 1.

MASTERIDOC_CREATE_LIKOND CALL FUNCTION 'MASTERIDOC_CREATE_LIKOND' EXPORTING * WSOHKEY = P_MARAKEY = F_MARAKEY RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' * X_CONV = ' ' * IMPORTING * CREATED_COMM_IDOCS = TABLES T_WLK1KEY = T_WLK1KEY * WSOPKEY = * WSOFKEY = EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = OUT_STRING EXCEPTIONS OTHERS = 1.

IDOC_INPUT_ASSMOD CALL FUNCTION 'IDOC_INPUT_ASSMOD' EXPORTING INPUT_METHOD = ' ' MASS_PROCESSING = ' ' TABLES IDOC_CONTRL = T_EDIDC IDOC_DATA = T_IDOC_DATA IDOC_STATUS = T_STATUS RETURN_VARIABLES = T_RETVARS SERIALIZATION_INFO = T_SER EXCEPTIONS WRONG_FUNCTION_CALLED = 1 OTHERS = 2.

IDOC_INPUT_LIKOND CALL FUNCTION 'IDOC_INPUT_LIKOND' EXPORTING INPUT_METHOD = ' ' MASS_PROCESSING = ' ' * IMPORTING * WORKFLOW_RESULT = * APPLICATION_VARIABLE = * IN_UPDATE_TASK = * CALL_TRANSACTION_DONE = TABLES IDOC_CONTRL = T_EDIDC IDOC_DATA = T_IDOC_DATA IDOC_STATUS = T_STATUS RETURN_VARIABLES = T_RETVARS SERIALIZATION_INFO = T_SER EXCEPTIONS WRONG_FUNCTION_CALLED = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_save it_events = gt_eventtab TABLES t_outtab = T_IDOC_DATA EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_edidd CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_list_top_of_page.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RWSIDOCI or its description.