cancel
Showing results for 
Search instead for 
Did you mean: 

AUFK -PHAS3 is not getting updated when the order is closed using FM

Former Member
0 Kudos

Hi Experts,

We are using FM STATUS_CHANGE_INTERN to set the order status to 'CLSD' from 'CRTD' status, this is getting updated in JEST table however AUFK PHAS3 value is not getting reflected anything. In AUFK and AFIH, the order is still reading as CTRD and outstanding respectively.

Is tehre any alternative FM available to set the status to reflect in AUFK properly ?

Thanks,

Suresh

Accepted Solutions (0)

Answers (1)

Answers (1)

paul_meehan
Advisor
Advisor
0 Kudos

Hi,

The function you are using is not suitable, it is not intended to be used stand-alone without further code to complete the order close process.

The best option would be to use BAPI_ALM_ORDER_MAINTAIN to perform technical completion (Method TECHNICALCOMPLETE). Transaction CO99 could then be used to mass close these orders.

-Paul

Former Member
0 Kudos

Thanks Paul for the information.

Our requirement is to set the order status 'CLSD' programatically after the order is sent out to a third party and confirmed the acknowledgement and therefore its not a mass closure requirement.

Thanks