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

MM07RFC0 SAP ABAP INCLUDE - CHECK_SALES_ORDER







MM07RFC0 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 MM07RFC0 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 MM07RFC0. "Basic submit
SUBMIT MM07RFC0 AND RETURN. "Return to original report after report execution complete
SUBMIT MM07RFC0 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 MM07RFC0

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:

VB_BATCH_READ_BUFFER_DB CALL FUNCTION 'VB_BATCH_READ_BUFFER_DB' "825173 EXPORTING matnr = resb-matnr charg = resb-charg WERKS = resb-werks IMPORTING BATCH_BUFFER = e_ymcha.

VB_CREATE_BATCH CALL FUNCTION 'VB_CREATE_BATCH' EXPORTING YMCHA = E_YMCHA NEW_LGORT = RESB-LGORT EXCEPTIONS NO_MATERIAL = 1 NO_BATCH = 2 NO_PLANT = 3 MATERIAL_NOT_FOUND = 4 PLANT_NOT_FOUND = 5 STOLOC_NOT_FOUND = 6 LOCK_ON_MATERIAL = 7 LOCK_ON_PLANT = 8 LOCK_ON_BATCH = 9 LOCK_SYSTEM_ERROR = 10 NO_AUTHORITY = 11 BATCH_EXIST = 12 STOLOC_EXIST = 13 ILLEGAL_BATCH_NUMBER = 14 NO_BATCH_HANDLING = 15 NO_VALUATION_AREA = 16 VALUATION_TYPE_NOT_FOUND = 17 NO_VALUATION_FOUND = 18 ERROR_AUTOMATIC_BATCH_NUMBER = 19 CANCELLED = 20 WRONG_STATUS = 21 INTERVAL_NOT_FOUND = 22 NUMBER_RANGE_NOT_EXTERN = 23 OBJECT_NOT_FOUND = 24 ERROR_CHECK_BATCH_NUMBER = 25 NO_EXTERNAL_NUMBER = 26 NO_CUSTOMER_NUMBER = 27 OTHERS = 28.

VB_RESET_BATCH CALL FUNCTION 'VB_RESET_BATCH' EXPORTING DMCHA = E_DMCHA DEL_LGORT = E_DEL_LGORT EXCEPTIONS NO_BATCH = 1 NO_MATERIAL = 2 NO_PLANT = 3 OTHERS = 4.

DETERMINE_PERIOD CALL FUNCTION 'DETERMINE_PERIOD' EXPORTING VERSION = T001-PERIV DATE = YRSEG-BDTER IMPORTING PERIOD = DM07R-MONAT YEAR = DM07R-GJAHR.



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