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

bapi_salesorder_fromdata error

32 Views

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.

ORDER_HEADER_IN :

DOC_TYPE Sales document type -


"RO"

SALES_ORG Sales organization --- "1000"

DISTR_CHAN Distribution channel --- "10"

DIVISION Division -


"01"

ORDER_PARTNERS:

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

PARTN_NUMB Customer number --- "1001"

ORDER_ITEMS_IN:

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

karthikeyan