on 04-30-2010 11:27 AM
Hi Gurus,
My problem is: how to import from SAP HR not only Planned Time data (IT0007 - work schedule), but also the absences (IT2001).
I generally use both RPM_TIME filter through PFAL transaction and by RPM_TIME01 (launched through se38).
Then I verify time data in RPM / cProjects through the transaction rpm_empdata, where the bp availability is recorded.
I read that RPM_TIME also imports to RPM the absences, but actually I'm not able to check them.
Thank you!
Hi Ema,
BAdI 'RPM_PROCESS_DATA' can be used for processing IDoc for availability and absence information. This BAdI is processed when iDocs of message type RPM_TIME are posted. Here one can modify the Availability IDoc as per the Absence IDoc to reflect the correct availability. The Absence records needs to be processed by custom coding as per your requirements. Standard code is not available for absence, as there is no specific table for absences all data is reflected in RPM_BUPA_AVL.
The method to be implemented is 'PROCESS_DATA'. The method has availability and absence infotypes as importing parameters and ET_CUST_TIMEDATA as exporting parameter, which will contain the resulting availability.
I hope this helps.
Best regards,
Silvia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Silvia,
I'm trying to implement the badi you suggest me with the help of a developer.
However, I cannot understand when the function module that calls the badi is launched.
When I execute the report RPM_TIME01 in HR, the idoc is sent to RPM, but the badi is not executed.
Am I supposed to implement anything more?
Thank you very much!
Hi Ema.
The BADI is executed when the IDOC is going to booked in the targetsystem.
Try to write a hard break point in the badi and change the ale distribution, so that the idocs are not automatically getting booked.
Now the debugger should jump to your break point. Thats what i did
Edited by: Malte Jacobi on Jun 13, 2010 12:57 PM
Please check below note
Note 1410642 - Overlapping time frames in business partner availability
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.