on 03-26-2008 6:08 PM
Still needs to be implemented
Edited by: Manojkumar Natarajan on Mar 26, 2008 8:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
This can be done by using status profile at the sales order header and with function module I_Change_Status, you can change the user status in background and the order would need approval from the manager before allowing to create any subsequent documents.
So create user status in your status profile
SPRO - SD - SALES - DEFINE AND ASSIGN STATUS PROFILE - SALES DOCUMENT HEADER
10 - Order Created
20 - Order Confirmed
30 - Order changes pending approval
40 - Order Rejected
50 - Order changes approved
Now your abapper can write a logic in program MV45AFZZ wherein, whenever something in the order is changed after the order has been confirmed (status 20), then the status would automatically be set to 30. ((This can be done changes made to pricing if order is still at status 10. You have to decide the best possible scenario, i am just giving you an overview))
Now your sales manager can come and either make it 40 if he wants to reject it, or make it 50, if he is okay with the new rates or discounts if any.
You can find what changes have been made in the order by going to Environment - Changes.
This will give the manager a clear picture of which fields in the order have changed.
I have used this concept and it works perfectly fine.
Try and let me know.
Reward points for contribution if helpful.
Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi,
Thanks a ton for the reply.
So does it mean for statuses
30 - & 40-, the business transactions 'create delivery' and 'create billing document', should be 'Forbidden' and 'Allowed' for 10,20 and 50?
Should I do something with the business transaction 'Complete' and 'lock'?
(Can you please help me with assigning the relevant business transactions also)
> Full points to be awarded.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.