Linking Class Methods to Transaction Code in SAP
You can create a transaction code linked to a public method o f a class.
You can also do it for local method defined in an ABAP program.
Goto SE93.
Enter the transaction code you want to link to, Choose "Method of a class" option and click the Create button.
By default, you will have Method to link from Class Builder which is a global class.
Enter the Class Name and Method in the input field. Choose the update mode as per your requirement.
If you want to link your Local method of class from an ABAP program which is a Local Class,
just uncheck the checkbox "OO transaction model"
This will include you with an option "Local in Program". Check it and enter your ABAP program name and then the class and method.
For more Tutorials, visit ABAP Tutorials, Tips & Tricks and Certification Questions
No comments:
Post a Comment