MOG_SAPMV45A_FCODE_ELIG 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 MOG_SAPMV45A_FCODE_ELIG into the relevant SAP transactions such as SE38 or SE80
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.
Title: Apply Contract
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SD_CUSTOMER_HIERARCHY_PATH CALL FUNCTION 'SD_CUSTOMER_HIERARCHY_PATH' EXPORTING CUSTOMER = VBAK-KUNNR DATE = VBEP-EDATU HTYPE = VBAK-HITYP_PR * SALES_CHANNEL = VBAK-VTWEG "GGDHUD14:OSS364092 SALES_CHANNEL = TVTA-VTWKU "GGDHUD14:OSS364092 * SALES_DIVISION = VBAK-SPART "GGDHUD14:OSS364092 SALES_DIVISION = TVTA-SPAKU "GGDHUD14:OSS364092 SALES_ORG = VBAK-VKORG TABLES HPATH = CUSTOMER_LIST EXCEPTIONS HITYP_NOT_EXIST NODE_NOT_EXIST PARVW_NOT_EXIST.
SD_LIST_REFERENCE_DOCUMENT CALL FUNCTION 'SD_LIST_REFERENCE_DOCUMENT' EXPORTING KOPF_EBENE = CONTRACT_MSG I_KUNNR = KUAGV-KUNNR I_MATNR = XVBAP-MATNR IMPORTING E_VBELN = DA_VBELN E_POSNR = DA_POSNR TABLES LIST_VAPMA = HNW_VBAP LIST_VAKPA = HNW_VBAK.
OG_REV_REC_REFERENCE_CHECK CALL FUNCTION 'OG_REV_REC_REFERENCE_CHECK' EXPORTING I_VBAK = VBAK I_VBAP = VBAP I_CVBAP = CVBAP I_APPLY = 'X' TABLES XVBFA = XVBFA EXCEPTIONS NO_COPY = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MOG_SAPMV45A_FCODE_ELIG - Apply Contract MOG_SAPMV45A_FCODE_APHC - Apply header conditions from a contract to a sales document item MOG_SAPMV45A_D50_VBAP_FUELLEN - MOGSAPMV45AD50VBAPFUELLEN MOG_SAPMV45A_CONT_APPL_SUB - Apply condition to all subitems in a BOM MOG_SAPMV45A_CONT_APPL_PREP - Verify whether contract/order copy is allowed MOG_SAPMV45A_CONT_APPL_CHEK - Due to the resequencing of the contract list processing