SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07IBDC_ALV SAP ABAP INCLUDE - RM07IBDCALV







RM07IBDC_ALV is a standard ABAP INCLUDE 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 RM07IBDC_ALV 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 RM07IBDC_ALV. "Basic submit
SUBMIT RM07IBDC_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT RM07IBDC_ALV VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RM07IBDC_ALV

INCLUDE: MM07MABC,
RM07DATA,
RM07MUSR,
RM07MEND,
RM07MBDC,
RM07GRID.


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:

MB_CHECK_T160M CALL FUNCTION 'MB_CHECK_T160M' EXPORTING I_MSGNR = '834' IMPORTING RC = RC.

VALUE_ARTICLE_FIND CALL FUNCTION 'VALUE_ARTICLE_FIND' EXPORTING I_MATNR = PRE_TAB-MATNR I_WERKS = PRE_TAB-WERKS I_KZRFB = L_KZRFB I_MAXTZ = L_MAXTZ IMPORTING E_MATNR = BF_MATNR E_WAART = XWAART EXCEPTIONS ENTRY_NOT_FOUND = 01 WERTM_BF_NICHT_ERLAUBT = 02 BUCHUNG_NICHT_ERLAUBT = 03 MATERIAL_NOT_FOUND = 04.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = GIDAT I_BUKRS = XWEBU-BUKRS IMPORTING E_GJAHR = GJAHR E_MONAT = MONAT EXCEPTIONS "n391015 OTHERS = 1. "n391015

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'MI01' TABLES DYNPROTAB = BDCDATA.

MB_PHYSICAL_INVENTORY CALL FUNCTION 'MB_PHYSICAL_INVENTORY' EXPORTING S_IIKPF = P_S_IIKPF CTCOD = L_TCODE INV_ACTION = L_ACTION IMPORTING S_EIKPF = L_S_EIKPF TABLES T_IISEG = P_T_IISEG T_EISEG = L_T_EISEG EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 100.

MB_PHYSICAL_INVENTORY CALL FUNCTION 'MB_PHYSICAL_INVENTORY' EXPORTING S_IIKPF = P_S_IIKPF CTCOD = L_TCODE INV_ACTION = L_ACTION IMPORTING S_EIKPF = L_S_EIKPF TABLES T_IISEG = P_T_IISEG T_EISEG = L_T_EISEG EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 100.

WRITE_MESSAGE_NEW CALL FUNCTION 'WRITE_MESSAGE_NEW' EXPORTING MSGID = P_S_BALMI-MSGID MSGNO = P_S_BALMI-MSGNO MSGTY = P_S_BALMI-MSGTY MSGV1 = P_S_BALMI-MSGV1 MSGV2 = P_S_BALMI-MSGV2 MSGV3 = P_S_BALMI-MSGV3 MSGV4 = P_S_BALMI-MSGV4 MSGV5 = ' ' IMPORTING ERROR = L_ERROR MESSG = L_S_MESSAGE MSGLN = L_MSGLN EXCEPTIONS OTHERS = 1.

VALUE_ARTICLE_FIND CALL FUNCTION 'VALUE_ARTICLE_FIND' EXPORTING I_MATNR = PRE_TAB-MATNR I_WERKS = PRE_TAB-WERKS I_KZRFB = L_KZRFB I_MAXTZ = L_MAXTZ IMPORTING E_MATNR = BF_MATNR E_WAART = XWAART EXCEPTIONS ENTRY_NOT_FOUND = 01 WERTM_BF_NICHT_ERLAUBT = 02 BUCHUNG_NICHT_ERLAUBT = 03 MATERIAL_NOT_FOUND = 04.

MB_SELECT_MAT_PHYSINV_XRUEJ CALL FUNCTION 'MB_SELECT_MAT_PHYSINV_XRUEJ' "n654402 EXPORTING "n654402 GIDAT = GIDAT "n654402 WERKS = PRE_TAB-WERKS "n654402 IMPORTING "n654402 XRUEJ = XRUEJ "n654402 EXCEPTIONS "n654402 IGNORE_RECORD = 1 "n654402 OTHERS = 2. "n654402

MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING KZRFB = X BUKRS = XWEBU-BUKRS IMPORTING WMARV = MARV EXCEPTIONS NOT_FOUND = 1 WRONG_CALL = 2 OTHERS = 3.



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