on 11-21-2009 6:11 AM
Hi,
I want ot know the table in which we can read the PO header and item text.
regards,
zafar
Hi,
If you read directly from the table then for getting HEADER TEXT it is is STXH & item text STXL.
Better would be to use Function Module READ_TEXT
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = (Client ID)
ID = (Text ID)
LANGUAGE = (Language)
NAME = (PO Number)
OBJECT = 'EKKO' for Header & EKPO for Item
TABLES
LINES = (Internal Table of type tlines)
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To read the header or item text. You need to use function module REad_text. To find out the ID and object in the read_text the process will be as follows. The text you want to read , say its header text of the purchase order; so double click on that text. It will take you to long txt screen like a word pad. From menu you need to select go to header you will find text id and text object there . Use this id and object in function module read_text.
Regards
Sangeeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
STXH - SAPScript Text Header
STXL - SAPScript Text Lines
From these script system will pic TDNAME, TDOBJECT, TDID and
Pass these information to these tables DARD and from DRAD pass Field DOKAR to DRAT.
So use full table as
DRAD and DRAT
Hope Help U !
Regards,
Pardeep Malik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The TABLE which contains the HEADER TEXT is STXH
and the ITEM TEXT in the table STXL
If you want to read the text from these fields to any layout then use the FUNCTION MODULE READ_TEXT in SE37
regards,
santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In order to retreive PO item text you would need to use function
module "READ_TEXT"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
STXH----PO Header text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.