Trip Expense Types based upon Trip Activity Type

Hi
I have a requirement. I know that Travel Expense Types do have the permissibility based upon "Employee Grouping for Travel Expense Types". This is being done in V_T706B1 in the field 'ExpTy.Permissibility'. Based upon the group the employee belongs to, he/she can have the visibility to the expense type in 'Travel Expense Report'
Now my requirement is can I have the same type of permissibility to travel expense types based upon the Trip Activity type. For example if I choose a trip activity type 'Billable to Customer' in Trvael Request Form I should be able to see expense types AIR, TRAIN while if I choose 'Internal Training' I should be able to see only TRAIN in Travel Expense Report.
Is this possible?

Dear,
Open data element:SPKZL from SE11.
Check the search help name:SH_EXPENSE_TYPES.
Double click on the search help SH_EXPENSE_TYPES.
You can find the search help exit name:PTRV_F4_EXP_TYPE_SH_EXIT
Copy that PTRV_F4_EXP_TYPE_SH_EXIT into a 'Z' function module.
Filter the expense type, in the loop,
loop at spkzls where spkzl in t_spkzl_selopt and sptxt in t_sptxt_selopt.
  ****write ur logic here to filter the expense types based on the activity
append spkzls to spkzls_help.
endloop.
After activating the above z function module, replace the standard function module with 'z' function module in search help exit filed.
Thanks and Regards

