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

READ_TEXT :please help

hi,

i am working with smartforms The material description field in vbrp i.e arktx has a limited length and if you want to give additional details on description you need to work with mm01 transaction and there in the item text you fill the description

i concatenated this description to the filed arktx ie it_vbrp-arktx and separated the discription by ','(comma).

now i want each row of description to be displayed on a new line.

i am calling the funtion module READ_TEXT for this.

waiting for your responses.

regards

akmal.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 06:01 AM

    Hi

    Read_Text function is correct .

    But tell me Descrition is in one line separated by comma or in different line .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 06:13 AM

    Hi Akmal

    Try as below:

    For lines greater than 1 of each material descriptions insert a record in IT_VBRP with doc no, item and new ARKTX.

    This way when you print ARKTX by looping on IT_VBRP, it can fetch you onto the layout.

    Hope this gives you some clue...

    Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 09:07 AM

    u can have table of tyep TLINE inside the internal table it_vbrp.

    i can give u more explanation...

    data: begin of it_tline occurs 0.

    append structure tline.

    data end of it_tline.

    data : begin of it_vbrp occurs 0,

    vbeln type vbrk-vbeln,

    .

    .

    tline like it_tline,

    .

    .

    end of it_vbrp.

    for every line item in it_vbrp u can have the description(which is read by using READ_TEXT) in the table it_vbrp-tline[].

    Hope this idea may help you.

    reward points if useful.

    Regards,

    Sujatha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 09:36 AM

    using the REad text you will get more than 1 record..

    now insert a loop in the purticluare item field then loop the table..with TExT..

    Message was edited by:

    Naresh Reddy

    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.