‎2014 Dec 01 5:18 AM
Hi Gurus,
I'm having a doubt in the elements shown in SAPScript and elements shown in the driver program.
I'm amending the script/program as per the client requirements and found out that the elements in the driver program are apparently different than those in the script.
For example, if the elements in driver program are named such as 'DATA', 'DATA1', etc. And the elements in the script are named such as '510', '520', etc.
Could you please help me to find the connection between these two kinds? Are they defined/assigned against each other anywhere in program/script?
Please help.
Thanks in Advance!
Best Regards,
Ashutosh.
‎2014 Dec 01 7:27 AM
Hi,
Elements in SAPScript are declared with format character /E.
In the driver program, there will be a window name, element name.
Go to the window > page elements > Line starting with /E will be the elements available in the window.
An element starts with /E and ends at the start of another element. If no other element is present, the whole window resides in the same element.
Regards,
Ashish
‎2014 Dec 01 7:41 AM
Hi Ashish,
Yes, I already got that. But my doubt is, not all the elements mentioned in the driver program are present in the SAPScript and vice-versa. Is there any other place where these elements are defined?
Or it's just /E in the SAPScript?
Also,
If there's a mismatching element in SAPScript, can I define a new one which is defined in the driver program and pass the variable? Would that work?
Regards,
Ashutosh.
‎2014 Dec 01 7:55 AM
Hi Ashutosh,
If your driver program has unnecessary Elements call than you can remove your code because while calling your script you have to only call those much of script elements which you required to print.
You can remove unnecessary elements.
Regards,
Sagar