Ansicht
Dokumentation

GM_BDGT_CUSTOMER - BAdI: Create User-Defined Fields in Entry Document

GM_BDGT_CUSTOMER - BAdI: Create User-Defined Fields in Entry Document

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Description

The settings made here are exclusively reserved for the use of Grantee Management (GM-GTE).

This is a Business Add-In (BAdI) for customer-specific fields in the header of the GM budgeting workbench

Use

With this BAdI, you can define a subscreen in the header of the GM budgeting workbench (Additional Data tabstrip) for the input or output of your specific fields associated with an entry document.

The methods of this BAdI are called in the PBO (Process Before Output) and PAI (Process After Input) of the screen that contains additional data of the following transactions which are part of the GM budgeting workbench:

  • GM_CREATE_BUDGET
  • GM_MODIFY_BUDGET
  • GM_DISPLAY_BUDGET
  • GM_BDGT_RELEASE

Example

If you would like to have customer-specific fields for GM budget documents, you should first define the corresponding customer include (CI_GMBDGTHEADER). Now implement this BAdI applying the following steps:

  1. After you call up the Customizing activity, a dialog box appears.
  2. In the dialog box, enter a name for the enhancement implementation, Short Text and Composite Enhancement Implementation. If no Composite exists, create a new one.
  3. Save your entries, and assign the implementation to a development class.
  4. Click the BAdI tab and choose the Create BAdI button.
  5. In the dialog box, enter BAdI Definition, BAdI Implementation, Implementation Class and description, then press Enter.
  6. In the left panel on the next screen, expand the implementation node and double-click Class.
  7. Place the cursor on the method, and double-click to enter method processing.
  8. Enter the code for the implementation between the statements method <Interface name> ~ and endmethod.
  9. Save and activate all the objects.
  10. Now, you create a your customer program where you have to define a subscreen that contains customer-specific fields. The name of the subscreen must be 'SUB'.

  1. Save and activate your customer program.
  2. Go to your BAdI implementation and click Screen Enhancement.
  3. Assign your customer program and subscreen number to your screen enhancement
  4. Save and activate.

Notes

Further information






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3345 Date: 20240523 Time: 191450     sap01-206 ( 43 ms )