cancel
Showing results for 
Search instead for 
Did you mean: 

Multi mapping.. is it possible File to Idoc & FIle .. its urgent?????

Former Member
0 Kudos

Hi All,

File to Idoc & File.

I need to pick the file and i need to do multi mapping, so that from the file we can generate

one idoc which has to go to SAP and

one acknowledgment's file and sent back to partner.

Based on the below blog, looks like we can't use Idoc adapter when the target message is Idoc using Multi mapping.

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Can anyone suggest me how i can achieve this scenario without using BPM.??

Regards

Seema.

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Reddy,

If you don't want to use BPM, then you need to create two mapping programs one for File to File and other for File to IDOC.

Now you can configure as simple scenario. One Receiver Determination with 2 receivers in it. Choose the corresponding I/B Interfaces and the mapping programs.

So basically, u need to create one O/B interface and 2 I/B interface.

R u ok with this design?

raj.

Former Member
0 Kudos

Perfect Raj and Swarup.. It Worked.

Client also accepted for this approach.

Alloted the points.

Thanks

-Seema.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The Multi mapping is possible without BPM but not for IDOC as its not part of Java Stack. IDOC adapter is on ABAP stack.

As Raj have suggested,

You could create two different Mappings one for file to IDOC and another for file to file as an acknowledgment.

In Receiver determination you need to use multiple receivers as IDOC --R/3 receiver and the File receiver system.

It will create the IDOC as well as push the acknowledgment to file also.

But incase if you get any problem with sending the IDOC then also you will get successful acknowledgment via file. So directly there will not be any relation between these IDOC and File receivers as an delivery recipt of IDOC.

Here either you have to use the IDOC acknowledgment feature or BPM or Alert notification to get the exact notification about the IDOC posting to receiver system.

Please refer below links

1. IDOC acknowledgment

This Feature is Available under SP 18 and we are on SP16

http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm

Check this document on handling IDOC acknowledgements. This might give you some pointers.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50...

This Feature is Available under SP 18 and we are on SP16

http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm

Check this document on handling IDOC acknowledgements. This might give you some pointers.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50...

How to Handle Acknowledgments for IDoc (NW7.0)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df...

2. BPM

File to IDOC with BPM

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

3. Alert Notification

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config

Thanks

Swarup

Former Member
0 Kudos

Thanks Raj and Swarup,

I will let you know once i done.

Regards

Seema.

Former Member
0 Kudos

Hi Seema,

We have faced the similar problem with file to multiple IDOC.

What we did is.

1) our first scenario is File to SOAP receiver which is simple one to N mapping.

2) Second scenario is SOAP sender to IDOC which is one to one mapping.

Now how this scenario works.

SOAP receiver sends the data one by one to SOAP sneder which is second scenario and second 1:1 mapping will be executed.

And with this design we have resolved the problem.

Thnx

Chirag