cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Report duplicating IDOC

Former Member
0 Kudos

Hello has anybody of you an ABAP Report, that is able to duplicate IDOCs?

Regards Mario

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi!

What is the criteria to send an IDoc to A and B, only to A, only to B?

Can it be found in the payload of the IDoc?

If so then a Business Process within the XI would be a good option. Whithin the Business Process you look at that payload criteria and depending on its value you send the Idoc to A and/or B.

Regards,

Volker

Former Member
0 Kudos

Hi,

You should not duplicate the idoc creation/processing through abap code.

For that there are otherways like conditional routing to one or more business systems as explained.

Thanks,

Tuhin

Former Member
0 Kudos

Hi,

apart from above suggestion. If the IDoc is standard then u can use exit to put some flag in one of the header field to identify where the data needs to go.

Else if thats a custom Idoc then you can dot he same in the report.

Regards

Vijaya

bhavesh_kantilal
Active Contributor
0 Kudos

Mario,

Can you give more details? Requirement sounds pretty interesting.

Regards,

Bhavesh

Former Member
0 Kudos

@ Agasthrui & Volker: I was looking for an ABAP. WE19 was already known.

@Bhavesh:

Our requirements are:

We are testing at the moment a scenario that sends one IDOC to TWO different backend-systems.

But sometimes we just want to send the IDOC to system A; in other cases to system B. And sometimes to both systems.

Our idea was to configure conditions in receiver determination depending of the number range of the IDOC.

Sample.

- If the IDOC number starts with 1, send to system A

- If the IDOC number starts with 2, send to system B

- If the IDOC number starts with 3, send to systems A&B

Thats the reason for the requirement of the ABAP to duplicate IDOCs

Regards Mario

Mario Müller

agasthuri_doss
Active Contributor
0 Kudos

Hi,

From We19 we can re trigger the Idoc is the option I know.

Regards

Agasthrui Doss

Former Member
0 Kudos

You can use EDI Test Transaction WE19 to do so.

Hope this helps.

Regards,

Volker