Similar Messages

  • Limit expense types based on trip schema

    Hi!
    I know a few people have asked about this subject already, but I haven't fount a thread that solves my problem.
    I want to limit expense types based on trip schemas. This means that for schema 01 the expense types shown would be different than schema 02.
    I have looked at the badi TRIP_WEB_CUSTOMIZING, but it kicks in before the schema is chosen. Is there a badi that will stop after the schema is chosen?
    We are on NW04.
    I hope someone can help!
    Thanks!
    Ellen

    BAdI: Define Additional Checks for Web Dynpro
    Business Add-In: Define Additional Checks for Web Dynpro
    You can define additional checks for each transferred line and/or table for the situations listed below for processing trips in the Web Dynpro interface.
    The Business Add-In TRIP_WEB_CHECK defines and implements the interface IF_EX_TRIP_WEB_CHECK in the class CL_EX_TRIP_WEB_CHECK. The methods of the interface are realized as user exits for customer enhancements in the area of Travel Expenses in the Web Dynpro interface.
    The implementations of a Business Add-In (BAdI) are not considered modifications. They are not overwritten during a release upgrade.
    Standard settings
    The BAdI has the following methods:
    USER_CHECK_LINE_OF_MILEAGE  Edit individual leg of trip and cost distribution miles/kilometers
    USER_CHECK_MILEAGE  Edit all legs of trip and cost distribution miles/kilometers
    USER_CHECK_LINE_OF_RECEIPTS  Edit individual receipt and cost distribution: receipts
    USER_CHECK_RECEIPTS  Edit all receipts and cost distribution: receipts
    USER_CHECK_LINE_OF_ADVANCES  Edit individual advance
    USER_CHECK_ADVANCES  Edit all advances
    USER_CHECK_LINE_OF_DEDUCTIONS  Edit individual deduction
    USER_CHECK_DEDUCTIONS  Edit all deductions
    USER_CHECK_LINE_OF_ITINERARY  Edit individual destination and cost distribution: destinations
    USER_CHECK_ITINERARY  Edit all destinations and cost distribution: destinations
    USER_CHECK_TRIP_COSTS  Cost distribution of trip
    USER_CHECK_GENERAL_DATA  Edit general data and period data of a trip
    USER_CHECK_EDITOR  Edit general texts of trip
    USER_CHECK_RESULTS  Edit travel cost results
    USER_CHECK_CHANGES  Edit changes to trip
    Activities
    You implement the methods as user exits in the SAP menu under Tools -> ABAP Workbench -> Utilities -> Business Add-Ins</> (transaction SE19).

  • Restrict Expense type depend upon Trip Schema

    Hi All,
    I need to restrict Expense types on trip schemas, I have created 2 trip schemas for Domestic Trip and International Trip, I need to restrict those expense types depend upon Trip Schemas.
    Waiting for your responce.
    Thanks,
    Priyanka Dhuke

    Dear Priyanka,
    Srikanth has missed out a node in between. Can you check the below node?
    SAP Customizing Implementation Guide > Financial Accounting (New) > Travel Management > Travel Expenses > Dialog and Travel Expenses Control > Dialog Control > Restrict Travel Expense Types for Trip Schemas.
    When you execute this link, a dialogue opens where you need to enter the trip provision variant and trip schema.
    Enter the expense type and limit the dates.
    Best Regards,
    Raj

  • Change the condition type based on sales document type

    Dear ALL,
    I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP.  I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues.  What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity.  The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value. 
    Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues.  We would need to have the calculation done only on quantities changed in the credit memo request .
    please advice me. your inputs are highly appreciated.
    TIA
    KOGI

    Dear ALL,
    someone please help me with this issue. your inputs are higly helpful.
    TIA
    KOGI

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

  • Activity type E not allowed for equipment entered

    Dear Sir , We are using ETM . Following error is coming while creating  performace based document .
    Activity type E not allowed for equipment entered
    Regards
    Anil

    Give 1 for both type and give it a try.
    for target=actual which is type 5 pls check the link below
    http://help.sap.com/saphelp_46c/helpdata/EN/66/bc6faa43c211d182b30000e829fbfe/content.htm

  • Activity Type at cost center

    Hi All,
    Is Activity types are used only at production cost centers or u can use for any material use in general, i mean, Say i ahve 2 machinerys, i spend bearings and oil for repairs, i called this activity as antifriction. i issue bearings and oil towards this activty to machinery cost center. now i want a report like how much cost i spend on antifriction activity for machine 1 & 2. How should i map my cost ceners to get this report. Can any body tell me what exactly activty types used for?
    Thanks in advance
    Sarayu.

    Hi
    Activity types classify the activities produced in the cost centers within a controlling area. To plan and allocate the activities, the system records quantities that are measured in activity units. Activity quantities are valuated using a price (allocation price).
    In Overhead Cost Controlling, costs based on the activity type are posted separately in fixed and variable portions. When you divide the activities of a cost center into activity types, you should consider whether the costs can be allocated effectively to the activity types.
    You can plan, allocate, and control costs either at the activity type level of a cost center, or at the cost center level.
    You can also assign the activity type of a cost center directly example: deprecitation postings.
    You can assign one activity type, multiple activity types, or no activity types to a cost center.
    I hope this helps.
    Regards
    Kavitha

  • Costing for activity types in CS

    Dear All
    Hope you all are doing well.I want to perform costing on service order based on activity type for Customer Services. These activities should be assigned to service material. How can activities assign to service materail? Currently I have configured  valuation catagories , assign cost elements to value catagories, define activity types,Price planning for activity type and assign these activity types to work center.
    Your immedite response is higly appreciable
    Thank you,
    Nomi

    Dear All
    Really sorry for late reply! DIP Profile helps a lot in Configuring Quotation and Billing document. What I did was
    1. I create activities with the help of CO consultant and give price to the activities type.
    2. Setting performed for DISPLAY OF COST in Maintenance and Service       ProcessingBasic settings for these activities.
    3. Assign Cost element for these activities. 
    4. Assign these activities type to the work center.
    5. Define Services Materials for each activity type so that they can be displayed in my quotation and billing document.
    6. Assign services materials to DIP Profile as such:
    u2022     Define planned cost u2013 Total Record as source.
    u2022     In Material Determination for profile I assign each of my service material to Transfer cost and Quantity and assign respective cost and revenue element of that activity type to the Service material.
    When I create a service order with revenue u201CSM02u201D.I do not specify service material. I assign my activities types in operations and when I calculate costing it sums up all the revenue in costing for planned costs but when I create quotation and billing document for the service order it shows individual material for each activity type and its amount on item data and total is displayed in header data against EK01 condition type moreover planned and actual cost are displayed in service order.
    The problem is, I have not create any condition record nor assign these condition type to my pricing procedure as value is arising from activity type.
    Which condition types can be assigned to pricing procedure so that they can pick up the value of the activity type?
    Thank you
    Nomi

  • Activity Type ---------------kp26 --------------------Suggest

    Hi all
    can any one give good suggestion ..
    my client is asking activity type planning not fixed
    we have 4 activity type
    1) Labour -K.G
    2) Labour -Inch
    3) Machine Hour-
    4) Labour Cost Area
    But main problem
    when we plan in KP26
    There is plan in labour wise
    because one labour is taking some amount
    other labour is taking another amount like 
    pls suggest me
    it is very urgent
    where can plan

    HI Supriya,
    You plan activity-dependent primary costs as follows on a cost center(s)/cost center group:
    By cost element(s)/cost element group
    Based on the activity type(s)/activity type group
    This means that you can plan a fixed amount and a variable amount for your primary costs. Variable costs are the costs incurred in producing a given activity, proportional to the quantity of activity produced. You can calculate target costs based on the costs split and the operating rate (actual activity quantity related to the plan activity quantity). Target costs for costs planned by value are comprised of:
    Plan fixed costs
    Plan variable costs adapted to the actual operating level (= target costs of the actual operating level)
    Example:
    To produce 1000 hours of activity type FST, costs of $400,000 are required. This amount represents the variable costs. The portion of fixed costs, $200,000, is incurred irrespective of the activity quantity.
    For activity-dependent costs, which are planned based on quantity, the following formulas apply:
    Variable target quantity = Variable plan quantity X Operating rate
    Fixed target costs = Fixed target quantity X Fixed price
    + Variable target quantity X Fixed price
    + Fixed target quantity X Variable price
    Variable target costs = Variable target quantity X Variable price
    If useful give me points.
    Venkat

  • How to create Activity type

    How to create Activity type
    below are the details
    x sales MnF Expenses
    y FMS MnF Expenses

    dear sudhir
    KA01 - Create Primary Cost Element for the new activities type.
    KL01 - Create Activity Type tied to the primary cost element.
    regards
    rohit

  • Assignment of default activity type to individual person

    Hi All,
    I have following scenario.
    One maintenance order is created with one operation. Three persons are assigned to the same operation. All these three persons are having different per hour rate and so having different activity types.
    I have mentioned all these 3 activity types in assigned workcenter.
    But while executing in maintenance order I can assign only one activity type in operation tab and so the same is appearing during time confirmation as default.
    I need respective activity types to be appeared by default for each of persons. How can be achived this?
    Sundar

    Hi,
    As 3 different activity types are having 3 different per hour rate, it would better to define sub operations based on the activity type & assign the activity types separately for each sub operations.
    Regards,
    Maheswaran.

  • Created column not showing in the Document Library View for a Custom Content Type based on Document

    We have a custom content type based of Document Content Type. The OOTB "Created" column does not show up in the view as well as in the Site Settings -> Columns.
    But it shows up in the Display Form and Edit Form of the Item at the bottom "Created at " by " " and "Modified by" at by ""
    Would anyone know how to make this column appear as part of the view ?
    thanks,
    Harsh

    Hi,
    They should by default be possible to add to a view. The only reason they would disappear from the UI if someone has changed the attribute of the Field to hidden = true. You can verify that with PowerShell and if so you can use PowerShell to revert the setting
    to false.
    $w = Get-SPWeb http://dev13$f = $w.Fields.GetFieldByInternalName("Created")$f.Hidden$f.Hidden = $false$f.Update()

  • Operations and Activity type.

    Summary :-  A service order was created with an operations.The complete confirmation was done and 3 operations were confirmed. 1st and 2nd operation have same activity type and 3rd has different activity type. A document was created through DIP profile, but it has entry of only 2 materials.We wanted 3 materials. When checked in DIP profile, the summarization of activity type is not ticked; it means it will summarize the activity types.
    Problem:- The activity types should not summarize. We do not want to use the activity summarization in DIP profile in Usage --> characteristics, as if we change that it will affect other documents using the DIP profile. Kindly suggest any other solution for this issue.
    Thanks.

    Hi Satish,
                  In Materail determination define 3 service products
    and in criteria assign those three activity types to those service products so that in billing you will get three materials
    try and pls let me know
    if it is useful to you pls reward me with points
    regards
    Satish

  • How to add new row in KL02 trx - Activity type control data

    Hi guys.
    I am not a FI-CO consultant, but I want to add a row since KL02 transaction within a cost center, with a new fiscal year. When you access KL02 (change activity type), you set the activity type, then press Master Data and the basic screen appears. If you press the Display planning control button, you will see the "Display Activity Type Control Data" List. I wanna add a row for a specific cost center here, because the cost center I refer has not 2011 as fiscal year. I tried to use, since basic screen of KL02, use the Change planning control button, but when I set my cost center and 2011 as fiscal year, the Save button is inactive. Furthermore, I tried to press the Period screen and a message appeared "No data has been entered yet". So I dont know how to add one row for a cost center in the Planning control (Activity type control data) list of the KL02 transaction, specifically for an activity type. Do you know? Thanks in advance

    Hi,
    The list of cost centers in which the activity type is planned is given in KL02 under planning data.  In order to add a new cost center to this, you need to enter the activity type in transaction KP26 for a particular year. 
    Goto transaction KP26
    Give version - 0
    from period 1 to 12
    year - 2011
    cost center - mention the cost center
    Activity type - mention activity type
    goto overview screen F5 and add the plan price for the activity in the cost center.  This step will automatically add new row in the activity type control data.
    Hope this helps.
    Thanks,
    Ram

  • Pricing Condition type triggering based on other condition type

    Hello sir,
    There are some pricing condition types in our system.
    Based on condition records you can trigger one condition type based on other    condition type.
    For eg: PR00 condition type is there and amount is  suppose 1000rs and other condition type is JBED and we made a condition record and put it some percentage so as soon as we some value in PR00 ,JBED condition type is automatically manipulating the value on the base condition record.
    Now i want other than condition record can we trigger one condition type based on other condition type through defining user routine under requirement.
    Suppose we have condition type ABC and some amount i have given and other condition type DEF , i want that amount of DEF condition type should automatically come from the Condition type and it should manipulate according to my routine .
    eg  Condition type    Amount
           ABC                  1000
           DEF                    40
      The value 40 should come as 4% of 1000.
    I am not maintaing any condition record and i want that this should trigger through some requirement created by me.
    i created my routine no 905 and i putted the code inside it.
      if komtl-kschl = 'DEF'.
      komv-kbetr  =   ( komv-kbetr * 4) / 100.
    endif.
    Now problem is that this code is getting trigger when i m giving value in DEF condition type then it is showing 4 % of it.
    But i want as soon as i give value for the condition type ABC and some value 1000
    then after pressing enter , one condition type DEF should automatically come with value 40 that too in display mode ,not in change mode.
    Please suggestions and solutions regarding this matter , I will be grateful to you.
    Manish

    hi
    In V/06 in the calculation type you can see the entries for "D-gross weight" & "E-net weight"
    For the required condition type select the calculation type as gross weight or net weight. Save it.
    In MM01 - create material master, here in BASIC DATA 1 SCREEN you have fields for gross weight & net weight.
    Maintain the condition record in VK11 for the required condition type.
    You can also maintain the scales as required like u said
    1 to 10 kgs -  100 rupees,
    11 to 25 kgs - 1000 rupees.
    Another way could be
    The BEST practice to do it is, use of VOFM routine for price calculation (VOFM-->Formulae).
    Take help from ABAPer and write a routine such that
    if weight = 1 - 10
    price = 100.
    else if weight > 8.
    price = 1000.
    else
    price = 100.
    end if
    but the maintainnance of routine is big problem as u might be having many records
    Hope this will help you
    Vishal

