on 09-07-2010 10:52 AM
Hi All
Scenario = IDOC to FILE
My scenario is like this
Sender IDOC Structure is like below -
<ZCOND_A01>
-<IDOC BEGIN="1">
+ <EDI_DC40 SEGMENT="1">
In between these tags HEADER information is there
</EDI_DC40>
+ <E1KOMG SEGMENT="1">
<WERKS>0003</WERKS>
</E1KOMG>
+ <E1KOMG SEGMENT="1">
<WERKS>0005</WERKS>
</E1KOMG>
Now I want to achieve result like this
Header information i want same for each segment*
for each segment I wanted to create new file and that file will be posted to corrosponding target directory.*
Above i have taken example for two segments only but this could be up to 300 segments and can be many more in future.
Both the segments can be differentiated using field WERKS.
Is this thing posible in XI if yes then what can be the possible solution.
Regards
Dheeraj Kumar
Hi Dheeraj,
This is possible in XI.
You have to use multimapping (1:N) for this requirement.
And for target directory, you can use variable substitution approach.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dheeraj,
Pls refer the below blog for variable substitution approach:
/people/pavan.kumar110/blog/2009/08/05/processing-multiple-files-in-source-system-and-target-system
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
Post your input and expected output here... i am unable to understand the req.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja
Requirement is like this
Sender IDOC
IDOC
SEGMENT1
WERKS
SEGMENT2
WERKS
SEGMENT3
WERKS
WERKS is afield and in each segment werks value will be different.
Now
Required Result want
For each WERKS new file should be generated in the target folder having its corrosponding SEGMENT
Regards
Dheeraj kumar
Edited by: Dheeraj Kumar on Sep 8, 2010 11:25 AM
Hi Dheer,
You can achive it by enabling target message with occurences to 'unbound'. This enable to create each message for each segment's WERKS field. The same should be done in Interfacemapping/operational mapping. In order to maintain the folder and file name's use the UDF/Function Library with Dynamic Configuration to set filename and directoryname of ASMA( Adapter Specific Message Attributes).
Thanks&Regards,
Prasanna...
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.