Trip Numbers by Activity Types

Friends,
I want to generate the trip numbers not by personnel area, but by activity type. I have 4 activity types. How can I do that using the exit. Please help.
Regards.

Hi,
In PR10 you have to define a "pseudo" personal area (for example ABCD) and then you create your 4 number ranges (01, 02, 03, 04).
In user exit MP56TFEX (FORM EX_GET_NUMBER) you force the value of 'subobject' to 'ABCD' and then you calculate the number range (field nr_range_nr) according to your Activity type.
Regards,
T&E Consulting.
Christophe DARS
[http://www.te-consulting.fr]

Similar Messages

  • Required entry field "Trip Activity Type" is empty

    In Travel management , when I create a travel request, Activity Type is a required field, I select a activity type when I try to save the travel request I get  this error.
    Required entry field "Trip Activity Type" is empty
    Message no. PTRA_WEB_INTERFACE078

    Hi,
    I think you have to maintain activity type for that year. check KP06 and KP26.
    Regards

  • 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

  • Trip Activity Type in travel planning and travel expenses

    Hi Friends!
    What is the difference between,
    Travel Management -> Travel Planning  -> Trip Rules and Profiles ->Travel Policy  -> Define Trip Activity Types
    and
    Travel Management -> Travel Expenses -> Master Data -> Control Parameters for Travel Expenses -> Control Parameters from Trip Data -> Define Trip Activity Types
    Confused!!!

    Travel Management -> Travel Planning -> Trip Rules and Profiles ->Travel Policy -> Define Trip Activity Types
    comes in the travel request page
    Travel Management -> Travel Expenses -> Master Data -> Control Parameters for Travel Expenses -> Control Parameters from Trip Data -> Define Trip Activity Types
    comes in Travel Expense report.
    It can be used to define the amount for expense types

  • Why I cannot enter an "Activity Type" for a trip with only one destination?

    Hello experts,
    Doing a travel expense the user must specify the type of activity (u201CAu201D, u201COu201D or u201CSu201D) that the trip expense is involved, but this option itu2019s only available when the trip has more than one destination (inside the table u201CAdditional Destinationsu201D):
    [Screen Shot # 1|http://img145.imageshack.us/img145/1789/acttype.jpg]
    [Screen Shot # 2|http://img404.imageshack.us/img404/8812/ptk05.jpg]
    When I make a travel expense report, the field activity does not
    appear, only on additional destination. Why cannot I enter an activity
    type for the first destination, only for additional destination?
    I think that the system should allow to enter an activity on general
    trip data.
    Thanks on advance
    Edited by: Luiz Victor Santos on Apr 20, 2010 10:55 PM

    Hi,
    Sorry I gave you the customizing entry for transaction PR05 and not for TRIP.
    So, go there :
    Tx FITVFELD.
    --> Your Trip Provision Variant. --> Trip Schema --> Travel Manager (Travel Expenses Only) --> General Trip Data --> Trip Itinerary 
    The Field "Trip Activity Type - PTK05_N-KZTKT " should have the parameters "Field Is Visible" and "Field ready for input" checked.
    As you can see, the entry point is in "Trip itinerary" Subscreen and not in "General Trip Data Subscreen".
    This means that unfortunately the Trip Activity Type is not available in the subscreen General Trip Data.
    If I do like this in my test system, in the TRIP tx I can see that the field Activity Type appears also in the subscreen "Mileage and Per Diem Reimbursement". So If I enter my activity type here, then it populates the value in my first destination (in Trip Itinerary) even if I have only one destination.
    Hope this help ;o)
    Regards,
    Christophe

  • Trip activity type permissibility for Expense part

    Dear Experts,
    I would like to use trip activity type permissibility, grouping concepts etc. - as it is possible for Travel Planning - for Expenses in order to be able to differentiate the trip activities as per comany code. All company codes however, are using only one, same trip provision variant and one trip schema - 01.
    Once I´ve mantained the groups and permissibility in Planning part, I have now two fields for Trip actiivty type on the Request screen. I would like to use only one, with permissibility possible. But the client is using only one trip schema, 01. TRV Planning is not being used.
    Is there any way to do it?
    Thank you
    Best Regards
    Emilia

    Hi Emilia,
    I don't understand the problem. There are are three parameters below a schema of a trip provision variant to further distinguish customizing specifications and the overall process flow of FI-TV, these are (trying to loosely translate from German, might not be the exact English wording) KZREA (trip type by law) , BEREI (trip type by company) and KZTKT (trip activity type). Then, additionally, from the planning component, there's PLAN_ACTIVITY_TYPE (trip activity type only relevant for the planning module, has no function for the rest of FI-TV whatsoever).
    I'm not really sure what confuses you, but if you do NOT use FI-TV-PL, then you can just disable PLAN_ACTIVITY_TYPE in FITVFELD_WEB and all is good.
    Cheers, Lukas

  • Actual activity price does not exist for cost center / activity type

    Hi,
    We are trying to upload the time sheet related data(number of hours an employee workred on a project) ect from Non SAP to SAP.
    We have used a customized program and have loaded the data from se38.
    All this HR data will be saved in CAT2
    Later we transfer the time related data into SAP FI/CO using CAT7.
    +When  tested  with a couple of employees time sheets, they got uploaded in SE38 proerly and when transfered it through CAT7 it was properly taking the hour*rate is cost and was reflecting in the respective cost element.
    For a few time sheets in SE38 we were getting an error saying that the cost center(100501)/ activity type(EAT001) does not exist for 2010.
    Hence we have taken, FY 2010, the cost centes and activity types in KP26 and have given the planned Activity as 1. No planned cost in KP06.
    We have run the price calculation forr the FY 2010.
    Then we were able to uplaod the time sheets, but when we tried to transfer the data through CAT7, it throws an error saying no activity price exist for cost center 100501/ activity type EAT001. If I ignore the warning an proceed, no amount is being calculated.
    When uploaded employee time sheets before, all the cost were getting claculated and were entering into  the respective cost elements, but now no amounts are being calculated and it is taking Zero.
    When checked the previous years data i.e, 2009 all amounts are fine, in KSII I can see the activity quantity filled with some numbers in 2009, where from are they comming? I have checked KBk6 nothing was mentioned.
    PLease assit
    Regards,
    shilpa

    Hi
    I never used CAT* though, but the error means that you need to maintain a activity price in KBK6 (Actual price)
    Regards
    Ajay M

  • Configuration needed for setting revaluation of activity type rates

    Hi,
    I'm not sure about the obligatory settings I should make in order to configure revaluation of activity type rates.
    I know that I have to set sth in Plan version and that I have to fill the Activity Type master data in a different way than if I used them without revaluation.
    Can you tell me about the settings I should make?
    Thanks and regards,
    Karol

    Hi Karol
    Yes u r right u need to first set in plan version and after that its the client's discipline on transaction entry that drives this requirement.
    1)  If the transaction data is not posted correctly then activity hours will be vague and distorts the price. 
    2)  You can do manual activity posting but that does solve the purpose. 
    3)  Also u can correct activity hours posted for all orders in the system during month end, this also is a huge activity depending on the number of orders
    4)  Now if u wish to do price calculation thru system u need to decide on two aspects
    One - plan ur costs for both activity dependent and activity independent
    If your cost center has more than one activity being performed u need to do either cost splitting or enter equivalence numbers while doing activity planning
    5)  If u wish to hve prices calcualted by system, then during month end u need to run actual cost splitting and then do actual price calculation
    6)  Then u need to revaluate all your orders with actual activity prices
    Hope the above clarifies - do assign points as a way to say thanks

  • Diff. b/w Activity type and Statistical figures

    Hi,
             Could any one explain difference b/w Activity type and Statisfical figures. I observed both usages & purposes r same and not find any difference. If so, why there is need of other.
         Along with i also want to know what's internal orders? Can't we do the same job in Cost Center Accounting.
    Thanks in advance.
    Krishna.

    hi
    Even it looks like similar there are some differences and meant for different purposes
    pl. go through the following links .
    /thread/367171 [original link is broken]
    IO/ and Cost Center
    best regards

  • Revaluation of Activity type is not getting updated in Production Order

    Hi,
    I have run KSII , for actual activity price calculation. After this , the revalution of production orders was done.
    But I am not finding any entry in Production order with a value of variance between Actual Price and Plan Price of the Activity type.
    It sould come in the production order.
    What can be the reason?
    In OKEQ, for the Version '0' and the fiscal year, Revaluation has the entry ' 1.Own Business Transaction'. I hope this is correct.
    But still the revalaution line item is not showing in Production Order.
    Please help.
    regards
    Kamlesh

    Hi Paolo,
    Yes, MFN1 ran perfectly and I am also able to see the details in the screen.
    My concern is, this revaluation should also have affect on Production order, thats what not happening.
    Or let me know where can I see the affect of revaluation on Production orders.
    regards
    Kami

  • Confirmation of activity types in CO11N

    Dear Experts,
    I have a small issue, while confirmation of production order in CO11N the activity type for the actual quantity is confirming but our requirement is that if we are confirming the half quantity means partial quantity, activity should also be confirmed for the half quantity.
    Thanks & Regards,
    Alok Tiwari

    Dear Bhupendra Singh,
    First of all thank you very much for your reply.
    I am trying to do the way you said but it is not happening.
    My requirement is if the production order quantity is 10 each and planned activity is 10 min for labor and if i want to confirm partially 5 each then the activity to confirm for labor should automatically propose me 5 min.
    Regards,
    Alok Tiwari

  • Confirmation of activity type in Process order -Impact in FI.

    Dear All,
    On doing a confirmation of a activity type for a process/ Production order - values get posted to secondary cost element which has been assigned to a acitivity type.  This means only a impact in controlling but not in FI
    How woould the booking happens in FI ?is it not required to book in FI, if yes, why.
    Please suggest.
    Thanks.

    Hi Daya
    1. You can calculate activity price for plan in KSPI and for actual KSII for respective CCtr and activity type...but some times people manually update price at KP26 directly which in my opinion is not right way because price is either more or less than the real calculation in KSPI and KSII...
    2. However in your case price is directly updated in KP26 against activity type..when confirmation is done in order this rate * activity qty is your value posted in order level and at the same time respective CCtr is also credited by this amount which you can see in CCtr report
       Example:  CCtr  XXXX01
                       Activity type 999999
                       Sec cost Element for activity type 999999 (43 cat)
        Suppose you have booked FI entries for some expenses like Salary in F-02/FB50...against CCtr XXXX01   So your CCtr XXXX01 is debited by Salary amount and this amount will be absorbed in product through activity for which you need  activity price and confirmation.
        FI entry is booked your expense in GL a/c Salary and same time debited your CCtr through CE salary....Now when you charging this expense in product through prod order you are doing it through confirmation of activity qty which in turn calculating value by taking price from KP26 and qty from confirmation.
    Kamal

  • "Activity type 420 1002 2393074 in the fiscal year 2010 not valid" PM03

    We have an issue with the PM03 for the year 2010. "When the scheduler tries to schedule the pm..He gets an error "Activity type 420 1002 2393074 in the fiscal year 2010 not valid" The planner will close the work order then re-open it. The error will go away, but when the work order is scheduled there is 0 hours scheduled.. This will be a big issue if there are not any hours assigned to work orders.
    Can you help me?
    Thanks!

    Davison,
      Please maintain the prices for the activity type, Cost center combination for the fiscal year 2010 using transaction KP26. The log generally disappears after you save and leave the transaction. You will see the log again only when you reschedule the order and are in the same transaction.
    Also check whether "scheduling" has been activated for the PM03 control key for scheduling to be taken into consideration for the operation.You can view the same by using the drop down for the control key on the transaction.
    Regards
    Narasimhan

  • Multi Resource Scheduling MRS - How to exclude certain Maint Activity Types

    is there a way to exclude orders that have a specific maintenance activity type.  We have standing work orders that in reality we should not have appear on the planning board.  Well, we really shouldn't have any standing orders but we do.
    Has anyone had this issue and been able to solve it.   thanks, Linda

    While a lot of MRS configuration includes maintenance activity type as a way to refine the circumstances in which something occurs (e.g., stretched assignments), that is not the case for defining which demands will be brought into MRS.  However, while not positive, I believe "BAdI:  Integration of Maintenance/Service Order with MRS (ERP)" can be used for this purpose.
    Mark

  • How to get internal order and activity type other than from BSEG

    We want the Internal order and activity type fields. From BSEG, it is taking a long time, and it hangs.
    Is there any other table we can get these values from?
    Our query is this:
    select bukrs "Company code
    gjahr "Fiscal year
    belnr "Document no.
    buzei "Document Item no.
    aufnr "Internal order
    lstar "Activity type
    from bseg
    into table gt_add_info
    for all entries in gt_gl_detail
    where bukrs = gt_gl_detail-rbukrs"Comcode from G/L acct detail
    and buzei = gt_gl_detail-buzei "Doc item no. from G/L acct detail
    and belnr = gt_gl_detail-belnr "Doc no. G/L acct detail
    and gjahr = gt_gl_detail-gjahr."Fiscal yea
    Can advise please how to make it faster. My internal table (GT_GL_DETAIL) has over 100000 records. ? thanks.

    I did a SQL trace, and saw that tables CSLA, CSSL, COKL and COKA are being hit with the values I entered inthe Activity type in transaction FB50.
    Still not clear but where it gets stored. If in any of these tables, how do I get the object key?

