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: 

Restricting changing the status of an order

Former Member
0 Kudos

Hello,

When creating an order (tcode va01), it is possible to change the status of the object. Some of the statuses are for example:

u2022 1 Napp Not Approved

u2022 2 App Approved

u2022 3 Reje Rejected

u2022 u2026.

Is it possible to restrict people in choosing the status? For example one can only choose Napp and the other one can only choose App.

I have checked the va01 auth obj in su24, but did not find any auth obj related to this matter.

Thank you very much for your help in advance.

WR

Salameh

1 REPLY 1

Former Member
0 Kudos

Hello,

I think no status objects are present for customization in sap and for this you can use STATUS_OBJECT_CREATE (functional module) and it will generate for you a temporary OBJNR and you can fill at least OBTYP and replace it actual one, for replacement you can use function module STATUS_OBJECT_SWITCH_NUMBER.

Hope this helps

Dheeraj