SAP Reports / Programs

PPPILAUF_PDF SAP ABAP Report - PP-PI Print: Job Ticket







PPPILAUF_PDF is a standard Executable ABAP Report 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 PPPILAUF_PDF 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 PPPILAUF_PDF. "Basic submit
SUBMIT PPPILAUF_PDF AND RETURN. "Return to original report after report execution complete
SUBMIT PPPILAUF_PDF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: FORM = D .
Title: PP-PI Print: Job Ticket
Text Symbol: DUP = Duplic.


INCLUDES used within this REPORT PPPILAUF_PDF

INCLUDE PPCOINCL.
INCLUDE CODRGT10.
INCLUDE LCODRINC.
INCLUDE CODRGETT.
INCLUDE CODRGETH.


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:

CO_DR_PR_OPT_FILL CALL FUNCTION 'CO_DR_PR_OPT_FILL' EXPORTING prt_co = prlst_tmp IMPORTING pr_opt = pr_options.

CO_ZK_TEXTKEY_CAUFV CALL FUNCTION 'CO_ZK_TEXTKEY_CAUFV' EXPORTING aufnr = caufvd-aufnr IMPORTING ltsch = stxh-tdname.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'ORD_TEXT' * WINDOW = 'MAIN'.

WRITE_FORM ** CALL FUNCTION 'WRITE_FORM' ** EXPORTING ELEMENT = 'ORD_KTEXT' ** WINDOW = 'MAIN'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'CONFIG_HEAD' * WINDOW = 'MAIN'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING ELEMENT = 'CONFIG_LINE' * WINDOW = 'MAIN'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING ELEMENT = 'BARCODE_AUFNR_MATNR' * WINDOW = 'MAIN'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'VORGANG' * WINDOW = 'MAIN'.

CO_DR_STEUS_CHK CALL FUNCTION 'CO_DR_STEUS_CHK' EXPORTING afvgd_imp = afvgd plnaw = caufvd-plnaw vrgd = const-flg_yes caufvd_imp = caufvd IMPORTING print = x_field.

CONTROL_FORM * CALL FUNCTION 'CONTROL_FORM' * EXPORTING * COMMAND = 'PROTECT'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING ELEMENT = 'OPR_MAIN' * WINDOW = 'MAIN'.

CO_ZK_TEXTKEY_AFVG CALL FUNCTION 'CO_ZK_TEXTKEY_AFVG' EXPORTING aplzl = afvgd-aplzl aufpl = afvgd-aufpl IMPORTING ltsch = stxh-tdname.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING language = sy-langu id = tco09-idord name = stxh-tdname object = tco09-objec TABLES lines = t EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'PROD_NOTE' * WINDOW = 'MAIN'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'COL_ORDMAIN' * WINDOW = 'MAIN'.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'COL_ORDLOW' * WINDOW = 'MAIN'.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = gs_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = gv_form IMPORTING e_funcname = gv_fm_name.

FP_JOB_CLOSE





CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 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 PPPILAUF_PDF or its description.