cancel
Showing results for 
Search instead for 
Did you mean: 

Table for PR04 weekly trips with individual dates

Former Member
0 Kudos

We have a couple of ABAPS we are having issues with. these are using tables like PTRV_HEAD & PTRV_SHDR to get trip data. The problem with these tables is they only have a single entry for the week with a Week commencing and week ending date - The data is entered in the weekly view using transaction PR04

What I'm looking for is being able to get the actual day of the week the trip(s) were made, but I can't find where/how SAP stores the data for each individual trip in the week

As an example, if an employee does 1000 miles on Tue 2/8, and 500 on Thurs 4/8. The tables show

Trip 1234, BEGDA 1/8, ENDDA 7/8, Miles 1500

Is there a table that shows something like....

Trip 1234/1, Date 2/8, Miles 1000

Trip 1234/2, Date 4/8, Miles 500

Any help or advice you can give on getting to the individual dates would be appreciated

Thanks

Graham

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Graham

I don't know if this can help you, because we don't use PR04.

"My" Abap programmer used a function called BAPI_TRIP_GET_DETAILS to get data of a concrete trip.

Best regards,

Paco M

Former Member
0 Kudos

Hi Paco, thanks for the response

I'll pass this to our ABAPer to look what it can do

Thanks

Graham

Answers (0)