Skip to Content
Former Member
Sep 05, 2008 at 01:04 PM

How to create sales order using BAPI.


Hi all,

I am trying to create sales order using standard BAPI

"BAPI_SALESORDER_CREATEFROMDAT2". But, even I had entered all mandatory fields, I am unable to create sales order sucessfully.

I had gone through the documentaion of this BAPI and entered these fields.

These are the mandatory fields that which I had tried to create,


DOC_TYPE Sales document type

SALES_ORG Sales organization

DISTR_CHAN Distribution channel



PARTN_ROLE Partner role, SP sold-to party

PARTN_NUMB Customer number


MATERIAL Material number

Do we have anymore fields to give as inputs? I am getting this error message as below :

Msg: Personal number 00007176 does not exit.

But, I am not giving any personal number manually. This personal number was having connection with partner role field,

I had reffered this from the VBPA (Sales Document: Partner Table). Now, please suggest me how to solve this?

Can anyone tell me how to solve this problem and create sales order sucessfully.

Thanks in advance,

Surender Batlanki.