Modifying trave expense form PTRV_EXPENSE_FORM to Z form.
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.
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.