Skip to Content
Former Member
Jul 07, 2006 at 07:14 AM

bapi_salesorder_fromdata error


Hi ,

I am trying to create a Purchase order in the R/3 system by sending HTTP post request using XI.

i figured out from some previous post in the forum that the following are the required fields for the bapi_salesorder_fromdata.


DOC_TYPE Sales document type -


SALES_ORG Sales organization --- "1000"

DISTR_CHAN Distribution channel --- "10"

DIVISION Division -



PARTN_ROLE Partner role, SP sold-to party -- "SP"

PARTN_NUMB Customer number --- "1001"


MATERIAL Material number -- "p-100"

These are the values i am passing to this BAPI when i am executing it using the transaction se37 .

But i get the following error :

Order type "RO" not defined in sales area <'1000','10','01'>

I also tried entering the following vales for the order type -- "or","ro","cs","FD" but i get similar errors.

I am using the IDES version of r/3. Please let me know where i am going wrong.

Thanks in Adavance