SAP Function Modules

RSSM_LOAD_UNPACK_HASHED_DATA SAP Function module - Load and unpack hashed data







RSSM_LOAD_UNPACK_HASHED_DATA 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 RSSM_LOAD_UNPACK_HASHED_DATA into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSSM_LOAD
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RSSM_LOAD_UNPACK_HASHED_DATA - RSSM LOAD UNPACK HASHED DATA





CALL FUNCTION 'RSSM_LOAD_UNPACK_HASHED_DATA' "Load and unpack hashed data
  EXPORTING
    i_hash =                    " hash160       Hash Value (160 Bits)
    i_ident =                   " num10         10 Digit Number
    i_rnr =                     " rsreqdone-rnr  Request number for the data transfer
  IMPORTING
    e_s_hiedone =               " rshiedone     Selection table for Fields Scheduler
    e_s_ldtdone =               " rsldtdone     Texts on the requested InfoPackages and groups
* TABLES
*   e_t_ldtdone =               " rsldtdone     Texts on the requested InfoPackages and groups
*   e_t_uicdone =               " rsuicdone     BIW: Selection table for user-selection update ICs
*   e_t_ruledone =              " rsruledone    ABAP Code for Scheduler Selections
*   e_t_seldone =               " rsseldone     Monitor: Selections for executed request
*   e_t_tcpdone =               " rstcpdone     Selection table for 3rd party; Scheduler
    .  "  RSSM_LOAD_UNPACK_HASHED_DATA

ABAP code example for Function Module RSSM_LOAD_UNPACK_HASHED_DATA





The ABAP code below is a full code listing to execute function module RSSM_LOAD_UNPACK_HASHED_DATA 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).

DATA:
ld_e_s_hiedone  TYPE RSHIEDONE ,
ld_e_s_ldtdone  TYPE RSLDTDONE ,
it_e_t_ldtdone  TYPE STANDARD TABLE OF RSLDTDONE,"TABLES PARAM
wa_e_t_ldtdone  LIKE LINE OF it_e_t_ldtdone ,
it_e_t_uicdone  TYPE STANDARD TABLE OF RSUICDONE,"TABLES PARAM
wa_e_t_uicdone  LIKE LINE OF it_e_t_uicdone ,
it_e_t_ruledone  TYPE STANDARD TABLE OF RSRULEDONE,"TABLES PARAM
wa_e_t_ruledone  LIKE LINE OF it_e_t_ruledone ,
it_e_t_seldone  TYPE STANDARD TABLE OF RSSELDONE,"TABLES PARAM
wa_e_t_seldone  LIKE LINE OF it_e_t_seldone ,
it_e_t_tcpdone  TYPE STANDARD TABLE OF RSTCPDONE,"TABLES PARAM
wa_e_t_tcpdone  LIKE LINE OF it_e_t_tcpdone .

DATA(ld_i_hash) = 'Check type of data required'.
DATA(ld_i_ident) = 'Check type of data required'.

SELECT single RNR
FROM RSREQDONE
INTO @DATA(ld_i_rnr).


"populate fields of struture and append to itab
append wa_e_t_ldtdone to it_e_t_ldtdone.

"populate fields of struture and append to itab
append wa_e_t_uicdone to it_e_t_uicdone.

"populate fields of struture and append to itab
append wa_e_t_ruledone to it_e_t_ruledone.

"populate fields of struture and append to itab
append wa_e_t_seldone to it_e_t_seldone.

"populate fields of struture and append to itab
append wa_e_t_tcpdone to it_e_t_tcpdone. . CALL FUNCTION 'RSSM_LOAD_UNPACK_HASHED_DATA' EXPORTING i_hash = ld_i_hash i_ident = ld_i_ident i_rnr = ld_i_rnr IMPORTING e_s_hiedone = ld_e_s_hiedone e_s_ldtdone = ld_e_s_ldtdone * TABLES * e_t_ldtdone = it_e_t_ldtdone * e_t_uicdone = it_e_t_uicdone * e_t_ruledone = it_e_t_ruledone * e_t_seldone = it_e_t_seldone * e_t_tcpdone = it_e_t_tcpdone . " RSSM_LOAD_UNPACK_HASHED_DATA
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_s_hiedone  TYPE RSHIEDONE ,
ld_i_hash  TYPE HASH160 ,
it_e_t_ldtdone  TYPE STANDARD TABLE OF RSLDTDONE ,
wa_e_t_ldtdone  LIKE LINE OF it_e_t_ldtdone,
ld_e_s_ldtdone  TYPE RSLDTDONE ,
ld_i_ident  TYPE NUM10 ,
it_e_t_uicdone  TYPE STANDARD TABLE OF RSUICDONE ,
wa_e_t_uicdone  LIKE LINE OF it_e_t_uicdone,
ld_i_rnr  TYPE RSREQDONE-RNR ,
it_e_t_ruledone  TYPE STANDARD TABLE OF RSRULEDONE ,
wa_e_t_ruledone  LIKE LINE OF it_e_t_ruledone,
it_e_t_seldone  TYPE STANDARD TABLE OF RSSELDONE ,
wa_e_t_seldone  LIKE LINE OF it_e_t_seldone,
it_e_t_tcpdone  TYPE STANDARD TABLE OF RSTCPDONE ,
wa_e_t_tcpdone  LIKE LINE OF it_e_t_tcpdone.

ld_i_hash = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_e_t_ldtdone to it_e_t_ldtdone.
ld_i_ident = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_e_t_uicdone to it_e_t_uicdone.

SELECT single RNR
FROM RSREQDONE
INTO ld_i_rnr.


"populate fields of struture and append to itab
append wa_e_t_ruledone to it_e_t_ruledone.

"populate fields of struture and append to itab
append wa_e_t_seldone to it_e_t_seldone.

"populate fields of struture and append to itab
append wa_e_t_tcpdone to it_e_t_tcpdone.

Contribute (Add Comments)

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 RSSM_LOAD_UNPACK_HASHED_DATA or its description.