cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in the order Freezing

Former Member
0 Kudos

Hi SD Friends

One of my sales order needs to be blocked (It has 2 line items). That means user does not need this order anymore. But they don't want to delete the order physically from database.

In this case, I have rejected the both line items. And the entire order status becomes completed. But the delete option is still active.

Then, I have selected the order reason (Blocking) in the header level. Delete is still active.

I want to prevent this order from this delete option.

How to freeze the order after rejection of all items?

OR how to disable the delete option in the above scenario.

Please help !!

Regards

Priyan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I don't think this can be done through any config setting. This can be done through some code changes where in we can disable the delete option on the order is rejected.

Regards.

Former Member
0 Kudos

Thanks Mani S

Do you have any samle code (user exit) for this activity.

Please share with me !!

Regards

Priyan

Answers (1)

Answers (1)

Former Member
0 Kudos

you can add some code to userexit_field_modification to exclude delete option completely, check CUA_EXCLUDE internal table and how it's populated.

Former Member
0 Kudos

Hi All

Thanks For your suggestions

Regards

Priyan