FKK_PAYMENT_BATCH_FIND_PAYMENT 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_PAYMENT_BATCH_FIND_PAYMENT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKZ0
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FKK_PAYMENT_BATCH_FIND_PAYMENT' "
EXPORTING
i_opbel = " dfkkzp-opbel
* i_clarification_only = SPACE " boole-boole
* i_first_doc_only = SPACE " boole-boole
* i_search_in_db = 'X' " xfeld
* i_search_in_archive = SPACE " xfeld
IMPORTING
e_keyz1 = " dfkkzp-keyz1
e_posza = " dfkkzp-posza Payment number
e_tkpos = " dfkkzpt-tkpos Item Number For Partial Clarification
e_opbel = " dfkkzp-opbel Posting document
e_klaeb = " dfkkzp-klaeb Clarificatn Document
e_klaeh = " dfkkzp-klaeh Clarification Account
e_klaec = " dfkkzp-bukrs
e_bukrs = " dfkkzp-bukrs
e_gsber = " dfkkzp-gsber
e_prctr = " dfkkzp-prctr
e_valut = " dfkkzp-valut
e_nrzaa = " dfkkzp-nrzaa Repayment Request
e_ruebl = " dfkkzp-ruebl Reset Document
e_betrw = " dfkkzp-betrz
e_betrh = " dfkkzp-betrh
e_banks = " dfkkzp-banks
e_xclar = " dfkkzp-xclar
e_xarch = " xfeld
e_dfkkzk = " dfkkzk Header of Payment Lot
e_dfkkzp = " dfkkzp Item in payment lot
e_dfkkzpt = " dfkkzpt Ptl clarif. item
* TABLES
* t_fkkzpt = " dfkkzpt
EXCEPTIONS
NOT_FOUND = 1 " No records found
. " FKK_PAYMENT_BATCH_FIND_PAYMENT
The ABAP code below is a full code listing to execute function module FKK_PAYMENT_BATCH_FIND_PAYMENT 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).
| ld_e_keyz1 | TYPE DFKKZP-KEYZ1 , |
| ld_e_posza | TYPE DFKKZP-POSZA , |
| ld_e_tkpos | TYPE DFKKZPT-TKPOS , |
| ld_e_opbel | TYPE DFKKZP-OPBEL , |
| ld_e_klaeb | TYPE DFKKZP-KLAEB , |
| ld_e_klaeh | TYPE DFKKZP-KLAEH , |
| ld_e_klaec | TYPE DFKKZP-BUKRS , |
| ld_e_bukrs | TYPE DFKKZP-BUKRS , |
| ld_e_gsber | TYPE DFKKZP-GSBER , |
| ld_e_prctr | TYPE DFKKZP-PRCTR , |
| ld_e_valut | TYPE DFKKZP-VALUT , |
| ld_e_nrzaa | TYPE DFKKZP-NRZAA , |
| ld_e_ruebl | TYPE DFKKZP-RUEBL , |
| ld_e_betrw | TYPE DFKKZP-BETRZ , |
| ld_e_betrh | TYPE DFKKZP-BETRH , |
| ld_e_banks | TYPE DFKKZP-BANKS , |
| ld_e_xclar | TYPE DFKKZP-XCLAR , |
| ld_e_xarch | TYPE XFELD , |
| ld_e_dfkkzk | TYPE DFKKZK , |
| ld_e_dfkkzp | TYPE DFKKZP , |
| ld_e_dfkkzpt | TYPE DFKKZPT , |
| it_t_fkkzpt | TYPE STANDARD TABLE OF DFKKZPT,"TABLES PARAM |
| wa_t_fkkzpt | LIKE LINE OF it_t_fkkzpt . |
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_keyz1 | TYPE DFKKZP-KEYZ1 , |
| it_t_fkkzpt | TYPE STANDARD TABLE OF DFKKZPT , |
| wa_t_fkkzpt | LIKE LINE OF it_t_fkkzpt, |
| ld_i_opbel | TYPE DFKKZP-OPBEL , |
| ld_e_posza | TYPE DFKKZP-POSZA , |
| ld_i_clarification_only | TYPE BOOLE-BOOLE , |
| ld_e_tkpos | TYPE DFKKZPT-TKPOS , |
| ld_i_first_doc_only | TYPE BOOLE-BOOLE , |
| ld_e_opbel | TYPE DFKKZP-OPBEL , |
| ld_i_search_in_db | TYPE XFELD , |
| ld_e_klaeb | TYPE DFKKZP-KLAEB , |
| ld_i_search_in_archive | TYPE XFELD , |
| ld_e_klaeh | TYPE DFKKZP-KLAEH , |
| ld_e_klaec | TYPE DFKKZP-BUKRS , |
| ld_e_bukrs | TYPE DFKKZP-BUKRS , |
| ld_e_gsber | TYPE DFKKZP-GSBER , |
| ld_e_prctr | TYPE DFKKZP-PRCTR , |
| ld_e_valut | TYPE DFKKZP-VALUT , |
| ld_e_nrzaa | TYPE DFKKZP-NRZAA , |
| ld_e_ruebl | TYPE DFKKZP-RUEBL , |
| ld_e_betrw | TYPE DFKKZP-BETRZ , |
| ld_e_betrh | TYPE DFKKZP-BETRH , |
| ld_e_banks | TYPE DFKKZP-BANKS , |
| ld_e_xclar | TYPE DFKKZP-XCLAR , |
| ld_e_xarch | TYPE XFELD , |
| ld_e_dfkkzk | TYPE DFKKZK , |
| ld_e_dfkkzp | TYPE DFKKZP , |
| ld_e_dfkkzpt | TYPE DFKKZPT . |
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_PAYMENT_BATCH_FIND_PAYMENT or its description.