on 2013 Jul 31 1:59 PM
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 1 | Header 2 | Header 3 | Header 4 | Header 5 |
---|---|---|---|---|
Data Type | ||||
Recordset (0..Unbound) | ||||
Header(0..Unbound) | ||||
Header fields | Lineitems(0..Unbound) | |||
Header fields | Lineitem fields | |||
Header fields | Lineitem fields |
FCC Screenshot:
Regards,
mani
Message was edited by: Manikandan Shanmugam
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mani,
Recordset Structure ------- Header,1,Lineitem,*
Recordset/message ---------1 should be *
Recordset sequence ---------- Variable
It should work!
Ambrish
Message was edited by: Ambrish Mishra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.