2007 Sep 04 8:33 PM
Hi Friends ,
I have a shipment no with all the text like the Booking Number , Parcel Tracking Number , Vessel Name and Number under the TEXT tab in VT02N or VT03N .
I need to capture the text and put it on a report .I am not sure which table contains that field .
Please advise.
Hi Friends ,
I have a shipment no with all the text like the Booking Number , Parcel Tracking Number , Vessel Name and Number under the TEXT tab in VT02N or VT03N .
I need to capture the text and put it on a report .I am not sure which table contains that field .
Please advise.
2007 Sep 04 8:35 PM
Hi,
You will need to use function module READ_TEXT.
Thanks and Best Regards,
Vikas Bittera.
2007 Sep 04 9:20 PM
There is table - STXH,STXL
But do not use above tables .
use READ_TEXT FM to get the text.
goto VT02N Transaction -> enter shippment number -> goto text tab ->double click on text -> goto ->header
here you will see text object,text name,text id,langauge,pass these information to READ_TEXT FM
Check the sample program :
data: l_status.
clear: l_status, new_text.
clear theader-tdname.
theader-tdid = 'KOPF'.
theader-tdobject = 'AUFK'.
theader-tdlinesize = 132.
theader-tdspras = 'EN'.
concatenate sy-mandt t_success-aufnr into theader-tdname.
*
call function 'READ_TEXT'
exporting
client = sy-mandt
id = theader-tdid
language = theader-tdspras
name = theader-tdname
object = theader-tdobject
importing
header = theader
tables
lines = tlinetabin
exceptions
id = 01
language = 02
name = 03
not_found = 04
object = 05
reference_check = 06
wrong_access_to_archive = 07.
Thanks
Seshu