on 2010 May 06 1:49 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
check my new blog covering the topic: /people/otto.gold/blog/2010/05/06/how-to-deal-with-sap-standard-adobe-forms . Hope it will be helpful.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can write code to fetch the starting location in the code initialisation section of the form interface.
For trip details, you can check the starting location from table FTPT_REQUEST.
Thanks & Regards,
Omkar Mirvankar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.