SAP Function Modules

FKK_ANALYZE_NOTE_PAYEE SAP Function module







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

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


Pattern for FM FKK_ANALYZE_NOTE_PAYEE - FKK ANALYZE NOTE PAYEE





CALL FUNCTION 'FKK_ANALYZE_NOTE_PAYEE' "
  EXPORTING
    i_febko =                   " febko
*   i_febep =                   " febep
*   i_fkkbep =                  " fkkbep
*   i_gsvorgart =               " tfk028g-gsvorgart
  IMPORTING
    e_txtvw =                   " dfkkzp-txtvw
* TABLES
*   t_febre =                   " febre
*   t_fkkbre =                  " fkkbre
*   t_sel =                     " iseltabx
*   t_txtvw =                   " fkkbstvw
    .  "  FKK_ANALYZE_NOTE_PAYEE

ABAP code example for Function Module FKK_ANALYZE_NOTE_PAYEE





The ABAP code below is a full code listing to execute function module FKK_ANALYZE_NOTE_PAYEE 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_txtvw  TYPE DFKKZP-TXTVW ,
it_t_febre  TYPE STANDARD TABLE OF FEBRE,"TABLES PARAM
wa_t_febre  LIKE LINE OF it_t_febre ,
it_t_fkkbre  TYPE STANDARD TABLE OF FKKBRE,"TABLES PARAM
wa_t_fkkbre  LIKE LINE OF it_t_fkkbre ,
it_t_sel  TYPE STANDARD TABLE OF ISELTABX,"TABLES PARAM
wa_t_sel  LIKE LINE OF it_t_sel ,
it_t_txtvw  TYPE STANDARD TABLE OF FKKBSTVW,"TABLES PARAM
wa_t_txtvw  LIKE LINE OF it_t_txtvw .

DATA(ld_i_febko) = 'Check type of data required'.
DATA(ld_i_febep) = 'Check type of data required'.
DATA(ld_i_fkkbep) = 'Check type of data required'.

SELECT single GSVORGART
FROM TFK028G
INTO @DATA(ld_i_gsvorgart).


"populate fields of struture and append to itab
append wa_t_febre to it_t_febre.

"populate fields of struture and append to itab
append wa_t_fkkbre to it_t_fkkbre.

"populate fields of struture and append to itab
append wa_t_sel to it_t_sel.

"populate fields of struture and append to itab
append wa_t_txtvw to it_t_txtvw. . CALL FUNCTION 'FKK_ANALYZE_NOTE_PAYEE' EXPORTING i_febko = ld_i_febko * i_febep = ld_i_febep * i_fkkbep = ld_i_fkkbep * i_gsvorgart = ld_i_gsvorgart IMPORTING e_txtvw = ld_e_txtvw * TABLES * t_febre = it_t_febre * t_fkkbre = it_t_fkkbre * t_sel = it_t_sel * t_txtvw = it_t_txtvw . " FKK_ANALYZE_NOTE_PAYEE
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_txtvw  TYPE DFKKZP-TXTVW ,
ld_i_febko  TYPE FEBKO ,
it_t_febre  TYPE STANDARD TABLE OF FEBRE ,
wa_t_febre  LIKE LINE OF it_t_febre,
ld_i_febep  TYPE FEBEP ,
it_t_fkkbre  TYPE STANDARD TABLE OF FKKBRE ,
wa_t_fkkbre  LIKE LINE OF it_t_fkkbre,
ld_i_fkkbep  TYPE FKKBEP ,
it_t_sel  TYPE STANDARD TABLE OF ISELTABX ,
wa_t_sel  LIKE LINE OF it_t_sel,
ld_i_gsvorgart  TYPE TFK028G-GSVORGART ,
it_t_txtvw  TYPE STANDARD TABLE OF FKKBSTVW ,
wa_t_txtvw  LIKE LINE OF it_t_txtvw.

ld_i_febko = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febre to it_t_febre.
ld_i_febep = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_fkkbre to it_t_fkkbre.
ld_i_fkkbep = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_sel to it_t_sel.

SELECT single GSVORGART
FROM TFK028G
INTO ld_i_gsvorgart.


"populate fields of struture and append to itab
append wa_t_txtvw to it_t_txtvw.

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