SAP FI_PDF_ADVICE_OUTPUT Function Module for









FI_PDF_ADVICE_OUTPUT is a standard fi pdf advice output SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for fi pdf advice output FM, simply by entering the name FI_PDF_ADVICE_OUTPUT into the relevant SAP transaction such as SE37 or SE38.

Function Group: FPAYM15
Program Name: SAPLFPAYM15
Main Program: SAPLFPAYM15
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FI_PDF_ADVICE_OUTPUT pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FI_PDF_ADVICE_OUTPUT'"
EXPORTING
IS_FPAYH = "
IS_FPAYHX = "
IS_FPPARAMS = "
* IS_ARCHIVE_INDEX = "
* I_XGET_PDF = "
I_LANGU = "

IMPORTING
ES_SFPJOBOUTPUT = "
E_PDF_LEN = "
E_XSTRING = "

TABLES
IT_FPAYP = "
* IT_PAYM_NOTE_TEXT = "
* ET_SOLIX = "

EXCEPTIONS
PDF_FORM_INVALID = 1 PDF_PRINT_ERROR = 2
.



IMPORTING Parameters details for FI_PDF_ADVICE_OUTPUT

IS_FPAYH -

Data type: FPAYH
Optional: No
Call by Reference: Yes

IS_FPAYHX -

Data type: FPAYHX
Optional: No
Call by Reference: Yes

IS_FPPARAMS -

Data type: SFPOUTPUTPARAMS
Optional: No
Call by Reference: Yes

IS_ARCHIVE_INDEX -

Data type: TOA_DARA
Optional: Yes
Call by Reference: Yes

I_XGET_PDF -

Data type: FPGETPDF
Optional: Yes
Call by Reference: Yes

I_LANGU -

Data type: DZSPRA
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FI_PDF_ADVICE_OUTPUT

ES_SFPJOBOUTPUT -

Data type: SFPJOBOUTPUT
Optional: No
Call by Reference: Yes

E_PDF_LEN -

Data type: I
Optional: No
Call by Reference: Yes

E_XSTRING -

Data type: XSTRING
Optional: No
Call by Reference: Yes

TABLES Parameters details for FI_PDF_ADVICE_OUTPUT

IT_FPAYP -

Data type: FPAYP
Optional: No
Call by Reference: Yes

IT_PAYM_NOTE_TEXT -

Data type: TLINE
Optional: Yes
Call by Reference: Yes

ET_SOLIX -

Data type: SOLIX
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

PDF_FORM_INVALID -

Data type:
Optional: No
Call by Reference: Yes

PDF_PRINT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FI_PDF_ADVICE_OUTPUT Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_is_fpayh  TYPE FPAYH, "   
lt_it_fpayp  TYPE STANDARD TABLE OF FPAYP, "   
lv_es_sfpjoboutput  TYPE SFPJOBOUTPUT, "   
lv_pdf_form_invalid  TYPE SFPJOBOUTPUT, "   
lv_e_pdf_len  TYPE I, "   
lv_is_fpayhx  TYPE FPAYHX, "   
lv_pdf_print_error  TYPE FPAYHX, "   
lt_it_paym_note_text  TYPE STANDARD TABLE OF TLINE, "   
lt_et_solix  TYPE STANDARD TABLE OF SOLIX, "   
lv_e_xstring  TYPE XSTRING, "   
lv_is_fpparams  TYPE SFPOUTPUTPARAMS, "   
lv_is_archive_index  TYPE TOA_DARA, "   
lv_i_xget_pdf  TYPE FPGETPDF, "   
lv_i_langu  TYPE DZSPRA. "   

  CALL FUNCTION 'FI_PDF_ADVICE_OUTPUT'  "
    EXPORTING
         IS_FPAYH = lv_is_fpayh
         IS_FPAYHX = lv_is_fpayhx
         IS_FPPARAMS = lv_is_fpparams
         IS_ARCHIVE_INDEX = lv_is_archive_index
         I_XGET_PDF = lv_i_xget_pdf
         I_LANGU = lv_i_langu
    IMPORTING
         ES_SFPJOBOUTPUT = lv_es_sfpjoboutput
         E_PDF_LEN = lv_e_pdf_len
         E_XSTRING = lv_e_xstring
    TABLES
         IT_FPAYP = lt_it_fpayp
         IT_PAYM_NOTE_TEXT = lt_it_paym_note_text
         ET_SOLIX = lt_et_solix
    EXCEPTIONS
        PDF_FORM_INVALID = 1
        PDF_PRINT_ERROR = 2
. " FI_PDF_ADVICE_OUTPUT




ABAP code using 7.40 inline data declarations to call FM FI_PDF_ADVICE_OUTPUT

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!