07-07-2006 8:14 AM
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
07-07-2006 8:20 AM
Hi ,
this is Config issue , u have to assign Sale Area to Order Type .
check Views <b>V_TVAKZ</b>,or check config
SPRO--> SD->Sales -> Sales Doc Header->assign Sale Area to order Types.
Regards
Prabhu
07-07-2006 8:17 AM
In think the order type should be OR NOT RO.
Try with OR and that should work.
In SAP you do the cusotmizing to allow only specifc order types to be created.
Regards,
Ravi
Note : Please mark all the helpful answers and close the thread if the issue is resolved.
07-07-2006 8:18 AM
Hi natarajan,
1. Order type "RO" not defined in sales area <'1000','10','01'>
From the error message,
it seems that
its a functional error
(and not program error)
2. 1000 may be the company code for which RO type order has not been defined/customized.
3. If possible,
try to MANUALLY enter the same data,
using standard transaction,
in that also, it should give the same error !
regards,
amit m.
07-07-2006 8:20 AM
Hi ,
this is Config issue , u have to assign Sale Area to Order Type .
check Views <b>V_TVAKZ</b>,or check config
SPRO--> SD->Sales -> Sales Doc Header->assign Sale Area to order Types.
Regards
Prabhu