Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear the varaibule in script

Former Member
0 Kudos

Hi Experts,

I am new to working script,please help me out.

I have copied standard sap script and working as per the requirement,Wen I am running the program, the first time it is coming the correct output. when I am running the second time the old values are not clearing .

Could you please help me,how to clear the variable in script and what is right commend to clear the variable.

I am using as /: Define  &eket-netwr& = '  ' but it is not working

Thanks

1 REPLY 1

0 Kudos

Hi Ramakrishna,

Define in SAP Script is used for Text symbols  to be used.

The purpose of the DEFINE command is to provide a means of making this value assignment a permanent part of the text, so that the values are available again when the text module is called again.


and for clearing the same, EKET seems to be a work area, U can clear the workarea using the abap standards as,


clear: EKET.


Hope this helps.


Regards,

Ashish