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.