Application Development 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: 

How to send single person-records with HRMD_A Idoc and change Idoc header?

l_hoeneveld
Explorer
0 Kudos
147

Hello group,

we have different companies in our SAP system (BUKRS). Now when an infotype is changed the changepointers are activated and using program RBDMIDOC we can send Idocs of type HRMD_A to f.i. files. In order to have these files distributed to different parties depending on BUKRS of the person we would like to have HRMD_A to deliver single records, an Idoc for each person and the Idoc header fields for variant and function should be filled so that the partner profile would distribute the Idoc to the partie.

Is this possible? And if yes how?

Regards, Léon Hoeneveld The Netherlands

1 ACCEPTED SOLUTION

Former Member
0 Kudos
86

Have you checked transaction code PFAL?

3 REPLIES 3

Former Member
0 Kudos
87

Have you checked transaction code PFAL?

0 Kudos
86

Transaction PFAL lets me trigger the Idoc manually, but with a job for RBDMIDOC this is automatically.

I found fm RH_HRMD_BLOCK_SIZE in wich you can enhance the code to set the block size for an Idoc-type to 1.

But now I still have to change the Idoc header with an enhancement of user-exit.

HRALE00OUTBOUND_IDOC BADi does not have the functionallity.

Regards, Léon Hoeneveld

0 Kudos
86

I am not sure whether this will help you to solve the problem. Have a look at enhancement RHALE001, components EXIT_SAPLRHA0_004 & EXIT_SAPLRHA0_001.