SAP Function Modules

OIUH_JELJ335 SAP Function module - Logic for Taxes push button in JE05







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

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


Pattern for FM OIUH_JELJ335 - OIUH JELJ335





CALL FUNCTION 'OIUH_JELJ335' "Logic for Taxes push button in JE05
  EXPORTING
    user_id =                   "
    sec_check_resp_id =         "
    warning_ind =               "
    action_code =               "
    or_lvl_1_no =               "
    acct_perd_dt =              "
    btch_no =                   "
    account_no =                "
    line_no =                   "
    reject_fl =                 "
    trans_am =                  "
    tax_1_am =                  "
    tax_2_am =                  "
    tax_3_am =                  "
    tax_4_am =                  "
    tax_5_am =                  "
    tax_6_am =                  "
    tax_7_am =                  "
    tax_8_am =                  "
    tax_9_am =                  "
    tax_10_am =                 "
    gr_tax_1_am =               "
    gr_tax_2_am =               "
    gr_tax_3_am =               "
    gr_tax_4_am =               "
    gr_tax_5_am =               "
    gr_tax_6_am =               "
    gr_tax_7_am =               "
    gr_tax_8_am =               "
    gr_tax_9_am =               "
    gr_tax_10_am =              "
    je_ver_no =                 "
  EXCEPTIONS
    GOBACK = 1                  "
    WARNING = 2                 "
    FAILED = 3                  "
    .  "  OIUH_JELJ335

ABAP code example for Function Module OIUH_JELJ335





The ABAP code below is a full code listing to execute function module OIUH_JELJ335 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_user_id) = 'some text here'.
DATA(ld_sec_check_resp_id) = 'some text here'.
DATA(ld_warning_ind) = 'some text here'.
DATA(ld_action_code) = 'some text here'.
DATA(ld_or_lvl_1_no) = 'some text here'.
DATA(ld_acct_perd_dt) = 'some text here'.
DATA(ld_btch_no) = 'some text here'.
DATA(ld_account_no) = 'some text here'.
DATA(ld_line_no) = 'some text here'.
DATA(ld_reject_fl) = 'some text here'.
DATA(ld_trans_am) = 'some text here'.
DATA(ld_tax_1_am) = 'some text here'.
DATA(ld_tax_2_am) = 'some text here'.
DATA(ld_tax_3_am) = 'some text here'.
DATA(ld_tax_4_am) = 'some text here'.
DATA(ld_tax_5_am) = 'some text here'.
DATA(ld_tax_6_am) = 'some text here'.
DATA(ld_tax_7_am) = 'some text here'.
DATA(ld_tax_8_am) = 'some text here'.
DATA(ld_tax_9_am) = 'some text here'.
DATA(ld_tax_10_am) = 'some text here'.
DATA(ld_gr_tax_1_am) = 'some text here'.
DATA(ld_gr_tax_2_am) = 'some text here'.
DATA(ld_gr_tax_3_am) = 'some text here'.
DATA(ld_gr_tax_4_am) = 'some text here'.
DATA(ld_gr_tax_5_am) = 'some text here'.
DATA(ld_gr_tax_6_am) = 'some text here'.
DATA(ld_gr_tax_7_am) = 'some text here'.
DATA(ld_gr_tax_8_am) = 'some text here'.
DATA(ld_gr_tax_9_am) = 'some text here'.
DATA(ld_gr_tax_10_am) = 'some text here'.
DATA(ld_je_ver_no) = 'some text here'. . CALL FUNCTION 'OIUH_JELJ335' EXPORTING user_id = ld_user_id sec_check_resp_id = ld_sec_check_resp_id warning_ind = ld_warning_ind action_code = ld_action_code or_lvl_1_no = ld_or_lvl_1_no acct_perd_dt = ld_acct_perd_dt btch_no = ld_btch_no account_no = ld_account_no line_no = ld_line_no reject_fl = ld_reject_fl trans_am = ld_trans_am tax_1_am = ld_tax_1_am tax_2_am = ld_tax_2_am tax_3_am = ld_tax_3_am tax_4_am = ld_tax_4_am tax_5_am = ld_tax_5_am tax_6_am = ld_tax_6_am tax_7_am = ld_tax_7_am tax_8_am = ld_tax_8_am tax_9_am = ld_tax_9_am tax_10_am = ld_tax_10_am gr_tax_1_am = ld_gr_tax_1_am gr_tax_2_am = ld_gr_tax_2_am gr_tax_3_am = ld_gr_tax_3_am gr_tax_4_am = ld_gr_tax_4_am gr_tax_5_am = ld_gr_tax_5_am gr_tax_6_am = ld_gr_tax_6_am gr_tax_7_am = ld_gr_tax_7_am gr_tax_8_am = ld_gr_tax_8_am gr_tax_9_am = ld_gr_tax_9_am gr_tax_10_am = ld_gr_tax_10_am je_ver_no = ld_je_ver_no EXCEPTIONS GOBACK = 1 WARNING = 2 FAILED = 3 . " OIUH_JELJ335
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 ELSEIF SY-SUBRC EQ 3. "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_user_id  TYPE STRING ,
ld_sec_check_resp_id  TYPE STRING ,
ld_warning_ind  TYPE STRING ,
ld_action_code  TYPE STRING ,
ld_or_lvl_1_no  TYPE STRING ,
ld_acct_perd_dt  TYPE STRING ,
ld_btch_no  TYPE STRING ,
ld_account_no  TYPE STRING ,
ld_line_no  TYPE STRING ,
ld_reject_fl  TYPE STRING ,
ld_trans_am  TYPE STRING ,
ld_tax_1_am  TYPE STRING ,
ld_tax_2_am  TYPE STRING ,
ld_tax_3_am  TYPE STRING ,
ld_tax_4_am  TYPE STRING ,
ld_tax_5_am  TYPE STRING ,
ld_tax_6_am  TYPE STRING ,
ld_tax_7_am  TYPE STRING ,
ld_tax_8_am  TYPE STRING ,
ld_tax_9_am  TYPE STRING ,
ld_tax_10_am  TYPE STRING ,
ld_gr_tax_1_am  TYPE STRING ,
ld_gr_tax_2_am  TYPE STRING ,
ld_gr_tax_3_am  TYPE STRING ,
ld_gr_tax_4_am  TYPE STRING ,
ld_gr_tax_5_am  TYPE STRING ,
ld_gr_tax_6_am  TYPE STRING ,
ld_gr_tax_7_am  TYPE STRING ,
ld_gr_tax_8_am  TYPE STRING ,
ld_gr_tax_9_am  TYPE STRING ,
ld_gr_tax_10_am  TYPE STRING ,
ld_je_ver_no  TYPE STRING .

