on 04-01-2009 11:24 PM
Hello Gurus,
We are going to extract header and item texts from old POs and load them to new POs. Does anybody know what table-fields are used to store text contents? Table STXH and STXL?
Thanks
JM
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can read it via STXH & STXL tables or via FM READ_TEXT.
From tables:
For header
TDOBJECT - EKKO
TDNAME - PO nos.
TDID - F01 (header text) F02 (header note) etc
TDSPRAS - EN
For item
TDOBJECT - EKPO
TDNAME - PO nos.+line nos.
TDID - F01 (item text) F02 (item note) etc
TDSPRAS - EN
Using FM:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = TDID
language = 'EN'
name = TDNAME
object = TDOBJECT
TABLES
lines = textlines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME= 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7.
To read different texts, in STXH, just pass EKKO or EKPO & note down the TDID & pass the same.
Hope the above answers your query.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.