Ansicht
Dokumentation

EXIT_SAPLKACB_002 - PAI exit for customer fields in coding block

EXIT_SAPLKACB_002 - PAI exit for customer fields in coding block

rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Customer enhancement for checking and substituting user-defined fields in the coding block.
This module is called up by the coding block subscreen at the PAI callup up point.
All the coding block fields are available in the I_COBL parameter. All the customer fields are available in the E_COBL_CUST parameter and can be checked or changed in the exit.
If a failed check is to result in the output of a message, the exception SEND_MESSAGE must be triggered:
MESSAGE Ennn(aa) WITH xxx RAISING SEND_MESSAGE

Example

You can, for example, check that the customer field COBL-ZZFLD contains the value 'A', and if this is not the case a warning is issued; at the same time the customer field ZZFLD1 can be substituted with the current value of a different field. This example is shown in program LXKNTF02.

Notes

First check whether your requirements cannot be met using standard methods, e.g. using a check table or by using the tools validation and substitution.

The exit is not called up in document display.

Further information





Parameters

E_COBL_CUST
I_COBL

Exceptions

SEND_MESSAGE

Function Group

XKNT

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1635 Date: 20240603 Time: 230445     sap01-206 ( 36 ms )