SAP Function Modules

OPEN_FI_PERFORM_00010810_E SAP Function module - Capital Yield Tax: Transfer Interest Data







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

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


Pattern for FM OPEN_FI_PERFORM_00010810_E - OPEN FI PERFORM 00010810 E





CALL FUNCTION 'OPEN_FI_PERFORM_00010810_E' "Capital Yield Tax: Transfer Interest Data
  EXPORTING
    i_whtax_basic =             " tbkk80bas-whtax  Capital Yield Tax Indicator
*   i_xrestart =                " boole-boole   Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
*   i_xsimulate =               " ibkk9p-sim_run  Simulation
  IMPORTING
    e_return =                  " ibkkwhtax4-rc  Return Code: 0 = OK, 1 = Error
  TABLES
    t_whtax_import =            " ibkkwhtax1
*   t_whtax_import_deb =        " ibkkwhtax1
*   t_whtax_import_ai =         " ibkkwhtax1    advanced interest
*   t_whtax_import_zero =       " ibkkwhtax1    Import Structure for Capital Yield Tax (CYT) Calculation
*   t_whtax_import_ncrd =       " ibkkwhtax1    Import Structure for Capital Yield Tax (CYT) Calculation
*   t_whtax_import_ndeb =       " ibkkwhtax1    Import Structure for Capital Yield Tax (CYT) Calculation
    t_whtax_export =            " ibkkwhtax2
    t_bkk_fbs =                 " ibkktfi02     Function Modules to be Called
    .  "  OPEN_FI_PERFORM_00010810_E

ABAP code example for Function Module OPEN_FI_PERFORM_00010810_E





The ABAP code below is a full code listing to execute function module OPEN_FI_PERFORM_00010810_E 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_return  TYPE IBKKWHTAX4-RC ,
it_t_whtax_import  TYPE STANDARD TABLE OF IBKKWHTAX1,"TABLES PARAM
wa_t_whtax_import  LIKE LINE OF it_t_whtax_import ,
it_t_whtax_import_deb  TYPE STANDARD TABLE OF IBKKWHTAX1,"TABLES PARAM
wa_t_whtax_import_deb  LIKE LINE OF it_t_whtax_import_deb ,
it_t_whtax_import_ai  TYPE STANDARD TABLE OF IBKKWHTAX1,"TABLES PARAM
wa_t_whtax_import_ai  LIKE LINE OF it_t_whtax_import_ai ,
it_t_whtax_import_zero  TYPE STANDARD TABLE OF IBKKWHTAX1,"TABLES PARAM
wa_t_whtax_import_zero  LIKE LINE OF it_t_whtax_import_zero ,
it_t_whtax_import_ncrd  TYPE STANDARD TABLE OF IBKKWHTAX1,"TABLES PARAM
wa_t_whtax_import_ncrd  LIKE LINE OF it_t_whtax_import_ncrd ,
it_t_whtax_import_ndeb  TYPE STANDARD TABLE OF IBKKWHTAX1,"TABLES PARAM
wa_t_whtax_import_ndeb  LIKE LINE OF it_t_whtax_import_ndeb ,
it_t_whtax_export  TYPE STANDARD TABLE OF IBKKWHTAX2,"TABLES PARAM
wa_t_whtax_export  LIKE LINE OF it_t_whtax_export ,
it_t_bkk_fbs  TYPE STANDARD TABLE OF IBKKTFI02,"TABLES PARAM
wa_t_bkk_fbs  LIKE LINE OF it_t_bkk_fbs .


SELECT single WHTAX
FROM TBKK80BAS
INTO @DATA(ld_i_whtax_basic).


DATA(ld_i_xrestart) = some text here

DATA(ld_i_xsimulate) = some text here

"populate fields of struture and append to itab
append wa_t_whtax_import to it_t_whtax_import.

"populate fields of struture and append to itab
append wa_t_whtax_import_deb to it_t_whtax_import_deb.

"populate fields of struture and append to itab
append wa_t_whtax_import_ai to it_t_whtax_import_ai.

"populate fields of struture and append to itab
append wa_t_whtax_import_zero to it_t_whtax_import_zero.

"populate fields of struture and append to itab
append wa_t_whtax_import_ncrd to it_t_whtax_import_ncrd.

