RSAX_GEN_HIERARCHY_TRANSFER is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSAX_GEN_HIERARCHY_TRANSFER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSAX
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSAX_GEN_HIERARCHY_TRANSFER' "
* EXPORTING
* i_requnr = " sbiwa_s_interface-requnr
* i_osource = " sbiwa_s_interface-isource
* i_maxsize = " sbiwa_s_interface-maxsize
* i_initflag = " sbiwa_s_interface-initflag
* i_s_hiebas = " rsap_s_hiebas
* i_s_hieflag = " rsap_s_hieflag
* i_s_hiersel = " rsap_s_hier_list
* i_rlogsys = " rsap_s_request-rcvprn
IMPORTING
e_packages = " sbiwa_flag
e_s_header = "
* TABLES
* i_t_langu = " sbiwa_t_langu
* e_t_hietext = " rsap_t_hietext
* e_t_hienode = "
* e_t_foldert = " rsap_t_foldert
* e_t_hieintv = "
EXCEPTIONS
INVALID_CHABASNM_HCLASS = 1 "
INVALID_HIERARCHY_FLAG = 2 "
INVALID_HIERARCHY_SELECT = 3 "
LANGU_NOT_SUPPORTED = 4 "
HIERARCHY_TAB_NOT_FOUND = 5 "
APPLICATION_ERROR = 6 "
. " RSAX_GEN_HIERARCHY_TRANSFER
The ABAP code below is a full code listing to execute function module RSAX_GEN_HIERARCHY_TRANSFER including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_packages | TYPE SBIWA_FLAG , |
| ld_e_s_header | TYPE STRING , |
| it_i_t_langu | TYPE STANDARD TABLE OF SBIWA_T_LANGU,"TABLES PARAM |
| wa_i_t_langu | LIKE LINE OF it_i_t_langu , |
| it_e_t_hietext | TYPE STANDARD TABLE OF RSAP_T_HIETEXT,"TABLES PARAM |
| wa_e_t_hietext | LIKE LINE OF it_e_t_hietext , |
| it_e_t_hienode | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_e_t_hienode | LIKE LINE OF it_e_t_hienode , |
| it_e_t_foldert | TYPE STANDARD TABLE OF RSAP_T_FOLDERT,"TABLES PARAM |
| wa_e_t_foldert | LIKE LINE OF it_e_t_foldert , |
| it_e_t_hieintv | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_e_t_hieintv | LIKE LINE OF it_e_t_hieintv . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_packages | TYPE SBIWA_FLAG , |
| ld_i_requnr | TYPE SBIWA_S_INTERFACE-REQUNR , |
| it_i_t_langu | TYPE STANDARD TABLE OF SBIWA_T_LANGU , |
| wa_i_t_langu | LIKE LINE OF it_i_t_langu, |
| ld_e_s_header | TYPE STRING , |
| ld_i_osource | TYPE SBIWA_S_INTERFACE-ISOURCE , |
| it_e_t_hietext | TYPE STANDARD TABLE OF RSAP_T_HIETEXT , |
| wa_e_t_hietext | LIKE LINE OF it_e_t_hietext, |
| ld_i_maxsize | TYPE SBIWA_S_INTERFACE-MAXSIZE , |
| it_e_t_hienode | TYPE STANDARD TABLE OF STRING , |
| wa_e_t_hienode | LIKE LINE OF it_e_t_hienode, |
| ld_i_initflag | TYPE SBIWA_S_INTERFACE-INITFLAG , |
| it_e_t_foldert | TYPE STANDARD TABLE OF RSAP_T_FOLDERT , |
| wa_e_t_foldert | LIKE LINE OF it_e_t_foldert, |
| ld_i_s_hiebas | TYPE RSAP_S_HIEBAS , |
| it_e_t_hieintv | TYPE STANDARD TABLE OF STRING , |
| wa_e_t_hieintv | LIKE LINE OF it_e_t_hieintv, |
| ld_i_s_hieflag | TYPE RSAP_S_HIEFLAG , |
| ld_i_s_hiersel | TYPE RSAP_S_HIER_LIST , |
| ld_i_rlogsys | TYPE RSAP_S_REQUEST-RCVPRN . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSAX_GEN_HIERARCHY_TRANSFER or its description.