on 07-04-2008 6:02 AM
Hi, can someone provide me with infos on how to solve this problem?!
Do i have to use BPM and when, is there any tutorial on this?!
We have two different Segments in IDoc and for each occurance they should be collected in two different IDocs, so that each contains one type of segment.
Can u please help?!
br
Hi Fritz,
You will have to use multimapping along with Enhanced Receiver Determination for this.
Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go thru these links will help you to understand the concepts-
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
BPM CollectPattern..
http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
regards
kummari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fritz,
You can use collect pattern when there is requirement of collecting multiple messages .For example i have an applicaion where i can send purchase order from different vendors.Now i wish that at the end of day i get one consolidated purchase order for each vendor instaed of multiple orders from a particular vendor then i can utilise it.Correlation will be required as the messages have to be grouped based upon a particular Information like in our example its vendor
Collection of IDoc to Single File
Collecting IDocs without using BPM By Stefan grube's
BPM CollectPattern..
http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Also have a look at these seminars,
- Collection of IDoc to Single File
Also this link,
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this huge answer, but before i read all infos i want to verify that i have to use BPM.
As told, i have one IDoc with two different segments which can appear more than one time in source IDoc.
IDOC
SegmentA1
SegmentA2
SegmentB1
SegmentB2
These i want to collect into multiple different IDocs of same type of source.
IDoc
SegmentA1
IDoc
SegmentA2
IDoc
SegmentB1
IDoc
SegmentB2
How to achieve this?
br
Hi Sanjeev,
well i did this but the problem is that the segments can appear but don't have to.
My mapping looks like:
Segments:
Z1Batch 0..99999
Z1Movem 0..1
/ZMDI01/IDOC/EDI_DC40=SplitByValue([type=Each value]useOneAsMany(/ZMDI01/IDOC/EDI_DC40=, /ZMDI01/IDOC/Z1MOVEM=, /ZMDI01/IDOC/Z1MOVEM=))
[...]
/ZMDI01/IDOC/Z1BATCH=SplitByValue([type=Each value]/ZMDI01/IDOC/Z1BATCH=)
[...]
/ZMDI01/IDOC/Z1MOVEM=SplitByValue([type=Each value]/ZMDI01/IDOC/Z1MOVEM=)
[...]
is this ok so far?! because i only get two new IDocs with one Z1Batch and one Z1Movem and this only when Z1Movem appears - depending on the mapping!
Could some give me a hand on this?!
Do i have to use BPM or only mapping?!
br
Hi,
I think , no need to use BPM over here,
As you exolained above , first take the xsd of Idoc and change the occurrence - 00. unbound , this is for inbound side message type
In mapping you need to map the idoc parent node basded on the sender segment availability / qualifier condition you can map the respective segment , later these will be devided into multiple idocs , if you select in interface determination as extended
The other option , may be it works.
take target as above ,external definition and change the occurrence later in mapping create as many idocs ( manually) and mapp the each occurrence with respective idoc segment only.
Regards
Chilla
In mapping you need to map the idoc parent node basded on the sender segment availability
Yes i did this for SegmentA but what do i do with the segmentB. How to add this into mapping on IDoc-Node?!
With SegmentA it works fine!
I mapped:
SegmentA to IDoc
EDI_DC40 useOneAsMany (depending on SegmentA) SplitByValue EDI_DC40
SegmentA SplitByValue SegmentA
SegmentB SplitByValue SegmentB
what is wrong on this?! because this only works when SegmentA is available but in absence of this nothing is mapped.
br
Hi Fritz,
Now i got your prob. In the mapping go to your messages tab and add your IDOC twice. First occurence you map to the SegmentA and the second occurence you map to the SegmentB. Now in this case even if segmentA is not present your IDOC structure for SegmentB will be created.
Try it and let us know.
Regards,
Sanjeev.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.