Maybe you are looking for

  • How to check the Memory consumtions and time taken by a Java Program??

    HI all, I want to know how to check for the Memory Usage of an XML Parser. See, a product was developed completely in DOM parser and now I am replacing that thing with SAX Parser Completely, because the DOM parser was taking huge memory as u may have

  • Reduce physical size of image with minimal quality loss

    Hello, I have to fit high res, high quality, images behind a presentation frame, which is only about 800x600. Everytime i reduce the high res images to fit behind the frame, even with bicubic sharper on, the reduction in quality is really bad. Is the

  • Unique Constraint causes AppSetRollbackOnlyException

    I have declared a unique constraint using the following annotation. @Column(name="classname",columnDefinition="varchar(1024)",nullable=false,unique=true) When trying to insert duplicate entities with the same name, essentially violating the constrain

  • SI SATARAID 5 problems

    I have got my new system up and running and it all seems to be working OK, though I'm not sure about the RAID5 setup on the Silicon Image controller.  The RAID GUI opens up and won't let me do anything because it is in a restore redundancy task, with

  • Search Contacts by Company - Nokia N97

    Hello, I'm so happy to have my N97, still in the beginning fase where it is new of course. I'm a little troubled by the way you can look for contacts. The only possibilies is by searching by name? This is suppose to be a Business phone so where is th