Application Development and Automation 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: 
Read only

bapi to update order header user status

Former Member
0 Likes
3,207

Hi

Please suggest any FM or BAPI to update header user status or if no user status exist then it will add the User status at header level.

Thanks

Aditya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,190

hi,

use: BAPI ALM ORDER MAINTAIN

and also refer the link:

http://abap.wikiprog.com/wiki/BAPI_ALM_ORDER_MAINTAIN

it will help u alot

regards

rahul

Hi

Please suggest any FM or BAPI to update header user status or if no user status exist then it will add the User status at header level.

Thanks

Aditya

6 REPLIES 6
Read only

Former Member
0 Likes
1,190

Hi,

Try this BAPI:

BAPI_ALM_ORDER_MAINTAIN.

Hope it helps.

Regards,

Rahul

Read only

Former Member
0 Likes
1,191

hi,

use: BAPI ALM ORDER MAINTAIN

and also refer the link:

http://abap.wikiprog.com/wiki/BAPI_ALM_ORDER_MAINTAIN

it will help u alot

regards

rahul

Read only

Former Member
0 Likes
1,190

How ot get the object key in BAPI_ALM_ORDER_METHOD for BAPI_ALM_ORDER_MAINTAIN for any order.

Regards

Aditya

Read only

0 Likes
1,190

Hi Aditya,

Object key is nothing but the Order number.

If you are changing the header level data the Object key is ordernumber. Example: 000300001487

IF you want to change the Components or Partners or Operations then we have to specify the line item number along with order number.

Example : if line item 0020 needs to be changed then Object key = 0003000014870020.

Hope this may be useful.

Regards,

Sravanthi

Read only

Former Member
0 Likes
1,190

Hi Aditya,

Refer this thread

Regards,

Flavya

Read only

Former Member
0 Likes
1,190

Hi ADITYA,

Please refer the link for sample code on the use of object key in the Program:

http://www.sapfans.com/forums/viewtopic.php?f=13&t=182938.

Regards,

Rahul Sinha