SAP Function Modules

EXIT_SAPLJHTD_009 SAP Function module - IS-M/AM: Define Default Ad Spec Master







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

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


Pattern for FM EXIT_SAPLJHTD_009 - EXIT SAPLJHTD 009





CALL FUNCTION 'EXIT_SAPLJHTD_009' "IS-M/AM: Define Default Ad Spec Master
  EXPORTING
    par_rjhak =                 " jha1_rjhak_str  Order Header
    par_rjhallg =               " jha1_rjhallg_str  General Data
    par_rjhap =                 " jha1_rjhap_str  Item
    par_rjhadrv =               " jha1_rjhadrv_str  Ad Spec Master
    par_rjhadrv_itab =          " jha1_rjhadrv_tab  Ad Spec Master Table
    par_rjhadrva_itab =         " jha1_rjhadrva_tab
  CHANGING
    par_rjha8000 =              " rjha8000      Screen Structure
    .  "  EXIT_SAPLJHTD_009

ABAP code example for Function Module EXIT_SAPLJHTD_009





The ABAP code below is a full code listing to execute function module EXIT_SAPLJHTD_009 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_par_rjha8000) = 'Check type of data required'.
DATA(ld_par_rjhak) = 'Check type of data required'.
DATA(ld_par_rjhallg) = 'Check type of data required'.
DATA(ld_par_rjhap) = 'Check type of data required'.
DATA(ld_par_rjhadrv) = 'Check type of data required'.
DATA(ld_par_rjhadrv_itab) = 'Check type of data required'.
DATA(ld_par_rjhadrva_itab) = 'Check type of data required'. . CALL FUNCTION 'EXIT_SAPLJHTD_009' EXPORTING par_rjhak = ld_par_rjhak par_rjhallg = ld_par_rjhallg par_rjhap = ld_par_rjhap par_rjhadrv = ld_par_rjhadrv par_rjhadrv_itab = ld_par_rjhadrv_itab par_rjhadrva_itab = ld_par_rjhadrva_itab CHANGING par_rjha8000 = ld_par_rjha8000 . " EXIT_SAPLJHTD_009
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_par_rjha8000  TYPE RJHA8000 ,
ld_par_rjhak  TYPE JHA1_RJHAK_STR ,
ld_par_rjhallg  TYPE JHA1_RJHALLG_STR ,
ld_par_rjhap  TYPE JHA1_RJHAP_STR ,
ld_par_rjhadrv  TYPE JHA1_RJHADRV_STR ,
ld_par_rjhadrv_itab  TYPE JHA1_RJHADRV_TAB ,
ld_par_rjhadrva_itab  TYPE JHA1_RJHADRVA_TAB .

ld_par_rjha8000 = 'Check type of data required'.
ld_par_rjhak = 'Check type of data required'.
ld_par_rjhallg = 'Check type of data required'.
ld_par_rjhap = 'Check type of data required'.
ld_par_rjhadrv = 'Check type of data required'.
ld_par_rjhadrv_itab = 'Check type of data required'.
ld_par_rjhadrva_itab = '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 EXIT_SAPLJHTD_009 or its description.