on 09-11-2014 8:35 AM
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
Hi guys,
did you find a solution for your requirement? if yes, could you please let me know how you achieved it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You want to add the button on the specific UIBB or on the main application toolbar? Post a screenshot of where you want the button. Each location will have a different method. It will also depend on what information you need to read when the button is clicked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.