FKK_DB_CD_CHECK_SELECT_PBATCH 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_DB_CD_CHECK_SELECT_PBATCH into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKH0
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FKK_DB_CD_CHECK_SELECT_PBATCH' "
EXPORTING
x_applk = " fkkop-applk Application
x_bukrs = " fkkop-bukrs Company Code
x_waers = " dfkkzk-waers Currency
x_hkont = " rfkh0-hkont
x_bvrko = " dfkkzk-bvrko Account
x_xebok = " dfkkzk-xebok Single Posting of Payment Already Completed
x_xposa = " dfkkzk-xposa
* x_keyz1 = " dfkkzk-keyz1
x_betrw = " fkkopk-betrw Payment Amount
* x_paytp = " rfkh0-paytp Category of payment/payment lot
IMPORTING
y_keyz1 = " dfkkzk-keyz1
y_chout = " rfkh0-chout
y_chkin = " rfkh0-chkin
y_cshin = " rfkh0-cshin
y_csout = " rfkh0-csout
y_crdin = " rfkh0-crdin
y_bvrko = " dfkkzk-bvrko
y_vkoch = " dfkkzk-vkoch
y_paytp = " dfkkzk-paytp Category of payment/payment lot
. " FKK_DB_CD_CHECK_SELECT_PBATCH
The ABAP code below is a full code listing to execute function module FKK_DB_CD_CHECK_SELECT_PBATCH 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_y_keyz1 | TYPE DFKKZK-KEYZ1 , |
| ld_y_chout | TYPE RFKH0-CHOUT , |
| ld_y_chkin | TYPE RFKH0-CHKIN , |
| ld_y_cshin | TYPE RFKH0-CSHIN , |
| ld_y_csout | TYPE RFKH0-CSOUT , |
| ld_y_crdin | TYPE RFKH0-CRDIN , |
| ld_y_bvrko | TYPE DFKKZK-BVRKO , |
| ld_y_vkoch | TYPE DFKKZK-VKOCH , |
| ld_y_paytp | TYPE DFKKZK-PAYTP . |
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_keyz1 | TYPE DFKKZK-KEYZ1 , |
| ld_x_applk | TYPE FKKOP-APPLK , |
| ld_y_chout | TYPE RFKH0-CHOUT , |
| ld_x_bukrs | TYPE FKKOP-BUKRS , |
| ld_y_chkin | TYPE RFKH0-CHKIN , |
| ld_x_waers | TYPE DFKKZK-WAERS , |
| ld_y_cshin | TYPE RFKH0-CSHIN , |
| ld_x_hkont | TYPE RFKH0-HKONT , |
| ld_y_csout | TYPE RFKH0-CSOUT , |
| ld_x_bvrko | TYPE DFKKZK-BVRKO , |
| ld_y_crdin | TYPE RFKH0-CRDIN , |
| ld_x_xebok | TYPE DFKKZK-XEBOK , |
| ld_y_bvrko | TYPE DFKKZK-BVRKO , |
| ld_x_xposa | TYPE DFKKZK-XPOSA , |
| ld_y_vkoch | TYPE DFKKZK-VKOCH , |
| ld_x_keyz1 | TYPE DFKKZK-KEYZ1 , |
| ld_y_paytp | TYPE DFKKZK-PAYTP , |
| ld_x_betrw | TYPE FKKOPK-BETRW , |
| ld_x_paytp | TYPE RFKH0-PAYTP . |
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_DB_CD_CHECK_SELECT_PBATCH or its description.