on 02-09-2007 9:58 AM
Hi all,
i am using the fallowing bapi to create sales order
BAPI_SALESORDER_CREATEFROMDAT2 and i have used fallowing mandatory parameters that are
ORDER_HEADER_IN:
DOC_TYPE Sales document type ->TA
SALES_ORG - Sales organization ->1000
DISTR_CHAN - Distribution channel ->10
DIVISION - Division ->00
ORDER_PARTNERS:
PARTN_ROLE Partner role, SP sold-to party ->SP
PARTN_NUMB Customer number ->1000
ORDER_ITEMS_IN:
MATERIAL Material number ->R-1140
After sending request to XI-R/3 , It is giving the fallowing error i.e.
Please enter sold-to party or ship-to party.
My question is, shall i include any fields other then above fields
and how to find test data for sales order creation( i didn't find any test data in the test directory).
Please help me ( Points for good solutions)
Regards,
Deviprasad.
Did you get the answer for this question? If yes, could you let me know.
Thanks,
Sundar,.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
why are you using a BAPI to create the SO?
does your interface need to be sync?
if not change and you want to use a BAPI
how will you track the errors if they occure?
if you don't need sync call I suggest changing to ORDERS IDOC
(also easier to debug as it uses batch input)
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Thanks for your reply,
I have seen your previous threadID related same error
my scenario is soap-xi-rfc. using wsdl file i need to give input parameters and i am expecting corresponding sales order number from it.
I tested same bapi in R/3 system for the same input data but i didn't find any sales order number(in response). and it's return message is SALES_HEADER_IN has been processed successfully.
where can find the sold to party or ship to party information in the bapi.
Regards,
Deviprasad.
first thing i wud suggest is to test teh bapi in r3. this is tell the inputs u wud req if not fully maintained
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to your error some mandotry fields are not mapped in your BAPI.
please check your BAPI in XI mapping editor please assign value to all mandatory fields i.e. occurance 1to 1 and which has red symbol on that field.
Thanks
Sreeram.G.Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.