‎2007 Jan 05 5:41 AM
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.
‎2007 Jan 10 6:01 AM
Hi
Read_Text function is correct .
But tell me Descrition is in one line separated by comma or in different line .
‎2007 Jan 10 6:01 AM
Hi
Read_Text function is correct .
But tell me Descrition is in one line separated by comma or in different line .
‎2007 Jan 10 6: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
‎2007 Jan 10 9: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.
‎2007 Jan 10 9: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