Skip to Content
author's profile photo Former Member
Former Member

SAP Script Symbol Value Issue

hello Experts,

My SAP script layout has a symbol &gv_var& ( type char, length 16)

In print program, when gv_var is assigned value '5%6/7*8 9,10' the spool is showing the value of gv_var correctly.

but when value is '567&8&90', the variable value is converted as '5678.90A' in spool output.

I'm clueless as in how consecutive appearance of '&' is converting gv_var's value in spool.

Any pointers will be of great help. Thanks!

Edited by: Leena Patil on Nov 24, 2011 6:08 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2011 at 06:46 AM

    Hi Leena,

    567&8&90 For this type of values, declare one more variable and populate as below and pass it to SAP-Script.

    567<(>&<)>8<(>&<)>90

    Regards,

    Surya

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.