Travel manager screen - User Data
I have created 1 new field (request dt) in the travel manager screen, appended a structure to PTK99 with this one field. Changed the layout and the flow logic of the screen and all seems to be working fine. Now i am working on a report which displays data from this appended structure ( one field only ) and another table which has person number and the trip number. My question is, since there is no person number or trip number in the structure PTK99, how do i know what 'request dt' belongs to what trip number. Can you please let me know. Do i need to add the trip number as part of the appended structure to PTK99?
Thanks in Advance!
You can use the function module "HRTRV_IF_GET_TRIP" to get the trip information. The function takes the import parameters of employee and trip number. There is an exporting parameter that returns the structure PTK99.
Hope this helps,