Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Production Order Status

Former Member
0 Kudos

Hi,

Which table should i use to get the status of production order. Thanks!

4 REPLIES 4

Former Member
0 Kudos

Hi,

Chk thse tables AUFK,AFKO which forms the order header.

or else combinely u can chk the database view CAUFV.

Regards,

Balaji

**Rewards if answers are helpful

Former Member
0 Kudos

check

<b>AUFK

JEST

TJ02T.</b>

or make use of FM

<b>STATUS_READ</b> pass OBJNR of AUFK to this FM then u will get complete list, and take Active one only.

and get the text of that actions from TJ02T.

Regards

Prabhu

0 Kudos

Can you tell me more how to get the complete list, i use the follows implements, i don't know how to do that. Thanks.

DATA: LT_STATUS_LIST LIKE JSTAT OCCURS 0 WITH HEADER LINE.

CLEAR GV_STATUS.

  • CONCATENATE 'OR' GT_ITAB-AUFNR INTO OBJ.

CALL FUNCTION 'STATUS_READ'

EXPORTING

OBJNR = GT_LIST_DATA-OBJNR

ONLY_ACTIVE = 'X'

TABLES

STATUS = LT_STATUS_LIST

EXCEPTIONS

OBJECT_NOT_FOUND = 1.

IF SY-SUBRC = 0.

LOOP AT LT_STATUS_LIST.

CONCATENATE LT_STATUS_LIST-STAT INTO

GV_STAT SEPARATED BY SPACE.

ENDLOOP.

ENDIF.

Former Member
0 Kudos

Hi

try these

AFKO Production Order Header

AFPO Production Order Position (details)

regards,

pankaj singh