SAP ISU_INV_SET_INVOICE_UNIT Function Module for
ISU_INV_SET_INVOICE_UNIT is a standard isu inv set invoice unit 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 isu inv set invoice unit FM, simply by entering the name ISU_INV_SET_INVOICE_UNIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: E21A
Program Name: SAPLE21A
Main Program: SAPLE21A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_INV_SET_INVOICE_UNIT 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 'ISU_INV_SET_INVOICE_UNIT'".
EXPORTING
* X_WA_IIU_UNIT_PARAM = "
* X_INVOICING_PARTY = "Service Provider That Invoices the Contract
* X_ETHPPM = "Payment Process for Billing on Behalf of Third Parties
* X_PAYFREQID = "Payment Frequency
IMPORTING Parameters details for ISU_INV_SET_INVOICE_UNIT
X_WA_IIU_UNIT_PARAM -
Data type: ISU21_INVOICE_UNIT_PARAMOptional: Yes
Call by Reference: Yes
X_INVOICING_PARTY - Service Provider That Invoices the Contract
Data type: FKKOP-INVOICING_PARTYOptional: Yes
Call by Reference: Yes
X_ETHPPM - Payment Process for Billing on Behalf of Third Parties
Data type: ETHPPMOptional: Yes
Call by Reference: Yes
X_PAYFREQID - Payment Frequency
Data type: PAYFREQIDOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISU_INV_SET_INVOICE_UNIT 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_x_wa_iiu_unit_param | TYPE ISU21_INVOICE_UNIT_PARAM, " | |||
| lv_x_invoicing_party | TYPE FKKOP-INVOICING_PARTY, " | |||
| lv_x_ethppm | TYPE ETHPPM, " | |||
| lv_x_payfreqid | TYPE PAYFREQID. " |
|   CALL FUNCTION 'ISU_INV_SET_INVOICE_UNIT' " |
| EXPORTING | ||
| X_WA_IIU_UNIT_PARAM | = lv_x_wa_iiu_unit_param | |
| X_INVOICING_PARTY | = lv_x_invoicing_party | |
| X_ETHPPM | = lv_x_ethppm | |
| X_PAYFREQID | = lv_x_payfreqid | |
| . " ISU_INV_SET_INVOICE_UNIT | ||
ABAP code using 7.40 inline data declarations to call FM ISU_INV_SET_INVOICE_UNIT
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 INVOICING_PARTY FROM FKKOP INTO @DATA(ld_x_invoicing_party). | ||||
Search for further information about these or an SAP related objects