cancel
Showing results for 
Search instead for 
Did you mean: 

Start location added to travel form

liam_wilkinson
Participant
0 Kudos
185

Hi All,

Basically I need to add the start/end location of each trip segment to the travel form, can anybody help?

Currently the form PTRV_EXPENSE_FORM shows the miles and reimbursement amount for each trip segment but i need the start/end location(PTRV_LOC_FROM/PTRV_LOC_TO)......does anybody know how i can do this.

I have found the fields in the structure PTK10 but not able to get that into the interface area as it's a structure not a table, I've also managed to track it down to kmver-loc-to, but I believe this is a cluster???

Liam

View Entire Topic
OttoGold
Active Contributor
0 Kudos

Hello,

I am not sure if I understand the problem, but will try to help anyway. You have a standard form and want to add 2 fields, right?

That means you need to:

- add the fields into the interface

- open the layout and add new field on the form, bind them to their backend data sources from interface

- change the printing program so it fills the new field for you (change the program directly if you want to repair it or to copy it into a Z-program or do some initialization scripting/ABAPing in the interface in backend)

I wonder if you have copied any of the mentioned parts into a Z-object or you´re repairing the standard ones?

Regards Otto

liam_wilkinson
Participant
0 Kudos

thanks for the quick response Otto,

2 fields need adding to a from, I have copied the sap standard form (PTRV_EXPENSE_FORM) to a Z form.

the only adobe forms i have created in the past have been faily straight forward, the problem i'm getting with this one is that i can't find the table which is storing the PTRV_LOC_TO & FROM fields....so I can't even get it to the interface.

Liam

OttoGold
Active Contributor
0 Kudos

I understand your problem, but it´s not quite Adobe-related, right?:)) Did you check if the data you need are not extracted by the SAP standard printing program and are only not displayed? That is quite common.

Get the types of the fields and we can move on:)) Good luck, Otto