|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Working with constructors (Global Class)
defaulted in the Types tab which has be declared in earlier step
Step15: In the Attributes Tabà Create V_VBELN type vbak-vbeln.
Double click the Constructor and Implement the code.
Go to Select
Go to Select
Double Click the Method and Implement the code
Activate the Class
and Go to SE38 à
Create a Program: ZCONSTRUCTOR_SALES.
Implement the code and execute the Program
Program without giving any sales document number.
The Output is
displayed as shown below with the Constructor method with the default initial
Give the Sales
Document as: 4971
The output is displayed for the corresponding Sales document
Within the Same Global Class Create the Static Constructor. Click on Class
Create Class Constructor.
Class Constructor Method is defaulted as shown below as soon as the Class
Constructor is Clicked or Selected.
Select the Class Constructor and Click on Parameters à
following message is displayed.
Class Constructor does not have Parameters.
Double Click the Class_Constructor method and write the Write Statement
Go to SE38 and execute the same program ZCONSTRUCTOR_SALES. The Class
Constructor is triggered.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards