SAP Reports / Programs | Sales and Distribution | Sales(SD-SLS) SAP SD

FV45PAPO SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE FV45PLOC.
INCLUDE FV45ELOC.


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:

RV_XVBAPF_CREATE CALL FUNCTION 'RV_XVBAPF_CREATE' EXPORTING VBELN = VBAP-VBELN TABLES FXVBFA = XVBFA FXVBAPF = XVBAPF.

SD_MAT_WERK_APOATPCHECK CALL FUNCTION 'SD_MAT_WERK_APOATPCHECK' EXPORTING IV_MATNR = XVBAP-MATNR IV_WERKS = XVBAP-WERKS IMPORTING EV_ATPCHECK_IN_APO = DA_ATPCHECK_IN_APO.

RV_XVBAPF_CREATE CALL FUNCTION 'RV_XVBAPF_CREATE' EXPORTING VBELN = VBAP-VBELN TABLES FXVBFA = XVBFA FXVBAPF = XVBAPF.

ND_EXITS_ACTIVE_CHECK CALL FUNCTION 'ND_EXITS_ACTIVE_CHECK' EXCEPTIONS EXITS_NOT_ACTIVE = 1 OTHERS = 2.

RV_DELTA_INIT CALL FUNCTION 'RV_DELTA_INIT'.

AVAILABILITY_CHECK_CONTROLLER CALL FUNCTION 'AVAILABILITY_CHECK_CONTROLLER' TABLES P_ATPCSX = L_ATPCS CHANGING P_ATPCA = L_ATPCA EXCEPTIONS OTHERS = 0.

VBXD_MATERIAL_CBATP_CHECK CALL FUNCTION 'VBXD_MATERIAL_CBATP_CHECK' EXPORTING I_MATERIAL = VBAP-MATNR EXCEPTIONS FUNCTION_NOT_ACTIVE = 1 MATERIAL_NOT_IN_SCOPE = 2 OTHERS = 3.

VBXD_PROCESS_CBATP_CHECK CALL FUNCTION 'VBXD_PROCESS_CBATP_CHECK' EXPORTING iv_material = vbap-matnr iv_plant = vbap-werks is_komgh = ls_komgh EXCEPTIONS FUNCTION_NOT_ACTIVE = 1 MATERIAL_NOT_IN_SCOPE = 2 PROCESS_NOT_IN_SCOPE = 3 PLANT_NOT_IN_SCOPE = 4 OTHERS = 99.

VBXD_GET_CUOBJ_CH_BY_CONDITION CALL FUNCTION 'VBXD_GET_CUOBJ_CH_BY_CONDITION' EXPORTING I_KOMKH = KOMKH I_KOMPH = KOMPH CHANGING C_BXCOM = LS_BXCOM EXCEPTIONS NO_APPLICATION = 1 NO_SEARCH_PROCEDURE = 2 NO_RECORD_FOUND = 3 CONDITION_NOT_FOUND = 4 OTHERS = 5.

VBXI_SELECTION_EXCHANGE CALL FUNCTION 'VBXI_SELECTION_EXCHANGE' EXPORTING I_VBELN = VBAP-VBELN I_POSNR = VBAP-POSNR I_MATNR = VBAP-MATNR CHANGING C_CUOBJ_CH = LS_BXCOM-CUOBJ_CH EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 0.

VBXD_DO_DIALOG_BY_CUOBJ_CH CALL FUNCTION 'VBXD_DO_DIALOG_BY_CUOBJ_CH' CHANGING C_BXCOM = LS_BXCOM EXCEPTIONS NO_CUOBJ_CH = 1 INVALID_CUOBJ_CH = 2 OTHERS = 3.

RV_DELTA_INIT CALL FUNCTION 'RV_DELTA_INIT'.

AVAILABILITY_CHECK_CONTROLLER CALL FUNCTION 'AVAILABILITY_CHECK_CONTROLLER' TABLES P_ATPCSX = L_ATPCS CHANGING P_ATPCA = L_ATPCA 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 FV45PAPO or its description.