on 10-17-2008 1:29 PM
Hi..
Scenario is to create a material using BAPI: BAPI_MATERIAL_SAVEDATA, For this i am using File to RFC, while loading the data with Unit of Measure components such as Unit_of_weight, Net Weight, Gross Weight, Volume the values are not populating i have given the necessary information to the BAPI and tested in SAP R/3 system, the material is getting created but with the same data when i push it from SAP XI i am getting the below error..
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_Material_Creation_Res xmlns:ns1="http://Material_Creation">
- <Material_Res>
<Material_Num />
<Resp_Message>Enter the unit of weight for the net weight</Resp_Message>
<Type>E</Type>
<Error_Code>010</Error_Code>
<ID>MK</ID>
</Material_Res>
</ns1:MT_Material_Creation_Res>
i have tested in the R/3 system the material is getting created but through XI
regards,
Kishore
take a look at the payload passed to R/3,check each field
or just put a break point at the start of BAPI and check the inbound structure you receive from XI,then you have exact idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore,
Iam also getting same error.
Iam trying to create a sale order. In R/3 when I run the BAPI with some data it is working fine. When i pass the same data from XI, BAPI is executed with errors.
If you find the solution for this, Please let me know also.
My mapping is perfect. Proper data is passed out from IE and the AE engine as well. After this Iam getting this error.
Thank You
Radhika.
Hi,
I had faced similar problem while creating a sales order. It is case sensitive. Pass on your data in uppercase(all the field values...) And also check if you have any spaces in the message the you get in PI box. Best pratice is to use Trim and ToUppercase functions in mapping.
Cheers,
Deepak
Hi
Check in mapping test the data from source and target. Check what exactly is passing to R/3
Check the data passed to R3 in RWB and find out is it correct or not.
This will help to identify the exact problem location
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
also check the mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore !
Please verify what is the exact content that PI is trying to send to SAP ERP. That is, open then sxmb_moni transaction and export the payload of the inbound message to explore via text editor if it contains the exactly same characters that you are completing during your tests in R/3. Maybe you are not completing the fields correctly. Maybe some are empty, or with the wrong format or characters as expected by SAP R/3.
Regards,
Matias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.