cancel
Showing results for 
Search instead for 
Did you mean: 

How to send Multiple Different IDOCS to SAP

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Frnds,

I am working on one scenario JMS to IDOC .i want to send 3 different IDOCS to SAP at a time.

I receive JMS message form JMS queue,My XSLT Mapping will genarate 3 idocs in one message.

<jms>

<OrderCreate>

<OrderChage>

<OrderResponse>

I have to send these different IDOCs as a indiually to SAP at a time.

How to achieve this.?? without BPM any way??

Regards,

raj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you want to avoid BPM,then you need to write a adapter module which will split the incoming payload into multiple IDOC's,then handle each of them separately.

You would be better off doing this via BPM though.

Thanks

Aamir

rajasekhar_reddy14
Active Contributor
0 Kudos

Aamir,

I developed XSLT Mapping it will take JMS message and Split in to one message it contains 3 different IDOCS.Now i want to send these IDOCS to SAP based on some conditions.

is there any way to send different IDocs at a time.

Thanks for your quice response,

Raj

Former Member
0 Kudos

>>Now i want to send these IDOCS to SAP based on some conditions.

Then use BPM.just make sure that you do mapping before BPM.

Thanks

Aamir

rajasekhar_reddy14
Active Contributor
0 Kudos

That means its not possible to send different IDOCS to SAP at a time,any links for reference how to achieve using BPM.

i developed one message mapping to check conditions.

Regards,

raj

Former Member
0 Kudos

Hi Raja,

You can go to message tab in message mapping and can define all the required IDOC's which you want to select.

Cheers,

Aditya

rajasekhar_reddy14
Active Contributor
0 Kudos

If receiver is IDOC multi mapping not possible.

Former Member
0 Kudos

Hi Raja,

If final goal is to post data in SAP then you can pass data as it is to SAP using proxy and inside proxy you can call BAPI_XXXXXXXX ---corresponding posting function module for all three idocs. You can capture error message as well.

If you want to generate an idoc out of it ( since its easy to track and change data), you can call function module "Master_Create_Iodc" inside your proxy and generate idocs( In your case you need to call 3 times to generate three different idocs.).

With this solution you can avoid slow BPM process.

Hope this will help.

Thanks,

Nilesh

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

THANKS

rajasekhar_reddy14
Active Contributor
0 Kudos

THANKS