Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Production Order-Long Text

hi,

I want to pull the data from the long text field in production order.

Does someone know the table and field from which the data can be pulled?

thanks in advance

regards

Lyroj

Former Member
Former Member replied

Hi,

To read the production order header text, refer to tables STXH & STXL or use FM - READ_TEXT.

If you want to read via tables then specify the below:

TDOBJECT = AUFK,

TDID = KOPF,

TDSPRAS = EN,

TDNAME = Client nos. + 12 digit order nos. (Eg: 123001000012345, where 123 is client nos. & the remaining are the order nos.)

To read via FM

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = 'KOPF'

LANGUAGE = 'EN'

NAME = Client nos. + 12 digit order nos.

OBJECT = 'AUFK'

  • ARCHIVE_HANDLE = 0

IMPORTING

HEADER = it_htext

TABLES

LINES = it_ltext

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS = 8.

Hope the above answers your query.

Regards,

Vivek

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question