cancel
Showing results for 
Search instead for 
Did you mean: 

Change PM's order status profile

Former Member
0 Kudos

I'm using BAPI_ALM_ORDER_MAINTAIN to update user status in my program, but I'm facing a problem trying to set an user status which does not belong to the status profile defined for the type of order I'm working on. We have created a set of user status in a new status profile and we aim to use them in our code. How can I perform the aforementioned BAPI or other standard function to accomplish such task?

Thanks in advance for any help.

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Try function module  'STATUS_PROFILE_CHANGE ' for Profile change and then Function module 'STATUS_CHANGE_EXTERN ' for status change.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks, Jogeswara. That worked for me.

sebastian_lenartowicz
Active Contributor
0 Kudos

Greetings Paulo,

Please mark the correct answers as such, so they are visible to the other users and the author is rightly credited

varshal_kachole3
Active Contributor
0 Kudos

Hi,

I am unsure about the EHP version you are operating on.

Also you have not specified any Error/Warning during the BAPI Processing.

Here are my recommendations:

  • Please check if you have the proper authorization for other User statuses as well.

Please review the below SAP notes:

http://service.sap.com/sap/support/notes/819411

http://service.sap.com/sap/support/notes/1149099

http://service.sap.com/sap/support/notes/1454532

http://service.sap.com/sap/support/notes/1320906

Hope it helps!

Thanks and Regards,

Varshal Kachole