cancel
Showing results for 
Search instead for 
Did you mean: 

Release authorization for sales order

Former Member
0 Kudos

Hi Experts,

I have a requirement, when user creates sales order it will automatically give the requested delivery date. Customer has to pay the amount with in the delivery period and delivery takes place according to the requested delivery date. But If the customer did not come back and pay the amount within the stipulated time and delivery not taken place according to the delivery date , document should get locked or freezed out. at this point , only the higher official should have authorization to unlock the document for payment and delivery date changes. would this be achievable in standard? any solution please.

Thanks ,

KP.

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

No through standard it is not possible. For that you have to try with sale order User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE where you need to check table VBFA for field VBELN if any subsequent document exist. If subsequent document exist, check the "Actual GI Date".

Also you need to check the following FI tables for payment history

1) KNB4 - Customer Payment history

2) BSAD - Customer Cleaerd Item

3) BSID - Customer Open Item

thanks

G. Lakshmipathi

Former Member
0 Kudos

Thank you for your response.. Cant we freeze the document after certain date? and It can only be released by certain Dept head when the customer comes back, Ofcourse , we will add interest on the total amount. Like what we have release strategy in mm module. I am not sure If we have anything such kind of release strategy in SD. Need your help experts.

Thanks,

KP.

Former Member
0 Kudos

hi

SAP - has provided document created date & create a Z field & a Z table for the same.

attach this Z table into the document program.

which should throw an error when document expires.

test & confirm

balaajia

Former Member
0 Kudos

Hi,

according to your suggestion I would like to go with user-exit, But how to let the superior manager release sales order from blocking. For this, certain user groups have the authorization to release the blocked sales order. But how to map this after the user exit blocks the order, should I go with flag checks and certain user groups has to change the flag? or any other solutions pls..

Thanks,

KP.

EM

Former Member
0 Kudos

Mr.Palle

In Addition to the user exits, we can use the VKM1/VKM3 functionality, where in we can "Release to authorization" there.

Rgds

Sumanth.Gururaj

Consultant/Systems Analyst - SAP SD/MM

Former Member
0 Kudos

Hi,

I think there are a few ways to suffice your requirement. As you already decided to use the user exit, you can use it in such a way that you put the delivery block on the header or the item when the requirements are not met.

To remove the delivery block when ever you want it, you can use the Tcode V.14 (std sap). You can control the authorization for this tcode so that only the top officials (or whom ever you want it to release) have the authority to release the sales document for delivery.

Also, you have to make sure that evertime the delivery block in changed in the sales order, it goes thro' authorization check to see if the person changing the delivery block is authorized to do so....

The other way to achieve your requirement is to work with the status profile.

a. Define a Status profile as ZDELBLK (Delivery block) and inside that create a few statuses as say 1. ' Delivery Blocked as customer not returned', 2. 'Delivery released'

b. Assign the new status profile ZDELBLK to the sales order you wish to block.

c. Define display status in the over view screen

When you run the user exit while saving, these status can be reset. So, if your requirements are not met, then set the user profile to blocked status.

Give the authorization to the right people, so that only they can release the document by going into VA02. Rest can only view but cannot change.

Hope this helps.

Regards,

Mukund S