SAP Function Modules

RSSM_FILL_REQ_FOR_PSADEL SAP Function module - Find all requests to a PSA







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

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


Pattern for FM RSSM_FILL_REQ_FOR_PSADEL - RSSM FILL REQ FOR PSADEL





CALL FUNCTION 'RSSM_FILL_REQ_FOR_PSADEL' "Find all requests to a PSA
  EXPORTING
    i_psa =                     " rsinfocube    InfoCube
*   i_only_display = 'X'        " rs_bool       Boolean
*   i_from_date =               " dats          DATS Field Type
*   i_title =                   " sy-title      Contents of Title Line
  IMPORTING
    e_t_rnr =                   " rssm_t_psadel_btch
  EXCEPTIONS
    ERROR = 1                   "
    NOT_EXIST = 2               "
    .  "  RSSM_FILL_REQ_FOR_PSADEL

ABAP code example for Function Module RSSM_FILL_REQ_FOR_PSADEL





The ABAP code below is a full code listing to execute function module RSSM_FILL_REQ_FOR_PSADEL 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_t_rnr  TYPE RSSM_T_PSADEL_BTCH .

DATA(ld_i_psa) = 'Check type of data required'.
DATA(ld_i_only_display) = 'Check type of data required'.
DATA(ld_i_from_date) = 'Check type of data required'.
DATA(ld_i_title) = 'some text here'. . CALL FUNCTION 'RSSM_FILL_REQ_FOR_PSADEL' EXPORTING i_psa = ld_i_psa * i_only_display = ld_i_only_display * i_from_date = ld_i_from_date * i_title = ld_i_title IMPORTING e_t_rnr = ld_e_t_rnr EXCEPTIONS ERROR = 1 NOT_EXIST = 2 . " RSSM_FILL_REQ_FOR_PSADEL
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here 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_t_rnr  TYPE RSSM_T_PSADEL_BTCH ,
ld_i_psa  TYPE RSINFOCUBE ,
ld_i_only_display  TYPE RS_BOOL ,
ld_i_from_date  TYPE DATS ,
ld_i_title  TYPE SY-TITLE .

ld_i_psa = 'some text here'.
ld_i_only_display = 'some text here'.
ld_i_from_date = 'some text here'.
ld_i_title = 'some text here'.

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