SAP FKK_CRPO_CHECK_PYMET Function Module for Check PymtMeth









FKK_CRPO_CHECK_PYMET is a standard fkk crpo check pymet SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check PymtMeth processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for fkk crpo check pymet FM, simply by entering the name FKK_CRPO_CHECK_PYMET into the relevant SAP transaction such as SE37 or SE38.

Function Group: FKCRPO
Program Name: SAPLFKCRPO
Main Program: SAPLFKCRPO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FKK_CRPO_CHECK_PYMET pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FKK_CRPO_CHECK_PYMET'"Check PymtMeth
EXPORTING
* I_BUKRS = "Company Code
* I_GPART = "Business Partner Number
* I_VKONT = "Contract Account Number
* I_OPBUK = "Company Code Group
* I_PYBUK = "Company Code for Automatic Payment Transactions
* I_LAND1 = "Country Key
I_PYMET = "Payment Method
* I_APPLK = "Application Area

IMPORTING
E_FKK042Z = "Payment methods for automatic payment
.



IMPORTING Parameters details for FKK_CRPO_CHECK_PYMET

I_BUKRS - Company Code

Data type: FKKOP-BUKRS
Optional: Yes
Call by Reference: Yes

I_GPART - Business Partner Number

Data type: FKCRPO_DISPL-GPART
Optional: Yes
Call by Reference: Yes

I_VKONT - Contract Account Number

Data type: FKCRPO_DISPL-VKONT
Optional: Yes
Call by Reference: Yes

I_OPBUK - Company Code Group

Data type: OPBUK_KK
Optional: Yes
Call by Reference: Yes

I_PYBUK - Company Code for Automatic Payment Transactions

Data type: PYBUK_KK
Optional: Yes
Call by Reference: Yes

I_LAND1 - Country Key

Data type: T001-LAND1
Optional: Yes
Call by Reference: Yes

I_PYMET - Payment Method

Data type: FKKOP-PYMET
Optional: No
Call by Reference: Yes

I_APPLK - Application Area

Data type: TFK042ZA-APPLK
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FKK_CRPO_CHECK_PYMET

E_FKK042Z - Payment methods for automatic payment

Data type: FKK042Z
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKK_CRPO_CHECK_PYMET Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_bukrs  TYPE FKKOP-BUKRS, "   
lv_e_fkk042z  TYPE FKK042Z, "   
lv_i_gpart  TYPE FKCRPO_DISPL-GPART, "   
lv_i_vkont  TYPE FKCRPO_DISPL-VKONT, "   
lv_i_opbuk  TYPE OPBUK_KK, "   
lv_i_pybuk  TYPE PYBUK_KK, "   
lv_i_land1  TYPE T001-LAND1, "   
lv_i_pymet  TYPE FKKOP-PYMET, "   
lv_i_applk  TYPE TFK042ZA-APPLK. "   

  CALL FUNCTION 'FKK_CRPO_CHECK_PYMET'  "Check PymtMeth
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_GPART = lv_i_gpart
         I_VKONT = lv_i_vkont
         I_OPBUK = lv_i_opbuk
         I_PYBUK = lv_i_pybuk
         I_LAND1 = lv_i_land1
         I_PYMET = lv_i_pymet
         I_APPLK = lv_i_applk
    IMPORTING
         E_FKK042Z = lv_e_fkk042z
. " FKK_CRPO_CHECK_PYMET




ABAP code using 7.40 inline data declarations to call FM FKK_CRPO_CHECK_PYMET

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single BUKRS FROM FKKOP INTO @DATA(ld_i_bukrs).
 
 
"SELECT single GPART FROM FKCRPO_DISPL INTO @DATA(ld_i_gpart).
 
"SELECT single VKONT FROM FKCRPO_DISPL INTO @DATA(ld_i_vkont).
 
 
 
"SELECT single LAND1 FROM T001 INTO @DATA(ld_i_land1).
 
"SELECT single PYMET FROM FKKOP INTO @DATA(ld_i_pymet).
 
"SELECT single APPLK FROM TFK042ZA INTO @DATA(ld_i_applk).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!