Ansicht
Dokumentation

FKK_SAMPLE_5502 - Example 5502: Check whether Reversal Must Be Confirmed

FKK_SAMPLE_5502 - Example 5502: Check whether Reversal Must Be Confirmed

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module called up for event 5502 defines whether the reversal being posted has to be confirmed.

The following data is available for the document to be reversed:

I_FKKKO Document header
I_FKK_C4EYE_REV Parameters for reversal (for example, date, document type)
T_FKKOP Business partner items
T_FKKOPK G/L items
T_FKKOPW Repetition details (installment plans, budget
billing plans)
T_FKKOP_CL Cleared items
T_FKKOPW_CL Cleared repeats

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

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

For the dual control principle, E_C4LEV has the value 1, that is, one additional person has to confirm the reversal. For the triple control principle, the parameter has the value 2. The maximum possible value is 9. If you do not enter a value, 1 is set as the default value.

You also have the option of returning additional data in E_C4EYE_PAR. You can use this data for the role resolution (determination of workflow addressees). The system provides you with three fields of length 20 to do this. You define the meaning of these fields specific to your installation.

Example

If the recipient of the workflow is to be determined dependent on the company code of the business partner item and an amount category, you can enter the company code in field E_C4EYE_PAR-WFP01, and the amount category, for example,

1 Amounts to 500.00 UNI
2 Amounts to 5000.00 UNI
3 Amounts over 5000.00 UNI

in parameter E_C4EYE_PAR-WFP02.





Parameters

E_C4EYE
E_C4EYE_PAR
E_C4LEV
E_NO_WF_TEXT
I_FKKKO
I_FKK_C4EYE_REV
T_FKKOP
T_FKKOPK
T_FKKOPW
T_FKKOPW_CL
T_FKKOP_CL

Exceptions

Function Group

FKML1

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2393 Date: 20240523 Time: 075242     sap01-206 ( 33 ms )