cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery block with user status.

prashant_sharma21
Contributor
0 Kudos

Hello Experts,

As per our business process once user save the Sales Order, system put the delivery block on Sales Order automatically and sales order user status become BOOK and later Order Management Senior people change the user status from BOOK for RELEASE and remove the delivery block as well from sales order so system follow planning and availability further.

I understand user status/status profile and delivery block is not co-related but my user requirement is until unless Order Management Senior people change the user status from BOOK to RELEASE system should not allow to remove the delivery block in sales order. Once Order Management Senior people change the status to RELEASE then only system should allow to remove Delivery block from Sales Order Header.

Kindly give you expertise and let me know is it possible in standard SAP ? as per my understanding in SAP Standard it is not possible. Moreover kindly let me know how we can achieve this user requirement???

Thanks in advance.

Awaiting your precious reply.

Thanks,

Prashant

Accepted Solutions (1)

Accepted Solutions (1)

former_member186385
Active Contributor
0 Kudos

Hi Prashanth,

As Mr Lakshmipathi said, you can go with workflow

If you are not having workflow implemented, then in the user status profile, double click your status BOOK which will take you to the BUSINESS TRANSACTION at which you can set CREATE DELIVERY as FORBIDDEN which will block creation of delivery till this status is available

when you change the status from BOOK to RELEASE, you could able to do delivery

changing authorization of status profile can be controlled only for certain people, in this way you can accomplish your requirement. This is an alternative approach

regards,

santosh

prashant_sharma21
Contributor
0 Kudos

Thanks experts for your precious inputs.

Below suggestion which are given by Santosh are already implemented in our project.

I

I understand It will not allow me to create the delivery if user status is BOOK but my basic requirement is system should not allow to remove Delivery Block (Sales Order Header).

We have two level of Order Management team, level I team create the order at that time sales order status/ user status becomes BOOK and system also put delivery block (through Define Sales Doc Type: VOV8).

later level II team change the status from BOOK to RELEASE (because system does not allow to create the delivery at BOOK status) and remove the delivery block as well. so further order goes to logistics team and they create the delivery. As per my understanding System put delivery block at header level because after removing the Delivery Block from SO system start Planning and Availability only.

Some times level 2 team remove the delivery block so system start the planning and availability.After a long time (suppose 2 months) they change the status from BOOK to RELEASE due to this reason system confirm the qty for the materials for the long time and it is just not the proper use of the system.

to avoid such type of situation we are trying to map our requirement which I explained earlier.

If user status is BOOK then how we can restrict user to remove the delivery block from SO.

Awaiting for some more inputs.

Thanks in advance.

Answers (2)

Answers (2)

suman_sardar2
Active Contributor
0 Kudos

Hi Prashant,

What I understand from your post that you want to restrict the Delivery if the User status is BOOK.

Yes that you can easily done by User status profile as per Santosh's comment.

But still you want to automate it by other way then you have to inject some ABAP code in the Program MV45AFZZ USER_EXIT_SAVE_DOCUMENT at the time of order saving system should check the user status then only to proceed or gives the error.

Thanks,

Suman$

Lakshmipathi
Active Contributor
0 Kudos
I understand user status/status profile and delivery block is not co-related

Your understanding is correct.

user requirement is until unless Order Management Senior people change the user status from BOOK to RELEASE system should not allow to remove the delivery block in sales order

To achieve the above requirement, you can go with Workflow which your technical team can do.

G. Lakshmipathi