Maybe you are looking for

  • Error in table(Cast)

    Hi I tried the following code could you please resolve the error in this code create or replace type numlist as table of number; declare   var numlist; begin select 1 into var   from table(cast(var)); end; /thanks

  • I recently got a new computer and reinstalled iTunes.  I restored my files from a Norton backup.  How do I get iTunes to find my music files?

    How do I get iTunes to search my hard drive for my music files?

  • BI - Java (Modeler workbench) Config

    We have reviewed note 919850. ABAP+JAVA Stacks  2004s SR1 J2EE is running, SLD is running.  The versions in question are: BI-WDALV  7.00 SP6 (1000.7.00.6.0.20060221161955) BI-REPPLAN  7.00 SP6 (1000.7.00.6.0.20060221161954) The test dynpro applicatio

  • View Query Performance

    Help please, I have the following view: CREATE OR REPLACE VIEW OBRA.ASSESSMENTS_VIEW AS SELECT c.last_name, c.first_name, c.clients_rec, c.social_security_number, c.date_of_birth, c.gender, c.tracking, c.archived, c.thirty_month_rule, ass.cli_clients

  • How to fix the size of split container.

    Hi All, I have a requirement to display 5 alv report grid report .For this requirement i split the container into 5 rows and display the report sucessfully. Now i need to fix size of split container's acoording to number of rows comes in alv report.C