SAP Function Modules

OPEN_FI_PERFORM_00001025_E SAP Function module







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

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


Pattern for FM OPEN_FI_PERFORM_00001025_E - OPEN FI PERFORM 00001025 E





CALL FUNCTION 'OPEN_FI_PERFORM_00001025_E' "
* EXPORTING
*   i_bkdf =                    " bkdf          Recurring entry data
  TABLES
*   t_ausz1 =                   " ausz1         Items to Be Cleared
*   t_ausz2 =                   " ausz2
*   t_ausz3 =                   " ausz_clr
    t_bkp1 =                    " bkp1
    t_bkpf =                    " bkpf          Document Headers
    t_bsec =                    " bsec          One-Time Account Data
    t_bsed =                    " bsed          Bill of Exchange Data
    t_bseg =                    " bseg          Document Line Items
    t_bset =                    " bset          Tax Data
*   t_bseu =                    " bseu
*   t_rsgtab =                  " irsgtab       Complete Table of Residual Items with Reasons
*   t_renum =                   " irenum        Temporary and Final Posting Item Number for FI Document
*   t_postab =                  " ausz_info     Open Item Data for Clearing Transactions
    .  "  OPEN_FI_PERFORM_00001025_E

ABAP code example for Function Module OPEN_FI_PERFORM_00001025_E





The ABAP code below is a full code listing to execute function module OPEN_FI_PERFORM_00001025_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:
it_t_ausz1  TYPE STANDARD TABLE OF AUSZ1,"TABLES PARAM
wa_t_ausz1  LIKE LINE OF it_t_ausz1 ,
it_t_ausz2  TYPE STANDARD TABLE OF AUSZ2,"TABLES PARAM
wa_t_ausz2  LIKE LINE OF it_t_ausz2 ,
it_t_ausz3  TYPE STANDARD TABLE OF AUSZ_CLR,"TABLES PARAM
wa_t_ausz3  LIKE LINE OF it_t_ausz3 ,
it_t_bkp1  TYPE STANDARD TABLE OF BKP1,"TABLES PARAM
wa_t_bkp1  LIKE LINE OF it_t_bkp1 ,
it_t_bkpf  TYPE STANDARD TABLE OF BKPF,"TABLES PARAM
wa_t_bkpf  LIKE LINE OF it_t_bkpf ,
it_t_bsec  TYPE STANDARD TABLE OF BSEC,"TABLES PARAM
wa_t_bsec  LIKE LINE OF it_t_bsec ,
it_t_bsed  TYPE STANDARD TABLE OF BSED,"TABLES PARAM
wa_t_bsed  LIKE LINE OF it_t_bsed ,
it_t_bseg  TYPE STANDARD TABLE OF BSEG,"TABLES PARAM
wa_t_bseg  LIKE LINE OF it_t_bseg ,
it_t_bset  TYPE STANDARD TABLE OF BSET,"TABLES PARAM
wa_t_bset  LIKE LINE OF it_t_bset ,
it_t_bseu  TYPE STANDARD TABLE OF BSEU,"TABLES PARAM
wa_t_bseu  LIKE LINE OF it_t_bseu ,
it_t_rsgtab  TYPE STANDARD TABLE OF IRSGTAB,"TABLES PARAM
wa_t_rsgtab  LIKE LINE OF it_t_rsgtab ,
it_t_renum  TYPE STANDARD TABLE OF IRENUM,"TABLES PARAM
wa_t_renum  LIKE LINE OF it_t_renum ,
it_t_postab  TYPE STANDARD TABLE OF AUSZ_INFO,"TABLES PARAM
wa_t_postab  LIKE LINE OF it_t_postab .

DATA(ld_i_bkdf) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_ausz1 to it_t_ausz1.

"populate fields of struture and append to itab
append wa_t_ausz2 to it_t_ausz2.

"populate fields of struture and append to itab
append wa_t_ausz3 to it_t_ausz3.

"populate fields of struture and append to itab
append wa_t_bkp1 to it_t_bkp1.

"populate fields of struture and append to itab
append wa_t_bkpf to it_t_bkpf.

"populate fields of struture and append to itab
append wa_t_bsec to it_t_bsec.

"populate fields of struture and append to itab
append wa_t_bsed to it_t_bsed.

