Skip to Content

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

Urgent....-Relating to Tcode-VT02N

Hi,

In my smartforms , i have to print the data that user enters in the Text Tab in the Tabcontrol , ther is a option Frieght List --in that what ever is entered whould be captured and printed in the smartfrom.

Can anyone please help me in this, how can i read the data enterd by user in that TEXT>Frieght List>wordpad.

Thank you in Advance

Former Member
replied

We usually use FM READ_TEXT to read the header text or line item text. use this FM, extract your text and display...

Ex: Rough example

CALL FUNCTION 'READ_TEXT'

EXPORTING

id = 'Z044' " check your ID

language = 'E'

name = <shipment number>

object = 'VBBK'

TABLES

lines = i_tline10_n.

IF sy-subrc = 0.

READ TABLE i_tline10_n INDEX 1.

remark1 = i_tline10_n-tdline.

ENDIF.

close the thread once your question is answered.

Regards,

SaiRam

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question