on 11-06-2014 12:21 PM
Hi SDNites,
If we can do a FCC at either sender and receiver end without Recordset, then what is the real need to RecordSet in FCC.
Regards,
Abhi
Hi Abhi,
Can you please elaborate your query/error if any
While defining FCC (Sender) we have 4 Recordset of which 2 are Optional and 2 are Mandatory..
· Recordset Name (O)
Specify the name of the structure: It is included in the XML schema.
· Recordset Namespace (O)
The namespace is added to the name of the structure.
· Recordset Structure (M)
Enter the sequence and the number of substructures as follows: <NameA,nA,NameB,nB,...>. Therefore, nA=1,2,3,... or * (for a variable, unlimited number, including 0).
· Recordset Sequence (M)
The start and end of recordsets containing a variable number and arrangement of structures are determined
Ref: http://help.sap.com/saphelp_srm40/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Similarly for Receiver FCC we have : Recordset Structure (M)
· Recordset Structure to define the list of nodes including the root and substructure
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azhar,
Thanks for the reply.
Actually I am using MessageTransformBean for FCC (on sender side) and when file is picked up from the shared directory, in the payload Recordset tag is not seen. So the below error is encountered.
Cannot create target element /ns0:MT_IB_MERCHANT_FILE/RecordSet. (Shown here is inbound message type)
Recordset is present on both the sides.
Note : Sender and receiver side both are File.
Regards,
Abhi
>>>Actually I am using MessageTransformBean for FCC (on sender side) and when file is picked up from the shared directory, in the payload Recordset tag is not seen
It's not mandatory that you should have the name as "Recordset" in your structure.
It'll get created based on your Message transformation bean configuration.
Your MTB configuration should be based on your structure.
Coming to your error.. it's unable to create the target element " Recordset".
I assume your source xml is not validated aganist the source xsd.
Paste the source xml in testing tab and see if eveyrthing looks good. If not change your FCC configuration/ structure and adjust your mappings.
Hi Azhar,
I tried both the options. Please find below screenshots and the associated errors,
Recorset Mapped (Error) : Cannot create target element /ns0:MT_IB_MERCHANT_FILE/RecordSet
Recorset Not mapped (Error): Cannot create target element /ns0:MT_IB_MERCHANT_FILE/RecordSet/Product.
Regards,
Abhi
Source XML is not validated against source XSD -
Difference I can see in the payload and while executing it using Test tab in MM is the Recordset. I tried to process the same by manually populating RecordSet and it worked. But my query is how the same will be obtained during runtime.
Also did the configuration in MTB as,
xml.recordsetName - RecordSet
xml.recordsetStructure - Product,*
But it is still not working.
Regards,
Abhi
Hi Abhi,
Seems some issue wit your FCC conversion. Its not able to populate values to Mandatory fields in Target Node -- RecordSet & Product as shown in ur screenshot...
Can you give the Input Payload that you get into PI from Source FCC conversion...also share your Source FCC channel config screenshot
Regards,
Azhar
What is conversion type? (xml.conversionType)
If it simpleplain2xml then you don't have any paramter called xml.recordsetName /recordSetStructure
But looking at your strcture why do you need recordset when you just have one node(product)?
If you multiple nodes such as products and product details you might need recordset and for that you should go for StructPlain2XML conversion type..
If you check the blog which i shared in your previous post, you can get the list of paramters..
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.