Ansicht
Dokumentation

FKK_SAMPLE_5500_CLOUD_BADI - Call Cloud BAdI to Check Whether New Document Must Be Confirmed

FKK_SAMPLE_5500_CLOUD_BADI - Call Cloud BAdI to Check Whether New Document Must Be Confirmed

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this BAdI, you can define whether the document being posted has to be confirmed.

The following document data is available:

  • I_FKKKO Document header
  • T_FKKOP Business partner items
  • T_FKKOPK G/L items
  • T_FKKOPW Repetition details (installment plans, budget billing plans)
  • T_FKKOPL Blocks (payments, dunning, interest, clearing)
  • T_FKKCL Items to be cleared

If a workflow is to be started for confirmation, you have to return the reason for the required confirmation 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 posting. For the triple control principle, you have to assign the value 2 to E_C4LEV. The maximum possible value is 9. If you do not return a value, 1 is assigned 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 return the company code in field E_C4EYE_PAR-WFP01, and the amount category, for example, in parameter E_C4EYE_PAR-WFP02 as follows:

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




Parameters

E_C4EYE
E_C4EYE_PAR
E_C4LEV
E_NO_WF_TEXT
I_FKKKO
T_FKKCL
T_FKKOP
T_FKKOPK
T_FKKOPL
T_FKKOPW

Exceptions

Function Group

FKK_FMCB

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2451 Date: 20240523 Time: 070348     sap01-206 ( 44 ms )