Travel request creation

Hi,
I am implementing travel for first time.Can anyone tel me where i can create travel requests in the spro nod as i couldnt see any thing related to creation of it. Pls guide me.
Thanks

Hi,
First of all configure all the required configurations and update the required fields in the Employee masters IT 0017 - Travel privileges.
1. Travel manager (T-code: TRIP)
2. Travel Expense Manager (T-code: PR05)
3. Approve Trip (T-code: PRAP)
4. Settle Trip (T-code: PREC)
5. Create Posting Run (T-code: PRFI)
6. Manage Posting Run (T-code: PRRW)
*You can find all the Travel related T-codes in SAP Easy Access--> Human Resources --> Travel Management

Similar Messages

  • ESS600 SP 11  upgrade error in travel request creation

    Dear All,
    We have recenlty up graded to ESS-SP11 package, The intial travel request is coming. But When I click on "dditional destination" or "Review" button , The following dump is coming.
    The same is happening in travel expense as well.
    The error is:
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field TAX_PER_DIEMTAX, complex type class com.sap.xss.tra.tre.model.expenses.Ptrv_Web_General_Data_Int
        at com.sap.aii.proxy.framework.core.JcoBaseTypeData.propagateJcoException(JcoBaseTypeData.java:130)
        at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:751)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValue(DynamicRFCModelClass.java:482)
        at com.sap.tc.webdynpro.progmodel.context.GenericModelClassCopyHelper.setAttributeValue(GenericModelClassCopyHelper.java:69)
        at com.sap.tc.webdynpro.progmodel.context.CopyService.copyCorresponding(CopyService.java:55)
        ... 66 more
    See full exception chain for details.
    Any quick help would be surely awarded with good points.
    Sandeep Kulkarni.

    This is the other error When I click on "Additional destination" button
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ClassCastException: java.lang.Boolean
        at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdpSetObject(NodeElement.java:458)
        at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdSetObject(NodeElement.java:493)
        at com.sap.tc.webdynpro.progmodel.context.NodeElement.setAttributeValue(NodeElement.java:883)
        at com.sap.tc.webdynpro.progmodel.context.NodeElementCopyHelper.setAttributeValue(NodeElementCopyHelper.java:67)
        at com.sap.tc.webdynpro.progmodel.context.CopyService.copyCorresponding(CopyService.java:55)
        ... 71 more
    See full exception chain for details.
    Regards,

  • Need to delete drop down values of activity in travel request portal

    Hi,
    We need to hide/delete few of the drop down values from activity in travel request creation in portal, i know that if we delete in R/3 it will effect here, as per the client requirement we need values in R/3 system but that few of the values should not appear drop down list .
    Regards
    Ganesh

    Hi Ganesh,
    Try the below code in POSTexit of WDDOMODIFYVIEW( ) method of your view
    DATA drp_info       TYPE REF TO if_wd_context_node_info.
    data   lo_node        type ref to if_wd_context_node.
    DATA drp_value_set  TYPE wdr_context_attr_value.
    DATA drp_value_list TYPE wdr_context_attr_value_list.
    DATA index TYPE n.
    DO 5 TIMES.
    index = sy-index .
    CONCATENATE ' Value ' index  INTO drp_value_set-value SEPARATED BY space.
    CONCATENATE ' Value ' index  INTO drp_value_set-text SEPARATED BY space.
    INSERT drp_value_set INTO TABLE drp_value_list.
    ENDDO.
    SORT drp_value_list BY value.
    DELETE ADJACENT DUPLICATES FROM drp_value_list COMPARING value.
    lo_node  = drp_info->get_child_node('GENERAL_DATA').
    drp_info = lo_node->get_node_info(  ).
    drp_info->set_attribute_value_set(
    name = 'T_ACTYPE'  value_set = drp_value_list ).
    Hope this helps you.
    Regards,
    Rama

  • Creation of Travel Request

    Hi,
    Can anyone tell me the name of BAPI/RFC for creating travel request with input options for advance,request,cost distribution,etc.
    Thanks in Advance
    Shruti

    Hi,
    Try to trigger standard workflow when a trip is created. The PDF document will be sent to approver.
    activate any one of these workflows.
    Approve Travel Request  - WS 20000050
    Approve Trip                       WS 20000040
    Thanks and Regards,
    Shilpa

  • ABAP Webdynpro component for travel request - customization

    Hi All,
    In EHP5 ESS Travel Management - Travel expense creation - I want to prevent users from raising the travel expense only after the travel request is approved.
    For this requirement  , ie to modify the FITV_POWL_TRIPS - In this component either i want to disbale the link create /change in travel expense colum  if the travel request is not approved or i want to give a error message on click of travel expense report if the corresponding travel request is not approve.
    If any one has done please let me know how this can be done . If with customising the code is there any way through spro config this can be controlled.
    Thanks
    Thanks & Regards
    Shyam

    You can use P_TRAVL authorisation check for the status field
    Read here
    http://help.sap.com/saphelp_46c/helpdata/en/b6/cda0db49e911d189060000e8322f96/content.htm
    Please kindly read the note 574467. We deliver the BADI
    FITV_PERSNO_AUTH_CHK empty and we provide a documentation on how
    this should work. In your case you should modify the BADI to check your
    multiple structural profile but on how to do this depends on your
    modification.

  • FITE_EXPENSES  -- Available Travel Requests / Plans

    Hi Experts,
    I've got a question concerning the creation of travel expenses and the data acquisition of the respective travel request. Let's say I've sent a Travel Request and it has been approved by the respective approver, i.e. status of the process is "approval" and status of approval is "approved". Now, in the scenario "All my Trips" the user can choose the tabs for travel requests and click on the link "Create" in Tab "Travel Expenses", so the travel request is used as a data template for the travel expense sheet. All is good.
    Alternatively, for some requests posted, at the 'entry screen' of the scenario FITE_EXPENSES, there's a list "Available Travel Requests / Plans" which apparently shows some, but not all travel requests available.
    Now my question is: Where does the generic alv-grid "Available Travel Requests / Plans" get its items from? I've plunged deep into FITV_FPM to find some clues but couldn't fin anything out, it's just too generically programmed...
    The way it is now, there is a redundancy/inconsistency between all my trips --> travel requests, and FITE_EXPENSES --> Available Travel Requests / Plans. This bothers me, because it will be annoying for the end user...
    I hope somebody can clear this up ;-/
    Cheers, Lukas

    I had a look at this and couldnt find anything very useful to be honest!
    Are you kidding? This is exactly the information I was looking for!
    IF sy-subrc = 0.                                                                        "MAWH1494578
        CASE cl_fitv_assistance=>get_req_plan_future( <ls_emp_info>-trip_provision_variant ). "MAWH1494578
          WHEN '0'.                                                                           "MAWH1494578
    *       Remove trips in the future or with existing expense report.                       "MAWH1494578
            DELETE rt_trips WHERE expenses IS NOT INITIAL OR datedep > sy-datum.              "MAWH1494578
          WHEN '1'.                                                                           "MAWH1494578
    *       show all requests and plans!                                                      "MAWH1494578
            DELETE rt_trips WHERE expenses IS NOT INITIAL.                                    "MAWH1494578
          WHEN OTHERS.                                                                        "MAWH1494578
    *       use default -> delete...                                                          "MAWH1494578
    *       Remove trips in the future or with existing expense report.                       "MAWH1494578
            DELETE rt_trips WHERE expenses IS NOT INITIAL OR datedep > sy-datum.              "MAWH1494578
        ENDCASE.                                                                              "MAWH1494578
      ELSE.                                                                                "MAWH1494578
        "Remove trips in the future or with existing expense report.
        DELETE rt_trips WHERE expenses IS NOT INITIAL OR datedep > sy-datum.                  "MAWH1494578
      ENDIF.
    Thanks a lot Sally!
    Cheers, Lukas

  • Travel request

    Can any body provide configuration steps for "Travel Request" for TRIP transaction? Please provide the schema creation steps for Travel request.
    Thanks,

    Dear M D,
    It quite difficult to explain the configuration steps here.
    Best way to go for is from SPRO and see the help documentation it's quite easy to understand.
    I will give you all the tables related to Travel schema whic may help you- V_T706S where you can copy the existing schema and customize according to your requirement.
    TRVCT, TRVFD, TRVCO are the features used...
    Regards
    Vijay

  • Travel Request Approval Scenario via Workflow does not trigger

    Hi guys,
    System Information: SAP ECC 6.0 EHP4 / Using WDA-Scenarios on Portal NW 7.01.
    I'm having trouble understanding/implementing the approval scenario of the Travel Request via Workflow/UWL. POWL isn't usable for us as it isn't flexible enough to process the complex agent assignment rules for the respective approver our (momentarily..) requirements 'dictate' ...
    What I did so far:
    I copied the Workflow Template 200000040 to a custom template (since I'll have to alter it) and activated the Event of Creation for BUS2089. Thus, in SWE2, the respective entry for BUS2089 for the event CREATED has been set by the system. All good so far. When I create a TRIP via PR05 (we are public sector), the event for BUS2089 gets fired in SAPMP56T and the Workflow gets triggered; works out well. However, when I post a travel request in Portal (FITE_REQUEST), the workflow is not getting triggered. I searched for information or similar questions on the forum but didn't find anything. Neither did I find a concrete clue in the View Containers FITE_VC_* etc..
    Could anyone assist me with this? I'm sure I'm missing something very basic here.... -_-
    Bottom line:
    Why is my workflow not getting triggered from creating travel requests via FITE_REQUEST?
    Cheers, Lukas

    SWE2 linkage is activated for my Workflow number (I didn't do it by hand, it's set by the system since I activated the event in my workflowtemplate --> this way actually no inconsistencies can happen).
    SWDD Tests are successful and the Workflow is working well in general. That's why I pointed out in my previous post that the process is working fine when initiated via PR05.
    EDIT: Or maybe somebody knows the part in coding FITV_FPM/FITE_VC* where the workflow should be triggered? It's freaking unfindable, I've been debugging for hours. >:-(
    EDIT: Debugged the entire WDA Frmaework for like five hours...feeling dead inside...someone please tell me from where the workflow gets triggered when saving travel request from portal -_-....
    Edited by: Lukas Weigelt on Dec 5, 2011 2:55 PM
    Edited by: Lukas Weigelt on Dec 5, 2011 7:14 PM

  • ESS Travel - request transportation / accommodation

    Help
    I'm using business package ess of the portal.
    I thought he represented the transaction trip with all its features.
    However I am not finding place to come with information, transportation and accommodations in the functionality of creation of requests for travel.
    I need this functionality in my project.
    Do you have any suggestion.
    Does bp ESS does not have this functionality (request transportation / accommodation)?
    thank you.

    it's does effect your current Portal ESS.
    Only you are upgrading the Backend system to Eh P2 which means for travel you will get additional software component FIN_TRAVL_1 which needs to be activated after upgrading the ECC.
    You can read the  below SAP PROVIDED Notes
    SAP NOTES
    FIN_TRAVEL_1: Business Function Travel Management (New)
    Use
    As of SAP ECC 6.0, Enterprise Extension Travel Management Extension, enhancement package 2 (EA-TRV 602), you can use the business function Travel Management. This business function encompasses the new and extended functions of the Travel Management (FI-TV) component described below.
    New User Interface in SAP Enterprise Portal
    The extended travel management applications in Employee Self-Service (ESS) of SAP Enterprise Portal are based on Web Dynpro ABAP technology. If you activate this business function, SAP Enterprise Portal no longer launches the Web Dynpro Java applications, but rather the new Web Dynpro ABAP applications. Users require new authorization profiles, which are defined in the new standard roles. The following Web Dynpro ABAP applications are available in ESS:
    My Trips and Expenses
    The Personal Object Worklist (POWL) for travelers lists the travel requests, travel plans, and expense reports (travel expenses) for each individual traveler. Travelers run applications from within the POWL; for example, to create a new travel plan using the data from a travel request, or to change the expense report. Travelers also can launch the applications for creating travel requests, travel plans, and expense reports, directly in ESS.
    My Employees
    The POWL for travel assistants lists the travel requests, travel plans, and expense reports for all employees assigned to the assistant. Travel assistants can perform tasks such as creating and changing travel plans for employees, and copying travel plans from other employees.
    Create Travel Request
    Create Travel Plan
    Create Expense Report (Create Travel Expense Report)
    My Travel Profile
    Route Planning
    Unlock Personnel Number
    If certain conditions are given, you can implement the new Web Dynpro ABAP application for the following standard role in Manager Self-Service (MSS):
    Approving Manager
    To implement this new application in SAP Enterprise Portal, you need to provide an iView.
    This application enables you to perform the approval process without SAP Business Workflow and Organizational Management. For more information, see the section that follows.
    New User Interface: SAP NetWeaver Business Client (NWBC)
    Users can run the following role-based Web Dynpro ABAP applications in the NWBC, independent of the new standard roles assigned to those users:
    Traveler
    The POWL and applications are the same as the My Trips and Expenses application in SAP Enterprise Portal. The POWL also provides access to the applications My Travel Profile, Route Planning, and Unlock Personnel Number.
    Travel Assistant
    The POWL and applications are the same as the My Employees application in SAP Enterprise Portal. The POWL also provides access to the applications My Travel Profile (for all employees), Route Planning, and Unlock Personnel Number (for all employees).
    Approving Manager
    The POWL for approving managers lists the travel data requiring approval for all employees assigned to the manager. Approving managers can approve or reject expenses, and send explanatory comments to the employees via e-mail.
    The POWL enables approving managers to define substitutes for limited periods of time, and to act as a substitute for other approving managers.
    Travel Policy Administrator
    Users with this role can execute the following Customizing applications for managing travel policy:
    Change Predefined Addresses
    Define Maximum Rates and Default Values for Expense Types
    Define Maximum Amounts for Hotel Nights
    Define Hotel Catalog
    Define Customer Programs
    Define Agreements Between Travel Service Providers on Customer Programs
    Integration of Travel Requests and Travel Planning
    The areas of travel requests, travel planning and expense reports are fully integrated in the new Web Dynpro ABAP user interface. Users can copy the following travel data:
    When creating travel plans, users can copy data from their travel requests. When users create a new travel plan, the system displays a list of open travel requests, from which users can copy data to the new travel plan.
    When creating expense reports, users can copy data from their travel requests or travel plans. When users create a new expense report, the system displays a list of open travel requests and travel plans, from which users can copy data to the new expense report.
    The POWL of each user shows the status of the user's trips and provides users with easy access to the subsequent actions that are possible (for example, once a travel request is approved, the user can choose Create Travel Plan).
    Integration of Travel Services and Travel Preferences in Travel Requests
    In travel requests, you can specify which travel services are required for the following modes of travel (but you cannot reserve or book them here):
    Flight
    Hotel
    Car rental
    Rail
    Other travel services
    For more information, see the section that follows.
    The system displays the preferences of a traveler based on his or her travel profile. At a later date, you can transfer the data a travel request to a travel plan, and book your trip. Alternatively, you can transmit the travel request to a travel agency, which then books the trip for you.
    Other Travel Services
    In travel requests, you can now specify (but not reserve or book) other travel services. Other travel services include the following:
    Ferry
    Helicopter
    Airport shuttle
    In Customizing you determine which other travel services are displayed and which entries can be made by users. See Other Travel Services.
    Copying of Travel Requests
    Users can copy travel requests. Travel assistants can copy travel requests of one traveler for another traveler, and edit the new request. (Both travelers need to be on the employee list of the travel assistant.)
    Saving of Drafts of User Entries
    The Save Draft function allows users to temporarily save your entries in the applications (except in travel travel planning). The system saves the incomplete entries with the status Open.
    Expense Types per Schema
    To each schema, you can assign those expense types that need to be available in the respective schema. If you do not specify any expense types for a schema, then all expense types stored in the system apply to that schema. You can use this function to create a schema for miscellaneous receipts, which enables employees to enter receipts that are not directly related to a specific trip. These might be expenses for phone costs, office supplies, or promotional gifts on behalf of consultants or sales staff. See Restrict Travel Expense Types for Trip Schemas.
    This function is also available in SAP GUI.
    Advanced Passenger Information
    In travel plans, you can enter additional passenger data for Advanced Passenger Information System (APIS). When a flight is booked, this data is transmitted to the airlines via a Global Distribution System (GDS). In Customizing, for each country key you can determine whether travelersare required to enter APIS data, and which data items are required. See Define Data for Advanced Passenger Information System.
    This function is available only in the new Web Dynpro ABAP user interface.
    Sarbanes-Oxley Compliance
    The following functions have been extended to ensure audit ability of statutory rules, such as those prescribed by the Sarbanes-Oxley Act:
    Credit Card Receipts in Expense Reports
    You can define in Customizing that users cannot delete credit card receipts. See the field documentation under Set Up Feature TRVPA for Travel Expenses Parameters.
    In expense reports, you can itemize your private expenses as separate receipts and allocate them to private expense types (for example, use of mini-bar). This documents the personal portion of expenses in the system.
    Additional Receipt Information in Expense Reports
    When entering expenses, you can specify internal and external participants of an entertainment event in the form of a table under additional receipt information. You can evaluate this information in reporting. In Customizing, for each trip provision variant and expense type, you can determine whether users are required to enter such participants. See Field Control for Additional Receipt Information.
    These enhancements are also available in SAP GUI.
    Use of Scanned Receipts and Adding of Attachments
    If you use optical archives for Travel Management, in expense reports you can display receipts that are scanned into the system. When scanned receipts are allocated to an expense report, the system shows them in the POWLs for travelers, travel assistants, and approving managers.
    Travelers can add attachments to their expense reports (for example, the agenda of a convention). This can be done when creating an expense report or in the POWL. Attachments are linked to the trip number and can be viewed by travel assistants and approving managers.
    Enhancements in Flight Reservations
    Flight reservations have the following new functions:
    You can determine whether the Amadeus reservation system should apply Value Pricer or Master Pricer in fare-driven flight availability queries. You do this with the MASTERPRICER attribute in table TA20SWITCH. See Define Enterprise-Wide Control Parameters.
    The system sorts best-price query results by price, but groups different flight combinations that have the same price. Within these groupings, you can select any combination of outbound and return flights.
    If you have set up a direct connection to a flight reservation system such as TRAVELfusion (in addition to GDS), the system shows the available flights for both reservation systems in the fare-driven flight availability list.
    Enhancements in Bookings at Deutsche Bahn (German Railway)
    Train reservations using NVS (Amadeus) have the following new functions:
    You can book tickets for multiple passengers. You can specify whether each individual passenger has a BahnCard. For international trips, you can enter the age of each passenger, for example, to receive a discount for people under the age of 26.
    You can book tickets, reserve seats, or both.
    When booking a trip, you can request a Bahn-Tix. Then, prior to departure you can pick up the train ticket at any DB ticket machine for intercity rail traffic. At the ticket machine you can identify yourself with your BahnCard, credit card, Eurocheque card, or the order number shown in the booking data.
    Enhancements for Hotel Reservations
    You can sort hotels according to different criteria such as price, star rating, or distance from the address.
    Generic XI Interface to Rail Portals
    As an alternative to using a global distribution system (GDS) to include rail connections in Travel Planning, you can instead use rail portals for this purpose. Using SAP NetWeaver Exchange Infrastructure (XI), Travel Planning provides a generic interface for connections to rail portals. One such connection is the Deutsche Bahn Corporate Portal (also referred to as Bahn Internet Booking Engine = BIBE).
    Generic XI Interface to Flight Reservation Systems
    As an alternative to using a global distribution system (GDS) to include flights in Travel Planning, you can instead use flight reservation systems for this purpose. Using SAP NetWeaver Exchange Infrastructure (XI), Travel Planning provides a generic interface for connections to flight reservation systems. This enables you to book flights with low-cost carriers (LCC) and Web fare deals on the Internet. Travel Planning displays the offers of flight reservation systems as part of the fare-driven flight availability list, together with offers from a GDS.
    Enterprise Services
    Report programs and BAdIs (Business Add-ins) are available for the new Enterprise Services for the following process components:
    Expense and Reimbursement Management
    Travel Management
    Business Data Management
    Personnel Administration
    For more information, see HCM_SRV_CI_1: HCM, Enterprise Services 01 (New).
    Effects on Existing Data
    You can continue using existing travel data without restrictions.
    Effects on Customizing
    The following IMG activities are new:
    If you want to implement the other travel services in the Travel Request component, perform the IMG activities under Travel Request.
    To adjust the processes for the integration of rail portals, use the Business Add-in (BAdI) Adjust Processes for Integration of Rail Portals.
    To configure APIS, perform the IMG activities Define Data for Advanced Passenger Information System and BAdI: Adjust Creation of APIS Elements.
    To assign expense types to schemas, perform IMG activity Restrict Travel Expense Types for Trip Schemas.
    The following IMG activities have been extended:
    To define that users may not delete credit card receipts, perform IMG activity Set Up Feature TRVPA for Travel Expenses Parameters.
    To extend the additional receipt information with the participants in entertainment, perform IMG activity Field Control for Additional Receipt Information.
    To use Master Pricer, perform IMG activity Define Enterprise-Wide Control Parameters.
    See also
    For more information, see the SAP Library under Business Function Sets and Busines
    Regards
    Vijay

  • Error while creating a Travel Request

    Hi All,
    EP 7,ESS/MSS 1.0
    We have a issue in Creating Travel Request in Portal.
    Once we fill all the required entries to create a travel request and click the review button it pops a message saying " Errors have been discovered when checking the Expense Report. Please correct them in order to proceed." .
    When i check the same in backend using the tcode- TRIP, we are able to create the travel request.
    Can some one tell me where we are going wrong and is there any configuration at backend to be done still.
    Thanks,
    NR

    Hi NR
    Ensure that all the variant are properly integrated between Travel & Expenses.
    Also, for testing, removing the integration and test if the pop-up comes back.
    If this helps, pl do reward.
    Thanks
    Narsimha

  • Error while creating Travel request

    Dear All,
    ESS 2005/SP6
        While creating travel request in I am getting following error
    "Errors have been discovered when checking the Expense Report. Please correct them in order to proceed."
    Regards,
    Kamal Rawal

    Hello Kamal
    Did you manage to resolve the issue in relation to "Errors have been discovered when checking the Expense Report."?
    Best Regards
    Roger Earle
    [email protected]

  • Travel request created in ESS is not coming in MSS

    Hi All
    I have created a travel request which is not coming through UWL to MSS.
    I have activated workflow WS20000050 in R/3 . Also requests are coming PRAP transaction.
    Please help.
    Thanks
    Raktim

    Hi ....
    Have you done the Roll up ?
    Since aggregates are there on that cube....until and unless you do the roll up that request will not be available for Reporting...
    Regards,
    Debjani....

  • New field in Travel Request

    Hi friends,
    Happy new year to all,
    Here i am working with a enhancement in create travel request,i am able to add a new field but on saving the data i should add this field value with the standard table data.If Any one added a new field in travel request , Please let me know how to save the new field data with stadard data.i have checked with on_save method in comp control still i did not get a proper idea.
    Edited by: sudheer b on Jan 2, 2012 8:08 AM

    Hello Sudheer,
    I have had an experience of working on such requirement, the SAP Standard T&E module(provided you are using the same) stores data in cluster, if you are adding an additional field to the trip by adding it in the context node then you have to make some specific changes into a number of places, the problem is compounded because you would not be able to hold the custom fields value otside the trip webdynpro component, I would not be able to preempt the specific reuquirement of yours but in a nutshell you have to perform the folloing steps:
    1) capture the field value(say vendor of the expense line item) into a variable, after reading the context node, make sure that you extend all the context node and update the binding(if I remember correctly they are all interface nodes)
    2) save the custom field value(vendor of the expense line item, from the step 1) in some global area, this can be done in many ways, it all depends which option you perfer.
    3) Extend number of sap standard structures like for line item you have to extend PTRV_WEB_RECEIPTS_EXT, PTRV_UTIL_BELEG, PTRV_UTIL_BELEG  etc...etc...also you have to do an enhancement on the function module PTRA_UTIL_RECEIPTS_GET...there are some more function module & structure which depends on your requirement.
    4) extend the SAP Standard function module which saves a trip, there are many function modules which is called for the save.
    There would be number of structure enhancements and they would be kind of duplicating themself....hence I would recomend if you can figure out the number of custom fields you would need and assign all of them to a structure, once that is done, you can assign this structure to all the append structure of the standard tables and structure.
    I am sorry if I am replying you in a sketchy way...but to get the full picture I have to get ypur requirements first....do let me know if this doesn't help!!
    Thanks & Regards
    Abir Chakraborty

  • Change Travel Request Is Not Working

    Hi all,
    I am getting one error for that i need your help.
    I have created one  travel request ( I am using satandard ess application) , after
    creatting travel request i am able to view the created trip , but when i select the created
    trip and click on change button to change the request i am getting following error
    500   Internal Server Error
    SAP NetWeaver Application Server 7.00/Java AS 7.00
    *Failed to process *
    and in trace i got following error
    Full Message Text
    Exception occured during processing of Web Dynpro application sap.com/ess~tra/AllMyTrips.
    The causing exception is nested.
    [EXCEPTION]
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException
    at
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFC
    ModelClassExecutable.java:98)
    at com.sap.xss.ser.xssmenu.fc.MenuLinks.getServiceLink(MenuLinks.java:232)
    at
    com.sap.xss.ser.xssmenu.fc.wdp.InternalMenuLinks.getServiceLink(InternalMenuLinks.java:365)
    at com.sap.xss.ser.xssmenu.fc.FcXssMenu.getServiceLink(FcXssMenu.java:406)
    at
    com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenu.getServiceLink(InternalFcXssMenu.java:491)
    at
    com.sap.xss.ser.xssmenu.fc.FcXssMenuInterface.getServiceLink(FcXssMenuInterface.java:264)
    at
    com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface.getServiceLink(InternalFcXssMenuI
    nterface.java:429)
    at
    com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface$External.getServiceLink(InternalF
    cXssMenuInterface.java:586)
    at
    com.sap.pcuigp.xssutils.navi.FcNavigation.getNavigationTargetServiceWithKey1(FcNavigation.j
    ava:524)
    at
    com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigation.getNavigationTargetServiceWithKey1(In
    ternalFcNavigation.java:390)
    at
    com.sap.pcuigp.xssutils.navi.FcNavigationInterface.getNavigationTargetServiceWithKey1(FcNav
    igationInterface.java:271)
    at
    com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface.getNavigationTargetServiceWi
    thKey1(InternalFcNavigationInterface.java:182)
    at
    com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface$External.getNavigationTarget
    ServiceWithKey1(InternalFcNavigationInterface.java:314)
    at com.sap.xss.tra.fc.utils.FcTraUtils.startApplication(FcTraUtils.java:596)
    at
    com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtils.startApplication(InternalFcTraUtils.java:32
    9)
    at
    com.sap.xss.tra.fc.utils.FcTraUtilsInterface.startApplication(FcTraUtilsInterface.java:334)
    at
    com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface.startApplication(InternalFcTraUtil
    sInterface.java:260)
    at
    com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface$External.startApplication(Internal
    FcTraUtilsInterface.java:489)
    at
    com.sap.xss.tra.vc.allmytrips.VcTraAllMyTrips.tripComponentCreate(VcTraAllMyTrips.java:518)
    at
    com.sap.xss.tra.vc.allmytrips.wdp.InternalVcTraAllMyTrips.tripComponentCreate(InternalVcTra
    AllMyTrips.java:438)
    at
    com.sap.xss.tra.vc.allmytrips.AllMyTrips.onActionCreateChangeExpRepFromRequest(AllMyTrips.j
    ava:444)
    at
    com.sap.xss.tra.vc.allmytrips.wdp.InternalAllMyTrips.wdInvokeEventHandler(InternalAllMyTrip
    s.java:628)
    at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.
    java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseMo
    del.java:420)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.j
    ava:132)
    at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.jav
    a:335)
    at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSessio
    n.java:319)
    at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(Clien
    tSession.java:733)
    at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSessi
    on.java:668)
    at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250
    at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:1
    50)
    at
    com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHa
    ndle.java:73)
    at
    com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionIntern
    al(AbstractApplicationProxy.java:860)
    at
    com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(
    LocalApplicationProxy.java:77)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)
    at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)
    at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseM
    odel.java:755)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel
    .java:717)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.j
    ava:136)
    at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.jav
    a:335)
    at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSessio
    n.java:319)
    at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(C
    lientSession.java:713)
    at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSessi
    on.java:666)
    at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250
    at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:1
    50)
    at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.j
    ava:62)
    at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java
    :53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java
    :401)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.j
    ava:266)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java
    :386)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java
    :364)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalize
    r.java:1039)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pr
    ocess(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFC_Fault_Exception: Fault
    name: SERVICEKEY_INVALID, fault text: SERVICEKEY_INVALID
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1275)
    at com.sap.aii.proxy.framework.core.JcoMarshaler.unmarshalException(JcoMarshaler.java:429)
    at com.sap.aii.proxy.framework.core.JcoProxy.send(JcoProxy.java:78)
    at
    com.sap.aii.proxy.framework.core.AbstractProxy$JcoProxyHelper.send(AbstractProxy.java:173)
    at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:141)
    at
    com.sap.pcuigp.xssutils.menu.model.MenuLinksModel.hrxss_Ser_Getservicelink(MenuLinksModel.j
    ava:237)
    at
    com.sap.pcuigp.xssutils.menu.model.Hrxss_Ser_Getservicelink_Input.doExecute(Hrxss_Ser_Getse
    rvicelink_Input.java:137)
    at
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFC
    ModelClassExecutable.java:92)
    ... 66 more

    Hi
    Check the return message from bapi,what's it showing??Before executing the bapi,put a breakpoint in r/3 system & check what values r getting passed to bapi..
    U can check this in transaction se37,go to ur function module & put external break point over there.
    OR
    Execute BAPI through SAP GUI. if its execute properly do the following steps.
    1. Do you have any mandatory input parameters?.
    (check are you setting mandatory input parameters properly)
    2. If they changed BAPI structure(data type) after model generation you have to model re-import model again.
    Thanks

  • Error when Display/Print my expense report,travel request and travel plan

    Hello experts,
    I had configurated the ADS and ESS successfully.We are using ESS and interactive form now.
    And we had developed some interactive form and they work fine .
    In page "My Trips and Expenses   " , there are 4 tabs " All My Trips","  My Travel Requests","  My Travel Plans " and " My Expense Reports " .
    When I selected one row of table and click button " Display/Print" , I got the error :
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  USEPDF
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException.<init>(PDFDocumentRuntimeException.java:25)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:419)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: pdfSource of InteractiveForm UI element should be populated with pdf binary content in USE_PDF mode
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:351)
         ... 48 more
    Is there any guys had met the problem ? Please give me some suggestions .
    Thank you !
    Best Regards,
    Louis

    Louis,
    can yo make sure that you are doing this "pdfSource of InteractiveForm UI element should be populated with pdf binary content in USE_PDF mode"
    check these links
    https://forums.sdn.sap.com/click.jspa?searchID=18701125&messageID=6070514
    https://forums.sdn.sap.com/click.jspa?searchID=18701125&messageID=6426445
    https://forums.sdn.sap.com/click.jspa?searchID=18701125&messageID=6323600
    Thanks
    Bala Duvvuri

Maybe you are looking for