cancel
Showing results for 
Search instead for 
Did you mean: 

Error initiating travel expense form

Former Member
0 Kudos

Dear Guru's,

We have an issue displaying the Travel Expense form in ESS. We are not using the PDF forms but the HTML , no ADS has been set up and followed the exact steps mentioned in SAP Note 1032311. So we deleted the URL parameter in the URL parameter from the resource and set the PDC path as a non-static URL to the tripform. We deleted also the Iview property ....UsePDF=true.

Next we changed the setting in the Travel Management Expert View refering to Adobe Forms from 0 into 1, and we modified feature TRVFE using the SAP form PTRV_EXPENSE_FORM .

We tested the forms in trx TRIP, PR05 and PR_WEB_1200 and all results were positive since the form is displayed. However using the Iview create travel expenses the ' Error intiating trip forms' remains. The Iview My trips and expenses gives the same negative result trying to display/print the form. However the Iview display trip form seems to do something and is only given the error that the trip parameter for the pernr is missing while previewing it, which is clear since no trip has been selected.

Help needed.

Kind regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Please check you have the correct roles assigned for the URL in PCD path as this is a common cause of this type of error

As per the note..it needs to be;

ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_fol

der/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/

com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_trave

l_expenses/com.sap.pct.erp.ess.tripform

Can you open it from portal in administrator mode?

Also check note 944221 to check the ADS config.

Former Member
0 Kudos

Hi Sally,

Thanks for your respons. The assigned role for the portal path in SAP backend is correct. Also in administrator mode the error remains.

Is ADS a requirement? I tought you could also use ABAP instead of Adobe Forms for this functionality?

Kind regards.

Former Member
0 Kudos

Hi,

Please check the below table.

In table - TA20SWITCH- check the details of your var HTMLFORM_R_P enter X in value column

Former Member
0 Kudos

Hi Sandeep,

Modified the table as you suggested but the issue remains unresolved. The message ' Error initiating form ' remains.

For your interest we are using Ehp1 and made all settings as suggested in SAP Note 1032311.