‎2011 Jun 02 4:11 PM
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
‎2011 Jun 03 7:26 AM
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
‎2011 Jun 03 9:13 AM
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!)
‎2011 Jun 03 7:28 AM
Hi
I think this would be better answered in the ABAP section than the SAP HCM.
R K