"populate fields of struture and append to itab
append wa_t_whtax_import_ndeb to it_t_whtax_import_ndeb.

"populate fields of struture and append to itab
append wa_t_whtax_export to it_t_whtax_export.

"populate fields of struture and append to itab
append wa_t_bkk_fbs to it_t_bkk_fbs. . CALL FUNCTION 'OPEN_FI_PERFORM_00010810_E' EXPORTING i_whtax_basic = ld_i_whtax_basic * i_xrestart = ld_i_xrestart * i_xsimulate = ld_i_xsimulate IMPORTING e_return = ld_e_return TABLES t_whtax_import = it_t_whtax_import * t_whtax_import_deb = it_t_whtax_import_deb * t_whtax_import_ai = it_t_whtax_import_ai * t_whtax_import_zero = it_t_whtax_import_zero * t_whtax_import_ncrd = it_t_whtax_import_ncrd * t_whtax_import_ndeb = it_t_whtax_import_ndeb t_whtax_export = it_t_whtax_export t_bkk_fbs = it_t_bkk_fbs . " OPEN_FI_PERFORM_00010810_E
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_e_return  TYPE IBKKWHTAX4-RC ,
ld_i_whtax_basic  TYPE TBKK80BAS-WHTAX ,
it_t_whtax_import  TYPE STANDARD TABLE OF IBKKWHTAX1 ,
wa_t_whtax_import  LIKE LINE OF it_t_whtax_import,
ld_i_xrestart  TYPE BOOLE-BOOLE ,
it_t_whtax_import_deb  TYPE STANDARD TABLE OF IBKKWHTAX1 ,
wa_t_whtax_import_deb  LIKE LINE OF it_t_whtax_import_deb,
ld_i_xsimulate  TYPE IBKK9P-SIM_RUN ,
it_t_whtax_import_ai  TYPE STANDARD TABLE OF IBKKWHTAX1 ,
wa_t_whtax_import_ai  LIKE LINE OF it_t_whtax_import_ai,
it_t_whtax_import_zero  TYPE STANDARD TABLE OF IBKKWHTAX1 ,
wa_t_whtax_import_zero  LIKE LINE OF it_t_whtax_import_zero,
it_t_whtax_import_ncrd  TYPE STANDARD TABLE OF IBKKWHTAX1 ,
wa_t_whtax_import_ncrd  LIKE LINE OF it_t_whtax_import_ncrd,
it_t_whtax_import_ndeb  TYPE STANDARD TABLE OF IBKKWHTAX1 ,
wa_t_whtax_import_ndeb  LIKE LINE OF it_t_whtax_import_ndeb,
it_t_whtax_export  TYPE STANDARD TABLE OF IBKKWHTAX2 ,
wa_t_whtax_export  LIKE LINE OF it_t_whtax_export,
it_t_bkk_fbs  TYPE STANDARD TABLE OF IBKKTFI02 ,
wa_t_bkk_fbs  LIKE LINE OF it_t_bkk_fbs.


SELECT single WHTAX
FROM TBKK80BAS
INTO ld_i_whtax_basic.


"populate fields of struture and append to itab
append wa_t_whtax_import to it_t_whtax_import.

ld_i_xrestart = some text here

"populate fields of struture and append to itab
append wa_t_whtax_import_deb to it_t_whtax_import_deb.

ld_i_xsimulate = some text here

"populate fields of struture and append to itab
append wa_t_whtax_import_ai to it_t_whtax_import_ai.

"populate fields of struture and append to itab
append wa_t_whtax_import_zero to it_t_whtax_import_zero.

"populate fields of struture and append to itab
append wa_t_whtax_import_ncrd to it_t_whtax_import_ncrd.

"populate fields of struture and append to itab
append wa_t_whtax_import_ndeb to it_t_whtax_import_ndeb.

"populate fields of struture and append to itab
append wa_t_whtax_export to it_t_whtax_export.

"populate fields of struture and append to itab
append wa_t_bkk_fbs to it_t_bkk_fbs.

SAP Documentation for FM OPEN_FI_PERFORM_00010810_E


This OPEN FI function module determines the function module that the system is to run for the P S ...See here for full SAP fm documentation







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