Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

help reqd on displaying text from smartform

Hi all...

im facing a problem in PO-smartform...that i want to display a text fully as whatever given in the header detail text window.....from me23n.

it displaying the 1st line of the text only....but i want the full details whatever the user given on it...how to do it???

will i have to give it on loop...means looping the window....???

or will i have to declare it in global definition......

Do the needful and reply <b>in detail,</b> at the earliest.

for ur ref....i've enclosed the coding below

**********************************************

data: gline1 like tline occurs 0 with header line,

var like THEAD-TDNAME.

select evtxt from t027b into g_evtxt where evers = g_xekpo-evers and spras = 'E' .

endselect.

select tdid from stxh into gtdid where tdname = ZXEKKO-EBELN.

endselect.

if sy-subrc eq 0.

var = zxekko-ebeln.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

id = gtdid

language = 'E'

name = var

object = 'EKKO'

tables

lines = gline1

.

loop at gline1.

gline = gline1-tdline.

if gline ne space.

exit.

endif.

endloop.

endif.

******************************************************************

thanks & regards

sankar

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question