BAPI or method to modify Trip Expenses?

Hello,
Im looking for a BAPI in order to change the expenses of a trip (transaction PR05) but i dont find.
Do you know any way to change it through a BAPI or method, or my unique alternative is to do a Batch Input?
Thank you,
Manel

Hi  Kanagaraja Lokanathan,
This fm only work for PR01 which is now obsolete , can you suggest me for Transaction PR05.
So that it can change the data for Travel Expenses.
Regards,
Ruchi

Similar Messages

  • Regarding trip expense amount eligibility

    hi friends ,
    i have a scenario like this when ever an employee is creating trip expense report through TC-TRIP,a check sud be there which will checks his eligibility amount against individual expense type it must come in a message or in a seperate field or directly the eligible amount can come.
    how shall i proceed is there badi or user exit is there where i will write my codes.
    please help me ........

    Go to SE24
    Provide Object type as  CL_EXITHANDLER
    Click on GET_INSTANCE method.
    Put Break point at CALL METHOD cl_exithandler=>get_class_name_by_interface
    Now go to Trip Transaction then  you will able to find set of EXIT names.

  • ESS Portal Trip/Expense form only prints the first page

    Good morning;
        Our users reported that when they display a trip/expense via Portal and then right mouse click in order to print the trip, only the first page prints out.  If they go to the SAP Gui and run the TRIP transaction and display the trip in Print Preview form and print it, they get all the pages of the trip/expense printed.
    Has anyone ever run into this strange issue before?
    Thanks.
    Scott.

    Thanks for the quick response.
    I'm assuming that you are refering to the IMG Path:
    Cross-Application Components->Homepage Framework->Resources
    ->Define Resources
    Select activity Define Resources (Change Entries)
    When I check this in the IMG, we do not have a resource called  EMPLOYEE_TRAVEL_TRIPFORM_SRV05.
    Currently we are on ECC 5.0 and note 525862 references Rel 4.6c so I know that those corrections are part of our system.  The 812903 note refers to ECC 6.0 only so this note I believe would not help us.
    Should I add the resource EMPLOYEE_TRAVEL_TRIPFORM_SRV05 to the Configuration?
    I see that note 1140369 references something about the EMPLOYEE_TRAVEL_TRIPFORM_SRV05 resource and has something to do with hight of the Trip form.
    Scott.

  • Trip expense report settlement in case of Inactive Employee

    Hi T&E Experts,
    We are facing a typical problem, in settlement of inactive employee trip expense report.
    Details are as below:
    - One of the employee moved from 1 Organisation to other. His personnel number status in old organisation is showing as "Withdrawn".
    - Some of the credit-card charges on his personnel number are still pending for settlement.
    - The current trip created to settle these charges is in "Approved - To be settled" status.
    - Now we are trying to use "PREC" transaction to settle the trip. Transaction is rejecting the trip, as personnel number is invalid (inactive).
    - Because the trip is still not in "Settled" status, we cannot use PRFI transaction to manually release the trip payment in next posting run.
    We have tried different ways like making the employee active, but nothing is working here.
    > Requesting your inputs to provide way-out in above case.
    > Also is there any standard procedure, which is to be followed in case of settlement of Inactive Employee pending charges ?
    Thanks in advance,
    Aditya

    Would agree with Mathieu in this case, changing the SYS_DATE on the authorization check is probably the most effective way of avoiding this as the authorization check is very strong in Travel for infotype 0000/0002/0017 etc.
    FM CHECK_AUTH_AUTHP.
    *    AUTHORITY-CHECK OBJECT 'P_TRAVL'
    *       ID 'AUTHP' FIELD authp
    *       ID 'BUKRS' FIELD p0001-bukrs
    *       ID 'PERSA' FIELD p0001-werks
    *       ID 'KOSTL' FIELD check_kostl
    *       ID 'PERSG' FIELD p0001-persg
    *       ID 'PERSK' FIELD p0001-persk
    *       ID 'VDSK1' FIELD p0001-vdsk1
    *       ID 'PTZUO' FIELD p0017-ptzuo
    One other point is how you configure the leaving action for an employee who will be terminated (this is done via PR05 in the radio button "Organizational reassignment")
    Whilst it should not be possible to create a trip/expense report for a terminated employee, however as there may still be a need to process expenses with posting to FI/Payroll etc after the termination date
    (Table V_T582A, for the relevant HR infotypes 0000, 0001 and IT017 is relevant here and needs to be maintained) then the leaving action also becomes important.
    Finally, keep in mind that credit card expenses if you use CC clearing go to the error file for inactive employees
    This is mentioned in the wiki Processing credit card receipts and expenses for inactive employees - ERP Human Capital Management - SCN Wiki
    Hope it helps
    Sally

  • What are the methods to modify SAP standard tables?

    hi
    what are the methods to modify SAP standard tables?

    .APPEND structures AND CUSTOMIZING INCLUDES.
    these are the two methods.. but customizing includes we, as a developers do not use.
    generally we use .APPEND structures to modify standard tables.
    note that we need an access key to modify atandard tables.
    we can create an apend structure and add that structure to the standard table at the end.
    note that .append structures should only be added only at the end.
    that is the reason we use .append structures to modify standard tables.as we should not include a field in the middle and disturb the original order of the standard table fields as it may effect many objects depending on the standard table.
    but Some standard tables for which there is a LONG datatype field can never be modified.
    the reason is the LONG datatype field should always be there at the end and also .APPEND strutures should always be there at the end. there will be a conflict. so, some standard tables can not be appended.

  • When to call a BAPI inputexecute method from webdynpro-java?

    Hello... I'm a little concerned about a situation I'm having. The thing is that I'm trying to use the Bapi_Qualiprof_Change bapi with some test and hard coded data for a future application. It works fine if I fill the input profile_add table in the init() method of my view and then directly call the onActionModifyQualification method (inside the same init() where i filled the parameters).
    On the contrary, if I change the code that intializes the data to the onActionModifyQualification or create an special method to initialize it wich is called later with an action button, then it doesn't work.
    After many test I noticed that i have to call the bapi execute method right in the init... is there something I can do to fix it? or is it that i must do it in order to make it work?
    I have my controller's context mapped to the bapi's model and the view context mapped to the controller's one.... is it good or do i have to build a similar structure to capture the parameters before and then copy the values into the controller's context??
    Thanks a lot!!

    Thanks for your answer, but it doesn't let me do that because wdModifyView is static. Therefore if 2 people are trying to use it, it's goning to be all mixed up, isn't it?
    Anyway, what I really want is executing the bapi when I press the button (that's when it should call the action that calls the bapi). But it only works if I call the action in the init method.

  • Trip Expense Approval

    Hi
    We have a requirement as follows :
    1. Manager substitutes his secretary(who is one of his team member) for approval of work itmes through UWL.
    When the secretary raises a trip expense request it comes to the manager as well as back to the secretary in UWL as the user is substitute for the manager .
    In such a scenario Secretary is able to approve their own trip expense request.
    Our requirement is that secretary(initiator) should not be able to approver their own trp expense requests.
    Please suggest us how to implement this functionality (Badi / Workflow/ auhorizations)?
    Thanks

    try to use passive substitutions
    o  Active substitute ruling (for example, for absence due to
       vacations): In this case, the items belonging to the absent
       person are automatically assigned to the substitutes inbox (in
       addition to his own work items).
    o  Passive substitution (for example, for absence due to illness):
       the substitute must explicitly assume the substitution and can
       only view the items of the absent person in this mode.
    You can have a check in BADI for self approval
    check
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/db4302b5ee65dde1000000
    0a155369/frameset.htm

  • How i use bapi as method?

    hi friends.....
    i have BAPI........i want use that BAPI as METHOD for creating task or
    how i use this that BAPI in my workflow template.
    Thanks in advance,
    bhaskar

    You have to create a method on a business object, althoug in most cases this already exists in SAP,
    so first check in SWO1 for the business object if this is already done.
    If not, use, for instance  method change of business object BUS2012 as a reference (go to swo1, type in bus2012, click display, position the cursor on the method change and click button program)
    Kind regards, Rob Dielemans

  • Modify trip receipts using HRTRV_IF_MODIFY_TRIP

    Hi all.
    I'm trying to modify trip receipts using the FM "HRTRV_IF_MODIFY_TRIP", but i'm getting the error: "Field PTk03-PAYCURR. does not exist in the screen SAPMP56T 1300."
    Is this normal? i mean, can i modify the payment currency via this FM?
    If yes, please tell me how to it.
    Regards.
    Gregory

    Please.
    I need help on that.
    Regards.
    Gregory.

  • Whether the trip expense report/trip request has been assigned to a wbs?

    Hi Gurus,
    I need the logic in determing the following:
    - A trip expense report (PR05) has been assigned to a wbs. I have to determine this at header level and item level (individual receipts).
    - A trip request (TRIP) has been assigned to a wbs. I have to determine this at the header level alone.
    Thanks,
    Sukumar.

    Hi there,
    I am not talking about ESS here. I am in ecc6.0. I have the costs assigned for a travel expense report in PR05 at two levels:
    1) At the header level. The cost of the entire travel is assigned.
    2) For each item in the travel expense report. The cost of individual items in the travel are assigned.
    Let me know, if this provides clarity.
    Thanks.
    Sukumar.

  • Bapi or method for opening and closing quantity of material

    Hi Friends,
    Is there any Bapi or Method for Opening and Closing Balence quantity of material
    plz tell me if any.
    Thanks And Regards.
    Devalla T Kr.

    Hi ,
    try this one.
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=15856
    from this code u need to ignore Ztables.
    regards
    Prabhu

  • Problems in Travel Expense Manager (PR05) when somebody modify trips

    Hi,
    I have a problem with   Travel Expense Manager (PR05). In some cases in trips with the status Transf.F/Trnsf.PAY  , if an employee try to change this trip a message appears :
    Changes in settlement past trigger retroactive settlement
    Do you really want to change the trip data?
    If click “yes” and after modify something click  “save” , the status of the trip has changed to “To Be Settl”.
    How can I do to make that nobody can change a TRIP with status Transf.F/Trnsf.PAY  ??
    I hope anybody can help me.
    Thaks a lot,
    EMI DF
    Edited by: Emi DF on Apr 17, 2008 5:42 PM

    Hi,
    To add on with vaibav.....
    Even i had the same issue...
    Please check whether the expense type is coming from our customization or it is coming from a "z" table. If it is coming from that table, you have to add your expense type there also. You can ask your abap guy from where the portal is picking the expense type.
    Hope this helps you...
    Cheers,
    Raj

  • Modify TRIP

    Hi,
    I need to modify transaction TRIP:
    when I insert Expense Receipts, I'd like to convert Amount of Expense Receipt from current Currency to Advance one.
    I already have done the needed coding in user-exit EXIT_SAPMP56T_002 but it's called only at saving.
    Which problems do you find if I'll try to implement a ZTRIP?
    Or, I could try to create a custom dynpro like the standard one (SAPMP56T-3400).
    Eventually, do you know other solutions?
    Thanks,
    Regards.
    RAFFAELE

    Please.
    I need help on that.
    Regards.
    Gregory.

  • LE_SHIPMENT_BADI : method : At_Save, modify fields

    Hi,
    We can not change the vtrlk-trmtyp field.
    We can use the LE_SHIPMENT_BADI, method is at_save.
    Where is fault ?
    if CHA_SHIPMENTS_AT_SAVE is initial.
       CHA_SHIPMENTS_AT_SAVE = IM_shipments_AT_SAVE.
       loop at cha_SHIPMENTS_AT_SAVE-new_vtrlk into waa_vtrlk .
         waa_vtrlk-trmtyp = 'Z700'.
         modify CHA_SHIPMENTS_AT_SAVE-new_vtrlk from waa_vtrlk.
       endloop.
    endif.
    Thanks.

    Hi,
    Check & Pass the correct indicators in FLAG_TRA_COMPLETE.
    A     Shipment data incomplete
    B     Changed shipment data complete, incomplete data missing
    C     All shipment data complete and available
                   No statement on completeness
    Check & Pass correct vaue in TRA_SAVE_CALLER
    FC     Update of shipment costs
    MASS     Mass change for shipment VT06
    LREG     Register list
    LCOM     Complete list
    IDOC     IDoc inbound
    TPS     Transportation planning interface
    CFP     Freight planning by forwarding agent
    IAC0     Tendering (old)
    IAC     Planning and tendering via Internet
    MOB     Status message via mobile devices
    DIA     Shipment dialog
    DIA0     Shipment dialog (old)
    COLR     Collective processing for shipment
    BAPI     BAPI access
    APO     APO transportation planning
    MOB_RF     Radio frequency in shipment

  • Track Changes in Trip Expense Amount

    I have an expense type HOTEL.
    Employee creates a travel expense report and puts 1500 for hotel and saves it.
    Aprrover gets to see that amount, changes it to 1000, and approves it.
    My question is how can I track this that the amount has been changed from 1500 to 1000. In PRTE it shows for AEND one can see who has changed a trip and when. But in BELEG it shows the amount 1000 which is the latest one.
    In contrary, all changes in the Advance can be tracked through VSCH, may be because of different line items for each change.
    I want to track the change in the amount of HOTEL from 1500 to 1000.
    How can I achieve it?

    Hello,
    This is not possible. As long as the trip is not yet posted you cannot track the receipt amount. Unless when it is already posted by changing the trip you get a new version which you can compare with the old version.
    For advance this is difference. The reason is that the advance cannot be change once you have save the trip.
    You can create your own Z report to track this down and use a reporting tool to have a statistic.
    Regards,
    Raynard

Maybe you are looking for

  • In iCal, how can I back up just one calendar?

    I have several calendars set up. How do I back up just a particular one? Thanks!

  • Invalid TLV record error

    Post Author: CHTClay CA Forum: Deployment We have an app that was originally written in VB6 (using the ActiveX viewer) with reports designed in Crystal 8.5.  A new executable was added to the app written in C# that uses (not embedded) two report file

  • How to create a plug-in

    Hi all, I have implemented an e-mail proxy server that proviides security "similar to PGP", and i was wondering how to create my application in the form of plugin for famous e-mail client e.g. OutLook, Thunderbird ..etc?? can any body help me?. Thank

  • Web.Show_document and oracle session

    Hi, I am uploading a file on to Oracle Portal through web util. After this, I am calling the web.showdocument to view the uploaded file. But I am seeing only a blank page. This is the sequence flow. 1. Forms call a procedure which will create a dummy

  • Certain websites not working. Tried a bunch of solutions

    Hello all, I have recently bought a MBP15" late 2013 (running mavericks) and have some issues on the networking side. More specifically some sites (facebook, youtube,google) will not load or load incompletely while other sites ( vimeo, wikipedia, app