ld_user_id = 'some text here'.
ld_sec_check_resp_id = 'some text here'.
ld_warning_ind = 'some text here'.
ld_action_code = 'some text here'.
ld_or_lvl_1_no = 'some text here'.
ld_acct_perd_dt = 'some text here'.
ld_btch_no = 'some text here'.
ld_account_no = 'some text here'.
ld_line_no = 'some text here'.
ld_reject_fl = 'some text here'.
ld_trans_am = 'some text here'.
ld_tax_1_am = 'some text here'.
ld_tax_2_am = 'some text here'.
ld_tax_3_am = 'some text here'.
ld_tax_4_am = 'some text here'.
ld_tax_5_am = 'some text here'.
ld_tax_6_am = 'some text here'.
ld_tax_7_am = 'some text here'.
ld_tax_8_am = 'some text here'.
ld_tax_9_am = 'some text here'.
ld_tax_10_am = 'some text here'.
ld_gr_tax_1_am = 'some text here'.
ld_gr_tax_2_am = 'some text here'.
ld_gr_tax_3_am = 'some text here'.
ld_gr_tax_4_am = 'some text here'.
ld_gr_tax_5_am = 'some text here'.
ld_gr_tax_6_am = 'some text here'.
ld_gr_tax_7_am = 'some text here'.
ld_gr_tax_8_am = 'some text here'.
ld_gr_tax_9_am = 'some text here'.
ld_gr_tax_10_am = 'some text here'.
ld_je_ver_no = '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 OIUH_JELJ335 or its description.