Ansicht
Dokumentation

/ISDFPS/BADI_SCR_GEN - BAdI: Use Additional Fields for Relationships

/ISDFPS/BADI_SCR_GEN - BAdI: Use Additional Fields for Relationships

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In to enhance the Structures Workbench dialog box for creating relationships that are stored in the FORCER framework with fields that you have added with a CI include.

You have used a CI include to define additional fields for relationships.

The filter values of this filtered screen BAdI are determined using the values of the /ISDFPS/OTYPE_FORCER_GENGRID domain. The screen implementations are displayed in screen 100 of the /ISDFPS/FDPDAOR function group in the SUB_CUST subscreen.

The BAdI interface contains the methods PUT_DATA_TO_SCREEN and GET_DATA_FROM_SCREEN.

The GET_DATA_FROM_SCREEN method can be used to read lower-level force elements (IT_CHILD_OBJEC parameter) chosen for the relationship and the existing values of the create screen (IS_FORXXX parameter) in the implementation.

The PUT_DATA_TO_SCREEN method can be used to send the lower-level force elements (ET_CHILD_OBJEC parameter) chosen for the relationship and the additional CI include (ES_FORXXX parameter) fields back to the create screen. However, the BAdI only takes the additional fields into account when adjusting the create screen.

Enhancing maintenance relationships with additional fields.

  1. Create a new structure with the name CI_FORCERMNT and the required fields.
  2. Create a new program (ZREP_MNT) with a screen (0100).
  3. Configure screen 0100 in the ZREP_MNT program with the necessary fields of the CI_FORCERMNT CI include.
  4. Create an implementation for the BAdI /ISDFPS/BADI_SCR_ADD_DATA (ZBADI_MNT) and a class for the BAdI interface (ZCLASS_MNT).
  5. Create a new filter combination with the following values for the BAdI implementation:
  • Value 1: MNT

  • Comparator1: =

  • Value 2: /ISDFPS/BADI_SCR_GENGRID_FILT

  1. Create a screen enhancement with the following values for the BAdI implementation:
  • Program: Name of the created customer program (ZREP_MNT)

  • Screen: Screen with corresponding additional fields (0100)

  1. Implement the methods GET_DATA_FROM_SCREEN and PUT_DATA_TO_SCREEN in the implementation class (ZCLASS_MNT).
  2. In the PBO of the screen (0100), call the GET_DATA_FROM_SCREEN method of the BAdI instance and evaluate the ES_FORMNT and ET_CHILD_OBJEC parameters as required.
  3. In the PAI of the screen (0100), call the PUT_DATA_TO_SCREEN method of the BAdI instance to transfer the values of the customer fields to the create screen of the GenGrid (IS_FORMNT parameter).






CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3018 Date: 20240425 Time: 003052     sap01-206 ( 44 ms )