Ansicht
Dokumentation

FKK_SAMPLE_6214 - External Cash Desk Services: External Selection for Payments

FKK_SAMPLE_6214 - External Cash Desk Services: External Selection for Payments

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Use event 6214 for customer-specific payment usages for the CashPointPayment service for external cash desks.

When you process payments with the external cash desk services, you have to identify the open items to be paid using selection criteria, such as business partner ID or contract account ID.

The following prerequisites must be met:

  • You have added a customer-specific field for payment usage to the customer include CI_FKKEXC_CL (table DFKKEXC_CL and the structure FKKEXC_CLPROP).
  • In the customer include, the customer-specific field in event 6200 is filled from the XI interface.
  • The customer-specific field is maintained in the Customizing table TFK004.

You should add the fields to be used as selection criteria to the include. The fields must comply with the customer naming convention. This means that the must begin with 'Y' or 'Z'.

Note
You should first maintain the fields that you want to add to the customer include CI_FKKEXC_CL in the Customizing table TFK004.

As import parameter you provide all selection criteria transferred from XI for the payment usage in the structure I_FKKEXC_CL.

The clearing proposal is transferred in the import parameter I_FKKEXC_CL.

As return value, fill structure C_SELTAB for the selection criterion. Fill the following fields:

SELNR,,The selection criteria in table SELTAB define an AND or OR link of criteria. If two entries have the same SELNR, define an AND link, otherwise an OR link is assumed.

SELFN,,This field contains the name of the customer-specific field as maintained in table TFK004 for example.

XSFEX,,If this indicator is set, it corresponds to an entry in table TFK004. A corresponding database access defined in event 0210 then selects the open items.

SELCU,,This field contains the current value of the customer-specific field of the import structure I_FKKEXC_CL.

Example

Assume you have an own application table Cust Table 1, in which an FI-CA document number can be found using a customer field EXTERN1:

Cust Table 1
EXTERN1 OPBEL
0123456789 4711

The field EXTERN1 is added to Customizing table TFK004 (attribute 'external selection criterion') and the field EXTERN1 is added to the CI include CI_FKKEXC_CL.

If a field that is mapped to EXTERN1 in event 6200 is added to the XI interface (data type enhancement), the value (here 0123456789) is available in event 6214.

In the event the structure C_SELTAB must be defined as follows:

SELNR SELFN XSFEX SELCU
0001 EXTERN1 X 0123456789
Since the field EXTERN1 is defined as external selection criterion, event 0210 must be programmed with a corresponding database selection so that document number 4711 is found:
SELNR SELFN XSFEX SELCU
00001 OPBEL   000000004711

See also 0210

Notes

Further information





Parameters

C_SELTAB
I_FKKEXC_CL

Exceptions

Function Group

FKKEXC_EVENTS

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 5247 Date: 20240604 Time: 023354     sap01-206 ( 60 ms )