on 11-14-2014 1:57 PM
Hello Experts,
I have created fcc to abap proxy scenario, where file gets picked from ftp,and i receive red flag in moni (mapping:general error)
please find error screenshot. (im using PI 7.4 dual stack).
I have checked all objects in ESR, but all look fine. Cant figure out what could be the issue.
Thanks and regards,
Varsha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varsha,
You are facing this issue because as per Data Type definition <Row> must occur at least 1 time (1 -- Unbounded) but the logic in your message mapping is not able to satisfy that.
Go to SXMB_MONI --> Find the message --> Inbound Message (after opening the messages) --> Payload --> Main Document (Double Click) --> Right Click (view Source). It will open the xml in a Text Editor. Then Copy the xml from Editor.
Now come to Message Mapping --> Test (Just beside definition Tab) --> Paste at the Sender side.
Then Right click on the field <Row> and select 'Display Queue'. Provide us the screen shot of the that.
Regards,
Nabendu.
Hi,
I tested the payload, it was showing same error that row field requires some value.
So I changed occurence of row field from "1-UNBOUNDED" to "0-UNBOOUNDED", and my mapping was executed successfully.
Thank you so much all!
Varsha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suman,
I think you are right.
I changed occurence to "1-unbounded".
I have run the payload at sender side, this is what i received:
"
Cannot create target element /ns0:MT_Material_Master_Receiver_OUT/Row. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD"
When i right clicked on the Row, and "display queue", result was:
<null>
<null>
Please guide me now how should I correct this?
Thanks,
Varsha.
Hi,
If you are having 0 row, that means no data is there at all.
Other values below row is having 0 occurrence means they are not mandatory. Suppose you are having 10 fields below row,you want 5 at a time, other 5 fields will have occurrence 0.
There should always be a row to get a output as no other node is there.
Check the FCC parameters first and look for the structure and naming of the payload.
Suman
Hi,
May be the structure of the input file is erroneous as it is unable to find the row itself which is having min occurrence 1 (and it should be). Check the namespace and the naming of the input xml.
You can get the input file from sxmb_moni -> payload. Get the input payload from the 1st step in pipeline step and test that directly in message mapping. You will get to know the error.
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi varsha,
this is mapping issue. are you able to run the map successfully in ESR?
Cheers
Hidayat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check for the mandatory field where the minimum occurrence is 1.
Go to sxmb_moni -> trace .... You will get to know which field is missing.
Regards,
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.