Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Select receiving system for program RHALESMD

Former Member
0 Likes
597

Hi All,

When I run program RHALESMD in transaction se38H, the information says that the receiving systems are determined on the basis of the distribution model for this message type (HRMD_ABA in our case).

For them moment we have two systeme recieving informatoin for message type HRMD_ABA.

We would like to create a batch job which will run RHALESMD every night, but we only want one of the systems to receive the information from this batch job. (the other system still needs to exist in the distribution model)

Does anyone know if this is possible and which actions to take?

Thanks and kind regards

Mikael

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
514

Mikael, I'm not familiar with this specific program, but it seems that it's similar to RBDMIDOC, which also creates IDocs from the change pointers. The process, in a nutshell, is like this. When this program runs, a master IDoc is created. Then SAP looks at the distribution model and creates the distribution IDocs (might not be the right term) according to the distribution model in BD64. Those IDocs are then sent out, according to their settings.

It is, unfortunately, not possible to prevent the master IDoc creation using this program. However, I believe you can simply delay the IDoc distribution to the other system. When using RBDMIDOC, the second step is to run RSEOUT00 to actually send the IDocs. This program has the partner function/name as a parameter.

2 REPLIES 2
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
515

Mikael, I'm not familiar with this specific program, but it seems that it's similar to RBDMIDOC, which also creates IDocs from the change pointers. The process, in a nutshell, is like this. When this program runs, a master IDoc is created. Then SAP looks at the distribution model and creates the distribution IDocs (might not be the right term) according to the distribution model in BD64. Those IDocs are then sent out, according to their settings.

It is, unfortunately, not possible to prevent the master IDoc creation using this program. However, I believe you can simply delay the IDoc distribution to the other system. When using RBDMIDOC, the second step is to run RSEOUT00 to actually send the IDocs. This program has the partner function/name as a parameter.

Read only

Former Member
0 Likes
514

Mikael,

try to check this badi HRALE00OUTBOUND_IDOC method IF_EX_HRALE00OUTBOUND_IDOC~IDOC_DATA_FOR_RECEIVER_MODIFY

Thanks

Bala Duvvuri