Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

To release credit check while creating sales order

Former Member
0 Kudos

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.

2 REPLIES 2

0 Kudos

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

Former Member
0 Kudos

Use MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE

Regards

Vinod