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.

Similar Messages

  • Assigning a default value to a field

    Hello Everyone,
           Could you please tell me how to assign a default value to a field in a transparent table, so that while creating an entry even if we don't enter the value, a default value will be assigned.
    Thanks,
    Anbu.

    Like this
    DATA: BEGIN OF itab OCCURS 0,
            field1 TYPE c VALUE 'X'
            field2 TYPE c,
          END OF itab.
    append itab.
    append itab.
    You will have by default X set in both rows for field1.
    Regards
    Marcin
    PS: Ooops I just noticed you meant transparent table but I wrote about internal one. As long as you maintain that table using maintenance view you can use event 05 - When Creating a New Entry and set fixed value for a field there. So whenever you create new entry it will receive that value.
    Edited by: Marcin Pciak on Jun 23, 2010 8:57 AM

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • How to set default value to input field dynamically

    Hello Experts,
    I am using adobe forms inside Webdynpro Java.
    Adobe form is having few input fields where at run time i want to assign default value to those fields.
    How can i do it ?
    Thanks in advance,
    Vinay
    Edited by: VINAY on Feb 24, 2011 6:39 AM

    Hi Mate,
    Just set the value to the webdynpro context fields on view init.
    if its like that will override the values entered by use on the form.
    just check if the default value is equall to the field value if yes leave it, if not dont touch that field.
    does this make sense...?
    Cheers,
    Sai

  • Want to affix a default value to a field in PO creation

    Hi all,
    I want to set the default value for the field 'Account assignment category ' when a certain type of Purchase order is created in all the screens pertaining to Purchase order.
    Please suggest
    regards
    kanishak

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • Field with a default value from another field

    I need to populate a field as the default value from another field that the user inputs. I've tried the scripting that I found from the below Topic in the Archived Forums, but I'm not able to make it work. I've tried numerous variations and still to no avail. I tried to make the scripting work in Acrobat 6 and then decided that maybe I needed to upgrade, so I'm now trying it in Acrobat 8 with no results. Can anyone help?
    Topic
    Acrobat 5 - field with default value of another field
    Ben PF - 03:31am Mar 23, 2007 Pacific
    How can I have a field date2 which has the default value of field date1, but which can be edited by the user if necessary without changing the value of date1.
    I've tried, but I just can't figure it out!
    Any help much appreciated.
    Ben
    | Back to Topic List | Bookmark | Subscribe
    To start a NEW discussion click on the Back to Topic List link and select Add Topic.
    If you are in an archive forum please go up to the main topic list (archives are read only).
    Messages
    2 messages. Displaying 1 through 2.
    First Previous Next Last Show All Messages
    Gene Dianoski - 5:22am Mar 23, 07 PST (#1 of 2)
    This, or some variation of this, should work:
    if(this.getField("date2").value == ""{
    this.getField("date2").value = this.getField("date1).value;
    | Bookmark back to top
    Ben PF - 6:49am Mar 23, 07 PST (#2 of 2)
    Thanks very much.
    I put it in at document level to start, but it didn't run the script automatically when date1 was first filled in, so I have put it in as a mouse exit action in date1 and it works a treat.
    Thanks for your help.
    Ben

    Okay forget what I posted above and lets start over. Go to your first field and under Properties -> Actions Tab -> Select Trigger -> On Blur Run A JavaScript.
    Put this:
    this.getField("myField2").value = event.target.value;
    Make sure that you replace ("myField2") with the actual name of your second field. I just tested this and it works for Acrobat version 6.
    I haven't been doing as much javascripting as I used to, so sometimes I too make some basic mistakes.

  • Default value to a field in PBO

    Hi all,
    I need to set a default value to a fields in a screen.
    But when  i declared field as NUMC , i am not able to store 0 (zero value) into it .
    and also when iam declaring as  integer also iam not able to store 0 .
    Pls anybody let me know how to set the defualt value.
    its urgent

    Hi Madhavi,
    This is the issue with NUMC type field. It will not display zero on the screen. As you want it only numeric field then NUMC not suit your need as it can also store CHAR values. So you better declare it as CHAR field and in the code give error if someone enters CHAR values for that field like below.
    IF l_field CA sy-abcde.
    ERROR -Only numeric values allowed.
    ENDIF.
    Regards,
    Atish

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • How to set the default values of the field of the context.

    Hi Experts ,
    I want to set the default value of the field of the context.
    Where and how this declaration should be done.
    Thanks in Advance.

    In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
    Regards
    Naresh

  • Hello  Guru's,  How to setup default value to a field

    Hello Guru's,,
    will anyone guide me the procedure how to setup a default value to a field in mm01 SAP STD Transaction.
    example: material description  ' xxxxxxx ' , it should be constant for all materials.
    full points for the answer
    PV

    Hi,
    Pls look into it
    These are the way to set the default values.
    Step 1 :
    CONSTANTS : P_MAKTX TYPE MAKT-MAKTX VALUE 'DESCRIPTION'.
    STEP 2:
        SET PARAMETER ID 'MAT' FIELD 'DESC'.
        CALL TRANSACTION 'MM01' AND SKIP FIRST SCREEN.
    If it is useful reward points.

  • Not allows to assign default value to input field using values in datastore

    Hi Masters,
    Consider that I have one input field in a form. I should assign default value to it. I should assign to it, the value which i have stored in a datastore. When i run the application, if i give default value as 123 ,then it is working fine i.e., it is showing 123 in the textfield in form , but if i give the default value as STORE@ProductId, then it is not displaying that value in the form.
    Please help me out.
    Thanks & Regards,
    Kaushik Sreeram

    Hi,
    i faced this problem and here's what i concluded:
    There's no way you can set default value for input field dynamicly, since the default value of input control is caculated only once (i think on initializing of the iView). The input control and the data store are initialized at the same time, STORE@productID is empty that time...
    If you don't need to recieve value through the input field you're trying to initialize, but just to display the value from the store - I suggest you try using another control - Expression Box. It's value is calculated continiously, just like the Label's, and you can refere to it later.
    Regards,
    Yulia

  • Need to add custom field on Create Expense Report in ESS

    Hello all,
    How should i procced  for adding custom field on portal while creating travel expense report.?
    Please help.
    Regards

    Solved

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

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

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

Maybe you are looking for

  • Developing on oracle analytics and custom analytics-approach/best practices

    **I posted this on the OBIEE forum as well, but I am thinking this may be the more appropriate forum now** For those out there using the Oracle BI applications (OPA, OFA) and developing within them and also managing custom analytics projects within t

  • How do I import .mp3 files on a CD to .m4a files in iTunes?

    I have several audio books that are .mp3 files on CDs. Since they are books, they work best in iTunes as .m4b files, which I can convert from .m4a, but when I import to iTunes, the files import as .mp3 files. There's lots of help to go from the .m4a

  • App upload: ERROR ITMS-9000

    Hello world - I'm attempting to upload a DPS app to iTunes; it was built in Adobe App Builder. Upon upload, I'm getting the following error: ERROR ITMS-9000: "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement v

  • How to roll back changes made by other user in nwdi?

    hi all my doubt is. if there are errors in the WD NWDI project (cause developer before me had deleted/ added some of the code which is causing those errors). how to  roll back the code changes which were made by other user. i think through sync optio

  • Help about master detail form

    when i create the master detail form then in the detail report only foreign key column display on detail report. please help me