cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent....-Relating to Tcode-VT02N

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you your reply.

But can you let me knw how can i get the id of tht wordpad?

Message was edited by:

vamshi krishna

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vamshi,

Go to the long texts screen...

There in the menu bar...

Goto - > Header...

U can find the textname, object, id, language details..

use these details in the INCLUDE TEXT in smartform

Rajiv

Former Member
0 Kudos

Hi Vamshi,

Long texts in document can be printed using INCLUDE TEXTS in smartforms

For this u need

textname - it will be normallu ur shipment number

object - object can be VTTP or VTTk

id - ST

language EN

Ask ur functional to provide the object and id details..

Just try these...

Thanks

Rajiv