SAP Function Modules

ISM_REV_ACC_TRANSFER_RELTYP SAP Function module - IS-M/SD: Determine Revenue (Accrual) Table for Billing Document Transfer







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

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


Pattern for FM ISM_REV_ACC_TRANSFER_RELTYP - ISM REV ACC TRANSFER RELTYP





CALL FUNCTION 'ISM_REV_ACC_TRANSFER_RELTYP' "IS-M/SD: Determine Revenue (Accrual) Table for Billing Document Transfer
  EXPORTING
    i_jfrk =                    " jf23_jfrk_wa  Billing Document: Header
    i_jfrp =                    " jf23_jfrp_wa  Billing Document: Item
    i_komv =                    " jf23_komv_wa
    i_jdtdrer =                 " jdtdrer       Publication
  IMPORTING
    e_saknr =                   " accit-hkont
    e_comm_revaccr =            " jf23_comm_revaccr_wa
    e_xrevaccr =                " jf23_xfield
    e_aux_acc_assign =          " jf23_xfield
    e_xcopa =                   " jf23_xfield
  EXCEPTIONS
    ACCOUNT_MISSING = 1         "               No Account
    NO_PUBLICATION = 2          "
    COPA_FAILURE = 3            "
    .  "  ISM_REV_ACC_TRANSFER_RELTYP

ABAP code example for Function Module ISM_REV_ACC_TRANSFER_RELTYP





The ABAP code below is a full code listing to execute function module ISM_REV_ACC_TRANSFER_RELTYP 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_saknr  TYPE ACCIT-HKONT ,
ld_e_comm_revaccr  TYPE JF23_COMM_REVACCR_WA ,
ld_e_xrevaccr  TYPE JF23_XFIELD ,
ld_e_aux_acc_assign  TYPE JF23_XFIELD ,
ld_e_xcopa  TYPE JF23_XFIELD .

DATA(ld_i_jfrk) = 'Check type of data required'.
DATA(ld_i_jfrp) = 'Check type of data required'.
DATA(ld_i_komv) = 'Check type of data required'.
DATA(ld_i_jdtdrer) = 'Check type of data required'. . CALL FUNCTION 'ISM_REV_ACC_TRANSFER_RELTYP' EXPORTING i_jfrk = ld_i_jfrk i_jfrp = ld_i_jfrp i_komv = ld_i_komv i_jdtdrer = ld_i_jdtdrer IMPORTING e_saknr = ld_e_saknr e_comm_revaccr = ld_e_comm_revaccr e_xrevaccr = ld_e_xrevaccr e_aux_acc_assign = ld_e_aux_acc_assign e_xcopa = ld_e_xcopa EXCEPTIONS ACCOUNT_MISSING = 1 NO_PUBLICATION = 2 COPA_FAILURE = 3 . " ISM_REV_ACC_TRANSFER_RELTYP
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_e_saknr  TYPE ACCIT-HKONT ,
ld_i_jfrk  TYPE JF23_JFRK_WA ,
ld_e_comm_revaccr  TYPE JF23_COMM_REVACCR_WA ,
ld_i_jfrp  TYPE JF23_JFRP_WA ,
ld_e_xrevaccr  TYPE JF23_XFIELD ,
ld_i_komv  TYPE JF23_KOMV_WA ,
ld_e_aux_acc_assign  TYPE JF23_XFIELD ,
ld_i_jdtdrer  TYPE JDTDRER ,
ld_e_xcopa  TYPE JF23_XFIELD .

ld_i_jfrk = 'Check type of data required'.
ld_i_jfrp = 'Check type of data required'.
ld_i_komv = 'Check type of data required'.
ld_i_jdtdrer = '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 ISM_REV_ACC_TRANSFER_RELTYP or its description.