CDB Enhancements
On various points ProBaseline can be enhanced using BusinessAddIns (BAdIs).
To implement and activate BAdIs a user requires development authorizations and must be a registered developer. ABAP workbench know how is required.
BAdIs must be activated using the BAdI-Builder (transaction SE19). If available use the option Classic BAdI (SAP ERP systems). Any implementation name can be used, but must follow the SAP rules for client name spaces (see SAP documentation BC – name spaces and name conventions).
The definition name to use is /PRONOMINAL/PBL.
After implementing, the code can be edited using the Object Navigator (transaction SE80). Parameters and exceptions of the method can be shown by clicking on the push button "Signature":
List of available extensions:
Method / Fcode | Usage / Description |
---|---|
Transaction control | |
FILL_TRANSACTION_CONTROL | Filling the transaction control data for one transaction. |
LAYOUT_PARA_SAVE | Save own screen parameters in layout. For more information see below Save / Restore own parameters in layout. |
LAYOUT_PARA_RESTORE | Restore own parameters in layout. For more information see below Save / Restore own parameters in layout. |
Selection | |
BEFORE_SELECTION_SCREEN | Before execution ProBaseline selection screen. Allows to enable customer specific tabulators by filling the E_CUST_TAB* parameters. |
SELECTION_SCREEN_PBO | Process Before Output event in selection screen. |
SELECTION_SCREEN_PAI | Process After Input event in selection screen. |
AFTER_SELECTION_SCREEN | After ProBaseline selection screen. |
Reading data | |
BEFORE_READING_DATA | Before reading data. Allows to read data by own code. |
COLLECT_DATA_BEFORE_APPEND | Collecting data for one object, just before appending. Allows altering or completing data. |
COLLECT_DATA_AFTER_APPEND | Collecting data for one object, just after appending. Allows adding additional child records for current object. |
AFTER_READING_DATA | After reading all data. |
Output processing | |
BUILD_ALV_FCAT | Building the default ALV field catalog. |
BUILD_HTML_HEADER | Building the header for ALV grid. |
BUILD_LIST_HEADER | Building the header for list output. |
CTX_MENU_BUILD | Building the default ProBaseline context menu (not in AFW). |
CTX_MENU_EXEC | Executing a context menu command (not in AFW). |
CALL_OBJECT_DIALOG | Calling default dialog for one object (line double clicking). |
SETUP_HEADER_DATA | Allows to alternate data or fill append fields in de header structure /PRONOMINAL/PBL_IO for the output processors ALV, TREE and PDF. |
Constants see attributes in class /PRONOMINAL/CL_PBL_DEF.
Save / Restore own parameters in layout
To save own parameters in the layout use the function /PRONOMINAL/PBL_LYD_SAVE_SELOPT with the pf_parameter for a single parameter or the table pt_sel_option for a selection range.
To restore own parameter in the layout use the function /PRONOMINAL/PBL_LYD_FILL_SELOPT with pfx_parameter for a single parameter or the table ptx_sel_option for a selection range.
All custom parameters must follow the naming convention: Z<parametername>.
© ProNovia AG | Imprint | Data Protection