Urgent....-Relating to Tcode-VT02N
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
Thank you in Advance
Sai Ram Reddy Neelapu 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'
id = 'Z044' " check your ID
language = 'E'
name = <shipment number>
object = 'VBBK'
lines = i_tline10_n.
IF sy-subrc = 0.
READ TABLE i_tline10_n INDEX 1.
remark1 = i_tline10_n-tdline.
close the thread once your question is answered.