cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying trave expense form PTRV_EXPENSE_FORM to Z form.

vinothkumar_g
Advisor
Advisor
0 Kudos

Hi All.

I am trying to modify the travel expense adobe form. So i copied the form <b>PTRV_EXPENSE_FORM</b> to zform.

I added few extra fields in the layout in Z form.

<b>In settings where i have to specify this Z form should be activated instead of std form.</b>

<b>and i need to write the code to fetch few data's and these data fields should be populated to Z form.</b>

Points will be awarded.

Regards,

Vinoth.

Accepted Solutions (1)

Accepted Solutions (1)

vinothkumar_g
Advisor
Advisor
0 Kudos

Hi Markus,

Thanks for your help.

In the transaction PE03 , i am able to see the Z form which i had created and the standard form PTRV_EXPENSE_FORM.

But in portal i am able to see this std form PTRV_EXPENSE_FORM only.

How to replace this std form with 'Z ' form which i had created.

Regards,

Vinoth.

MarkusKlein
Active Contributor
0 Kudos

Hello Vinoth,

ok you have copied the standard T&E form PTRV_EXPENSE_FORM to e.g. ZPTRV_EXPENSE_FORM. So far so good.

What you now have to do is to determine the system that during runtime not the standard form is called, but your custom form. This is done in transaction pe03.

Enter trvfe and you see a tree like structure. To make it easy for you, just replace every occurrence of form PTRV_EXPENSE_FORM with your custom form, save and activate the feature. Log off from the portal and try it again. You should now see your custom form.

regards,

Markus

Answers (2)

Answers (2)

vinothkumar_g
Advisor
Advisor
0 Kudos

Hi Markus,

Thanks a lot. It solved the problem.

Regards

Vinoth

MarkusKlein
Active Contributor
0 Kudos

Hello Vinoth,

the forms relevant in Travel and Expense are maintened in features (transaction PE03)

- Travel <b>e</b>xpense form: TRVF<b>E</b>

- Travel <b>r</b>equest form: TRVF<b>R</b>

- Travel <b>p</b>lanning form: TRVF<b>P</b>

regards,

Markus