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

Printing Strings in SAP Scripts

Hello

I need to print a string in Script that is not defined anywhere in the script.

example, I need to print 60 CAD/ 100 LE.

I have text symbols for all these(60,CAD,100,LE) values except '/'.How can I print this in Script. Help me with the syntax.

Thanks

Tharani

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 06:31 AM

    Hi,

    With out assigning this string to text symbol you can do directly in code.

    LIke:

    /: <K1>60,CAD,100,LE</>

    This you can place where ever you want.

    K1 is character format(create it).

    /: is paragraph format you can use your own also.

    I hope it will sove your problem.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 07:09 AM

    I think u can print / as it is.

    i.e after text symbols of 60 and CAD specify / and then text symbols of 100 and LE.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 07:17 AM

    Maybe you can try this:

    /: DEFINE &CH1& = '60'.

    /: DEFINE &CH2& = 'CAD'.

    /: DEFINE &CH3& = '100'.

    /: DEFINE &CH4& = 'LE'.

    /: DEFINE &LOM& = '/'.

    /: DEFINE &CH& = '&CH1& &CH2& &LOM& &CH3& &CH4&'.

    / &CH&

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 06:25 AM

    U WILL HAVE TO CODE FOR HTAT IN HTE SCRIPT,

    REGARDS,

    KARTIKEY.

    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.