Ansicht
Dokumentation

FIN_PROFIT_CENTER_GU - BAdI: Maintain Profit Center Master Data

FIN_PROFIT_CENTER_GU - BAdI: Maintain Profit Center Master Data

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

You can use this Business Add-in to extend the profit center maintenance screen of transaction KE51, KE52, KE53 or KCH5N by adding your own screen in an extension tab page. This extension tab is displayed after the standard tab 'History' and it will be hidden if the BADI is not implemented. On this tab page, you can include your own subscreen with your own fields.

The BADI makes methods available, which you can use to transfer the data between the standard transaction screen and your own screen.

User's own fields must be appended in the structure INCL_EEW_CEPC_PS first. Otherwise, data will not be saved to inactive version and database correctly.

This BADI is not multiple use.

1 To activate the BADI, you must create an active implementation. To do this, go to Customizing for the Controlling

component → Profit Center Accounting → Master Data → Profit Center → Badi: Maintain Profit Center Master Data.

2 You can create a Function Group with your own screen. Then call the BADI implementation class to communicate with standard screen for the profit center data and change mode.

3 Assign your screen to the Screen Enhancement of the BADI implementation to embed your screen to the standard transaction.

You can create a FG with your own screen, for example 100. Then you can call this BADI implementation class in your own screen for the profit center data from the standard screen.

You can refer to the example BADI implementation FIN_PROFIT_CENTER_GUI_EX and example BADI implementation class CL_FIN_PROFIT_CENTER_GUI_EX, which transfers the profit center data between user's own screen and standard transaction screen. The Screen Enhancements of the BADI implementation indicates which screen will be embedded into the standard screen:

Tcode/Program: SAPLRKPM - this is the program name of the standard transactions KE51, KE52, KE53 and KCH5N

Screen: 360 - this is a sub screen which is embedded in the extension tab of standard screen

Subscreen Area: SUB_CUSTOM_FIELDS - user's screen will be embedded into this UI container

Program: SAPLFIN_PROFIT_CENTER_GUI_EX - user's own FG program name starts with 'SAPL'

Subcreen: 100 - user's own screen number

You can refer to the example Function group FIN_PROFIT_CENTER_GUI_EX, which contains the demo screen 100 and corresponding logic to deal with user's fields.

Documentation on BAdI Interface IF_FIN_PROFIT_CENTER_GUI






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: 3005 Date: 20240523 Time: 220900     sap01-206 ( 53 ms )