Error initiating travel expense form

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.

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.

Similar Messages

  • Travel Expense Form attachment in decision workitem

    Hi all,
    I have converted travel expense report to pdf file format. I used the following logic to attach the pdf file to attachment object container in the workflow
    When i run the workflow attachment is there in decision workitem when i open that it is giving error that 'There was an error opening this document. The file is damaged and colud not be repaired'. Please help me
    call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
    exporting
    src_spoolid = mi_rqident
    no_dialog = space
    dst_device = mstr_print_parms-pdest
    importing
    pdf_bytecount = mi_bytecount
    tables
    pdf = mtab_pdf
    exceptions
    err_no_abap_spooljob = 1
    err_no_spooljob = 2
    err_no_permission = 3
    err_conv_not_possible = 4
    err_bad_destdevice = 5
    user_cancelled = 6
    err_spoolerror = 7
    err_temseerror = 8
    err_btcjob_open_failed = 9
    err_btcjob_submit_failed = 10
    err_btcjob_close_failed = 11
    others = 12.
    DATA: office_object TYPE swc_object.
    DATA: BEGIN OF SOFM_KEY,
             FolderType LIKE SOFM-FOLTP,
             FolderYear LIKE SOFM-FOLYR,
             FolderNumber LIKE SOFM-FOLNO,
             Type LIKE SOFM-DOCTP,
             Year LIKE SOFM-DOCYR,
             Number LIKE SOFM-DOCNO,
             ForwarderName LIKE SOUB-USRNAM,
           END OF SOFM_KEY.
      DATA: REGION LIKE SOFD-FOLRG.
      DATA: FOLDER_ID LIKE SOODK.
      DATA: L_FOLDER_ID LIKE SOOBJINFI1-OBJECT_ID.
      DATA: DOCUMENT_DATA LIKE SODOCCHGI1.
      DATA: DOCUMENT_INFO LIKE SOFOLENTI1.
      DATA: OBJECT_CONTENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
      DATA: OBJECT_CONTENT_HEX LIKE SOLIX OCCURS 0 WITH HEADER LINE.
      DATA: LINES LIKE SY-TABIX, DOCUMENT_TYPE LIKE SOODK-OBJTP.
    *- set default
      IF DOCUMENT_TYPE IS INITIAL.
        DOCUMENT_TYPE = 'PDF'.
      ENDIF.
    *- create office object
    *-- get dark folder
      REGION = 'B'.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
           EXPORTING
                REGION                = REGION
           IMPORTING
                FOLDER_ID             = FOLDER_ID
           EXCEPTIONS
                COMMUNICATION_FAILURE = 1
                OWNER_NOT_EXIST       = 2
                SYSTEM_FAILURE        = 3
                X_ERROR               = 4
                OTHERS                = 5.
      IF SY-SUBRC NE 0.
       MESSAGE E696
               RAISING ERROR_SOFM_CREATION.
      ENDIF.
    *-- create office document
      DOCUMENT_DATA-OBJ_NAME = 'ATTACHMENT'.
      DOCUMENT_DATA-OBJ_DESCR = 'Travel Expense Form'
      DOCUMENT_DATA-OBJ_LANGU = SY-LANGU.
      OBJECT_CONTENT[] = mtab_pdf[].  "NOTE_TEXT[].
    object_content_hex[] = IT_SIMULATION_DATA[].
      DESCRIBE TABLE OBJECT_CONTENT LINES LINES.
    DOCUMENT_DATA-DOC_SIZE = ( LINES - 1 ) * 255 + STRLEN( OBJECT_CONTENT ).
      L_FOLDER_ID = FOLDER_ID.
      if object_content[] is initial.                    
        describe table object_content_hex lines lines.   
        document_data-doc_size = lines * 255.            
      endif.
      call function 'SO_DOCUMENT_INSERT_API1'
        exporting
          folder_id                  = l_folder_id
          document_data              = document_data
          document_type              = document_type
        importing
          document_info              = document_info
        tables
          object_content             = object_content
          contents_hex               = object_content_hex 
        exceptions
          folder_not_exist           = 1
          document_type_not_exist    = 2
          operation_no_authorization = 3
          parameter_error            = 4
          x_error                    = 5
          enqueue_error              = 6
          others                     = 7.
      if sy-subrc ne 0.
    message e696(wl)                             
               raising error_sofm_creation.
      endif.
    *- set export parameter
      SOFM_KEY = DOCUMENT_INFO-DOC_ID.
      swc_set_element CONTAINER 'ATTACH' office_object.

    adobe reader verson 8 only but still I am getting the same error.
    I am trying to pass the pdf tabel data to contents_hex to the FM SO_DOCUMENT_INSERT_API1 but both are having different sturctures. How can sove this problem. I download the pdf table data to pdf file in the pc and again uploaded the pdf file into contents_hex table structure and called the FM SO_DOCUMENT_INSERT_API1, But the work item step in backgroup process download and upload are not working out.
    Please help me out

  • FI-TV: Printing travel expenses form

    Dear experts,
    If I try to print the travel expenses form (SAP ECC 6.0), the windows printers are displayed instead of SAP printers. How can I correct this?
    Thank you in advance,
    Vana Sounta

    Hi,
    Check in user settings- which default printer is set. ADjust as required.
    Regards
    Hein

  • Displaying Travel Expense form as attachment to UWL workitem

    Hi experts,
    We have customized the travel expense workflow that is WS20000040.
    When the requestor raises a travel expense request it goes to the manager for approval in his UWL.
    There by default, according to the standard functionality, when approver clicks the particular work item, he can see an attachment attached to the work item, which on clicking, leads to transaction PR05.
    Within that transaction when he clicks 'Travel Details' only then he can see the PDF for travel expense form.
    Our requirement is, instead of opening the transaction, the PDF should open directly as soon as the approver clicks the link.
    Please help.
    Regards,
    Pranita

    Dear Pranita
    I hope you are well and many thanks for using the SAP Discussion Forums .
    In relation to the scenario that you have described you mentioned the following:
    You have customized the travel expense workflow that is WS20000040.
    When the requestor raises a travel expense request it goes to the manager for approval in his UWL.
    Your requirement is, instead of opening the transaction, the PDF should open directly as soon as the approver clicks the link.
    Ok firstly a point to highlight here is have you attempted to reproduce this issue in more than one browser type? Also is compability mode currently enabled on the web browser platform that you are utlizing.
    Ok in terms of background functionality and the underlying operations of this scenario the predefined actions which occurs once a workitem is clicked in the UWL depends on XML configuration or via the SWFVISU transaction.  By default, the item type configuration for the corresponding work items is set to launch the expense report form.
    If you analyze the UWL configuration file and the travel expense XML e.g. com.sap.pct.erp.ESS/MSS - from UWL administration page, you should be presented with the following:
    ** SAMPLE **
    WS20000040
    <ItemType name="uwl.task.webflow.decision.TS20000131.ECCCLNT100" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.tra.view.TripApprovalView" defaultAction="com.sap.pct.erp.mss.tra.action.DisplayExpenseForm" executionMode="default">
    <ItemTypeCriteria systemId="ECTCLNT140" externalType="TS20000131" connector="WebFlowConnector"/> <CustomAttributes>
    You should be able to set the predefined open action here.
    Also there are two key points to remember when you are working with XML files.
    XML files and the UWL follow the notion of precedence. Therefore once you make a change in the UWL XML the file needs to be reuploaded with a new priority of high in order for changes to come into effect and the UWL Cache needs to be cleared.
    XML files should be backed up and copied so changes can be reverted easily if required.
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy Cronin - Enteprise Portal Support Engineer

  • Error Initiating travel form in transaction TRIP

    Hi
    In transaction TRIP, after clicking change approved travel expense report, travel expense details are displayed. When I click on Results button, it is giving error message: Error while initiating travel form
    Message no. 56568.
    Can someone kindly help what is causing this error?
    Thanks
    Sriram

    Hello Sriram,
    No, only the 24th field in the Other Settlement you should change to 1, please see the F1 help for this field. Furthermore, please check the note 944221 if you want to use PDF form.
    Regards,
    Raynard

  • Travel Expense Form error

    Hi
    When am creating travel expenses and trying to simulate results its giving following error
    Error while initiating form
    Messege No. 56568
    Thanks
    Neha

    Wel thanks for ur patience n replies.
    I think i need to talk to Basis people for the same. its some form error as in PDF settings.
    i jus noticed one thing noe in TRIP if i right click on the trip in th overview are n select display its opening that form in simulation. but when i click on result button its givin that error while initiating th form. So i think its PDF form error settings.
    Thanks
    Neha

  • Portal  ESS error in Travel & Expenses

    Hi All,
    I amn't able to access  "My Credit Card Receipts" through ESS Travel& Expenses overview and getting<b>  500 Internal Server Error</b> and the error is
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(FcTrsCCBuffer.CccBufferGet.CccBufferGet_Output.CccBufferGet_Et_Ccc_Buffer): structure field Guid_Ccc not found
        at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:295)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:669)
        at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:233)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:654)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
    The same error is comming, when
    1. Creating a new expense  report i.e at the time of clicking on " Record Expense" Button .
    2. If i open the existing report to chnage the reciepts.
    I checked my config and its working very well in ECC i.e PR05, PR_Web_1200 & TRIP   Transactions.
    Any help will be greatly appreciated.
    Regards
    PRAG

    Hi ,
    I am faceing some poblem while opening the ESS-> workingTime-->LeaveRequest .I am getting this Error,Could you please help
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sap.aii.proxy.framework.core.JcoBaseList.get(JcoBaseList.java:268)
         at com.sap.aii.proxy.framework.core.AbstractList.get(AbstractList.java:230)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCList.get(DynamicRFCList.java:281)
         at com.sap.tc.webdynpro.progmodel.context.Node$ModelElementList.getElement(Node.java:2549)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
         at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:753)
         at com.sap.xss.hr.lea.form.FcForm.setLeadSelectionForSubtype(FcForm.java:700)
         at com.sap.xss.hr.lea.form.FcForm.setVisibility(FcForm.java:942)
         at com.sap.xss.hr.lea.form.FcForm.prepareCommand(FcForm.java:308)
         at com.sap.xss.hr.lea.form.wdp.InternalFcForm.prepareCommand(InternalFcForm.java:2041)
         at com.sap.xss.hr.lea.form.FcFormInterface.prepareCommand(FcFormInterface.java:116)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.prepareCommand(InternalFcFormInterface.java:1887)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.prepareCommand(InternalFcFormInterface.java:1983)
         at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:299)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:1084)
         at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:204)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface$External.onInit(InternalVcFormEditInterface.java:280)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)

  • Error in Displaying Expense Form

    Hi ,
    I am working on the SAP T&E Module.I am getting an error when i click on the display expense form button.
    The details of the error are as:
    Следующий текст ошибки обработан P92 в системе: *Unable to interpret 0 as a number. Ошибка возникла на сервере приложения pep168_P92_10 и в рабочем процессе 5 .
    Вид прерывания: RABAX_STATE
    Вызов иерархии ABAP:
    Function: Z_3AF_GETREPEXPDETAILS of program SAPLZ_3AF_GETREPEXPDETAILS
    Form: %GLOBAL_INIT of program /1BCDWB/SAPLSM00000004
    Function: /1BCDWB/SM00000004 of program /1BCDWB/SAPLSM00000004
    Form: GET_TRIP_FORM of program SAPLPTRM_WEB_FORMS
    Function: PTRM_WEB_FORM_PDF_GET of program SAPLPTRM_WEB_FORMS
    Function: PTRM_WEB_FORM_GET of program SAPLPTRM_WEB_FORMS
    Method: DISPLAY_FORM of program CL_FITV_POWL_UTIL=============CP
    Method: DISPLAY_FORM of program /1BCWDY/FTOFAGMKXVYB15ZI8Z1K==CP
    Method: IWCI_FITV_UI_DISPLAY_FORMS~DISPLAY_FORM of prog
    Kindly provide pointers for the same.

    Hi Sanjeev,
    Unable to interpret 0 as a number means type of attribute and displayed value is not matching. i.e., not of same type.
    Check this once.
    Cheers,
    Kris.

  • Problem in opening Travel expense form

    Hi All,
    We are using standard workflow (task ID : TS20000118 )for Approve Trip,Approve Travel Request and
    Approve Travel Expense.
    User (Manager) get all the task related to travel request and travel expense in MSS through work flow.
    When user click on Travel request task, the travel request PDF form is open correctly, but when user click on travel expense task , the travel expense PDF form have to open but here also travel request PDF form is open.
    How can i open the Travel expense PDF form when user click on travel expense task.
    can anyone help...?
    Regards,
    Priya.

    Hi,
    Did you get solution for this problem? I am facing same problem.
    Regards,
    Amit

  • Meals per diem error in Travel Expense Report

    Hi All,
    I am getting the below error while creating the Travel Expense report. Meals per diem is not getting calculated. Let me know if i missed any configuration here. Appreciate your help.

    Hi,
    As said by the error message you are missing entries in table T706V : Per diem for meals scaled by hours.
    And here you are missing the entry for trop provision variant "ID" for the country "IN"
    Please start SM30 on view V_T706V to enter meal allowance amounts per countries and per hours.
    Regards,
    Christophe

  • Travel Expense Form -- How to identify which form it is using

    Hello,
    In PR05(Travel Expense Manager), there is a simulate button which will generate standard expense form with expense details.
    I ran into scenario where one user group expenseform is little different from another group employees expense form. i am guessing that user group form is customized. how to identify what is behind scene form which is used.
    Thanks

    Thanks for your response. It seems I identified that it is using ABAP LIST forms.
    I confirming that position 24 for other settlement under TRAVEL EXPENSES CONTROL (EXPERT VIEW )
    Now we have issue identifying which underlying ABAP LIST Form used.
    If any body has any information on this how to identify, please provide information.

  • Travel Schema is Not Appearing in ABAP WebDynp Travel Expense Form

    Hi Experts,
    We are using FIN_TRAVEL_1 business function for travel management in EHP2.
    We are implementing ESS/MSS services for Travel management and corresponding workflows are working perfect.
    Problem is:
    Travel Req. and its Approval are working perfect but when we create Travel Expenses for the corresponding Approved
    Req. - Travel Schema is Not Appearing in the ABAP webdynpro screen in ESS.
    We have already activated integration of Travel Requets with Expenses in the customizing and changed the corresponding
    settings in the schema also.
    ABAP WebDyn in ESS is working perfect if we direct create a Stand alone Travel Expense Report. We are using only Travel Req.
    and Expenses with Miles/KM cumulation. We are Not going for Travel Planning.
    Pls. let me know - If any Settings are missings in "Expert View" of Travel Control or any Customizing setting is missing.
    Do we have to apply some note or any BADI is there ??
    Very Thanks in Advance...
    Kind Regards,
    Edwin

    Hi there
    You need to make sure that you have a trip schema that does not allow overlapping when creating expense report from approved travel request, also check the bindings for your trip schema.
    I think I may have addressed this in  an OSS to you earlier but also check you are using correct resource for WDABAP as delivered with 1076144 
    I think is why it previously worked in your java landscape if you had the trip schemas with bindings defined in the homepage framework

  • Travle Mgmt : Table used:  travel request & travel expenses form input !!!

    HI
    what are all the tables used to store the travel request details of a particular trip & advance amt  / estimated cost details.
    and also explain : bapi_trip_create_data_from  - how we can include the advance amount  when executing the bapi.
    regards
    Giri

    Travel Request data is stored in tables FTPT_REQ* - look at:
    FTPT_REQ_HEAD
    FTPT_REQUEST
    FTPT_REQ_ADVANCE
    FTPT_REQ_ACCOUNT
    FTPT_REQ_REASON
    Travel Expense data is stored in tables PTRV_* and in the PCL1/TE clusters - look at:
    PTRV_HEAD
    PTRV_PERIO
    PTRV_KMSUM
    PTRV_SADD
    PTRV_SCOS
    PTRV_SHDR
    PTRV_SREC

  • Error in Travel & Expense of ESS

    Hi All,
    We have deployed a ESS package in the portal.  And we are able to view some services.
    We are getting the following error, with the Travel and Expense(All My Trips).  Actually all the services under Travel and Expenses are giving some kind of errors.  But i want to check the My Trips and Expenses one.  It is giving the following error.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: no jcoMetadata found for RFC function 'PTRM_WEB_CCNUM_MASKING'! Please verify, that your model is consistent with the ABAP backend: 'RDX'.
    Our HR SP is 34 and EPortal 7(NW 7) and ECC6 is SP 14.
    Can anybody suggest us in correcting this error.
    Thanks & Regards,
    Ravi

    Hi,
    Check all the standard JCo Connections for the standard ESS bp. Are they working properly
    http://help.sap.com/saphelp_erp2005/helpdata/en/8c/cb3042366c0521e10000000a155106/content.htm
    Deep Nain Kundra

  • Error while travel expense posting in payroll

    while post the TRIP expenses cost to HR payroll seperate system, i am getting following error message, "Distribution model not maintained ->Transfer program can not be used". please help me in this issue...............
    Thanks,
    Ramesh

    Hi,
    PLease check the integration.
    Regards,
    Kapil Kaushal

Maybe you are looking for