Skip to Content

Function module to convert string to sap script format

Hi,

I need to convert a text to SAP script format(TDLINE). I have used the FM CONVERT_STREAM_TO_ITF_TEXT to achieve this functionality. Its working fine. But when there is & symbol passed as input to the FM, the FM converts it into <(>&<)>. This is causing me a problem as the output of the file is being uploaded to a different system.

Is there any other FM which converts the text to script format?

Regards,

Niyaz

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 09:41 AM

    Use FM:

    READ_TEXT

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:01 AM

    hi

    just make sure that whatever text you are copying should not be directly copied from word.

    it needs to be copied from word to note pad.Then subsequentely it has to be copied from note pad to the script editor.

    hope this helps

    regards

    Aakash Banga

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:08 AM

    Hi,

    follow the below link , this will provide you required information:

    http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8bb494511d182b70000e829fbfe/content.htm

    Regards

    Saurabh

    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.