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

Similar Messages

  • 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.

  • 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

  • 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.

  • 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

  • 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

  • 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

  • OVD 11.1.1.5 Schema Change Not Appearing in Adapter

    I updated the schema in 11.1.1.5 of OVD. I need custom attributes/object classes available for database adapter mappings. The schema screen shows the attributes and object classes as does the schema.user.xml file. The schema.user.xml file is included in the schemas under Server Settings.
    The problem is that when I go to select the object class for the attribute mappings in the database adapter, the new object classes don't appear. I rebooted OVD using opmnctl and the schema changes are still not an option to select in the dropdown menu.
    Any suggestions for fixing this would be great.

    Hi Hamm,
    The fact that you are saying that "hfm text appears using hfm url" can mean that you have not configured the workspace web server after you configured the HFM. Have you done that?
    As another test, have you tried toy connect to HFM via smartview to an existing app?
    Regards,
    Thanos

  • Child node attributes do not appear in ABAP WD

    Hi,
      I have the following context hierarchy (in ABAP WD):
    -Context
    ---Child_Node_A
    Sub_Child_NodeB
    AttributeE_of_Sub_Child_NodeB
    AttributeF_of_Sub_Child_NodeB
    AttributeG_of_Sub_Child_NodeB
    Sub_Child_NodeC
    AttributeH_of_Sub_Child_NodeC
    AttributeI_of_Sub_Child_NodeC
    AttributeJ_of_Sub_Child_NodeC
    AttributeA_of_Child_Node_A
    AttributeB_of_Child_Node_A
    AttributeC_of_Child_Node_A
    The attributes A, B, C of Child_Node_A are displayed in an ALV grid and the idea is that when the user selects a row in the ALV grid and clicks on a button, a popup is to be shown with additional details of the selected row in the ALV.  In this popup, I have some fields which are mapped to the attributes E, F, G of Sub_Child_NodeB and attributes H, I, J of Sub_Child_NodeC.  But when I show the popup the fields are empty.
    I use a supply function in the Component Controller to fill Child_Node_A and its children, so typically when the popup appears I should see the attributes of the Sub_Child_Node B and C which are linked to the lead selection of the ALV grid (i.e.: Child_Node_A), right?
    By the way, I have linked Child_Node_A from the Component Controller Context to the Context of my Main View and Popup View.  Also, I checked in the INIT method of my Main view to see if after the supply function has been called the Sub_Child_Nodes attributes were still there for a given lead selection in the ALV grid and they were.  But in my action handler to show the popup window from my Main view, I checked again to see if the Sub_Child_Nodes attributes were still there and they were not.
    I hope I was clear enough in my explanation.
    Thanks in advance for your help,
    Christian

    Hi Christian,
    We discussed this problem offline, but I would like to give some feedback on what we found out.
    (a) Since Child_Node_A had a supply function that also supplied Sub_Child_NodeB and since Sub_Child_NodeB was a singleton, it was not resupplied. The initial element originated from having Sub_Child_NodeB as 1..1 cardinality. In this case the runtime recreates an initial node element upon invalidation of the node.
    (b) The second problem might be related to the ALV. As the ALV does not support child nodes being present for the data displayed, the assumption is that Sub_Child_NodeB might have been invalidated once the data was copied back from the ALV to Child_Node_A.
    The solution is to have a supply function for Sub_Child_NodeB as well, which will counter any invalidation at any point in time and will restore the original data.
    I am curious if (b) is really the cause of the problem described.
    Best regards,
    Thomas

  • Vendor schema group not appearing in purchasing data of Vendor sub range

    Hi Experts,
    I have created a vendor sub range and when maintaining the purchasing data, the vendor schema group field is not visible.
    Is there any specific settings reqd. after maintaining the sub-range.
    Please provide pointers!!!

    HI Sandeep,
    As i said this is not possible in stanadard SAP.
    Even when you try opening VSR specific Purchasing data, there you will NOT get vendor schema group.
    Reason is, Vendor Schema group will be maintained at Main vendor level. So irrespective of VSR, it will pick pricing procedure in the purchasiong Document.
    VSR:  In the vendor master, you can maintain different data for particular vendor sub-ranges, such as ordering addresses or terms of payment, for example.
    When creating a purchase order with a known vendor, different data is only determined if the vendor sub-range is entered in the initial screen.
    Hope this clears.
    Rgds
    Utsav

  • Line item data does not appear on all master pages - Adobe forms

    Hi Guys,
    I have a problem in Adobe forms as explained below-
    I have a page in the form which has, you can say, a 2 windows or subforms (  Information window/subfirm on top right corner, main on middle of the page ). The data of the main subform is a line item data of delivery. Some parts of the same data need to be printed on the Information subform also. The main subform can overflow  to next pages but the information window will have only very limited data to be printed on one page itself, meaning it does not overflow.
    Now the requirement is that  each line item should be printed on a new page. For example if there are 2 lines items then first line item should be printed on first page. Then there will be a conditional page break and the next line item will be printed on the next page ( I have achieved this using condition page break). The information window will contain information related to corresponding line items. If the first line item data overflows in main then information window of first line item should be printed on first and 2nd page. The second line item should start printing on 3rd page and information window of  3rd page will contain data of 2nd line item.
    I created 1 body page and 1 master page. I created one internal table with data of main window and information window. I put the information window on master page to make it appear on all the pages. 
    This solution unfortunately does not work. The issue is that in case of overflow, 1st page information window shows first line item. 2nd pages shows 2nd line item and 3rd page is blank whereas ideally 1st and 2nd page information window should show first line item and 3rd page should show 2nd line item. This means that master page and body page are not getting linked. If I create the information window on body page itself, it does not repeat on all the pages. Please provide some inputs to resolve the issue.
    Thanks
    Abhi

    Hi Abhinav,
        I am also trying to solve the similar issue. Need to print the internal table data in the Master page.
      Have you resolved this issue. Can you Please share your solution .
    Thanks
    Swarna.

  • Entered Verbiage not appearing in exported PDF version of form

    Hello,
    I have created an online application in Forms Central.  It works great, but if the end-user enters too much verbiage in any of the sections, it is often cut-off in the exported PDF version.  Is there a way to ensure all entered verbiage appears in the exported PDF version of the completed form?
    Thank you.
    -Mark

    Hi,
    And  now you can make the field taller in the design tab, so that you can print all the text.
    Or you can print the Detail view.
    Please refer http://forums.adobe.com/message/5515704#5515704
    Hope it will help you.
    Thanks,
    Ying

  • CodeColoring Not Appearing in Preferences

    I have implemented a custom CodeColoring XML file for
    Dreamweaver CS3. The code coloring itself is working fine. My
    syntax is colored properly in code view. However, my CodeColoring
    scheme does not appear in Dreamweaver's preferences. This makes it
    impossible for an end-user to modify the color scheme.
    Does anyone know why a particular CodeColoring scheme would
    not appear in the preferences? Is there some kind of registration
    required or additional XML tag required to get it to show up there?
    The same CodeColoring XML file works fine in earlier versions
    of Dreamweaver, including appearing in the Preferences.

    Make sure that you have a unique name attribute specified. It
    won't get
    displayed without a name, or it may be overridden if it has a
    duplicate
    name.
    HTH,
    Randy
    > I have implemented a custom CodeColoring XML file for
    Dreamweaver CS3. The
    > code coloring itself is working fine. My syntax is
    colored properly in code
    > view. However, my CodeColoring scheme does not appear in
    Dreamweaver's
    > preferences. This makes it impossible for an end-user to
    modify the color
    > scheme.
    >
    > Does anyone know why a particular CodeColoring scheme
    would not appear in the
    > preferences? Is there some kind of registration required
    or additional XML tag
    > required to get it to show up there?
    >
    > The same CodeColoring XML file works fine in earlier
    versions of Dreamweaver,
    > including appearing in the Preferences.

Maybe you are looking for

  • How do i know if a page is bookmarked

    When I bookmark a page, I see the star turns blue; however, when I return to that page, how can I tell if the page has been bookmarked before. Before the update, there would be a yellow star on the address bar. That is no longer available. Thank you

  • Command in script

    hi experts, in script, in text editor, when we are writing some text, n if space is not sufficient, we take continuous text or extended line, so that that will be displayed continuosly in output. in case when we r writing a command we take /: , here

  • [915 Series] Why is there no RAID option?

    Hi mainboard is MS 7058 V1.0 type of mobo is 915p/g combo it has full options, it has three IDE and four SATA connectors on board. Bios was 1.4, and some time ago I updated to 1.7 it ran off a SATA 160 Gigabyte drive in enhanced IDE configuration tod

  • Effects Custom Bin and Presets missing

    I seem to recall reading about this, but for the life of me I can't locate it. Started up PPro this morning, and went into Effects, and my custom 'Favorites' bin was gone, as were all of my custom Presets.

  • Fix safari search bar? Help!

    I downloaded something online today and rather quickly deleted it. I have looked everywhere in my finder and trash and it all seems to be deleted. But it has done something to my safari search bar which I would like some help fixing! Whenever I searc