Ansicht
Dokumentation

DPVMS_BADI_ALV_FIELD - BAdI: Definition of ALV Field Catalogs

DPVMS_BADI_ALV_FIELD - BAdI: Definition of ALV Field Catalogs

Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Vehicle Management System (IS-A-VMS) component.

You can use this BAdI to define field catalogs for ALV lists and react on events, which can be triggered by special cell editors, such as buttons or links. It is possible to define a field catalog for every ALV usage of the dealer portal's VMS part. The BAdI interface provides the following methods:

  • DEFINE_FIELD_CATALOG allows to set columns visible or invisible and to define different cell editors such as links or buttons, which can trigger events. To be flexible with the complete size (width and height) of the ALV control, it is also possible to set the visible rows and scrollable columns.
  • HANDLE_CELL_ACTION allows to react on events triggered by the cell editors, which were defined in the above mentioned method DEFINE_FIELD_CATALOG. Within this method, you can for example fire WD plug, trigger navigations and change the content of the ALV context.

The used filter value is a special string for every environment, where the ALV is used. For all possible environments, there is a constant created in the interface IF_DPVMS_CONSTANTS. The specific constants start with CV_ALV_ENV_...... . All ALVs which are used on the function screens have a special convention for the filter values. They start concatenated by a fixed prefix FUNCTION_SCREEN_ and the function code.

  • In the standard system, the following BAdI implementations are activated. The default code is executed automatically:
  • DPVMS_BI_ALV_FC_BUPA_SRCH

  • DPVMS_BI_ALV_FC_FUNCSCR_STD

  • DPVMS_BI_ALV_FC_FUNC_FCAKNC

  • DPVMS_BI_ALV_FC_FUNC_FCCO02

  • DPVMS_BI_ALV_FC_FUNC_FCCO04

  • DPVMS_BI_ALV_FC_FUNC_FCSO02

  • DPVMS_BI_ALV_FC_FUNC_FCSO04

  • DPVMS_BI_ALV_FC_NEWCONF_ML

  • DPVMS_BI_ALV_FC_SDDOC_SRCH

  • DPVMS_BI_ALV_FC_VEHID_HIST

  • DPVMS_BI_ALV_FC_VEHID_PRSIM

  • DPVMS_BI_ALV_FC_VEHI_SRCH

  • The BAdI is designed for multiple use. All activated implementations are called and executed.
  • The BAdI is filter-dependent.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3769 Date: 20240606 Time: 051840     sap01-206 ( 111 ms )