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: 

BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

Hi There,

For Internet sales, we are using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order in our SAP system. I created one time customer for this purpose.

Whenever customer places an order, it goes to credit block. Order Header Credit status says 'Not Approved' and Overall status shows 'Blocked'.

If I create order manually with the same data's, order is not blocked.

Is there any field I have to update on BAPI which I mentioned above.

Your help is greatly appreciated.

Thanks,

Geetha

2 REPLIES 2

former_member186734
Active Participant
0 Kudos

Geetha,

I'm having the same problem as you. I'm using this BAPI over SAP .NET Connector.

I'm implementing SAP ECC5. Wich version your`re using?

Debugging BAPI_SALESORDER_CREATEFROMDAT2, I found the include LVKMPF10, FORM SYSTEM_REACTION, witch raises the message exception F4 152.

Do you have any news about this problem?

Thanks for your (or anyone else's) help.

vkapoor
Discoverer
0 Kudos

In BAPI_SALESORDER_CREATEFROMDAT2- Pass ORDER_CCARD-CC_STAT_EX = 'C',

It should fix the issue!

Thanks,

Vinay Kapoor