I need some help on enhancing an existing bsp application as I am a novice in bsp and abap objects. The application works in the following manner:
The user calls the application over the internet explorer and selects a COUNTRY, COMPANY CODE and BUSINESS UNIT for which he enters a TAX CODE and TAX RATE. He/She then saves this data which is then written to a direct Input dso.
The problem is that the user has to enter the same data several times for each combination of COMPANY CODE and BUSINESS UNIT.
Solution: My Idea is to create a dummy business unit for which the user enters the data described above and from where it is then copied to all business units belonging to the company code. I need now to create a new button (distribute) with which the user will press to copy the dummy business unit data (Tax Code & Tax Rate) to all other BUs belonging to the CompCode. This would be of much help as one CompCode may have as many as 20 - 30 BUs.
How can the coding for the button and the logic that reads all The BUs and copies the Tax Code and Tax Rate from the dummy BU and finally deletes the dummy BU data once the copied data is sucessfully saved look like?. I have little knowledge of BSP and ABAP Objects to do the enhancement which may be straight foward for experts.
Your help is highly appreciated.
Thanks in advance,