FM or BAPI for adding travel expense receipt and mileage?

Hi,
Does anyone know a function module or a BAPI which I can use to add a receipt and another one which I can use to add a mileage claim?
Thanks,
Gill

I've used BAPI_TRIP_CREATE_FROM_DATA (in 4.6C) but it only lets you add a trip you can't maintain one, it only does a call transaction to PR05 so it's not very smart. I had to write my own FMs to do change/cancel, etc...
Cheers,
Jaed

Similar Messages

  • Table for link between Expense receipts and G/L account

    Hello,
    Could you give me the table where we we can see for all "expense receipt" the account of finance (G/L account associated to each expense)
    Thank you in advance

    Hi Tarek,
    Thatu2019s correct what Nandagopal is saying, there is no table where you can see all G/L account associated to each expense.
    However you can see the all your expense type relation to Wage type in view V_T706B4 and then respective wage type relation to symbolic account in view V_T706K.
    Then you can check the link of symbolic account to particular GL account at below IMG Path.
    Financial Accounting / Travel Management / Travel Expenses / Transfer to Accounting
    Please note that the link happens in below manner and we cannot get any direct link between Expense type and GL account.
    Expense Type -> Wage type -> Symbolic Account -> GL Account
    Do let us know for any query.
    Thanks,
    Vaibhav

  • Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery

    hi expert!
    exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
    i know one bapI  BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
      but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
    or other bapi exist for MIGO_GR?
    Best Regard!

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

  • Switching off the buffering of number range for Trips (travel expenses)?

    Hi,
    In Tcode SNRO object RP_REINR has a buffer of 10.
    If this is switched off, it could influence the performance.
    Has anyone had any experience in switching off the buffering of number range for Trips (travel expenses)?
    Thank you.
    Kind regards,
    Linda

    Dear Linda,
    I recall switching off the buffer in one of my projects. We did not encounter any problems, since it was a rare activity. Therefore, I do not expect any performance issues on this matter. Anyway, I presume, one can always switch it back.
    Regards,
    Eli

  • POWL empty for pending travel expenses

    Hi, folks
    We're in a travel management project with ESS/MSS integrated into a Portal (versions: NW Portal 7.0 and ECC 6.0).
    Our problem raise in "Approval travel and expenses" iView (FITV_POWL_APPROVER application). When we launch this iView/application, pending travel expenses table is always empty (even if we use a different user). However, we can see this pending expenses in GUI transaction (PRAP).
    We've made some changes in POWL customizing, but we're able to hide some tabs or something similar, however, we haven't found any customizing related to this behaviour.
    Any help will be appreciated.
    Best regards,
    Sergio Sánchez

    hi
    check whether the below mentioned SAP Notes can help to solve your problem
    1388211 Web: Status des Antrages nach Storno in FITV_POWL_APPROVER 23.09.2009
    1350672 UI Enhancement for Travel Approval: adding tooltip 12.06.2009
    1314796 FITV_POWL_APPROVER: Error in miles/kms cumulation 09.03.2009
    1287152 WEB: Travel requests are missing in worklist of approver 16.12.2008
    1235459 FITV_POWL_APPROVER: Problems with employee list

  • What is d BAPI for reversal of Good Receipt Note(GRN) for movement type 102

    Hi ABAPers,
       I have got requirement like this , I have done Goods Receipt Note (GRN) based on Purchse order Number using '.BAPI_GOODSMVT_CREATE' with 101 movement type.
       But now my requirement is reversal of good receipt note(GRN) based on Material Document Number (or) Purchase Order Number with 102 movement type. what is the bapi name i need to use. and i need to give reason for the reversal of GRN.
    please tell me the field name for reason  in bapi.
    i have searched in the net, but i could not get proper answer to this isse.
    Highly appriciate who gives answer as early as possible. I need to complete this task EOD. please give replies.
    Thanks & Regards,
    Vinay Kumar.

    Hi,
    If your material document has specific movement type i.e. 101, if you cancel document using BAPI_GOODSMVT_CANCEL, it automatically picks associated movement type 102 defined in customizing setting, you don't need to pass 102 explicitly while cancelling.
    I have not seen reason code in this bapi, but it is required to pass reason code then you may try transaction code MBST using BDC.
    Thanks,
    Ashok Veer

  • BAPI for  Reversal of Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    Is there any BAPI for the Reversal of posting the documents Goods receipt Purchase order
    (Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    Try this passing material doc and year.
    * Cancel the goods movement (creates a reversal document)
      CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
        EXPORTING
          materialdocument = g_material_doc
          matdocumentyear  = g_matdoc_year
        TABLES
          return           = i_return.
    Edited by: Raj on May 14, 2008 7:46 PM

  • Travel management: Input tax for each travel expense

    Dear forumers,
    I've got the following problem with input tax.
    I activated input tax for my country variant in Customizing IMG Global settings for each trip provision variant, second option "Input tax per trip expense type".
    I also put the tax code to each travel expense which should be taxed.
    But still amounts are not posted in FI with input tax codes.
    When I tested the situation in Testing system, everything worked fine. Then I did the same customizing in Development in order to transfer to Production system and copied requests to Testing. And from that moment, amounts are posted to FI without taxation even in Testing system. Don't know, what went wrong 'cause everywhere I did the same manipulations.
    Can anyone help me to solve the problem?
    Best regards,
    Eldar.

    Hi
      what is the rule in schema?
      i had similiar problem,  i.e. the tax code is not updated in the FI document.
      can you advice what might go wrong?
      thanks in advance!

  • 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

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

  • FM or BAPI for adding/removing maintenance items(Tcode IP02).

    Hello All,
    I need to change Maintenance plan by adding/removing maintenance items(Tcode IP02). Please let me know availaible FM or BAPI for the same.
    Regards,
    Vimal

    Hi,
    use the following steps to find a BAPI for any transaction
    1.Open transaction SE24.
    2.Now open the object CL_EXITHANDLER in display mode.
    3.Go to the method tab and double click on the method GET_INSTANCE.
    4.Put a break point on cl_exithandler=>get_class_name_by_interface.
    5.Now execute the transaction you want to find BAPI for, it will take you to the above method.
    6.Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the BAPI used for your transaction.
    7.Hit F8 and it will tell you all the BAPIu2019s for your transaction.
    some of the FM's are
    PM_MHIS_UPDATE
    MEASUREM_POINT_UPD_PYEAR
    Regards,
    Manish

  • Diferents expense account for one travel expense type

    Hi (again)!!
    Do you know if it´s possible to do the conversion of symbolic account to diferents expense account having in account the travel´s activities??
    Example:
    Travel expense types: Taxi
    Activity type: presentation
    Expense account: 6290001
    Travel expense types: Taxi
    Activity type: seminar
    Expense account: 6290999
    Where we can implement it??.
    Thank you very much in advance!!

    IN the table T706K , we have field  "Key" which can used as per our requirment
    Variable key for user exit in Travel Management
    This field is not used in the standard version and must keep its initial value.
    It is only relevant if other values are set in a user exit before a table is read.
    Use
    The value of the formal parameter USERS in the routine FORM EXB706K in include RPREX010 of RPRFIN00 is used to read table T706K. Since the parameter USERS is initial in the standard system, the field T706K-USERS also has to be initial in the standard system.
    You have the option to use the user exit in this routine to set values for the formal parameter USERS (for example, depending on trip data) which are used when table T706K is read. This makes it possible to differentiate the symbolic account assignment to a greater extent than in the standard system.

  • BAPI needed for VL32 (Post goods receipt) and VT02 shipment transaction

    Hi,
    We are currently updating quantities and Performing a Post Goods Receipt against all associated inbound deliveries using BDC (VL32).
    Also, updating the completion date of associated shipments by BDC (VT02).
    As part of upgrade intiative ECC 6.0, we are trying to avoid BDC and looking for suitable BAPI's for the above tasks.
    Please help us in this regard,
    Thanks,
    Madhan.

    Hi,
    Please look following BAPI in Tcode BAPI.
    For Transport
    go tp Tcode BAPI --- > Logistic Exection ---> Transportaion .
    For Billing.
    go tp Tcode BAPI --- > Logistic Exection -> Shopping- >Inbound Delivery
    You find many more BAPI in this Transaction.
    BAPI for PGi is BAPI_GOODSMVT_CREATE.
    To change the header details of a shipment use
    SD_SHIPMENT_HEADER_CHANGE
    To change the stage data use
    SD_SHIPMENT_STAGE_APPEND
    SD_SHIPMENT_STAGE_CHANGE
    SD_SHIPMENT_STAGE_CHECK
    SD_SHIPMENT_STAGE_DELETE
    SD_SHIPMENT_STAGE_INSERT
    To add deliveries to shipment use
    SD_DELIVERY_ASSIGN_TO_SHIPMENT
    Thanks & Regards.
    ShreeMohan
    Edited by: ShreeMohan Pugalia on Jul 17, 2009 8:18 AM

  • BAPI for adding text in the delivery Header Text Tab?

    Dear All,
    We are using the SAP standard BAPI to create the delivery Document by inputing sales order number.
    The issue is that the customer is maintaining the Truck number in the delivery Header Level Text Tab, now he wants that he will give the sales order number and truck number as inputs the BAPI as to create the Delivery document and the truck number should appear in the Deliver header level text tab ("Truck No" text object maintained)
    Please suggest asap.
    Regards,
    Javal;

    Dear Javali,
    Have you tried the function module 'CREATE_TEXT' ?
    Check and revert back.
    Thanks & Regards,
    Hegal

  • FM or BAPI for creating purchase info records and purchase conditions

    Hi all,
    i need create purchase info records and purchase conditions from txt-file,
    What FM or BAPI i can used for this?
    Thanks and Regards,
    Andrei

    You can use trasaction SXDA_TOOLS.....
    object type BUS3003
    program type BINP
    program/method RM06IBI0
    but the fields must be sequentially written in the txt, with every space inclusive....

Maybe you are looking for