We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
You can use this Business Add-In (BAdI) to change the online transaction for prioritized materials planning (/ISDFPS/PRPLD). The methods DLG_TOOLBAR, DLG_COMMAND, and DLG_ADJUST_FIELDCAT are available for this purpose.
You can use method DLG_TOOLBAR to change and hide the pushbuttons in the toolbar, or to add new pushbuttons to the toolbar.
Method DLG_COMMAND allows you to intercept the processing of new pushbuttons.
You can use method DLG_ADJUST_FIELDCAT to control the field catalog for lists (hide fields, format fields).
All methods have the import parameter I_PLACEMENT. Depending on the list concerned, this parameter has different values that are stored in class attributes:
,, - Purchase requisition: /isdfps/cl_fdp_stock_visualize=>placement_prpl_prq
,,- Purchase order: /isdfps/cl_fdp_stock_visualize=>placement_prpl_ord
,,- Reservation: /isdfps/cl_fdp_stock_visualize=>placement_prpl_res
For examples of how the methods can be used, see the example implementation of the BAdI.