SAP ISP_AVM_ZUAB_DIALOG Function Module for IS-M/AM: Discounts/Surcharges Dialog Box
ISP_AVM_ZUAB_DIALOG is a standard isp avm zuab dialog 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: Discounts/Surcharges Dialog Box 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 isp avm zuab dialog FM, simply by entering the name ISP_AVM_ZUAB_DIALOG 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 ISP_AVM_ZUAB_DIALOG 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 'ISP_AVM_ZUAB_DIALOG'"IS-M/AM: Discounts/Surcharges Dialog Box.
EXPORTING
LEVEL_AUF_IN = "
* PAR_RJHAES = "
* PAR_RJHAEW = "
* PAR_RJHAEV = "
* PAR_RJHAEO = "
* LEVEL_TITLE_IN = "
TRTYP_IN = "
PAR_RJHALLG = "
PAR_RJHAK = "
* PAR_RJHAP = "
* PAR_RJHAGA = "
* PAR_RJHAE = "
* PAR_RJHAEA = "
IMPORTING
PAR_GFMANUAEND = "IS-M: Billing dataset changed manually
CHANGING
PAR_RJHIPZA = "
PAR_FLG_UPDATE = "
* PAR_RJHAP_ITAB = "
* PAR_RJHAGA_ITAB = "
EXCEPTIONS
LEVEL_NOT_EXIST = 1 NO_ENTRY = 2
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 ISP_AVM_ZUAB_DIALOG
LEVEL_AUF_IN -
Data type: TJHMSTZ-STAT_EBENEOptional: No
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
LEVEL_TITLE_IN -
Data type: SY-BATCHOptional: 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
PAR_RJHAEA -
Data type: JHA1_RJHAEA_STROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISP_AVM_ZUAB_DIALOG
PAR_GFMANUAEND - IS-M: Billing dataset changed manually
Data type: RJHAGA-GFMANUAENDOptional: No
Call by Reference: Yes
CHANGING Parameters details for ISP_AVM_ZUAB_DIALOG
PAR_RJHIPZA -
Data type: RJHIPZAOptional: No
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
EXCEPTIONS details
LEVEL_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_AVM_ZUAB_DIALOG 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_par_rjhipza | TYPE RJHIPZA, " | |||
| lv_level_auf_in | TYPE TJHMSTZ-STAT_EBENE, " | |||
| lv_par_gfmanuaend | TYPE RJHAGA-GFMANUAEND, " | |||
| lv_level_not_exist | TYPE RJHAGA, " | |||
| 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_no_entry | TYPE JHA1_RJHAEO_STR, " | |||
| lv_level_title_in | TYPE SY-BATCH, " | |||
| lv_par_flg_update | TYPE SY-BATCH, " | |||
| lv_trtyp_in | TYPE TJ180-TRTYP, " | |||
| lv_par_rjhap_itab | TYPE JHA1_RJHAP_TAB, " | |||
| lv_par_rjhallg | TYPE JHA1_RJHALLG_STR, " | |||
| lv_par_rjhaga_itab | TYPE JHA1_RJHAGA_TAB, " | |||
| 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, " | |||
| lv_par_rjhaea | TYPE JHA1_RJHAEA_STR. " |
|   CALL FUNCTION 'ISP_AVM_ZUAB_DIALOG' "IS-M/AM: Discounts/Surcharges Dialog Box |
| EXPORTING | ||
| LEVEL_AUF_IN | = lv_level_auf_in | |
| PAR_RJHAES | = lv_par_rjhaes | |
| PAR_RJHAEW | = lv_par_rjhaew | |
| PAR_RJHAEV | = lv_par_rjhaev | |
| PAR_RJHAEO | = lv_par_rjhaeo | |
| LEVEL_TITLE_IN | = lv_level_title_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 | |
| PAR_RJHAEA | = lv_par_rjhaea | |
| IMPORTING | ||
| PAR_GFMANUAEND | = lv_par_gfmanuaend | |
| CHANGING | ||
| PAR_RJHIPZA | = lv_par_rjhipza | |
| PAR_FLG_UPDATE | = lv_par_flg_update | |
| PAR_RJHAP_ITAB | = lv_par_rjhap_itab | |
| PAR_RJHAGA_ITAB | = lv_par_rjhaga_itab | |
| EXCEPTIONS | ||
| LEVEL_NOT_EXIST = 1 | ||
| NO_ENTRY = 2 | ||
| . " ISP_AVM_ZUAB_DIALOG | ||
ABAP code using 7.40 inline data declarations to call FM ISP_AVM_ZUAB_DIALOG
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 GFMANUAEND FROM RJHAGA INTO @DATA(ld_par_gfmanuaend). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_level_title_in). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_par_flg_update). | ||||
| "SELECT single TRTYP FROM TJ180 INTO @DATA(ld_trtyp_in). | ||||
Search for further information about these or an SAP related objects