SAP Reports / Programs

RBDARTST SAP ABAP Report - Reimport IDoc Directly to Inbound Processing of Retail Material Master







RBDARTST 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 RBDARTST 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 RBDARTST. "Basic submit
SUBMIT RBDARTST AND RETURN. "Return to original report after report execution complete
SUBMIT RBDARTST 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: CR_IDOC = Create IDoc physically
Selection Text: P_BEFORE = Prefix for new material
Selection Text: P_DETAIL = Graphical output of IDoc data
Selection Text: P_KEYLI = Set up IDoc with key lists
Selection Text: P_NUMACT = (Active number)
Selection Text: P_NUMALL = (All numbers)
Selection Text: P_RUNTI = Measure runtime of posting
Selection Text: P_SHLOG = Display application log
Selection Text: S_WERKS = Limit new plants
Selection Text: P_NOLOG = No change log
Selection Text: P_MATNR = Material
Selection Text: P_MATNRN = New material (without prefix)
Selection Text: P_MESTY = Message type
Selection Text: P_NEWWRK = Number of further plants
Selection Text: P_NOBEL = No change documents
Title: Reimport IDoc Directly to Inbound Processing of Retail Material Master
Text Symbol: 005 = (Do not use 'new material' for purely numerical generic article numbers)
Text Symbol: 004 = Runtime measurement
Text Symbol: 003 = Influence log
Text Symbol: 002 = Influence IDoc data creation
Text Symbol: 001 = (& of &) material master will be posted
Text Symbol: 006 = Physical creation of a test IDoc
Text Symbol: 007 = Scope of output


INCLUDES used within this REPORT RBDARTST

INCLUDE MMMGXV37.


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:

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 MATNR = P_MATNR * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * IMPORTING * WMARA = EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' EXPORTING RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' * SUPPRESS_PROGRESS_INDICATOR = ' ' * SUPPRESS_BUFFER_REFRESH = ' ' * OUTPUT_TOTAL_INIT = 0 * OUTPUT_COUNTER_INIT = 0 * IMPORTING * CREATED_COMM_IDOCS = * CREATED_MASTER_IDOCS = TABLES MARAKEY = T_MARAKEY EXCEPTIONS OTHERS = 1.

READ_REFERENCE_PLANTS CALL FUNCTION 'READ_REFERENCE_PLANTS' * EXPORTING * KZRFB = ' ' TABLES REFPLANT = HREFPLANTS EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

MASTERIDOC_CREATE_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_ARTMAS' EXPORTING HEAD_MATNR = IHEAD_MATNR RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' * IMPORTING * CREATED_COMM_IDOCS = TABLES VAR_TAB = TVAR_TAB MARAKEY = TMARAKEY AUSPKEY = TAUSPKEY MAW1KEY = TMAW1KEY MAKTKEY = TMAKTKEY MARCKEY = TMARCKEY MARDKEY = TMARDKEY MARMKEY = TMARMKEY MAMTKEY = TMAMTKEY MEANKEY = TMEANKEY MLEAKEY = TMLEAKEY MALGKEY = TMALGKEY MVKEKEY = TMVKEKEY WLK2KEY = TWLK2KEY MLANKEY = TMLANKEY MBEWKEY = TMBEWKEY MLGNKEY = TMLGNKEY MLGTKEY = TMLGTKEY STXHKEY = TSTXHKEY MFHMKEY = TMFHMKEY MPGDKEY = TMPGDKEY MPOPKEY = TMPOPKEY MPRWKEY = TMPRWKEY MVEGKEY = TMVEGKEY MVEUKEY = TMVEUKEY MKALKEY = TMKALKEY EXCEPTIONS OTHERS = 1.

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

IDOC_INPUT_ARTMAS CALL FUNCTION 'IDOC_INPUT_ARTMAS' EXPORTING INPUT_METHOD = ' ' MASS_PROCESSING = ' ' * IMPORTING * WORKFLOW_RESULT = * APPLICATION_VARIABL = * 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.

APPL_LOG_DISPLAY_INTERN *CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' * EXPORTING * OBJECT = OBJECT_MATU ** SUBOBJECT = ' ' ** TITLE_LIST_SCREEN = ' ' ** COLUMN_SELECTION = '11112221122 ' ** COLUMN_SELECTION_MSG_JUMP = '1' * EXTERNAL_NUMBER_DISPLAY_LENGTH = 20 ** IMPORTING ** NUMBER_OF_PROTOCOLS = ** EXCEPTIONS ** object_not_found = 1 ** subobject_not_found = 2 ** others = 3 * .

ALE_IDOCS_CREATE CALL FUNCTION 'ALE_IDOCS_CREATE' EXPORTING IDOC_CONTROL = IDOC_CONTROL TABLES IDOC_DATA = T_IDOC_DATA RECEIVERS = RECEIVERS CREATED_IDOCS = NEW_IDOCS EXCEPTIONS IDOC_INPUT_WAS_INCONSISTENT = 1 OTHERS = 2.



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 RBDARTST or its description.