I am trying to use this BAPI_ALM_ORDER Maintain to update the user status at the Operation level, but am facing the following issue:
In the IT_METHODS table, I am passing the USERSTATUS CHANGE (with the right object key - aufnr + vornr), and SAVE Method.
And am filling the User Status table (IT_USERSTATUS) with the correct user status to be updated at the Operation Level.
But when I execute the BAPI - it throws an error saying that the User status XXXX doesnt exist in the XXXXXX (This is the wrong profile. This profile is at the Header level and not at the operation level) Profile.
So somehow its trying to update at the Header level and not at the operation level.
Any idea what can be the reason?