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

Customizing HR Idoc problem

Former Member
0 Likes
744

Hi Gurus!

I want to create a custom IDOC to send some of infotype to FI system.

What I've done is create a Z* one adding some PA segments (IT0000, IT0001, IT0002, etc), I have created the distribution model (BD64), I have set on BD60 transaction MASTERIDOC_CREATE_SMD_HRMD function module (as standar HRMD_A).

I'm not sure if I have to customize something else. I'm trying to distribute the idoc's after update Infotype 0002 (for instance) but the report RBDMIDOC is retrieving the following message: 'No data selected for distribution'.

Can anyone help me to find out what is missing on my customizations?

Thanks in advance!

Moved from SAP HCM to ABAP

3 REPLIES 3
Read only

AFS
Product and Topic Expert
Product and Topic Expert
0 Likes
631

Hi,

have you tried to send the date using PFAL?. I mean, does your type work when you ditribute data without change pointers? - try sending just one employee there, to see if an IDOC is generated,

If it works there, check if you have activated change pointer generally in BD61 and for the message type in V_TBDA2.

Regards,

Ana

Read only

Former Member
0 Likes
631

Hola Ana,

I've tried PFAL transaction and it's working fine, but it is using message type HRMD_A as default and I can't change the field value to my custom idoc ZHR_TM.

I' ve have revised BD61, it is activated, and V_TBDA2 with my entrie ZHR_TM activated too.

It's possible I have to create a custom function module to generate the idoc because it is a custom one? Is there any chance to create idoc's automatically when user change an employee infotype as the case of standar HRMD_A message type?

Thank you for your help. (Gracias por la respuesta!)

Read only

Former Member
0 Likes
631

Hi

I think this would be better answered in the ABAP section than the SAP HCM.

R K