‎2009 Aug 26 7:30 AM
Hi Experts,
I have created a table maintenance generator. Now I want to write an authorization check statement for insertion only.
Where can I write and how to find out the module in which I have to write?
Thanks and regards,
Venkat
‎2009 Aug 26 7:41 AM
Hi,
SE11 -> Utilities -> Table Maintenance Generator -> Environment -> Modification -> Events.
Here choose the event as from the F4 help available.
Lets say 25 - for Individual authorization checks
and 01 for - Before saving the data in the database etc...
So choose the correct one and create one routine here and click on the EDITIOR next to it and code as required.
In the code remember that, you need to first fetch all the data into the internal table and then proceed further.
Regards,
Santhosh.
‎2009 Aug 26 7:43 AM
Hi
Refer the below links:
http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
Regards,
Sreeram
‎2009 Aug 26 7:51 AM
Hi,
If you are trying to Do authorization check only for new entries event 5 would be what you want to use in the table maintainence generator go to events and create an entry for event 5 and assign a subroutine this can be any name then on the rigth side you would see an icon to create the subroutine create the subroutine and then add the code for authorization check in the subroutine here table name work area would be avaliable to you. If you are haing issues for the same to trigger just delete and recreate table maintainence generator.
Regards,
Himanshu