cancel
Showing results for 
Search instead for 
Did you mean: 

KeyFieldName in Fixed file content conversion

Former Member
0 Kudos

hi,

I am using FCC to convert the incoming paylaod to XML.

Due to Multimapping on sender side the structure on source side has got two extra tags :

Messages

-


> Message1

-


>FCI002__MT

-


>row

-


>Fields

If I simply use FCI002_MT in document name and row,* in recordset structure then the mapping is failing at MT node.Because the structure after FCC is:

FCI002_MT

-


>row

-


>fields

and If i use

Document name: Messages

Recordset structure: Message,1,FCI002_MT,1,row,*

Then it asks for key field and I don't have any key field.

I need help and kindly suggest the way out.

Thanks in advance

Regards,

Indu Khurana.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

The question has been answered up to my expectation.

Thanks!

Former Member
0 Kudos

Hi,

There is no need of including the Messages in the FCC parameters.

Your parameters will be,

Document name: FCI002__MT

Recordset structure: row,*

And in mapping map an empty constant to FCI002__MT. This will work.

former_member207622
Contributor
0 Kudos

Hi ,

check these blogs... might help I m not sure -;)

I think key field would be required if the recordset structure has any one substructure ocurring multiple times.

/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

udo_martens
Active Contributor
0 Kudos

Hi Indu,

you dont need data types with root "Messages" for multimapping. Just change the occurance in the mapping.

Regards,

Udo

Former Member
0 Kudos

hi,

Yes,You are right.I don't have to add these Message tags.

That what my question is: As these tags have been added due to multimapping now for FCC do I need to put <Messages> & <message1> in adapter configuration?

Messages as Document name and message1,1 in Record structure?

Or these tags doesn't effect the normal conversion procudure to XML?

Thanks..

Indu

udo_martens
Active Contributor
0 Kudos

Hi Indu,

no, dont care for them at Communication Channel. The Adapter Engine is actuallly doing the split and it is doing that BEFORE routing to the channels. Your channels will receive the messages in your developed Data / Message Type. This is the reason the split work only for Java Receiver Adapter (for IDoc, Proxy and http no AE is involved).

Regards,

Udo

Former Member
0 Kudos

if i understood your problem correctly then "row" should be your key field.

Regards,

Karna