SAP ISU_MASTER_DATA_FOR_BILLING Function Module for INTERNAL: Enter Master Data for Billing in Billing Object
ISU_MASTER_DATA_FOR_BILLING is a standard isu master data for billing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Enter Master Data for Billing in Billing Object processing and below is the pattern details for this FM, 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 master data for billing FM, simply by entering the name ISU_MASTER_DATA_FOR_BILLING into the relevant SAP transaction such as SE37 or SE38.
Function Group: EA01
Program Name: SAPLEA01
Main Program: SAPLEA01
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_MASTER_DATA_FOR_BILLING 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_MASTER_DATA_FOR_BILLING'"INTERNAL: Enter Master Data for Billing in Billing Object.
EXPORTING
X_VERTRAG = "
* X_ABRVORG = CO_TURABR "
* X_ABRVORG2 = ' ' "
* X_USE_EVER = ' ' "
* X_BI_MDATA_IF = "
* X_USE_IEVERH = "Indicator
* X_ENDABRPE = SY-DATUM "End of Billing Period
IMPORTING
Y_MASTER_DATA = "
CHANGING
* XY_EVER = "
* XY_INST = "
* XY_IALLEVER = "
* XY_IEVERH = "IS-U Contract History
EXCEPTIONS
GENERAL_FAULT = 1
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_SAPLEA01_001 IS-U: Billing Document Enhancement
EXIT_SAPLEA01_002 IS-U: Enhancement for Checking the Billing Document
EXIT_SAPLEA01_003
EXIT_SAPLEA01_004
EXIT_SAPLEA01_005
EXIT_SAPLEA01_006
EXIT_SAPLEA01_007
EXIT_SAPLEA01_008
EXIT_SAPLEA01_009
IMPORTING Parameters details for ISU_MASTER_DATA_FOR_BILLING
X_VERTRAG -
Data type: EVER-VERTRAGOptional: No
Call by Reference: No ( called with pass by value option)
X_ABRVORG -
Data type: ETRG-ABRVORGDefault: CO_TURABR
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRVORG2 -
Data type: ETRG-ABRVORG2Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_USE_EVER -
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BI_MDATA_IF -
Data type: ISU_BI_MDATA_IFOptional: Yes
Call by Reference: Yes
X_USE_IEVERH - Indicator
Data type: KENNZXOptional: Yes
Call by Reference: Yes
X_ENDABRPE - End of Billing Period
Data type: ENDABRPEDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_MASTER_DATA_FOR_BILLING
Y_MASTER_DATA -
Data type: ISU2A_STOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISU_MASTER_DATA_FOR_BILLING
XY_EVER -
Data type: EVEROptional: Yes
Call by Reference: No ( called with pass by value option)
XY_INST -
Data type: ISU2A_INST_STRUCOptional: Yes
Call by Reference: Yes
XY_IALLEVER -
Data type: ISU2A_IEVEROptional: Yes
Call by Reference: Yes
XY_IEVERH - IS-U Contract History
Data type: IEVERHOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
GENERAL_FAULT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_MASTER_DATA_FOR_BILLING 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_xy_ever | TYPE EVER, " | |||
| lv_x_vertrag | TYPE EVER-VERTRAG, " | |||
| lv_general_fault | TYPE EVER, " | |||
| lv_y_master_data | TYPE ISU2A_ST, " | |||
| lv_xy_inst | TYPE ISU2A_INST_STRUC, " | |||
| lv_x_abrvorg | TYPE ETRG-ABRVORG, " CO_TURABR | |||
| lv_x_abrvorg2 | TYPE ETRG-ABRVORG2, " SPACE | |||
| lv_xy_iallever | TYPE ISU2A_IEVER, " | |||
| lv_xy_ieverh | TYPE IEVERH, " | |||
| lv_x_use_ever | TYPE REGEN-KENNZX, " SPACE | |||
| lv_x_bi_mdata_if | TYPE ISU_BI_MDATA_IF, " | |||
| lv_x_use_ieverh | TYPE KENNZX, " | |||
| lv_x_endabrpe | TYPE ENDABRPE. " SY-DATUM |
|   CALL FUNCTION 'ISU_MASTER_DATA_FOR_BILLING' "INTERNAL: Enter Master Data for Billing in Billing Object |
| EXPORTING | ||
| X_VERTRAG | = lv_x_vertrag | |
| X_ABRVORG | = lv_x_abrvorg | |
| X_ABRVORG2 | = lv_x_abrvorg2 | |
| X_USE_EVER | = lv_x_use_ever | |
| X_BI_MDATA_IF | = lv_x_bi_mdata_if | |
| X_USE_IEVERH | = lv_x_use_ieverh | |
| X_ENDABRPE | = lv_x_endabrpe | |
| IMPORTING | ||
| Y_MASTER_DATA | = lv_y_master_data | |
| CHANGING | ||
| XY_EVER | = lv_xy_ever | |
| XY_INST | = lv_xy_inst | |
| XY_IALLEVER | = lv_xy_iallever | |
| XY_IEVERH | = lv_xy_ieverh | |
| EXCEPTIONS | ||
| GENERAL_FAULT = 1 | ||
| . " ISU_MASTER_DATA_FOR_BILLING | ||
ABAP code using 7.40 inline data declarations to call FM ISU_MASTER_DATA_FOR_BILLING
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 VERTRAG FROM EVER INTO @DATA(ld_x_vertrag). | ||||
| "SELECT single ABRVORG FROM ETRG INTO @DATA(ld_x_abrvorg). | ||||
| DATA(ld_x_abrvorg) | = CO_TURABR. | |||
| "SELECT single ABRVORG2 FROM ETRG INTO @DATA(ld_x_abrvorg2). | ||||
| DATA(ld_x_abrvorg2) | = ' '. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_use_ever). | ||||
| DATA(ld_x_use_ever) | = ' '. | |||
| DATA(ld_x_endabrpe) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects