Ansicht
Dokumentation

EHPRC_ONLY_REP - BAdI: Functions of Only Representative

EHPRC_ONLY_REP - BAdI: Functions of Only Representative

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the SAP product and REACH compliance component. This BAdI enables you to use legal entities in the search help for the internal only representative in substance volume tracking (transaction CBRC01) to maintain internal only representatives.

CL_DEF_IM_EHSRC_ONLY_REP (default implementation)

To create a customer-specific implementation, copy the coding of all methods from the default implementation into your own implementation of the BAdI. Then, change the coding of method OR_F4 in your implementation.

Before calling the function F4IF_FIELD_VALUE_REQUEST, the following changed parameter values are required. You can comment out the existing three lines and add the following lines that define the values needed to call function F4IF_FIELD_VALUE_REQUEST:

L_TABNAME = 'EHPRCD_LGENT'.
L_FIELDNAME = 'BUKRS'.
L_SHLPNAME = 'EHPRC_ELM_LEGENT_SRC'.

The coding should be as follows:
...
* set fields for search help
* L_TABNAME = I_TABNAME.
* L_FIELDNAME = I_FIELDNAME.
* L_SHLPNAME = I_SHLPNAME.

L_TABNAME = 'EHPRCD_LGENT'.
L_FIELDNAME = 'BUKRS'.
L_SHLPNAME = 'EHPRC_ELM_LEGENT_SRC'.

* call f4-help
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
...






BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1494 Date: 20240523 Time: 171715     sap01-206 ( 30 ms )