Skip to Content
avatar image
Former Member

Modifying trave expense form PTRV_EXPENSE_FORM to Z form.

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 22, 2007 at 08:35 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Aug 22, 2007 at 08:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 09:45 AM

    Hi Markus,

    Thanks a lot. It solved the problem.

    Regards

    Vinoth

    Add comment
    10|10000 characters needed characters exceeded