cancel
Showing results for 
Search instead for 
Did you mean: 

Get Travel data for team calendar from remote system

former_member368169
Participant
0 Kudos

Hi experts,

The ESS Team calendar has an enhancement HRESS_B_TEAM_CALENDAR_ENH whose standard implementation CL_HRMSS_TEAMCALE_TRAVEL Displays trips from the Travel Management module in the Team calendar. This could be a very useful feature, but we are facing a problem here: Our Travel Management runs on a different SAP System, and the enhancement only reads trips from the local system.

We are using the report RPRPAY00 to transfer travel data to our HR System, but this report only transfers trips that are already accounted. These accounted trips (which are usually in the past) show up nicely in the team calendar, but as the team calendar is a planning tool, our users are more interested in displaying the (planned) trips that haven't been accounted yet. These are not transferred by RPRPAY00, and thus not visible in our Team Calendar.

Can anybody help me how to get the travel data from the remote System into our Team Calendar?

Thanks

Alexandre

Accepted Solutions (0)

Answers (2)

Answers (2)

siddharthrajora
Product and Topic Expert
Product and Topic Expert

you would need then RFC call to other sap system to get the data from Travel

former_member368169
Participant
0 Kudos

Thanks Siddharth. Do I understand you correctly that there is no other way than to implement this feature by myself (using an RFC call)?

former_member182426
Active Contributor
0 Kudos

Follow below steps

-> Create one RFC between your HR ECC system to other SAP travel system in t-code SM59

-> Create a BAPI or Remote Function module in both the systems with same Import and Export parameters.

Write the logic to fetch the travel details related to employee. based on import parameter pernr.

-> Now call this RFC in your ECC system like below in your enhancement HRESS_B_TEAM_CALENDAR_ENH

CALL FUNCTION ZHR_EMP_TRIP_DETAILS DESTINATION <RFCNAME>

ChrisSolomon
Active Contributor
0 Kudos

Siddharth gave the answer. Giving a "step-by-step" does not help them learn...just "spoon feeding" them....which invites others to request the same.

former_member368169
Participant
0 Kudos

Thanks Christopher for being concerned about my learning 😉

Actually, the steps described above are not too helpful for me, because we already have an RFC connection and existing remote function modules (as well as standard ALE connections). So I know what to do here. I was just hoping for some existing features that might make this task a bit easier.