on 08-27-2008 11:48 AM
Hello all,
I am working on idoc to idoc scenario, i have to map a segment to idoc, exact requirement is
" If there are 10 "E1P12" segments in the inbound IDOC then we need to create 10 outbound Delins IDOCs, each with 1 E1EDP10 segment.
Can anyone provide me the steps to follow in this scenario.
Thanks for all your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
one more
For every Idoc generated on the target side the header data is populated frm source Idoc.(i.e) the same header repeated 4r all idocs right???
In order to do tat u need to write a simple udf
public void Test(String[] a,String[] b,ResultList result,Container container)
{
//write your code here
for (int i=0; i<a.length;i++)
{
result.addValue(b[0]);
}
}
use this udf under all header element(eg.element1 under header tgt side)
then mapping ll be
E1EP12----->
Test-------->Split By Value---->element1
src element---->
Hi,
export and change the IDOC to 0-Unbounded.
Import the IDOC.
E1P12-Remove contextsplitbyvalue(each)-collapse contextIDOC(target)
Regards,
Prakasu
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 |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.