SAP ISM_RECLAMATION_DATA_SET Function Module for IS-M/AM: Provide Global Data for the Complaints Subscreen









ISM_RECLAMATION_DATA_SET is a standard ism reclamation 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 for the Complaints 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 reclamation data set FM, simply by entering the name ISM_RECLAMATION_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_RECLAMATION_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_RECLAMATION_DATA_SET'"IS-M/AM: Provide Global Data for the Complaints Subscreen
EXPORTING
PAR_RJHAK = "
PAR_TRTYP = "
* PV_RECLAMATION_AS_POPUP = "
PAR_RJHALLG = "
PAR_RJHAREKL_ITAB = "
PAR_ASSIGN_AVM_NR = "
* PAR_ASSIGN_POS_NR = "
* PAR_ASSIGN_UPOS_NR = "
* PAR_ASSIGN_EIN_NR = "
* PAR_ASSIGN_GRUPPABRNR = "
PAR_GV_FLG_UPDATE = "

EXCEPTIONS
ERROR_IN_ASSIGN_DATA = 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_RECLAMATION_DATA_SET

PAR_RJHAK -

Data type: JHA1_RJHAK_STR
Optional: No
Call by Reference: Yes

PAR_TRTYP -

Data type: TJ180-TRTYP
Optional: No
Call by Reference: Yes

PV_RECLAMATION_AS_POPUP -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

PAR_RJHALLG -

Data type: JHA1_RJHALLG_STR
Optional: No
Call by Reference: Yes

PAR_RJHAREKL_ITAB -

Data type: JHA1_RJHAREKL_TAB
Optional: No
Call by Reference: Yes

PAR_ASSIGN_AVM_NR -

Data type: JHAREKL-AVM_NR
Optional: No
Call by Reference: Yes

PAR_ASSIGN_POS_NR -

Data type: JHAREKL-POS_NR
Optional: Yes
Call by Reference: Yes

PAR_ASSIGN_UPOS_NR -

Data type: JHAREKL-UPOS_NR
Optional: Yes
Call by Reference: Yes

PAR_ASSIGN_EIN_NR -

Data type: JHAREKL-EIN_NR
Optional: Yes
Call by Reference: Yes

PAR_ASSIGN_GRUPPABRNR -

Data type: JHAREKL-GRUPPABRNR
Optional: Yes
Call by Reference: Yes

PAR_GV_FLG_UPDATE -

Data type: XFELD
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR_IN_ASSIGN_DATA -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISM_RECLAMATION_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_par_rjhak  TYPE JHA1_RJHAK_STR, "   
lv_error_in_assign_data  TYPE JHA1_RJHAK_STR, "   
lv_par_trtyp  TYPE TJ180-TRTYP, "   
lv_pv_reclamation_as_popup  TYPE XFELD, "   
lv_par_rjhallg  TYPE JHA1_RJHALLG_STR, "   
lv_par_rjharekl_itab  TYPE JHA1_RJHAREKL_TAB, "   
lv_par_assign_avm_nr  TYPE JHAREKL-AVM_NR, "   
lv_par_assign_pos_nr  TYPE JHAREKL-POS_NR, "   
lv_par_assign_upos_nr  TYPE JHAREKL-UPOS_NR, "   
lv_par_assign_ein_nr  TYPE JHAREKL-EIN_NR, "   
lv_par_assign_gruppabrnr  TYPE JHAREKL-GRUPPABRNR, "   
lv_par_gv_flg_update  TYPE XFELD. "   

  CALL FUNCTION 'ISM_RECLAMATION_DATA_SET'  "IS-M/AM: Provide Global Data for the Complaints Subscreen
    EXPORTING
         PAR_RJHAK = lv_par_rjhak
         PAR_TRTYP = lv_par_trtyp
         PV_RECLAMATION_AS_POPUP = lv_pv_reclamation_as_popup
         PAR_RJHALLG = lv_par_rjhallg
         PAR_RJHAREKL_ITAB = lv_par_rjharekl_itab
         PAR_ASSIGN_AVM_NR = lv_par_assign_avm_nr
         PAR_ASSIGN_POS_NR = lv_par_assign_pos_nr
         PAR_ASSIGN_UPOS_NR = lv_par_assign_upos_nr
         PAR_ASSIGN_EIN_NR = lv_par_assign_ein_nr
         PAR_ASSIGN_GRUPPABRNR = lv_par_assign_gruppabrnr
         PAR_GV_FLG_UPDATE = lv_par_gv_flg_update
    EXCEPTIONS
        ERROR_IN_ASSIGN_DATA = 1
. " ISM_RECLAMATION_DATA_SET




ABAP code using 7.40 inline data declarations to call FM ISM_RECLAMATION_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 TRTYP FROM TJ180 INTO @DATA(ld_par_trtyp).
 
 
 
 
"SELECT single AVM_NR FROM JHAREKL INTO @DATA(ld_par_assign_avm_nr).
 
"SELECT single POS_NR FROM JHAREKL INTO @DATA(ld_par_assign_pos_nr).
 
"SELECT single UPOS_NR FROM JHAREKL INTO @DATA(ld_par_assign_upos_nr).
 
"SELECT single EIN_NR FROM JHAREKL INTO @DATA(ld_par_assign_ein_nr).
 
"SELECT single GRUPPABRNR FROM JHAREKL INTO @DATA(ld_par_assign_gruppabrnr).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!