cancel
Showing results for 
Search instead for 
Did you mean: 

Required help in FCC

manikandan_shanmugam3
Active Participant
0 Kudos
67

Dear All,

Scenario:Tab Seprated flat file to IDoc

We have flat file with multiple Header and its Line item.

PI has to trigger seprate IDoc for each Header and its coresponding line items.

I have done the FCC (Screenshot given below) and its creating Lineitems and Header in the same level Instead required (Lineitems under Header)

Screenshot:

File layout:    H is a key for header and I is a key for Lineitems.

DataType Layout:

Header 1Header 2Header 3Header 4Header 5
Data Type
Recordset (0..Unbound)
Header(0..Unbound)
   Header fieldsLineitems(0..Unbound)
   Header fields   Lineitem fields
   Header fields   Lineitem fields

FCC Screenshot:


Regards,

mani

Message was edited by: Manikandan Shanmugam

Accepted Solutions (0)

Answers (2)

Answers (2)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

What you can do is in the signature tab of the message mapping,hange the occurance of the IDOC to 0...unbouded

Later in mapping, map the HEADER node to the IDOC name.

Remember to chance the Context of the Header node to the ROOT. Right click on HEADER (in the flow editor)


As result you will send to ECC System many IDOCs as Header nodes you have in the source.

Regards

ambrish_mishra
Active Contributor
0 Kudos

Mani,

Recordset Structure ------- Header,1,Lineitem,*

Recordset/message  ---------should be *

Recordset sequence  ---------- Variable

It should work!

Ambrish

Message was edited by: Ambrish Mishra

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Ambrish,

Thanks for your help.

Its not working infact its not creating proper inbound XML.

anyother way?

Former Member
0 Kudos

Hi Mani,

As per your structure design I can see you have header and lineitems in same level.  i.e. why you are getting both in same line.  It should be like below

RecordSet

     Header

          LineItems

          LineItems

Design your structure like this and try.

Thanks,

Satish.

ambrish_mishra
Active Contributor
0 Kudos

Hi Mani,

Provide screenshot of Message type with occurrences and FCC again after modifications.

What is the error you are getting.

Ambrish