04-07-2010 6:29 AM
Hi,
I have a requirement of releasing credit check for list of open sales orders of a customer while creating a new order in VA01 for a customer.
E.g in va01,i'm creating sales order for kunnr ABC
for kunnr ABC, open sales order existing in database are 1,2,3,4
So i need to release credit check for 1 2 3 4 while creating a new sales order in VA01.
If i use FM 'SD_ORDER_CREDIT_RELEASE' in VA01 user exits it again call standard program and gives some error.
I need to know the exact point to implement the code if someone can help and also if there is another way of releasing credit check other than above FM.
04-07-2010 7:23 AM
Hello,
Why don't you use the include MV45AFZZ, userexit USEREXIT_SAVE_DOCUMENT_PREPARE.
You can write your code to identity all the sales orders that are due to be released for a customer and then release them.
Edited by: Kanwardeep Singh Gill on Apr 8, 2010 5:28 AM
04-07-2010 8:43 AM