SAP Function Modules

ISU_SAMPLE_R533 SAP Function module - Split Final Bill Amount







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

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


Pattern for FM ISU_SAMPLE_R533 - ISU SAMPLE R533





CALL FUNCTION 'ISU_SAMPLE_R533' "Split Final Bill Amount
  EXPORTING
*   x_mode = SPACE              " e_mode        Processing Mode (1 = Display, 2 = Change, 3 = Create...)
    x_begextper =               " datum         Date
    x_endextper =               " datum         Date
    x_fkkvkp =                  " fkkvkp        Contract Account Partner-Specific
    xt_ever =                   " isu25_intever
    xt_ps_displ =               " isu25_ps_displ_tab
*   x_obj =                     " isu25_paymentscheme
  IMPORTING
    y_endrecper =               " datum         Date
  TABLES
    xt_amount =                 " eps_bfa_amount  Transfer Old Bills in Payment Scheme
    xt_ext =                    " eabpl         Sample Lines for Budget Billing Plan
    .  "  ISU_SAMPLE_R533

ABAP code example for Function Module ISU_SAMPLE_R533





The ABAP code below is a full code listing to execute function module ISU_SAMPLE_R533 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_y_endrecper  TYPE DATUM ,
it_xt_amount  TYPE STANDARD TABLE OF EPS_BFA_AMOUNT,"TABLES PARAM
wa_xt_amount  LIKE LINE OF it_xt_amount ,
it_xt_ext  TYPE STANDARD TABLE OF EABPL,"TABLES PARAM
wa_xt_ext  LIKE LINE OF it_xt_ext .

DATA(ld_x_mode) = 'Check type of data required'.
DATA(ld_x_begextper) = 'Check type of data required'.
DATA(ld_x_endextper) = 'Check type of data required'.
DATA(ld_x_fkkvkp) = 'Check type of data required'.
DATA(ld_xt_ever) = 'Check type of data required'.
DATA(ld_xt_ps_displ) = 'Check type of data required'.
DATA(ld_x_obj) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_xt_amount to it_xt_amount.

"populate fields of struture and append to itab
append wa_xt_ext to it_xt_ext. . CALL FUNCTION 'ISU_SAMPLE_R533' EXPORTING * x_mode = ld_x_mode x_begextper = ld_x_begextper x_endextper = ld_x_endextper x_fkkvkp = ld_x_fkkvkp xt_ever = ld_xt_ever xt_ps_displ = ld_xt_ps_displ * x_obj = ld_x_obj IMPORTING y_endrecper = ld_y_endrecper TABLES xt_amount = it_xt_amount xt_ext = it_xt_ext . " ISU_SAMPLE_R533
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_y_endrecper  TYPE DATUM ,
ld_x_mode  TYPE E_MODE ,
it_xt_amount  TYPE STANDARD TABLE OF EPS_BFA_AMOUNT ,
wa_xt_amount  LIKE LINE OF it_xt_amount,
ld_x_begextper  TYPE DATUM ,
it_xt_ext  TYPE STANDARD TABLE OF EABPL ,
wa_xt_ext  LIKE LINE OF it_xt_ext,
ld_x_endextper  TYPE DATUM ,
ld_x_fkkvkp  TYPE FKKVKP ,
ld_xt_ever  TYPE ISU25_INTEVER ,
ld_xt_ps_displ  TYPE ISU25_PS_DISPL_TAB ,
ld_x_obj  TYPE ISU25_PAYMENTSCHEME .

ld_x_mode = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_xt_amount to it_xt_amount.
ld_x_begextper = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_xt_ext to it_xt_ext.
ld_x_endextper = 'Check type of data required'.
ld_x_fkkvkp = 'Check type of data required'.
ld_xt_ever = 'Check type of data required'.
ld_xt_ps_displ = 'Check type of data required'.
ld_x_obj = '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 ISU_SAMPLE_R533 or its description.