Application Development and Automation 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: 
Read only

Creating sales order through bapi?

Former Member
0 Likes
776

Hi Experts,

When I Am  Trying to create Sales order Through Bapi BAPI_SALESORDER_CREATEFROMDAT2. I am Getting error like Document  type is not defiend,

unpermitted business object 2032, I have passed everything is correct .please give me suggestions.

Thanks

Laxmi

Hi Experts,

When I Am  Trying to create Sales order Through Bapi BAPI_SALESORDER_CREATEFROMDAT2. I am Getting error like Document  type is not defiend,

unpermitted business object 2032, I have passed everything is correct .please give me suggestions.

Thanks

Laxmi

5 REPLIES 5
Read only

Former Member
0 Likes
741

This message was moderated.

Read only

Former Member
0 Likes
741

Hi Laxman,

In tcode OVAZ, check if you have maintained the Sales Doc typ in permitted sales area that you are passing in the BAPI.

Check and update here.

Regards,

Aayush Jain
SAP SD Consultant

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
741

Please check with your functional for the same..

Read only

Former Member
0 Likes
741

ravilla laxman wrote:

I am Getting error <snip> I have passed everything is correct.

Those two statements are mutually exclusive!

As someone has already suggested, speak with your functional team to understand just what data you need to pass in.  Also, I'd suggest walking through the transaction to create a Sales Order manually to check all the data you are using is correct.  Then, start small with just the bare minimum header and item data to successfully create an order.

First things first though, speak with your functional team for some guidance as they will have much better answers about your system, config., data, etc. than people on SCN who can't see any of that.

Cheers,

Gareth.

Read only

0 Likes
741

Hi Ravilla,

Here is only one issue with order type that you pass in BAPI.

Check order type with corresponding sales area as you pass in BAPI.

Thanks,

Ranjit K.