SAP RSD_HIERASO_GET_FOR_IOBJ Function Module for Gets Associated Characteristic for Hierarchies With Reference to TempJoin









RSD_HIERASO_GET_FOR_IOBJ is a standard rsd hieraso get for iobj SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Gets Associated Characteristic for Hierarchies With Reference to TempJoin 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 rsd hieraso get for iobj FM, simply by entering the name RSD_HIERASO_GET_FOR_IOBJ into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDN_IOBJ
Program Name: SAPLRSDN_IOBJ
Main Program: SAPLRSDN_IOBJ
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSD_HIERASO_GET_FOR_IOBJ 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 'RSD_HIERASO_GET_FOR_IOBJ'"Gets Associated Characteristic for Hierarchies With Reference to TempJoin
EXPORTING
I_IOBJNM = "Characteristic
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Object Version
* I_BYPASS_BUFFER = RS_C_TRUE "Boolean
* I_CHATHJ_2_CHA = RS_C_TRUE "Direction: chathj -> cha
* I_CHA_2_CHATHJ = RS_C_TRUE "Direction: cha -> chathj

IMPORTING
E_ASO_IOBJNM = "Characteristic

EXCEPTIONS
X_MESSAGE = 1 HIERASO_NOT_FOUND = 2
.



IMPORTING Parameters details for RSD_HIERASO_GET_FOR_IOBJ

I_IOBJNM - Characteristic

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

I_OBJVERS - Object Version

Data type: RSOBJVERS
Default: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: Yes

I_BYPASS_BUFFER - Boolean

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

I_CHATHJ_2_CHA - Direction: chathj -> cha

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

I_CHA_2_CHATHJ - Direction: cha -> chathj

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSD_HIERASO_GET_FOR_IOBJ

E_ASO_IOBJNM - Characteristic

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

EXCEPTIONS details

X_MESSAGE -

Data type:
Optional: No
Call by Reference: Yes

HIERASO_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSD_HIERASO_GET_FOR_IOBJ 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_i_iobjnm  TYPE RSCHANM, "   
lv_x_message  TYPE RSCHANM, "   
lv_e_aso_iobjnm  TYPE RSCHANM, "   
lv_i_objvers  TYPE RSOBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_hieraso_not_found  TYPE RSOBJVERS, "   
lv_i_bypass_buffer  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_chathj_2_cha  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_cha_2_chathj  TYPE RS_BOOL. "   RS_C_TRUE

  CALL FUNCTION 'RSD_HIERASO_GET_FOR_IOBJ'  "Gets Associated Characteristic for Hierarchies With Reference to TempJoin
    EXPORTING
         I_IOBJNM = lv_i_iobjnm
         I_OBJVERS = lv_i_objvers
         I_BYPASS_BUFFER = lv_i_bypass_buffer
         I_CHATHJ_2_CHA = lv_i_chathj_2_cha
         I_CHA_2_CHATHJ = lv_i_cha_2_chathj
    IMPORTING
         E_ASO_IOBJNM = lv_e_aso_iobjnm
    EXCEPTIONS
        X_MESSAGE = 1
        HIERASO_NOT_FOUND = 2
. " RSD_HIERASO_GET_FOR_IOBJ




ABAP code using 7.40 inline data declarations to call FM RSD_HIERASO_GET_FOR_IOBJ

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.

 
 
 
DATA(ld_i_objvers) = RS_C_OBJVERS-ACTIVE.
 
 
DATA(ld_i_bypass_buffer) = RS_C_TRUE.
 
DATA(ld_i_chathj_2_cha) = RS_C_TRUE.
 
DATA(ld_i_cha_2_chathj) = RS_C_TRUE.
 


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!