SAP Reports / Programs

RBDMATST SAP ABAP Report - Reimport IDoc Directly to Inbound Processing for the Material Master







RBDMATST 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 RBDMATST 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 RBDMATST. "Basic submit
SUBMIT RBDMATST AND RETURN. "Return to original report after report execution complete
SUBMIT RBDMATST 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 material
Selection Text: P_DETAIL = Detail output
Selection Text: P_MATNR = Material
Selection Text: P_MATNRN = New material number
Selection Text: P_MESTY = Message type
Selection Text: P_NUMACT = (Active number)
Selection Text: P_NUMALL = (All numbers)
Title: Reimport IDoc Directly to Inbound Processing for the Material Master
Text Symbol: 001 = (& of &) material master will be posted


INCLUDES used within this REPORT RBDMATST

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:

MASTERIDOC_CREATE_REQ_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' EXPORTING RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' OUTPUT_TOTAL_INIT = OUTPUT_TOTAL_INIT "//br40 OUTPUT_COUNTER_INIT = OUTPUT_COUNTER_INIT " TABLES MARAKEY = T_MARAKEY EXCEPTIONS OTHERS = 1.

MASTERIDOC_CREATE_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_MATMAS' EXPORTING MARAKEY = F_MARAKEY RCVPFC = '' RCVPRN = '' RCVPRT = '' SNDPFC = '' SNDPRN = '' SNDPRT = '' MESSAGE_TYPE = P_MESTY FLAG_TESTMODE = 'X' TABLES MAKTKEY = T_MAKTKEY MARCKEY = T_MARCKEY MARDKEY = T_MARDKEY MARMKEY = T_MARMKEY MEANKEY = T_MEANKEY MVKEKEY = T_MVKEKEY MLANKEY = T_MLANKEY MBEWKEY = T_MBEWKEY MLGNKEY = T_MLGNKEY MLGTKEY = T_MLGTKEY " //br020697 zu 4.0

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

IDOC_INPUT_MATMAS01 CALL FUNCTION 'IDOC_INPUT_MATMAS01' EXPORTING INPUT_METHOD = ' ' MASS_PROCESSING = ' ' NO_APPLICATION_LOG = 'X' 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 .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT I_SAVE = GC_SAVE IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = T_IDOC_DATA EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = IV_TABNAME FIELDNAME = IV_FIELDNAME LANGU = SY-LANGU ALL_TYPES = GC_FLAG TABLES DFIES_TAB = LT_DFIES.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = IV_INTERNAL_TABNAME I_STRUCTURE_NAME = IV_STRUCTURE_NAME 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 = IV_LIST_TYPE IMPORTING ET_EVENTS = XT_EVENTTAB.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = IT_TOP_OF_PAGE.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING FORMATWIDTH = 60 LINEWIDTH = 132 STARTLINE = 1 TABLES LINES = LT_TLINE EXCEPTIONS OTHERS = 0.



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