Skip to Content
0
Former Member
Mar 25, 2009 at 07:22 AM

Regarding Material PO text

25 Views

Hi Experts,

I need to develop a report in which the input parmater is material no. and i need to get its

corresponding Purchase order text.

I am using the function module READ_TEXT with text Id as 'BEST', text name as Material no

and Text Object as 'MATERIAL'.I get the output in table t_line.

I am using the following code to display this text in 1 line.

LOOP AT T_TLINE INTO WA_TLINE.

concatenate WA_DISPLAY-POTXT WA_TLINE-TDLINE into WA_DISPLAY-POTXT.

ENDLOOP.

where wa_display is the output that will be displayed in ALV.

Now my problem is that though i have declared wa_display-potxt of size CHAR3000, it takes only

upto 256 chars and hence the rest of the text is not displayed in the alv.

How do i deisplay all the text in alv against the Material no.

Thanks in advance