SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Data Documentation(PP-PI-PDO) SAP PP

PPPI_WRITE_ORDER_PDF_F01 SAP ABAP INCLUDE - PPPIWRITEORDERPDFF01







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

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_CP_HEADER_DATA CALL FUNCTION 'VB_CP_HEADER_DATA' EXPORTING i_aufnr = iv_aufnr IMPORTING e_caufvd = gs_caufvd e_afpod = gs_afpod e_psfc_head = gs_psfc_head EXCEPTIONS order_not_found = 1 OTHERS = 2.

NW_DB_AFAB_RANGE_READ CALL FUNCTION 'NW_DB_AFAB_RANGE_READ' TABLES afab_tab = gt_afabb aufpl_pre_tab = gt_aufpl_pre EXCEPTIONS OTHERS = 0.

CO_DB_AFVGD_ARRAY_READ CALL FUNCTION 'CO_DB_AFVGD_ARRAY_READ' EXPORTING afvg_nummer = gs_caufvd-aufpl TABLES afvdb_tab = gt_afvgd EXCEPTIONS not_found = 0.

STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = -objnr only_active = c_yes spras = sy-langu IMPORTING line = -vsttxt EXCEPTIONS object_not_found = 0.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = -arbid IMPORTING arbpl = -arbpl EXCEPTIONS not_found = 0.

CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING id = -arbid werks = -werks vgwkz = c_yes IMPORTING works = gs_rcr01 EXCEPTIONS not_found = 0 type_not_allowed = 0 wrong_parameters = 0.

CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING id = -arbid werks = -werks vgwkz = c_yes IMPORTING works = gs_rcr01 EXCEPTIONS not_found = 0 type_not_allowed = 0 wrong_parameters = 0.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = -arbid IMPORTING arbpl = -arbpl.

COC1_FEATURE_CHECK CALL FUNCTION 'COC1_FEATURE_CHECK' EXPORTING feature_id = -atinn language = sy-langu IMPORTING * feature_name = atbez feature_neutral_name = gs_affvd-atnam value_assignment_with_longtext = lv_text * function_for_auto_valuation = atfkt EXCEPTIONS invalid_class_type = 01 missing_feature_information = 02 no_feature_found = 03 no_feature_valid = 04 no_language = 05.

CO_ZK_TEXTKEY_AFFV CALL FUNCTION 'CO_ZK_TEXTKEY_AFFV' EXPORTING afvzl = is_affv-afvzl aufnr = gs_caufvd-aufnr IMPORTING id = lv_loc_id name = lv_loc_name object = lv_loc_object.



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