cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding long text sap script

Former Member
0 Kudos

Hi,

We are working on a modified form of MEDRUCK, in the main window we want the details of the PO to be displayed something in the format below (the underscore '__' is only for proper spacing)

It No.___Mat No.__PO Item Text_____________Qty_____Amount

-


10_______0000001__text in 1 line____________10______1000__

20_______0000001__text still in 1 line_________20______2000__

30_______0000001__text being truncated due to_30______3000__

40_______0000001__Multiple lines within tab____40______4000__

Now for 'PO item Text' having small description it comes properly but for those items exceeding the space provided it gets truncated.

we want something like

It No.___Mat No.__PO Item Text_____________Qty_____Amount

-


10_______0000001__text in 1 line____________10______1000__

20_______0000001__text still in 1 line_________20______2000__

30_______0000001__text being truncated due to_30______3000__

__________________space limitation that can be______________

__________________solved by ?_______________________________

40_______0000001__Multiple lines within tab____40______4000__

Is this possible in SAP script? i.e. the display of text in column format. If yes how?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Answered

Former Member
0 Kudos

10_______0000001__<text in 1 line 0(15)____________10______1000__

................................<text in 1 line 15(30)____________10______1000__

defain the field length.

...................<&f1 0(15)&>

....................<&f115(30)&>

i think u can try this..........

if it is usefull Plz Reward

Regards

Anbu

Edited by: Anbu B on May 27, 2008 7:46 AM

Edited by: Anbu B on May 27, 2008 7:47 AM

Former Member
0 Kudos

Hi ,

Please tell me the solution , I have both my script and

driver program as Z .

Regards

Chitrakant

Former Member
0 Kudos

Hi,

Please see the READ_TEXT function module. I think it might help.

Regards,

Aravinda Sarma M.