on 08-25-2005 3:42 PM
Hi,
My scenario is to collect the idoc and write it to a file
R/3 (idoc) --> XI --> File
i have used BPM for this and my steps are as follows.
created Abstract Message type for Idoc and File receiver
created message mapping
1. single Idoc to multiple idoc
2. maping to map the multiple idoc to a file(ABAP Mapping)
My issue is idoc are not collected i receive only one idoc in the file.
let me know if iam missing some thing.
but when i debigged in Workflow the input message was 2 but the output message showed only one message.
thankx,
Shree
Hi,
This blog can give an idea bat how to collect multiple idocs in a bpm:
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
Regards
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How does the IDOC 1:1 multi mapping look like? I think there is a limitation in the message mapping not to create the source IDOC message unbounded. Does anyone have any documentation on this?
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Philipp,
You will be importing an IDoc from R/3 and using it for your message mapping,inthis case you cannot specify the Idoc with Type <b>UNBOUNDED</b>.IF you want to do that you have to create a datatype similar to your Idoc in IR.But this will be a very big process instead you can import the XSD of that Idoc into your IR with specifying the Type and USe in your XSD.
If needed i can send a sample of XSD.
Cheers,
Prashanth K.R,
No need to change XSD.
In your message mapping go to the messages Tab (next to the test tab) and change the occurence the of Idoc message to 0 to unboundeded.
Now you are mapping N IDoc message (source) to single File message(target). Create Interface mapping, using these message types and change the occurence of the Idoc message Interface to 0 to unbounded, the occurence of File Message interface is 1.
Use this interface mapping in transformation step after collecting the IDocs. Since you are collecting multiple Idocs in multiline container you need N:1 (NIdoc to 1 file) mapping.
Hope i have not confused you.
cheers,
Satish
hi,
have you tried :
http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shree,
U can check with the BPM Collect pattern BpmPatternCollectTime sample scenario in SAP Basis Sofware Component.
In your scenario, you'll have to do a 1:1 mapping(idoc type to abstract of idoc type. This abstract message interface will be the base type for your multiline container) outside BPM which does the appending of your idocs into the container in BPM.
In the example given above, there is a transformation stepin which you will have to do a N:1 mapping(<u><b>depending on the complexity of the structure decide your mapping accordingly</b></u>) and this will club all your idocs into a single file.
Cheers
JK
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.