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

RBDMIDOC - automatically IDOC

Former Member
0 Likes
870

Hi

After hiring a new employee or changing the position the SAP System should automatically generate and send an IDOC.

I can create a schedule batch-job but I want this driven by an event (is a hire an event??)

But which event I have to select? I the batch menu I can select things like "APO".

How can I realize this?

Thanks

Regards

Flo

Hi

After hiring a new employee or changing the position the SAP System should automatically generate and send an IDOC.

I can create a schedule batch-job but I want this driven by an event (is a hire an event??)

But which event I have to select? I the batch menu I can select things like "APO".

How can I realize this?

Thanks

Regards

Flo

4 REPLIES 4
Read only

dani_mn
Active Contributor
0 Likes
746

Hi,

You can search a user exit in employee hiring and write you code there, for generating IDOC.

Read only

Former Member
0 Likes
746

Hi

use transaction SWEHR2 to link employee hiring to business object event or directly link outbound FM here.

Cheers

Sarfaraz

Read only

0 Likes
746

Hi

Thanks for your answers..but I need some more help...

When I use transaction SWEHR2 I see a table with Object type, IT....

What is a hire exactly?

Person 0000 Actions INSERT...BUS1065 ?

What I have to do now?

The field "Event" is empty, in the field "Function Module" HR_EVENT_RULES_PA0000.

Its only possible to select on of these entries....

Regards flo

EDIT @ Bharani

I have activate all change pointers. This works, but I have to execute the RBDMIDOC report.

I dont want to use any transaction to send an IDOC....

Edited by: flo dams on Feb 2, 2009 2:11 PM

Edited by: flo dams on Feb 2, 2009 2:14 PM

Read only

BH2408
Active Contributor
0 Likes
746

Hi,

Use the change pointers, it is like when ever the there is changes in the data it will auotmatically trigger the idoc.

U need to enter the mesaage type in this .

regards,

Bharani