Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

READ_TEXT :please help

Former Member
0 Likes
635

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
601

Hi

Read_Text function is correct .

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

4 REPLIES 4
Read only

Former Member
0 Likes
602

Hi

Read_Text function is correct .

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

Read only

Former Member
0 Likes
601

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

Read only

Former Member
0 Likes
601

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.

Read only

Former Member
0 Likes
601

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