on 10-30-2007 1:54 PM
Hi
I have to use the FM READ_TEXT in me print program.I need to extract standard texts and print them in the different windows that i have in my sap-script.
For Ex: I need to extract text with OBJECT VTTK-TKNUM ID Z001 and NAME Shipment Number.
Similarly i need to extract texts with other ID s also : Z006,Z004 etc.
And then I need to pass them to sap-script.
I am not able to understand how to perform this task even though i read abt this FM in many threads.Please help me.
<b><REMOVED BY MODERATOR></b>
Thanks In Advance.
Chaitanya.
Title and Message were edited by:
Alvaro Tejada Galindo
This is how you can use your read text function module
Ex:
Note: to get it inside your SAPscript use sub-routine....
DATA BEGIN OF i_tlines OCCURS 0.
INCLUDE STRUCTURE tline.
DATA END OF i_tlines.
DATA: w_textname(70) TYPE c.
w_textname = vbdkr-vbeln.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'Z006'
language = 'E'
name = w_textname
object = 'VTTK'
TABLES
lines = i_tlines.
IF sy-subrc = 0.
READ TABLE i_tlines INDEX 1.
t_in-m1 = i_tlines-tdline.
ENDIF.
Close the thread once your question i answered...
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this in line in your SAP SCRIPT
/: INCLUDE &VTTK-TKNUM& OBJECT VTTK ID Z001 LANGUAGE 'EN' NEW-PARAGRAPH=
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) look for samples by where use list and here in the forum from me (et al.)
2) look for tables TTXOB and TTXID with se16
A.
Message was edited by:
Andreas Mann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.