PPPI_WRITE_ORDER_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_F01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VB_CP_HEADER_DATA CALL FUNCTION 'VB_CP_HEADER_DATA' EXPORTING i_aufnr = aufnr IMPORTING e_caufvd = caufvd e_afpod = afpod e_psfc_head = psfc_head e_tco09 = tco09 EXCEPTIONS order_not_found = 1 OTHERS = 2.
NW_DB_AFAB_RANGE_READ CALL FUNCTION 'NW_DB_AFAB_RANGE_READ' TABLES afab_tab = afabb_tab aufpl_pre_tab = aufpl_pre_tab EXCEPTIONS OTHERS = 0.
CO_DB_AFVGD_ARRAY_READ CALL FUNCTION 'CO_DB_AFVGD_ARRAY_READ' EXPORTING afvg_nummer = caufvd-aufpl TABLES afvdb_tab = afvgd_tab EXCEPTIONS not_found = 01.
STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = afvgd-objnr only_active = c_yes spras = sy-langu IMPORTING line = afvgd-vsttxt EXCEPTIONS object_not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = afvgd-arbid IMPORTING arbpl = afvgd-arbpl EXCEPTIONS not_found = 01.
CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING id = afvgd_tab-arbid werks = afvgd_tab-werks vgwkz = ja IMPORTING works = rcr01 EXCEPTIONS not_found = 01 type_not_allowed = 02 wrong_parameters = 03.
CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING id = afvgd_tab-arbid werks = afvgd_tab-werks vgwkz = ja IMPORTING works = rcr01 EXCEPTIONS not_found = 01 type_not_allowed = 02 wrong_parameters = 03.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = afabb_tab-arbid IMPORTING arbpl = afvgd-arbpl.
COC1_FEATURE_CHECK CALL FUNCTION 'COC1_FEATURE_CHECK' EXPORTING feature_id = affv_tab-atinn language = sy-langu IMPORTING feature_name = atbez feature_neutral_name = affvd-atnam value_assignment_with_longtext = ltext 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.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = p_element function = 'SET' type = 'BODY' window = 'MAIN' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.
STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING flg_user_stat = c_yes objnr = caufvd-objnr only_active = c_yes spras = sy-langu IMPORTING anw_stat_existing = caufvd-astex line = caufvd-sttxt user_line = caufvd-asttx EXCEPTIONS object_not_found = 01.
CO_ZK_TEXTKEY_AFFV CALL FUNCTION 'CO_ZK_TEXTKEY_AFFV' EXPORTING afvzl = affv_tab-afvzl aufnr = caufvd-aufnr IMPORTING id = loc_id name = loc_name object = loc_object.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = loc_id language = affv_tab-txtsp name = loc_name object = loc_object IMPORTING header = texth TABLES lines = textl EXCEPTIONS not_found = 01.
TEXT_INCLUDE_REPLACE CALL FUNCTION 'TEXT_INCLUDE_REPLACE' EXPORTING header = texth IMPORTING newheader = texth TABLES lines = textl.
FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = h_max_linesize linewidth = h_max_linesize TABLES lines = textl.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PPPI_WRITE_ORDER_F01 - PPPIWRITEORDERF01 PPPI_WRITE_ORDER_DOC - Batch Record: Print Program, Process Order PPPI_WRITE_ORDER_DOC - Batch Record: Print Program, Process Order PPPI_WRITE_MESSA_TOP - PPPIWRITEMESSATOP PPPI_WRITE_MESSA_PDF_TOP - PPPIWRITEMESSAPDFTOP PPPI_WRITE_MESSA_PDF_F01 - PPPIWRITEMESSAPDFF01