SAP Function Modules

JITOUT08_GET_SEL_DATA SAP Function module







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

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


Pattern for FM JITOUT08_GET_SEL_DATA - JITOUT08 GET SEL DATA





CALL FUNCTION 'JITOUT08_GET_SEL_DATA' "
* EXPORTING
*   seloptions_it =             " rsparams_tt
*   slim_iv = '500'             " jitdoku-select_limit
*   ispx_iv = 'X'               " flag
*   ispn_iv = 'X'               " flag
*   zone_iv =                   " uslogond-tzone
*   sort_iv =                   " cjit09-sortv
*   jitomonsel_is =             " jitomonsel
  IMPORTING
    jitodiahd_et =              " jitodiahd_tt
    jitodiait_et =              " jitodiait_tt
    jitodiaco_et =              " jitodiaco_tt
    jitoad_et =                 " jitoad_tt
    .  "  JITOUT08_GET_SEL_DATA

ABAP code example for Function Module JITOUT08_GET_SEL_DATA





The ABAP code below is a full code listing to execute function module JITOUT08_GET_SEL_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_jitodiahd_et  TYPE JITODIAHD_TT ,
ld_jitodiait_et  TYPE JITODIAIT_TT ,
ld_jitodiaco_et  TYPE JITODIACO_TT ,
ld_jitoad_et  TYPE JITOAD_TT .

DATA(ld_seloptions_it) = 'Check type of data required'.

DATA(ld_slim_iv) = Check type of data required
DATA(ld_ispx_iv) = 'Check type of data required'.
DATA(ld_ispn_iv) = 'Check type of data required'.

DATA(ld_zone_iv) = some text here

SELECT single SORTV
FROM CJIT09
INTO @DATA(ld_sort_iv).

DATA(ld_jitomonsel_is) = 'Check type of data required'. . CALL FUNCTION 'JITOUT08_GET_SEL_DATA' * EXPORTING * seloptions_it = ld_seloptions_it * slim_iv = ld_slim_iv * ispx_iv = ld_ispx_iv * ispn_iv = ld_ispn_iv * zone_iv = ld_zone_iv * sort_iv = ld_sort_iv * jitomonsel_is = ld_jitomonsel_is IMPORTING jitodiahd_et = ld_jitodiahd_et jitodiait_et = ld_jitodiait_et jitodiaco_et = ld_jitodiaco_et jitoad_et = ld_jitoad_et . " JITOUT08_GET_SEL_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_jitodiahd_et  TYPE JITODIAHD_TT ,
ld_seloptions_it  TYPE RSPARAMS_TT ,
ld_jitodiait_et  TYPE JITODIAIT_TT ,
ld_slim_iv  TYPE JITDOKU-SELECT_LIMIT ,
ld_jitodiaco_et  TYPE JITODIACO_TT ,
ld_ispx_iv  TYPE FLAG ,
ld_jitoad_et  TYPE JITOAD_TT ,
ld_ispn_iv  TYPE FLAG ,
ld_zone_iv  TYPE USLOGOND-TZONE ,
ld_sort_iv  TYPE CJIT09-SORTV ,
ld_jitomonsel_is  TYPE JITOMONSEL .

ld_seloptions_it = 'Check type of data required'.

ld_slim_iv = Check type of data required
ld_ispx_iv = 'Check type of data required'.
ld_ispn_iv = 'Check type of data required'.

ld_zone_iv = some text here

SELECT single SORTV
FROM CJIT09
INTO ld_sort_iv.

ld_jitomonsel_is = 'Check type of data required'.

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