SAP ISH_PRINT_DATA_GET Function Module for
ISH_PRINT_DATA_GET is a standard ish print data get 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 print data get FM, simply by entering the name ISH_PRINT_DATA_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: NFR1
Program Name: SAPLNFR1
Main Program: SAPLNFR1
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_PRINT_DATA_GET 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_PRINT_DATA_GET'".
EXPORTING
I_ABRKZ_AUS_NFAL = "
I_READ_DB = "
I_DUPLICATE = "
I_TEST_PRINT = "Test Print
I_PROV_BILL = "IS-H: Checkbox
I_PRDAT = "Print Date
I_RNFOR = "IS-H: Transfer area print control of techn. work organizers
IS_RNF43 = "
* I_SUMMARY = "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
I_EINRI = "IS-H: Institution
I_ENDABRECHNUNG = "
I_TNF31 = "
I_VBRK = "
I_PRINT_COPY = "
I_PRINT_COPY_NR = "
I_PRINT_LIST = "
I_PRINT_LIST_LONG = "
IMPORTING
ES_INV_DATA = "IS-H: Data for Invoice Printing
ES_RNFXX = "IS-H: Invoice Printing Structures
E_HWAERS = "Currency Key
E_AHWAERS = "Currency Key
E_SUBRC = "Return Value, Return Value after ABAP Statements
TABLES
IKOMV = "
INFAL = "
IRNF26 = "
IRNFP2 = "
IVBRK = "
IVBRP = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLNFR1_001 IS-H: Determine Descriptive Text for Archive Request Invoice
EXIT_SAPLNFR1_002 IS-H: Function Exit Invoice Print SG - Modify, Sort Items
EXIT_SAPLNFR1_003 IS-H: Function Exit Invoice Print SG - Calculate Payments
EXIT_SAPLNFR1_004 IS-H: Invoice Printout SG - Output Conditions
EXIT_SAPLNFR1_005
IMPORTING Parameters details for ISH_PRINT_DATA_GET
I_ABRKZ_AUS_NFAL -
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_READ_DB -
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_DUPLICATE -
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_TEST_PRINT - Test Print
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_PROV_BILL - IS-H: Checkbox
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_PRDAT - Print Date
Data type: RNFKR1-PRDATOptional: No
Call by Reference: No ( called with pass by value option)
I_RNFOR - IS-H: Transfer area print control of techn. work organizers
Data type: RNFOROptional: No
Call by Reference: Yes
IS_RNF43 -
Data type: RNF43Optional: No
Call by Reference: Yes
I_SUMMARY - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
Data type: ISH_ON_OFFOptional: Yes
Call by Reference: Yes
I_EINRI - IS-H: Institution
Data type: TN01-EINRIOptional: No
Call by Reference: Yes
I_ENDABRECHNUNG -
Data type: RNFK1-ENDABOptional: No
Call by Reference: No ( called with pass by value option)
I_TNF31 -
Data type: TNF31Optional: No
Call by Reference: Yes
I_VBRK -
Data type: VBRKOptional: No
Call by Reference: Yes
I_PRINT_COPY -
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_PRINT_COPY_NR -
Data type: NPDOK-N3Optional: No
Call by Reference: No ( called with pass by value option)
I_PRINT_LIST -
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
I_PRINT_LIST_LONG -
Data type: NPDOK-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_PRINT_DATA_GET
ES_INV_DATA - IS-H: Data for Invoice Printing
Data type: ISH_YS_INVOICE_DATAOptional: No
Call by Reference: Yes
ES_RNFXX - IS-H: Invoice Printing Structures
Data type: ISH_YS_PRINT_INVOICEOptional: No
Call by Reference: Yes
E_HWAERS - Currency Key
Data type: T001-WAERSOptional: No
Call by Reference: Yes
E_AHWAERS - Currency Key
Data type: T001-WAERSOptional: No
Call by Reference: Yes
E_SUBRC - Return Value, Return Value after ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
TABLES Parameters details for ISH_PRINT_DATA_GET
IKOMV -
Data type: KOMVOptional: No
Call by Reference: No ( called with pass by value option)
INFAL -
Data type: NFALOptional: No
Call by Reference: No ( called with pass by value option)
IRNF26 -
Data type: RNF26Optional: No
Call by Reference: No ( called with pass by value option)
IRNFP2 -
Data type: RNFP2Optional: No
Call by Reference: No ( called with pass by value option)
IVBRK -
Data type: VBRKVBOptional: No
Call by Reference: No ( called with pass by value option)
IVBRP -
Data type: VBRPVBOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_PRINT_DATA_GET 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: | ||||
| lt_ikomv | TYPE STANDARD TABLE OF KOMV, " | |||
| lv_es_inv_data | TYPE ISH_YS_INVOICE_DATA, " | |||
| lv_i_abrkz_aus_nfal | TYPE NPDOK-XFELD, " | |||
| lv_i_read_db | TYPE NPDOK-XFELD, " | |||
| lv_i_duplicate | TYPE NPDOK-XFELD, " | |||
| lv_i_test_print | TYPE NPDOK-XFELD, " | |||
| lv_i_prov_bill | TYPE NPDOK-XFELD, " | |||
| lv_i_prdat | TYPE RNFKR1-PRDAT, " | |||
| lv_i_rnfor | TYPE RNFOR, " | |||
| lv_is_rnf43 | TYPE RNF43, " | |||
| lv_i_summary | TYPE ISH_ON_OFF, " | |||
| lt_infal | TYPE STANDARD TABLE OF NFAL, " | |||
| lv_i_einri | TYPE TN01-EINRI, " | |||
| lv_es_rnfxx | TYPE ISH_YS_PRINT_INVOICE, " | |||
| lt_irnf26 | TYPE STANDARD TABLE OF RNF26, " | |||
| lv_e_hwaers | TYPE T001-WAERS, " | |||
| lv_i_endabrechnung | TYPE RNFK1-ENDAB, " | |||
| lt_irnfp2 | TYPE STANDARD TABLE OF RNFP2, " | |||
| lv_i_tnf31 | TYPE TNF31, " | |||
| lv_e_ahwaers | TYPE T001-WAERS, " | |||
| lt_ivbrk | TYPE STANDARD TABLE OF VBRKVB, " | |||
| lv_i_vbrk | TYPE VBRK, " | |||
| lv_e_subrc | TYPE SY-SUBRC, " | |||
| lt_ivbrp | TYPE STANDARD TABLE OF VBRPVB, " | |||
| lv_i_print_copy | TYPE NPDOK-XFELD, " | |||
| lv_i_print_copy_nr | TYPE NPDOK-N3, " | |||
| lv_i_print_list | TYPE NPDOK-XFELD, " | |||
| lv_i_print_list_long | TYPE NPDOK-XFELD. " |
|   CALL FUNCTION 'ISH_PRINT_DATA_GET' " |
| EXPORTING | ||
| I_ABRKZ_AUS_NFAL | = lv_i_abrkz_aus_nfal | |
| I_READ_DB | = lv_i_read_db | |
| I_DUPLICATE | = lv_i_duplicate | |
| I_TEST_PRINT | = lv_i_test_print | |
| I_PROV_BILL | = lv_i_prov_bill | |
| I_PRDAT | = lv_i_prdat | |
| I_RNFOR | = lv_i_rnfor | |
| IS_RNF43 | = lv_is_rnf43 | |
| I_SUMMARY | = lv_i_summary | |
| I_EINRI | = lv_i_einri | |
| I_ENDABRECHNUNG | = lv_i_endabrechnung | |
| I_TNF31 | = lv_i_tnf31 | |
| I_VBRK | = lv_i_vbrk | |
| I_PRINT_COPY | = lv_i_print_copy | |
| I_PRINT_COPY_NR | = lv_i_print_copy_nr | |
| I_PRINT_LIST | = lv_i_print_list | |
| I_PRINT_LIST_LONG | = lv_i_print_list_long | |
| IMPORTING | ||
| ES_INV_DATA | = lv_es_inv_data | |
| ES_RNFXX | = lv_es_rnfxx | |
| E_HWAERS | = lv_e_hwaers | |
| E_AHWAERS | = lv_e_ahwaers | |
| E_SUBRC | = lv_e_subrc | |
| TABLES | ||
| IKOMV | = lt_ikomv | |
| INFAL | = lt_infal | |
| IRNF26 | = lt_irnf26 | |
| IRNFP2 | = lt_irnfp2 | |
| IVBRK | = lt_ivbrk | |
| IVBRP | = lt_ivbrp | |
| . " ISH_PRINT_DATA_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISH_PRINT_DATA_GET
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 XFELD FROM NPDOK INTO @DATA(ld_i_abrkz_aus_nfal). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_read_db). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_duplicate). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_test_print). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_prov_bill). | ||||
| "SELECT single PRDAT FROM RNFKR1 INTO @DATA(ld_i_prdat). | ||||
| "SELECT single EINRI FROM TN01 INTO @DATA(ld_i_einri). | ||||
| "SELECT single WAERS FROM T001 INTO @DATA(ld_e_hwaers). | ||||
| "SELECT single ENDAB FROM RNFK1 INTO @DATA(ld_i_endabrechnung). | ||||
| "SELECT single WAERS FROM T001 INTO @DATA(ld_e_ahwaers). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_e_subrc). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_print_copy). | ||||
| "SELECT single N3 FROM NPDOK INTO @DATA(ld_i_print_copy_nr). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_print_list). | ||||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_print_list_long). | ||||
Search for further information about these or an SAP related objects