"populate fields of struture and append to itab
append wa_t_bseg to it_t_bseg.

"populate fields of struture and append to itab
append wa_t_bset to it_t_bset.

"populate fields of struture and append to itab
append wa_t_bseu to it_t_bseu.

"populate fields of struture and append to itab
append wa_t_rsgtab to it_t_rsgtab.

"populate fields of struture and append to itab
append wa_t_renum to it_t_renum.

"populate fields of struture and append to itab
append wa_t_postab to it_t_postab. . CALL FUNCTION 'OPEN_FI_PERFORM_00001025_E' * EXPORTING * i_bkdf = ld_i_bkdf TABLES * t_ausz1 = it_t_ausz1 * t_ausz2 = it_t_ausz2 * t_ausz3 = it_t_ausz3 t_bkp1 = it_t_bkp1 t_bkpf = it_t_bkpf t_bsec = it_t_bsec t_bsed = it_t_bsed t_bseg = it_t_bseg t_bset = it_t_bset * t_bseu = it_t_bseu * t_rsgtab = it_t_rsgtab * t_renum = it_t_renum * t_postab = it_t_postab . " OPEN_FI_PERFORM_00001025_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_i_bkdf  TYPE BKDF ,
it_t_ausz1  TYPE STANDARD TABLE OF AUSZ1 ,
wa_t_ausz1  LIKE LINE OF it_t_ausz1,
it_t_ausz2  TYPE STANDARD TABLE OF AUSZ2 ,
wa_t_ausz2  LIKE LINE OF it_t_ausz2,
it_t_ausz3  TYPE STANDARD TABLE OF AUSZ_CLR ,
wa_t_ausz3  LIKE LINE OF it_t_ausz3,
it_t_bkp1  TYPE STANDARD TABLE OF BKP1 ,
wa_t_bkp1  LIKE LINE OF it_t_bkp1,
it_t_bkpf  TYPE STANDARD TABLE OF BKPF ,
wa_t_bkpf  LIKE LINE OF it_t_bkpf,
it_t_bsec  TYPE STANDARD TABLE OF BSEC ,
wa_t_bsec  LIKE LINE OF it_t_bsec,
it_t_bsed  TYPE STANDARD TABLE OF BSED ,
wa_t_bsed  LIKE LINE OF it_t_bsed,
it_t_bseg  TYPE STANDARD TABLE OF BSEG ,
wa_t_bseg  LIKE LINE OF it_t_bseg,
it_t_bset  TYPE STANDARD TABLE OF BSET ,
wa_t_bset  LIKE LINE OF it_t_bset,
it_t_bseu  TYPE STANDARD TABLE OF BSEU ,
wa_t_bseu  LIKE LINE OF it_t_bseu,
it_t_rsgtab  TYPE STANDARD TABLE OF IRSGTAB ,
wa_t_rsgtab  LIKE LINE OF it_t_rsgtab,
it_t_renum  TYPE STANDARD TABLE OF IRENUM ,
wa_t_renum  LIKE LINE OF it_t_renum,
it_t_postab  TYPE STANDARD TABLE OF AUSZ_INFO ,
wa_t_postab  LIKE LINE OF it_t_postab.

ld_i_bkdf = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_ausz1 to it_t_ausz1.

"populate fields of struture and append to itab
append wa_t_ausz2 to it_t_ausz2.

"populate fields of struture and append to itab
append wa_t_ausz3 to it_t_ausz3.

"populate fields of struture and append to itab
append wa_t_bkp1 to it_t_bkp1.

"populate fields of struture and append to itab
append wa_t_bkpf to it_t_bkpf.

"populate fields of struture and append to itab
append wa_t_bsec to it_t_bsec.

"populate fields of struture and append to itab
append wa_t_bsed to it_t_bsed.

"populate fields of struture and append to itab
append wa_t_bseg to it_t_bseg.

"populate fields of struture and append to itab
append wa_t_bset to it_t_bset.

"populate fields of struture and append to itab
append wa_t_bseu to it_t_bseu.

"populate fields of struture and append to itab
append wa_t_rsgtab to it_t_rsgtab.

"populate fields of struture and append to itab
append wa_t_renum to it_t_renum.

"populate fields of struture and append to itab
append wa_t_postab to it_t_postab.

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