SAP ISU_IZWST_RI_MARGIN_JBP Function Module for INTERNAL: Create IZWST Right Margin for SBP and JBP
ISU_IZWST_RI_MARGIN_JBP is a standard isu izwst ri margin jbp 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: Create IZWST Right Margin for SBP and JBP 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 izwst ri margin jbp FM, simply by entering the name ISU_IZWST_RI_MARGIN_JBP into the relevant SAP transaction such as SE37 or SE38.
Function Group: EJBP_BM
Program Name: SAPLEJBP_BM
Main Program: SAPLEJBP_BM
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_IZWST_RI_MARGIN_JBP 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_IZWST_RI_MARGIN_JBP'"INTERNAL: Create IZWST Right Margin for SBP and JBP.
EXPORTING
X_IABLTERM = "
X_ABR_TRIG = "
X_VERTRAG = "
X_IZW = "
X_INST = "
* X_IEABLG = "
* X_IEABL = "
CHANGING
XY_IZWST = "
XY_ABR = "
XY_COMPR_IZW = "
EXCEPTIONS
GENERAL_FAULT = 1
IMPORTING Parameters details for ISU_IZWST_RI_MARGIN_JBP
X_IABLTERM -
Data type: ISU2A_IABLTERMOptional: No
Call by Reference: Yes
X_ABR_TRIG -
Data type: ISU2A_ABR_TRIGOptional: No
Call by Reference: No ( called with pass by value option)
X_VERTRAG -
Data type: EVER-VERTRAGOptional: No
Call by Reference: No ( called with pass by value option)
X_IZW -
Data type: ISU2A_BILLING_DATA-IZWOptional: No
Call by Reference: Yes
X_INST -
Data type: ISU2A_DATA_COLLECTOR-INSTOptional: No
Call by Reference: Yes
X_IEABLG -
Data type: ISU2A_BILLING_DATA-IEABLGOptional: Yes
Call by Reference: Yes
X_IEABL -
Data type: ISU2A_BILLING_DATA-IEABLOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for ISU_IZWST_RI_MARGIN_JBP
XY_IZWST -
Data type: ISU2A_BILLING_DATA-IZWSTOptional: No
Call by Reference: Yes
XY_ABR -
Data type: ISU2A_BILLING_DATA-ABROptional: No
Call by Reference: No ( called with pass by value option)
XY_COMPR_IZW -
Data type: ISU2A_BILLING_DATA-IZWOptional: No
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_IZWST_RI_MARGIN_JBP 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_izwst | TYPE ISU2A_BILLING_DATA-IZWST, " | |||
| lv_x_iablterm | TYPE ISU2A_IABLTERM, " | |||
| lv_general_fault | TYPE ISU2A_IABLTERM, " | |||
| lv_xy_abr | TYPE ISU2A_BILLING_DATA-ABR, " | |||
| lv_x_abr_trig | TYPE ISU2A_ABR_TRIG, " | |||
| lv_x_vertrag | TYPE EVER-VERTRAG, " | |||
| lv_xy_compr_izw | TYPE ISU2A_BILLING_DATA-IZW, " | |||
| lv_x_izw | TYPE ISU2A_BILLING_DATA-IZW, " | |||
| lv_x_inst | TYPE ISU2A_DATA_COLLECTOR-INST, " | |||
| lv_x_ieablg | TYPE ISU2A_BILLING_DATA-IEABLG, " | |||
| lv_x_ieabl | TYPE ISU2A_BILLING_DATA-IEABL. " |
|   CALL FUNCTION 'ISU_IZWST_RI_MARGIN_JBP' "INTERNAL: Create IZWST Right Margin for SBP and JBP |
| EXPORTING | ||
| X_IABLTERM | = lv_x_iablterm | |
| X_ABR_TRIG | = lv_x_abr_trig | |
| X_VERTRAG | = lv_x_vertrag | |
| X_IZW | = lv_x_izw | |
| X_INST | = lv_x_inst | |
| X_IEABLG | = lv_x_ieablg | |
| X_IEABL | = lv_x_ieabl | |
| CHANGING | ||
| XY_IZWST | = lv_xy_izwst | |
| XY_ABR | = lv_xy_abr | |
| XY_COMPR_IZW | = lv_xy_compr_izw | |
| EXCEPTIONS | ||
| GENERAL_FAULT = 1 | ||
| . " ISU_IZWST_RI_MARGIN_JBP | ||
ABAP code using 7.40 inline data declarations to call FM ISU_IZWST_RI_MARGIN_JBP
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 IZWST FROM ISU2A_BILLING_DATA INTO @DATA(ld_xy_izwst). | ||||
| "SELECT single ABR FROM ISU2A_BILLING_DATA INTO @DATA(ld_xy_abr). | ||||
| "SELECT single VERTRAG FROM EVER INTO @DATA(ld_x_vertrag). | ||||
| "SELECT single IZW FROM ISU2A_BILLING_DATA INTO @DATA(ld_xy_compr_izw). | ||||
| "SELECT single IZW FROM ISU2A_BILLING_DATA INTO @DATA(ld_x_izw). | ||||
| "SELECT single INST FROM ISU2A_DATA_COLLECTOR INTO @DATA(ld_x_inst). | ||||
| "SELECT single IEABLG FROM ISU2A_BILLING_DATA INTO @DATA(ld_x_ieablg). | ||||
| "SELECT single IEABL FROM ISU2A_BILLING_DATA INTO @DATA(ld_x_ieabl). | ||||
Search for further information about these or an SAP related objects