SAP Reports / Programs | Production Planning and Control | Basic Data | Routing(PP-BD-RTG) SAP PP

CI_PAC_PAI SAP ABAP INCLUDE - CIPACPAI







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

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:

IWP1_STRATEGY_READ CALL FUNCTION 'IWP1_STRATEGY_READ' EXPORTING i_strat = pac_class_data-strat i_multicounterplan = space TABLES t_package_data = l_package_tab CHANGING c_t351 = l_t351 EXCEPTIONS strategy_is_initial = 1 strategy_not_found = 2 strategy_without_packages = 3 no_cycle_set = 4 no_strategy = 5 OTHERS = 6.

CI_CL_S_PAC_PROVIDE CALL FUNCTION 'CI_CL_S_PAC_PROVIDE' EXPORTING I_DATE_FROM = pac_class_data-datuv I_PLNTY = pac_class_data-plnty I_PLNNR = pac_class_data-plnnr I_PLNAL = pac_class_data-plnal I_PLNFL = pac_class_data-plnfl I_PLNKN = pac_class_data-plnkn I_IDENT_REF = pac_class_data-ident_ref I_IDENT = pac_class_data-ident I_VORNR = pac_class_data-vornr * I_PAKET = pac_class_data-paket TABLES E_PAC_CLASS_DATA = l_plan_pac EXCEPTIONS WRONG_KEY = 1 OTHERS = 2.

CI_OV_PAC_F4 CALL FUNCTION 'CI_OV_PAC_F4' EXPORTING STRATEGY = pac_class_data-strat TABLES PAC_CLASS_DATA_TAB = l_sel_pac PAC_INPUT_TAB = l_strat_pac EXCEPTIONS NO_VALID_PAC = 1 NO_PAC_WAS_PICKED = 2 NO_SUITED_PAC = 3 OTHERS = 4.



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