Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BUS2031 doc category error calling BAPI_QUOTATION_CREATEFROMDATA2

We are on ECC 6.0 with NO JAVA STACK and I am using Visual Studio 2010 to call the web service that I have made available.

I am successfully calling SAP because I can change the order type and a different msg than below appears, so "all the plumbing" is working.

I am having an issue with creating a quote. I have been able to execute BAPI_QUOTATION_CREATEFROMDATA2 in SE37 and pass the "same data" and actually get a quote created. However, when running from .Net I get the following BAPIRET2 values and have not found an answer.



ID: V1


MESSAGE: Unpermitted combination of business object BUS2031 and sales doc. category C

LOG_MSG_NO: 000000



I have set the value for sd doc category to B by setting the bapisdhd1 table and field SD_DOC_CAT before passing it to the web service.

Struggled with this error for > 8 hrs now and need some help desparately. Please help

Not what you were looking for? View more on this topic or Ask a question