SAP ISH_INVOICE_PRINT1 Function Module for









ISH_INVOICE_PRINT1 is a standard ish invoice print1 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 ish invoice print1 FM, simply by entering the name ISH_INVOICE_PRINT1 into the relevant SAP transaction such as SE37 or SE38.

Function Group: NFR4
Program Name: SAPLNFR4
Main Program: SAPLNFR4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISH_INVOICE_PRINT1 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 'ISH_INVOICE_PRINT1'"
EXPORTING
I_EINRI = "IS-H: Institution
I_FALNR = "IS-H: Case Number
* I_PRINT = 'X' "
* I_TEST_PRINT = 'X' "
* I_STD_PRINT = 'X' "
* I_OTF_OUTPUT = '' "
* I_REPEAT_REAL_PRINT = '' "
* I_DUPL_PRINT = '' "
* I_ENDABRECHNUNG = '' "

IMPORTING
ET_PDF = "
E_PDF = "

TABLES
VBRK_PRINT = "IS-H: VBRK with Extra Details
* VBRP_PRINT = "IS-H: VBRK with Extra Information
* E_OTF = "

EXCEPTIONS
VBPRP_NOT_FILLED = 1
.



IMPORTING Parameters details for ISH_INVOICE_PRINT1

I_EINRI - IS-H: Institution

Data type: NFAL-EINRI
Optional: No
Call by Reference: No ( called with pass by value option)

I_FALNR - IS-H: Case Number

Data type: NFAL-FALNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_PRINT -

Data type: NPDOK-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TEST_PRINT -

Data type: NPDOK-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STD_PRINT -

Data type: NPDOK-XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OTF_OUTPUT -

Data type: NPDOK-XFELD
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REPEAT_REAL_PRINT -

Data type: NPDOK-XFELD
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DUPL_PRINT -

Data type: NPDOK-XFELD
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ENDABRECHNUNG -

Data type: NPDOK-XFELD
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_INVOICE_PRINT1

ET_PDF -

Data type: ISH_T_FORM_AS_STRING
Optional: No
Call by Reference: No ( called with pass by value option)

E_PDF -

Data type: FPCONTENT
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISH_INVOICE_PRINT1

VBRK_PRINT - IS-H: VBRK with Extra Details

Data type: ISH_VBRK_DETAIL
Optional: No
Call by Reference: No ( called with pass by value option)

VBRP_PRINT - IS-H: VBRK with Extra Information

Data type: ISH_VBRP_DETAIL
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_OTF -

Data type: ITCOO
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

VBPRP_NOT_FILLED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISH_INVOICE_PRINT1 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_et_pdf  TYPE ISH_T_FORM_AS_STRING, "   
lv_i_einri  TYPE NFAL-EINRI, "   
lt_vbrk_print  TYPE STANDARD TABLE OF ISH_VBRK_DETAIL, "   
lv_vbprp_not_filled  TYPE ISH_VBRK_DETAIL, "   
lv_e_pdf  TYPE FPCONTENT, "   
lv_i_falnr  TYPE NFAL-FALNR, "   
lt_vbrp_print  TYPE STANDARD TABLE OF ISH_VBRP_DETAIL, "   
lt_e_otf  TYPE STANDARD TABLE OF ITCOO, "   
lv_i_print  TYPE NPDOK-XFELD, "   'X'
lv_i_test_print  TYPE NPDOK-XFELD, "   'X'
lv_i_std_print  TYPE NPDOK-XFELD, "   'X'
lv_i_otf_output  TYPE NPDOK-XFELD, "   ''
lv_i_repeat_real_print  TYPE NPDOK-XFELD, "   ''
lv_i_dupl_print  TYPE NPDOK-XFELD, "   ''
lv_i_endabrechnung  TYPE NPDOK-XFELD. "   ''

  CALL FUNCTION 'ISH_INVOICE_PRINT1'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_FALNR = lv_i_falnr
         I_PRINT = lv_i_print
         I_TEST_PRINT = lv_i_test_print
         I_STD_PRINT = lv_i_std_print
         I_OTF_OUTPUT = lv_i_otf_output
         I_REPEAT_REAL_PRINT = lv_i_repeat_real_print
         I_DUPL_PRINT = lv_i_dupl_print
         I_ENDABRECHNUNG = lv_i_endabrechnung
    IMPORTING
         ET_PDF = lv_et_pdf
         E_PDF = lv_e_pdf
    TABLES
         VBRK_PRINT = lt_vbrk_print
         VBRP_PRINT = lt_vbrp_print
         E_OTF = lt_e_otf
    EXCEPTIONS
        VBPRP_NOT_FILLED = 1
. " ISH_INVOICE_PRINT1




ABAP code using 7.40 inline data declarations to call FM ISH_INVOICE_PRINT1

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.

 
"SELECT single EINRI FROM NFAL INTO @DATA(ld_i_einri).
 
 
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr).
 
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_print).
DATA(ld_i_print) = 'X'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_test_print).
DATA(ld_i_test_print) = 'X'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_std_print).
DATA(ld_i_std_print) = 'X'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_otf_output).
DATA(ld_i_otf_output) = ''.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_repeat_real_print).
DATA(ld_i_repeat_real_print) = ''.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_dupl_print).
DATA(ld_i_dupl_print) = ''.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_endabrechnung).
DATA(ld_i_endabrechnung) = ''.
 


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!