SAP FKK_SAMPLE_1235 Function Module for
FKK_SAMPLE_1235 is a standard fkk sample 1235 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sample 1235 FM, simply by entering the name FKK_SAMPLE_1235 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKP3
Program Name: SAPLFKP3
Main Program: SAPLFKP3
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_SAMPLE_1235 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_SAMPLE_1235'".
EXPORTING
* I_CONTROLDATA = "FSCM Biller Direct: Check Data
* I_PARTNER = "SAP Biller Direct: Partner Data
* I_ADDSEL = "Biller Direct: Additional Selection Data
IMPORTING
E_PARTNER = "SAP Biller Direct: Partner Data
CHANGING
* C_CREDITS = "FSCM Biller Direct: Totals Information
TABLES
T_ITEMS = "FSCM Biller Direct: Item Data
* T_INIT_DATA = "Biller Direct: Additional Data for Frontend (Event 1244)
* T_PAYEXPLANATION = "Biller Direct: Payment Explanation (G/L Items)
* T_DISPUTES = "Biller Direct: Dispute Cases from Dispute Management
* T_DISPUTES_ALLOCATION = "Biller Direct: Assignment of Dispute Cases/Invoices
T_INVOICES = "FSCM Biller Direct: Bill Data
T_ALLOCATION = "
T_BANKS = "Biller Direct: Bank Data for Partner
T_CARDS = "Biller Direct: Card Data for Partner
T_CARDTYPES = "FSCM Biller Direct: Card Types (Institute)
* T_TOTALS = "Biller Direct: Totals
* T_MYPAYMENTS = "Biller Direct: My Payments
* T_PAYALLOCATION = "Biller Direct: Payment Data/Bill Data Assignment
IMPORTING Parameters details for FKK_SAMPLE_1235
I_CONTROLDATA - FSCM Biller Direct: Check Data
Data type: GENEBPP_CONTROLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARTNER - SAP Biller Direct: Partner Data
Data type: GENEBPP_PARTNEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_ADDSEL - Biller Direct: Additional Selection Data
Data type: GENEBPP_ADDSELOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_SAMPLE_1235
E_PARTNER - SAP Biller Direct: Partner Data
Data type: GENEBPP_PARTNEROptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FKK_SAMPLE_1235
C_CREDITS - FSCM Biller Direct: Totals Information
Data type: FKKEBPP_CREDITSOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_SAMPLE_1235
T_ITEMS - FSCM Biller Direct: Item Data
Data type: FKKEBPP_ITEMOptional: No
Call by Reference: Yes
T_INIT_DATA - Biller Direct: Additional Data for Frontend (Event 1244)
Data type: GENEBPP_INITDATAOptional: Yes
Call by Reference: Yes
T_PAYEXPLANATION - Biller Direct: Payment Explanation (G/L Items)
Data type: FKKEBPP_PAYEXPLANATIONOptional: Yes
Call by Reference: Yes
T_DISPUTES - Biller Direct: Dispute Cases from Dispute Management
Data type: GENEBPP_DMDISPUTESOptional: Yes
Call by Reference: Yes
T_DISPUTES_ALLOCATION - Biller Direct: Assignment of Dispute Cases/Invoices
Data type: GENEBPP_DM_ALLOCATIONOptional: Yes
Call by Reference: Yes
T_INVOICES - FSCM Biller Direct: Bill Data
Data type: FKKEBPP_INVOICEOptional: No
Call by Reference: Yes
T_ALLOCATION -
Data type: FKKEBPP_ALLOCATIONOptional: No
Call by Reference: Yes
T_BANKS - Biller Direct: Bank Data for Partner
Data type: FKKEBPP_BANKOptional: No
Call by Reference: Yes
T_CARDS - Biller Direct: Card Data for Partner
Data type: FKKEBPP_CARDOptional: No
Call by Reference: Yes
T_CARDTYPES - FSCM Biller Direct: Card Types (Institute)
Data type: GENEBPP_CARDTYPEOptional: No
Call by Reference: Yes
T_TOTALS - Biller Direct: Totals
Data type: FKKEBPP_TOTALSOptional: Yes
Call by Reference: Yes
T_MYPAYMENTS - Biller Direct: My Payments
Data type: FKKEBPP_MYPAYMENTSOptional: Yes
Call by Reference: Yes
T_PAYALLOCATION - Biller Direct: Payment Data/Bill Data Assignment
Data type: FKKEBPP_PAYALLOCATIONOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FKK_SAMPLE_1235 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: | ||||
| lt_t_items | TYPE STANDARD TABLE OF FKKEBPP_ITEM, " | |||
| lv_c_credits | TYPE FKKEBPP_CREDITS, " | |||
| lv_e_partner | TYPE GENEBPP_PARTNER, " | |||
| lv_i_controldata | TYPE GENEBPP_CONTROL, " | |||
| lt_t_init_data | TYPE STANDARD TABLE OF GENEBPP_INITDATA, " | |||
| lt_t_payexplanation | TYPE STANDARD TABLE OF FKKEBPP_PAYEXPLANATION, " | |||
| lt_t_disputes | TYPE STANDARD TABLE OF GENEBPP_DMDISPUTES, " | |||
| lt_t_disputes_allocation | TYPE STANDARD TABLE OF GENEBPP_DM_ALLOCATION, " | |||
| lv_i_partner | TYPE GENEBPP_PARTNER, " | |||
| lt_t_invoices | TYPE STANDARD TABLE OF FKKEBPP_INVOICE, " | |||
| lv_i_addsel | TYPE GENEBPP_ADDSEL, " | |||
| lt_t_allocation | TYPE STANDARD TABLE OF FKKEBPP_ALLOCATION, " | |||
| lt_t_banks | TYPE STANDARD TABLE OF FKKEBPP_BANK, " | |||
| lt_t_cards | TYPE STANDARD TABLE OF FKKEBPP_CARD, " | |||
| lt_t_cardtypes | TYPE STANDARD TABLE OF GENEBPP_CARDTYPE, " | |||
| lt_t_totals | TYPE STANDARD TABLE OF FKKEBPP_TOTALS, " | |||
| lt_t_mypayments | TYPE STANDARD TABLE OF FKKEBPP_MYPAYMENTS, " | |||
| lt_t_payallocation | TYPE STANDARD TABLE OF FKKEBPP_PAYALLOCATION. " |
|   CALL FUNCTION 'FKK_SAMPLE_1235' " |
| EXPORTING | ||
| I_CONTROLDATA | = lv_i_controldata | |
| I_PARTNER | = lv_i_partner | |
| I_ADDSEL | = lv_i_addsel | |
| IMPORTING | ||
| E_PARTNER | = lv_e_partner | |
| CHANGING | ||
| C_CREDITS | = lv_c_credits | |
| TABLES | ||
| T_ITEMS | = lt_t_items | |
| T_INIT_DATA | = lt_t_init_data | |
| T_PAYEXPLANATION | = lt_t_payexplanation | |
| T_DISPUTES | = lt_t_disputes | |
| T_DISPUTES_ALLOCATION | = lt_t_disputes_allocation | |
| T_INVOICES | = lt_t_invoices | |
| T_ALLOCATION | = lt_t_allocation | |
| T_BANKS | = lt_t_banks | |
| T_CARDS | = lt_t_cards | |
| T_CARDTYPES | = lt_t_cardtypes | |
| T_TOTALS | = lt_t_totals | |
| T_MYPAYMENTS | = lt_t_mypayments | |
| T_PAYALLOCATION | = lt_t_payallocation | |
| . " FKK_SAMPLE_1235 | ||
ABAP code using 7.40 inline data declarations to call FM FKK_SAMPLE_1235
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.Search for further information about these or an SAP related objects