Ansicht
Dokumentation

FKK_SAMPLE_5516 - Example: 5516: Check whether Promise to Pay Must Be Confirmed

FKK_SAMPLE_5516 - Example: 5516: Check whether Promise to Pay Must Be Confirmed

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module processed in event 5516 decides whether a promise to pay has to be confirmed.

The following data is available:

I_DFKKPP Header of the promise to pay.
I_DFKKPPD_TAB Dates and amounts
I_DFKKPPD_PAY_TAB Details for debit memos
I_FKKCL_TAB Related open items

If the promise to pay is created to replace another promise, in parameter I_REP_KEY, specify the key of the promise to pay to be replaced.

If a workflow is to be started for confirmation, you have to return the reason for the confirmation required in the parameter E_C4EYE.

In parameter E_C4LEV, you can specify the number of parallel checks to be processed.

In the dual control principle, E_C4LEV has the value one, meaning that one additional person must confirm the posting. In the triple control principle, E_C4LEV must have the value 2. The maximum possible value is 9. If no value is returned, 1 is set as the default value.

You can also return further data in E_C4EYE_PAR (optional); you can use this data for role resolution (determination of workflow addressees). There are three fields of length 20 available. You define the meaning of these fields specific to the installation.

Example

If the recipient of the workflow is to be determined dependent on the paying company code and an amount category, you can return the company code in the field E_C4EYE_PAR-WFP01 and the amount category in the parameter E_C4EYE_PAR-WFP02, for example:

1 Amounts up to: EUR 1000.00
2 Amounts up to: EUR 5000.00
3 Amounts over: EUR 5000.00





Parameters

E_C4EYE
E_C4EYE_PAR
E_C4LEV
I_DFKKPP
I_DFKKPPD_PAY_TAB
I_DFKKPPD_TAB
I_FKKCL_TAB
I_REP_KEY

Exceptions

Function Group

FKML2

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2971 Date: 20240523 Time: 070820     sap01-206 ( 48 ms )