Ansicht
Dokumentation

LCM_CTX_S4_LINKOBJ_F - Set Field Controls for Custom Fields in Linked Object of Legal Context

LCM_CTX_S4_LINKOBJ_F - Set Field Controls for Custom Fields in Linked Object of Legal Context

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In is used in the CM-CTXcomponent, to set the field controls for custom fields created for Legal Context Linked Objects. Field controls help you to control the visibility and editability of the fields. The field control options are Hidden, Read-only, Optional, and Mandatory.

To create a BAdI implementation, you can use the transactions SE18 or SE19, or you can use the Custom Logic app in the front-end system. If you use the Custom Logic app, the following applies:

  • The app provides a special ABAP language version ABAP for Key Users. This makes the implementation of BAdIs for business experts and implementation consultants easier.
  • The app ensures that you can use only released interfaces.

If you use the transactions SE19 or SE18 to create a BAdI implementation, the implementation is not visible in the Custom Logic app.

If several BAdI implementations exist, the system runs through the implementations in the following order:

  1. Implementations created in the transactions SE18 or SE19.
  2. Implementation created in the Custom Logic app.

  • In the standard system, the BAdI is not active.
  • The BAdI is filter-independent.
  • With the app Custom Fields and Logic, you can create exactly one active implementation.

BAdI method documentation:

You can use this method to set the values for field control fields of the custom fields. The custom fields will behave according to the value specified in this method.

Importing Parameters:

LEGALCONTEXTLINKOBJECT- Use this parameter to set the legal context linked object.

Changing:

LEGALCONTEXTLOCSTMFLDCTRL - Use this parameter to set the field control of custom fields.

CX_BLE_RUNTIME_ERROR

Please refer to the example class implementation CL_LCM_CTX_LO_FLD_CTRL_EXMPL: Control Custom Fields of Legal Context Linked Object related to this BAdI






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

Length: 2328 Date: 20240523 Time: 190000     sap01-206 ( 50 ms )