Bapi to change travel expense report

Hi,
   I am working on an program to create a travel expense report using the 'BAPI_TRIP_CREATE_FROM_DATA' FM and it is working fine.However,i am unable to change the trip created using this FM.When i use the SAP transaction TRIP,i am able to change the travel expense report created.I am passing the status approved as '3' and account as '1' in the BAPI.Is there any bapi's available to change the travel expense report created?I would appreciate any assistance.
Regards,
Rajiv C

Dear there is no standard Bapi to change the same, However there is one to delete the same( <b>BAPI_TRIP_DELETE</b>) and then you can create the same.
Why you not trying to write a new BApi to change the Trip ( as standard is not available).
See other reply there is step by step process to write a custom bapi.
Just start you will find it intersting.
rewardif useful.
Amit Singla

Similar Messages

  • TCode PRRW: Document Currency not taken from Travel Expense Report Currency

    Hi,
    We created a Trip Request using TCode TRIP and also created Travel Expense Report for the same Trip in which some of the payments were to be made to Vendor. We have Travel expense receipts in currency SGD. After settling the Trip and creating Posting Run, we made postings to FI using TCode PRRW. As a result of TCode PRRW, system considered INR as document currency and made postings in INR (same is also reflecting in the FBL1N report for Vendor).
    Why system is considering INR as document currency instead of SGD as the expense receipts were entered in SGD in Travel Expense Report?
    Regards,
    CMC Team

    Hi Aldo Manuel Sanz Castro,
    Can you please explain in detail what are the changes you had done i am also facing the same problem if you share information in detail alone with screen shot it will very helpful to me
    thanks in advance
    thanks
    Trinath

  • How to view changes to expense reports

    I am trying to find a way of viewing changes to an Expense Report.
    In PR05 there is a history but it does not provide details about the change. I have also looked at PRTE and cluster AEND but again this does not provide the details that our business users require.
    Does anyone know if there is any other way of viewing the detail of changes to an Expense Report?
    On a related issue we have found that in PR05 the approver name is showing as the workflow user rather than the user ID of the person who approved the trip in the Portal. Can this be changed to the actual approver ?
    Thanks for any help with this
    Stephanie

    Hi,
    I think T-code PRTE provides only screen level changes (i.e who , when creates, save or updates by whome)
    For detail level changes in expense reports you need to activate Define History and Archiving of Forms
    V_T702N_R26_R27
    Please note that this is ONLY available with EHP5 BC 605 FIN_TRAVEL_3
    Following is help available
    _________________________________________________________________________Use
    In this step, you can activate the following functions:
    History
    If you activate logging of history, the system logs the changes to travel requests and expense reports. Users can display the history in the following user interfaces:
    Personal object worklists (POWL) for travelers, assistents, and approving managers on the Web Dynpro ABAP-based user interface of Travel Management
    Transactions of the travel expense report in SAP GUI; for example, in the Travel Expense Manager (transaction PR05) or in the Travel Calendar (transaction PR02)
    If you do not activate logging of history, the system automatically logs the changes made to expense reports (as in earlier releases). Users can display the change history only in the transactions of the travel expense report in SAP GUI.
    Storage of Travel and Expense Forms in the Archive
    If you have activated logging of history, you also can define that the travel request forms and expense report forms are to be automatically archived when certain events occur. You can determine which of the following events triggers the archiving of a form:
    When processing of a changed travel request or expense report is handed over from the user who makes the change to another user
    When the status of the travel request or expense report changes
    When a user saves the travel request or expense report
    You can archive the Adobe PDF forms or HTML forms for travel requests and expense reports, but not the forms for travel plans. If you use an ABAP list form, the system first converts this form to an HTML form and then archives the HTML form.
    In the following activities you define which kinds of forms the system uses:
    For travel requests, see Define Enterprise-Wide Control Parameters and attribute HTMLFORM_R_P.
    For expense reports, see Travel Expenses Control (Expert View), Other Settlement, field 24.
    Requirements
    The following prerequisites must be met:
    You have activated the updating of statistical data when trips are saved; see Define Structure of Trip Statistics.
    You have made the basic settings for ArchiveLink; see Basic Customizing for ArchiveLink.
    Note:
    If you want to archive Adobe PDF forms, the document type PDF under Edit Document Classes must contain an entry with MIME type application/pdf.
    If you want to archive HTML forms, the document type HTML under Edit Document Classes must contain an entry with MIME type text/html.
    Standard settings
    By default, history logging is not activated.
    or http://help.sap.com/erp2005_ehp_05/helpdata/en/1e/9467498ee0444f9d06070d3e267364/frameset.htm

  • Create Travel Expense Report link missing in ESS

    Hello Gurus,
    I am unable to see the Create Travel Expense Report link in the ESS Travel & Management tab. I have modified SPRO and details are as below:
    1) In SPRO, I have copied the standard Resource (EMPLOYEE_TRAVEL_EXPENSES_SRV05) and Service (EMPLOYEE_TRAVEL_EXPENSEREPORT05) as new Resource (Z_EMPLOYEE_TRAVEL_EXPENSES_SRV05) and Service (Z_EMPLOYEE_TRAVEL_EXPENSEREPORT05).
    2) I have changed the URL Parameter in Z_EMPLOYEE_TRAVEL_EXPENSES_SRV05.
    3) Later I have deleted the new "Z" Resource and Service that I have created in the SPRO, so that I wanted to default back to the standard.
    After deleting the "Z" Resource and Service in SPRO, I am not able to see the "Create Travel Expense Report" link from the Travel and Expenses area page in portal. Though I was able to execute the iView directly from the Portal PCD.
    Did any one got similar kind of problem ???? 
    Could you please reply with your suggestion or advise how you have fixed this problem.
    Thanks for any help.
    Ram.

    Hi Bharathwaj,
    Thanks for your helpful answer.
    I have checked the Area Page EMPLOYEE_TRAVEL_ERP2005, but I don't see any entry for services.
    It has Area Link Text, Picture Resource, Area Link Type and Link Resource only....
    Can you suggest if I have to see any other setting ??
    Thanks for your help.
    Ram.

  • Attach receipt soft copy against each receipt created in Travel Expense Report

    Hi,
    I want to attach each receipt to each expense line in Travel Expense Report.
    I created one OSS message, for which SAP replied, that
    GUID is the key for the receipts and the attachment will be linked to it. It is possible to attach because the pers.No., TripNo. and the GUID are available.
    I didnot understand what is GUID and how do we activate it?
    Kindly help me to understand.

    Hi Vijay,
    I think there's been some confusion here because it is possible to add attachments to individual receipts in SAP standard (you don't need OpenText).
    It is relatively new functionality because you'll need to be on EHP6 or higher and have activated business function FIN_TRAVEL_4, see details at this link:
    Travel Management 4 - Financial Accounting (FI) - SAP Library
    If you have activated FIN_TRAVEL_4 then check the link below for specific information on how to activate the option to add attachments to individual receipts:
    Transfer of Attachments to Receipts - Travel Expenses - SAP Library
    Hope this helps,
    Jack

  • HR-BW report for Travel Expense report(Urgent, max. points awarded)

    Hi All,
    Could anyone please tell how to write a spec to create a BW report for Travel Expense report. or how can we know from which tables can the data be extracted for Personal number, name of the EE, Trip number, Trip duration, Trip begin date, Trip end date, trip destination,  reason for the trip, total cost, reimbursement amount, paid by company, additional amount, total miles/Km,  cost center, CoAr, Status of the trip
    Its very urgent. Please Help!!!!
    Regards,
    Latha

    Hi Latha,
        PR05 is the Tcode for Travel expense Manager where the data will be posted  and The table is PTRV_HEAD   where the data get stored .
    Regards,
    Narendra Kumar Katuri.

  • Scan receipts and attach to travel expense report (max.points rewarded)

    Hello All,
    Could anyone please tell how the process works in r/3 for scanning receipts and attaching them to travel expense report. Please send any config documents, links or technical specs. Its very very urgent.
    Thanks & regards,
    Latha

    receipts can be attached in PR05

  • Administrator Role for "Create Travel Expense Report"

    Hello Everyone,
    I would like to know if there is any ESS "Role" that is provided by SAP for ESS which allows an administrator to "Create Travel Expense Report" for employees who doesn't have access to computers.
    I would appreciate your help.
    Kind Regards,
    Gopal.

    Hi Sandeep,
    Thanks a lot for your reply. My client wants to completely remove the process of filling in forms for travel expenses claims. So, they are asking us to provide an alternative for the people who don't have any access to computers. Could you suggest a good solution for this scenario. I would appreciate your help.
    Kind Regards,
    Gopal.

  • Can Single Trip have multiple travel expense reports?

    Hi All,
    Can a single trip have more than one travel expense report linked to it?
    My Client requires different travel receipts for a single trip to have different paymnet cycles.
    Say for a single trip (for 20 days) the airfare paid needs to be settled in next 7 days and the hotel will be reimbursed when employee finishes the trip i.e. after 20 days in this ex.
    Can each of these receipts be settled and then posted to finance separately if they are part of the same travel expense report.
    OR can we have different travel expense reports for the same trip which could then be settled and posted to finance individually?
    Regards,
    Amit

    Hi,
    I think you have some diferents posibilities:
    - Let your employees create differents travel expenses in the same period (Define Schema and Individual Field Control).
    - Let your employee modificate a travel expenses whith settlement status:  "settle".
    Marta.

  • 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

  • I just created my 1st travel expense report - Now what shall I do with the original paper?

    Hello,
    I just created my first travel expense report. The original paperwork (e.g. from hotels) had been photographed and assigned as expenses. One question: What shall I do with the original papers? Can I throw them away (which I hope). Or is there any legal / tax-related duty to keep them (which would be stupid).
    - Wolfram

    Hi Wolfram,
    This community is used by all Cloud for Travel and Expense customers, and each customer's travel policy varies.  Please refer to your travel department's policies to confirm what you should do with the paperwork.
    Thank you!

  • Travel Expense Report - Error when changing expense type

    Hi:
    Our system: ESS SP7; NW2004S SP13; ECC 6.0
    In the travel and expense system when the user is editing a rejected expense report - the following error is occuring.
    While changing each line item in an expense report to a different category user is encountering an error. As a result all original info gets dropped out of the fields. This problem did not occur each time the expense type was changed; only twice out of the 6 or 7 lines that the user changed.
    Please advice.

    Hi Folks,
    resolved.
    It is because of posting run mgt - prrw not executed. The documents are virtually posted to FI.
    Thanks,
    Nandagopal C

  • Default Value in Number field in Travel Expense Report

    Dear All
    I have a requirement from my client's side. In the Expense Report, when I coose an expense receipt, say for TAXI, I get a value in the field "Number". I know that the value can be configured or defualted based upon the "From" and "To" date.
    My client needs the number field to get defaulted, based on the "Expense Receipt" chosen. For example if somone chooses "Parking Fees" the number field should get defaulted automatically by the value 3 and if somone chooses "Telephone Expenses" the number field should get defaulted automatically by the value 2.
    Is there in any user exit or anything that takes care of this?

    You may take your ABAPer's help to enhence the report.it would be small change.Might be you need access key for this change from your Basis team.

  • Problem in travel Expense Report

    Hi,
    I configured ESS.
    I'am able to do all functionalities.
    In Travel Management when i create expense report i'am able to see the expense report in pdf format.
    After applying it goes for approval.
    The user who is gng to approve it will get that travel expense request report in UWL.
    When the approvers click on attachment to see the expense report it is giveing an error message.
    "Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 10:42_14/06/09_0009_2030550
    See the details for the exception ID in the log file."
    But the person whos is applying it able to see the expense report but the problem is with approver.
    Can anybody please guide me with a solution.
    With Regards,
    Pradeep.B

    hi
    check your log file. also make sure that the Approver should have proper authorization.

  • Error while create travel expense report - MTR

    Hi all
    I am implementing MTR and as of now I am able to successfully sync the data to the client. Now when I try creating a trip in the client (offline) the following error occurs
    At the travel expense create process "Enter Genera Data" page, there is an input field for mileage, the unit for this is shown as "km" and if I try giving some value in it, it throws the following java exception.
    java.lang.NumberFormatException: empty String
         at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
         at java.lang.Float.parseFloat(Unknown Source)
         at com.sap.mbs.mttcore.util.NFHelper.localizedStringToFloat(Unknown Source)
         at com.sap.mbs.mtr.common.AbstractValidation.extractDecimal(Unknown Source)
         at com.sap.mbs.mtr.common.AbstractValidation.validateFieldLength(Unknown Source)
         at com.sap.mbs.mtr.common.AbstractValidation.validateAllFieldLengths(Unknown Source)
         at com.sap.mbs.mtr.common.AbstractValidation.validateAllFieldLengths(Unknown Source)
         at com.sap.mbs.mtr.mile.process.impl.MileValidationImpl.validateSingleMileForNewTrip(Unknown Source)
    Similar kind of error occurs when I give the amount in the "Expense Receipts" page of expenese create process.
    Had any one come across this error, Do I need to do any changes in the configuration?? Please clarify
    Thanks
    Raj

    Nadia
    Really, I was wondering whether should I keep hands on the java code.  Any ways below are the errors I face when I try to create a trip.
    1) In the "Enter General Data" the step1, the Mileage part it shows as km should be mi. When I try to input any number in there the following error occurs
    empty String - More details
    Component:: trip
    View:: com.sap.mbs.mtr.trip.control.impl.EnterGeneralDataController
    Event:: onNextStep
    Code:: Unknown Error
    java.lang.NumberFormatException: empty String
         at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:983)
         at java.lang.Float.parseFloat(Float.java:222)
         at com.sap.mbs.mttcore.util.NFHelper.localizedStringToFloat(Unknown Source)
         at com.sap.mbs.mtr.common.AbstractValidation.extractDecimal(AbstractValidation.java:227)
         at com.sap.mbs.mtr.common.AbstractValidation.validateFieldLength(AbstractValidation.java:191)
         at com.sap.mbs.mtr.common.AbstractValidation.validateAllFieldLengths(AbstractValidation.java:177)
         at com.sap.mbs.mtr.common.AbstractValidation.validateAllFieldLengths(AbstractValidation.java:152)
         at com.sap.mbs.mtr.mile.process.impl.MileValidationImpl.validateSingleMileForNewTrip(MileValidationImpl.java:307)
         at com.sap.mbs.mtr.mile.process.impl.MileProcessImpl.validateMileForTripGeneralData(MileProcessImpl.java:242)
         at com.sap.mbs.mtr.trip.control.impl.EnterGeneralDataController.validateMile(EnterGeneralDataController.java:1136)
         at com.sap.mbs.mtr.trip.control.impl.EnterGeneralDataController.bindAndValidateMile(EnterGeneralDataController.java:931)
         at com.sap.mbs.mtr.trip.control.impl.EnterGeneralDataController.bindAndValidate(EnterGeneralDataController.java:886)
         at com.sap.mbs.mtr.trip.control.impl.EnterGeneralDataController.onNextStep(EnterGeneralDataController.java:811)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.mbs.core.control.AbstractViewController.process(Unknown Source)
         at com.sap.mbs.core.control.DefaultStateMachine.process(Unknown Source)
         at com.sap.mbs.core.web.FrontServlet.doHandleEvent(Unknown Source)
         at com.sap.mbs.mtt.application.web.FrontServletImpl.doHandleEvent(Unknown Source)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:347)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:689)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost(AbstractMEHttpServlet.java:706)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:313)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:534)
    2) In the same page when I tried to do "Change Cost Assignment" Similar error occurs but at a different Java Class.
    empty String - More details
    Component:: trip
    View:: com.sap.mbs.mtr.trip.control.impl.CostAssignmentViewController
    Event:: onNextEntry_Cost
    SAME ERROR
    3) The 2nd page of the process, "Record Expense Receipt", when I give some value in the Receipt Amount Field, It gives the similar error
    empty String - More details
    Component:: receipt
    View:: com.sap.mbs.mtr.receipt.control.impl.ReceiptListController
    Event:: onNextEntry
    4) Also I am not able to see the Estimates (Estimate Airfare, Estimate .....) in the drop down for Expense Type in the 2nd Page "Record Expense Receipt".
    Thanks
    Raj

Maybe you are looking for

  • Installing Devices Stuck at 98%

    Good morning! I've recently taken control of my company's MDT server and we're running into issues with certain Windows 7 x64 deployments not finishing on our HP Z420's. We know the .wim is fine because we don't always have problems installing, all H

  • Open button does not open image in photoshop?

    Am I doing something wrong? If I edit a CR2 file in Camera Raw 5.1, and the select the open button it does not open the image in Photoshop CS4. Is it not suppose too? Any help would be appreciated, Thanks in advance CoolPix

  • Queries on HBase

    Hi, I have queries on HBase, Is there any document to restore the HBase table created on older cluster to new created cluster Regional Servers are nodes which contains partitioned data will be Azure blob Storage, will there be nearer to table storage

  • Commit Transactions in memory

    Hi forum members! I am running a win7 vmware server 2 host machine with windows 2008 server guest machine. Unfortunately, I deleted/removed (using GUI) the guest machine (without deleting files). I have recreated the guest machine and attached the vm

  • Logical data base VAV

    Hi all, I need to convert the logic written in the LDB VAV to normal report because in my report LDB VAV is used and its taking lot of time to run the report. I have gone through the LDB source code but i did n't get any help. if any one have done an