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: 

Order created with BAPI_ALM_ORDER_MAINTAIN but in IW33 Order does not exist

Former Member
0 Kudos

Hi Experts,

I was testing the bapi BAPI_ALM_ORDER_MAINTAIN for creating Orders and managed to execute the BAPI successfully. I got the below message:-

Order %xxxxxxxxxxx was saved with the number xxxxxxxxxx and notification xxxxxxxxxx

But when i check the same in IW33 it says the 'Order does not exist'. Please advise on this.

3 REPLIES 3

Former Member
0 Kudos

Are you executing the BAPI_TRANSACTION_COMMIT function module after the main BAPI is executed? If not try executing both the BAPI simultaniously.

Regards,

Dinakar.

Former Member
0 Kudos

Hi,

You have to pass update tables along with data tables. Read the documentation of this BAPI.

The update structure for IT_HEADER

Value range

' '= Do not update field

'X' = Update field

Default

If the structure is left empty, then all filled values (that is, values that are not initial) are updated.

Former Member
0 Kudos

Thanks Dinakar & Rajan for your replies. I finally ran the BAPI_TRANSACNTION_COMMIT in the test sequence along with the Order BAPI and the order was updated in the database level.

Thank you!