Skip to Content

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

Help needed with BAPI_SALESORDER_CREATEFROMDAT1 parameters

Dear all,

I am trying to execute BAPI_SALESORDER_CREATEFROMDAT1 from Java.

I am passing all mandatory parameters.

I am setting the DOC_TYPE as "OR".

However in the Return structure I get the message

Sales document type OR is not defined.

This works fine from the ECC system.

The DOC_TYPE field has 4 characters.

So I have tried passing "OR ". (OR followed by 2 spaces.)

But the string passed is getting trimmed and te reult is the same return message.

Can anyone please help me in this matter.

Thanks and regards,


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