2005 Oct 28 11:23 PM
In my SAP Script I am outputting Long Text which runs into
several lines in a ceratin spot in MAIN window. This is output at line item level. I have allotted a space of 40 characters to output. Each line of Long Text is 132 characters long. Is there a way to make the text wrap around i.e after it has printed 40 characters it should go to next line.
Vinay
2005 Oct 29 8:31 AM
HI,
Try usig RKD_WORD_WRAP and then use the output of this to SAP script. U can limit then number of characters per line, hence u can change from 40 to 32 length using word wrap.
In my SAP Script I am outputting Long Text which runs into
several lines in a ceratin spot in MAIN window. This is output at line item level. I have allotted a space of 40 characters to output. Each line of Long Text is 132 characters long. Is there a way to make the text wrap around i.e after it has printed 40 characters it should go to next line.
Vinay
2005 Oct 29 8:31 AM
HI,
Try usig RKD_WORD_WRAP and then use the output of this to SAP script. U can limit then number of characters per line, hence u can change from 40 to 32 length using word wrap.
2005 Oct 31 8:26 AM
You can use &itab-vbeln(c)& where (C) accomodates the output size to fit in your length specifications.
Hope it will work.
2005 Nov 01 1:53 AM
Sharath, Atul,
Thank you both for your help. Function module "RKD_WORD_WRAP" works perfectly.
Vinay
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |