SAP ISM_ZUAB_DATA_SET Function Module for IS-M/AM: Provide Global Data from Discounts/Surcharges Subscreen
ISM_ZUAB_DATA_SET is a standard ism zuab data set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M/AM: Provide Global Data from Discounts/Surcharges Subscreen 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 ism zuab data set FM, simply by entering the name ISM_ZUAB_DATA_SET into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHA2
Program Name: SAPLJHA2
Main Program: SAPLJHA2
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_ZUAB_DATA_SET 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 'ISM_ZUAB_DATA_SET'"IS-M/AM: Provide Global Data from Discounts/Surcharges Subscreen.
EXPORTING
LEVEL_AUF_IN = "
* PAR_RJHAEA = "
* PAR_RJHAES = "
* PAR_RJHAEW = "
* PAR_RJHAEV = "
* PAR_RJHAEO = "
PAR_FLG_UPDATE = "
* PAR_RJHAP_ITAB = "
* PAR_RJHAGA_ITAB = "
* PV_FLG_ZUAB_DIALOG = "
* LEVEL_TITLE_IN = "
* ISPEINH_PR_IN = "
TRTYP_IN = "
PAR_RJHALLG = "
PAR_RJHAK = "
* PAR_RJHAP = "
* PAR_RJHAGA = "
* PAR_RJHAE = "
EXCEPTIONS
LEVEL_NOT_EXIST = 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_SAPLJHA2_001 IS-M/AM: Copy Order Objects
IMPORTING Parameters details for ISM_ZUAB_DATA_SET
LEVEL_AUF_IN -
Data type: TJHMSTZ-STAT_EBENEOptional: No
Call by Reference: Yes
PAR_RJHAEA -
Data type: JHA1_RJHAEA_STROptional: Yes
Call by Reference: Yes
PAR_RJHAES -
Data type: JHA1_RJHAES_STROptional: Yes
Call by Reference: Yes
PAR_RJHAEW -
Data type: JHA1_RJHAEW_STROptional: Yes
Call by Reference: Yes
PAR_RJHAEV -
Data type: JHA1_RJHAEV_STROptional: Yes
Call by Reference: Yes
PAR_RJHAEO -
Data type: JHA1_RJHAEO_STROptional: Yes
Call by Reference: Yes
PAR_FLG_UPDATE -
Data type: SY-BATCHOptional: No
Call by Reference: Yes
PAR_RJHAP_ITAB -
Data type: JHA1_RJHAP_TABOptional: Yes
Call by Reference: Yes
PAR_RJHAGA_ITAB -
Data type: JHA1_RJHAGA_TABOptional: Yes
Call by Reference: Yes
PV_FLG_ZUAB_DIALOG -
Data type: SY-BATCHOptional: Yes
Call by Reference: Yes
LEVEL_TITLE_IN -
Data type: SY-BATCHOptional: Yes
Call by Reference: Yes
ISPEINH_PR_IN -
Data type: TJH51-ISPEINH_PROptional: Yes
Call by Reference: Yes
TRTYP_IN -
Data type: TJ180-TRTYPOptional: No
Call by Reference: Yes
PAR_RJHALLG -
Data type: JHA1_RJHALLG_STROptional: No
Call by Reference: Yes
PAR_RJHAK -
Data type: JHA1_RJHAK_STROptional: No
Call by Reference: Yes
PAR_RJHAP -
Data type: JHA1_RJHAP_STROptional: Yes
Call by Reference: Yes
PAR_RJHAGA -
Data type: JHA1_RJHAGA_STROptional: Yes
Call by Reference: Yes
PAR_RJHAE -
Data type: JHA1_RJHAE_STROptional: Yes
Call by Reference: Yes
EXCEPTIONS details
LEVEL_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_ZUAB_DATA_SET 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_level_auf_in | TYPE TJHMSTZ-STAT_EBENE, " | |||
| lv_level_not_exist | TYPE TJHMSTZ, " | |||
| lv_par_rjhaea | TYPE JHA1_RJHAEA_STR, " | |||
| lv_par_rjhaes | TYPE JHA1_RJHAES_STR, " | |||
| lv_par_rjhaew | TYPE JHA1_RJHAEW_STR, " | |||
| lv_par_rjhaev | TYPE JHA1_RJHAEV_STR, " | |||
| lv_par_rjhaeo | TYPE JHA1_RJHAEO_STR, " | |||
| lv_par_flg_update | TYPE SY-BATCH, " | |||
| lv_par_rjhap_itab | TYPE JHA1_RJHAP_TAB, " | |||
| lv_par_rjhaga_itab | TYPE JHA1_RJHAGA_TAB, " | |||
| lv_pv_flg_zuab_dialog | TYPE SY-BATCH, " | |||
| lv_level_title_in | TYPE SY-BATCH, " | |||
| lv_ispeinh_pr_in | TYPE TJH51-ISPEINH_PR, " | |||
| lv_trtyp_in | TYPE TJ180-TRTYP, " | |||
| lv_par_rjhallg | TYPE JHA1_RJHALLG_STR, " | |||
| lv_par_rjhak | TYPE JHA1_RJHAK_STR, " | |||
| lv_par_rjhap | TYPE JHA1_RJHAP_STR, " | |||
| lv_par_rjhaga | TYPE JHA1_RJHAGA_STR, " | |||
| lv_par_rjhae | TYPE JHA1_RJHAE_STR. " |
|   CALL FUNCTION 'ISM_ZUAB_DATA_SET' "IS-M/AM: Provide Global Data from Discounts/Surcharges Subscreen |
| EXPORTING | ||
| LEVEL_AUF_IN | = lv_level_auf_in | |
| PAR_RJHAEA | = lv_par_rjhaea | |
| PAR_RJHAES | = lv_par_rjhaes | |
| PAR_RJHAEW | = lv_par_rjhaew | |
| PAR_RJHAEV | = lv_par_rjhaev | |
| PAR_RJHAEO | = lv_par_rjhaeo | |
| PAR_FLG_UPDATE | = lv_par_flg_update | |
| PAR_RJHAP_ITAB | = lv_par_rjhap_itab | |
| PAR_RJHAGA_ITAB | = lv_par_rjhaga_itab | |
| PV_FLG_ZUAB_DIALOG | = lv_pv_flg_zuab_dialog | |
| LEVEL_TITLE_IN | = lv_level_title_in | |
| ISPEINH_PR_IN | = lv_ispeinh_pr_in | |
| TRTYP_IN | = lv_trtyp_in | |
| PAR_RJHALLG | = lv_par_rjhallg | |
| PAR_RJHAK | = lv_par_rjhak | |
| PAR_RJHAP | = lv_par_rjhap | |
| PAR_RJHAGA | = lv_par_rjhaga | |
| PAR_RJHAE | = lv_par_rjhae | |
| EXCEPTIONS | ||
| LEVEL_NOT_EXIST = 1 | ||
| . " ISM_ZUAB_DATA_SET | ||
ABAP code using 7.40 inline data declarations to call FM ISM_ZUAB_DATA_SET
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 STAT_EBENE FROM TJHMSTZ INTO @DATA(ld_level_auf_in). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_par_flg_update). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_pv_flg_zuab_dialog). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_level_title_in). | ||||
| "SELECT single ISPEINH_PR FROM TJH51 INTO @DATA(ld_ispeinh_pr_in). | ||||
| "SELECT single TRTYP FROM TJ180 INTO @DATA(ld_trtyp_in). | ||||
Search for further information about these or an SAP related objects