Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding a new button to Tax Number toolbar in Change Request

Hi All,

My requirement is to add a new button Check VAT on the Tax Numbers section toolbar next to Edit/New.

I need to validate each tax number that user enters from a third party system.

Currently I enhanced the configuration id BS_SP_OVP of component FPM_OVP_COMPONENT.

On the toolbar, i right clicked and said add toolbar element.

I gave a new event id CHECK_VAT to this button.

Saved the enhancement

On the change request screen, I can see the button 'Check VAT', however it is disabled and cannot be clicked. If i right click on my new button, I see technical help corresponding to the New button of SAP.

I have even enhanced the IF_FPM_GUIBB_LIST~GET_DEFINITION method of class CL_BS_BP_GUIBB_TAX_NUMBERS to add my custom event id 'CHECK_VAT' in the ET_ACTION_DEFINITION parameter. However when adding the button, I do not see my custom event id in the drop down list that SAP proposes.

Can someone please guide me with the correct steps to add a button and also where to write logic for this button click.

Also how do i read the tax number data row wise when the button is clicked? If cursor on row 1 and my check button is clicked, i need to read data corresponding to this row from the tax numbers table.

Any suggestions would be highly appreciated.

Thanks and Regards,

Vanessa

Former Member
Not what you were looking for? View more on this topic or Ask a question