Global Class: Creation of Constructor
- Go to Transaction Code : SE24.
- Enter the Object Type as Class name start's with Z< class name > and click on create button.
- Pop-up will appear.
- Enter the short description.
- Either save it in Local Package or Package.
- To add Constructor , click on Constructor i.e Instance Constructor.
- To add Constructor , click on Class Constructor i.e Static Constructor.
- Double click on Class_Constructor.
- Enter the code.
- Click on Save and click on Back button.
- Double click on Constructor.
- Click on Save and click on Back button.
- Save -> Check -> Activate.
- Go to Transaction Code SE38.
- Enter the program name which start's with Y or Z < program name> and click on create.
- Enter the Title.
- Enter the Attribute Type as Executable Program.
- Click on SAVE.
- Save it in either in Local Package or Package.
- Save -> Check -> Activate.
No comments:
Post a Comment