cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT - Replace

Former Member
0 Kudos

Hi ,

In sapscript whether Replace command will work in command line.

for eg: REPLACE ALL OCCURRENCES OF '.' IN &REGUH-ZALDT& WITH '-'

help me out to solve this.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can not use the replece command in the script.

You have to use the subroutine perform and endperform, in order to process the

you have to write the form in the ABAP program and do the repleace procss and send parameter to the script.

Thanks & Regards

Vikas

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can write the same in the form.

Refer this document, its useful

http://wiki.ittoolbox.com/index.php/HOWTO:Sap_script