Skip to Content
author's profile photo Former Member
Former Member

Credit Limit for SalesOrder

Here is my problem description:

Please forgive me if this is not the right forum or this is solved earlier. Pl guide me in these cases.

I am trying to solve this problem from external program, so I can use only remote enabled RFCs/BAPIs.

The problem is this. I want to be able to simulate Sales Order from Credit Checking point of view.

I don't want to save order but want to know if credit check would pass if I saved the order.

I am able to get error "Credit limit exceeded" in the GUI with all correct settings, but when I call BAPI_SALESORDER_CREATEFROMDAT2 it does not give any error

for the credit limit.

I have not even tried simulate because the BAPISALESORDER_CREATEFROMDAT2 itself does not fail.

Any settings or parameters to be supplied for causing credit limit checking thru BAPI ?

Thanks in advance...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 24, 2006 at 02:30 AM

    when you say it's not giving any error, does this mean that a sales doc is being created by the bapi? If it is then it must be passing the credit checks. If it's not creating a doc then there is some sort of error occuring but you can't recognise it. Try to run the bapi in debug and set a debug on the 'call transaction' statement. Most bapi's call a transaction somewhere and I'm guessing this one will call VA01 somewhere. You might be able to see what's happening, maybe change the call mode of the transaction to 'A' to show all screens would help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.