on 07-06-2022 2:38 PM
Hi
Apart from above answers
You can read the Item text using following FM. The Respective IDs are mentioned in the image.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = 'F01'
language = SY-LANGU
NAME = <your Puchase order number><Item number> "4000000012000010
OBJECT = 'EKPO'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
* OLD_LINE_COUNTER =
TABLES
lines = it_lines
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
venkateswaran.k what should be the table type of the internal table it_lines?
Also I'm not quite sure how to use the code below. Assuming the purchase order # is 5000123 and the item number is 1044592. SHould it be concatenated like 50001231044592?
NAME = <your Puchase order number><Item number> "4000000012000010
STXH - Header
STXL - Item
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Those are "long texts" header table is STXH and lines table is STXL, the last one (data cluster) must be read using FM such as READ_TEXT or READ_TEXT_TABLE (or IMPORT FROM DATABASE for experts only...)
If you actually want to know 'where it came from', check in Customizing, some texts are input some are copied from previous document or from master data (material, vendor, PIR, etc.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Table TTXID / TTXIT
it is customizing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
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.