Organisational keys are assigned based cost centre associated with Bus Area

Hi ,
I need to add the authorization check in the Z* program Within TE, restrictions are being implemented based upon organisational key.  Organisational keys are assigned based upon whether or not the cost centre has an associated business area.  If a business area exists, then a restricted organisational key (in range US01* to US50*) is assigned.  Otherwise, a non-restricted organisational key is used. 
Can any one help me !
Thanks,
Nelson

The authorization check for trip statistics reporting has a maximum of three stages:
Before displaying the selection screen
Before the selection screen is displayed a check is made as to whether the user has the authorization to view just his own trip data, or also the trip data of other employees.
The following check is made:
AUTHORITY-CHECK OBJECT 'P_TRAVL'
ID 'AUTHP' FIELD 'E'
ID 'BUKRS' DUMMY
ID 'PERSA' DUMMY
ID 'KOSTL' DUMMY
ID 'PERSG' DUMMY
ID 'PERSK' DUMMY
ID 'VDSK1' DUMMY
ID 'PTZUO' DUMMY
ID 'AUTHF' DUMMY
ID 'AUTHS' DUMMY.
If the employee only has authorization to view his own data, the personnel number is determined using the Infotype Communication (0105). This personnel number is then displayed in the selection screen of the relevant report and can not be overwritten.
If the Infotype 0105 has not been maintained the program ends abnormally and an appropriate error message is issued. No further checks are made as the employee can only display his own data.
If the employee has the authorization to display the data of other employees as well, further authorization checks are made during the processing of the personnel and trip data.
During processing of personnel data
The following check is made for every personnel number read from the database:
AUTHORITY-CHECK OBJECT 'P_TRAVL'
ID 'AUTHP' DUMMY
ID 'BUKRS' FIELD pa0001-bukrs
ID 'PERSA' FIELD pa0001-werks
ID 'KOSTL' FIELD pa0001-kostl
ID 'PERSG' FIELD pa0001-persg
ID 'PERSK' FIELD pa0001-persk
ID 'VDSK1' DUMMY
ID 'PTZUO' DUMMY
ID 'AUTHF' DUMMY
ID 'AUTHS' DUMMY.
If the check is successful, the trip data for the personnel number is processed, if unsuccessful, the personnel number is ignored.
During processing of trip data
The following check is made for each selected trip:
AUTHORITY-CHECK OBJECT 'P_TRAVL'
ID 'AUTHP' DUMMY
ID 'BUKRS' FIELD pa0001-bukrs
ID 'PERSA' FIELD pa0001-werks
ID 'KOSTL' FIELD pa0001-kostl
ID 'PERSG' FIELD pa0001-persg
ID 'PERSK' FIELD pa0001-persk
ID 'VDSK1' DUMMY
ID 'PTZUO' DUMMY
ID 'AUTHF' FIELD authf
ID 'AUTHS' DUMMY.
The AUTHF field has 3 positions:
Position 1: S - Statistics data for reporting
Position 2: - Request status of trip
Position 3: - Settlement status of trip
If the check is successful, the selected trip is displayed in the report list, if unsuccessful, the trip is ignored.

Similar Messages

  • Assignment of Cost centre in OM

    Dear Experts ,
    I am having a scenario ...can two cost centre be assigned to one person. Its like person X is assigned one cost centre.Person Y has left the company.Now we want to assign the same cost centre which was under Y to X..So, person X has two cost centre under him.
    Is it possible? as I am facing problem while doing this..If yes..please tell the steps or method.
    Regards,
    Tanu.

    Dear Tanuja,
    1. Why do want to assign two cost center with one person?
    Info type 0027:
    You can use IT 0027 & subtype 01 for distribution of employee salaries.
    Ex: Total employee salary want to go particular WBS Element or Order type then maintain IT 0027 with 100%. So when ever payroll postings happening, that particular employee salary will get posted as per IT 0027.
    Info type 0001:
    where we will maintain master cost center
    Assignment of Personnel Costs to the Master Cost Center
    Purpose
    This data entry scenario for cost accounting assumes that employees always work for their master cost center and that the receiver of an activity is not debited with the personnel costs. This is the standard scenario if you do notimplement SAP Payroll (PY).
    If you do use SAP Payroll, you should not use this scenario in the following cases:
    You want to debit the receiver object of an activity with the personnel costs
    You want to perform activity allocation
    The sender cost center is not the employee’s master cost center
    This would cause an imbalance in cost accounting, since the sender cost center would be credited with the entered hours and the master cost center debited with the personnel costs.Prerequisites
    Employees who enter their working times using a data entry profile specifying their cost center must always work for the same master cost center(s), as specified in the Organizational Assignment (0001) or Cost Distribution (0027) infotypes.Process flow
    You enter an activity allocation or confirmation in the time sheet.
    In Controlling, the activity allocation credits the sender cost center and debits the receiver cost center.
    If an attendance, absence or wage type is entered at the same time, the system writes the working time information to the Attendances (2002), Absences (2001), or EE Remuneration Info infotype (2010) in HR.
    The Payroll component determines the personnel costs for the times.
    In Controlling, the employee’s master cost center is debited according to what was specified in theOrganizational Assignment (0001) or Cost Distribution (0027) infotypes.
    So my suggestion is before assigning two cost centers with one employee just once discuss with your CO consultant he suggest you how to it..!

  • COST CENTRE EXPENSES WITH THE HELP OF COSP

    hi all,
        i have to make a report on cost centre expenses with the help table COSP.I have to put cost centre  from OBJNR in which last five haraters are cost centre and period like month  and year.After that in report display i want KSTAR i.e. in down the line and cost centres of selection in vertical it may increase or decrease depending on selection.After that i have to add all the WTG001-WTG016.if in seletion period is 1 to 2 then i have to add WTG001 and WTG002 in corresponding in KSTAR and so on in desired cost centre column below that facing respective KSTAR.If anyone can send any report relating that i will be thankful.
    Regards,
    Praveen

    Answered

  • There are too many PIN changes associated with this account (Error ID: 30801)

    how to solve this error on app world "There are too many PIN changes associated with this account (Error ID: 30801)" can anyone advice because I follow all the steps to solve it and no one answer me
    I call the customer care using the free number then I call my provider to redirect me to blackberry customer care and no one help me
    so is there any link can show me all the PIN which is assign to my account and manage them
    Please Advice

    Hi and Welcome to the Community!
    Here is a KB that discusses that error:
    KB25553 "There are too many PIN changes associated with this account (Error ID: 30801)" is encountered when attempting to login to BlackBerry App World
    As you see, the way to resolve it is clear, and you seem to have reached some folks in your attempts that were not able to resolve it. Nevertheless, you should not allow them to fob you off...insist that the KB instructs the resolution path and insist that they make good on that.
    aleyadma wrote:
    so is there any link can show me all the PIN which is assign to my account and manage them
    No.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Recover cost element associated with internal orders. Tx KPF6

    Hi,
    I need to recover only the cost element associated with the internal orders listed in tx. KPF6. Can anyone please tell me how can I do this?, do I need to copy the entire tx to a Ztx?? or can i do this through an User Exit???
    Thanks, Fiorella

    Hi Fiorella,
    Try using table AUFK.
    It gives you the Responsible cost center as  well as the Cost center for basic Settlement for a particular internal Order.
    In case you need any other information, feel free to revert.
    Thanks,
    Sonal
    P.S. Would it be helpful if i tell you how to get Internal Orders from an Internal order Group??

  • GL Acount Assignment to Cost Centres

    Hi SAP Gurus
    I have an issue it is very important please some one can help me
    The issue is How many cost centres can assign to one GL or Cost Element account
    Please it is important
    Points can be rewarded
    Thank you
    LLVB

    Hi,
    The concept of 'default' implies only one object. 'Default' means what will come instead of empty value and, of course, the value is only single. If you have conditions to specify when this or another cost centre should appear in the document, then you can make substitutions and define those conditions and cost centres there.
    Also, keep in mind, that the assignment is to cost element and not to G/L (which are equal, of course, for P&L accounts) - just operate with SAP terms.
    Regards,
    Eli

  • Business Area assignment to cost center

    First time we have assigned Business areas to Cost Centers on 31.03.2009 effective from 01.04.2009. But since some of the cost centers(28 nos out of 300) have Transaction data (error message KS134) we could not assign Business Areas.
    Hence we have decided to create New cost centers in place of these 28.
    And now we are testing this scenario in test server. Since we will have to replace the existing cost center assignments with Work center(PP/PM), Asset(FI/IM), Positions(HR), we have started with Asset transaction AS02.
    SAP is not allowing to change the existing Cost Center assignment to Asset & it is disabled. But since we are going for New cost centers the Assignment of old cost centers to Assets can not be continued.
    Hence pls. provide the solution on how to change of Cost Center assignment to Asset effective 01.05.2009 ? Also is this right approach to create New cost centers for the error message KS134 ?
    With Regrds,
    Shrirang

    hi
    check the settings in asset accounting for the additinal account assignment.

  • Removing Controlling Area from Profit/Cost Centre

    Hi,
    When I run a report the cost centres, cost elements and profit centres are displaying with the controlling area at the start of the field eg  DTC/P123456, DTC/C78910, I have tried restricting on the controlling area but that does not seem to change the display.
    I cant reall edit the transformation either as they are attributes, any idea?
    Thanks

    Thanks
    But i dont want to do this through the transformation.
    Also when I do display data on the cube the the profit centre shows correctly P123456 and also the cost elements, the controlling area ccomes through on a different field?
    So it is at the query designer level that something is happening.
    Edited by: RealFlash on Mar 12, 2009 1:48 AM

  • OM - Multiple Cost Centres link with Org Unit/Position not to employee

    Hello gurus,
    In OM there can only be one relationship at a time between an organizational unit and cost centre (A011). For those areas where there is a requirement for the position to have control over more than one cost centre, there are multiple options.
    Option 1 - If only one of the cost centres is used for employee cost incurrence, this should be the main cost centre, and the others controlled through authorizations.
    Option 2 - If more than one cost centre is used for employee cost incurrence, a subordinate organizational unit is created into which those positions are placed.  In this scenario, the  subordinate  organizational units would not have a chief, and the reporting structure would go up to the more senior organizational units.
    Option 3 - Use Cost centre distribution infotype 1018 (A014)
    My question: is there a standard way through which we can show multiple cost centres attached to a position/org unit such that cost incurred by employees goes to master cost centre attached to org unit or positon and other cost centres are just attached to position/orgunit (just to show the org unit/position is managing these other cost centres as well).
    Any thoughts? Anybody has used Enterprise Organization in CO to achieve this?
    Regards,
    Ahmad

    To capture more than 1 cost center, you have to specify them in IT-1018  but employee's cost will be split based on this.
    For data maintanance alone cost distribution is not possible (based on my knowledge).
    May be equivalent custom infotype similar to 1018  @ Postiion / Org Unit level may work.
    along with Master Cost center.

  • Cost centre report with all GL expense accounts

    Hi Gurus;
    Can you please give a cost centre report that gives all GL expense accounts with the correponding Cost centres or functional areas ni the next column?
    Example:
    Column A                        B                C                          D
    GL 12005                Cc 52001        Amount 100          function area 1000
    That is without expanding the report gives you in total amount per requested period in the format shown.
    The report should tally with Trial balance for all expense accounts.
    Thanks
    Lameck

    Hi
    Did you check the available reports in cost center accounting ?
    Also check the report layout and check the desired fields.
    Now you could see whether they match or not your requirement.
    If not also, you could add fields from the options.
    If nothing works, create a Z Report.
    reg
    suresh

  • Pages assigned to a Role along with wpc are missing

    Hello Experts,
    I have created a website and integrated with the Role. The website is being displayed succesfully. Now, theproblem is when I assign another Page to the role it's not visible? Any ideas on what's going wrong?
    Thanks in advance.
    Regards,
    RN

    Hi,
    WPC pages are assigned to navigation points by external connector. This connector defines the sub-navigation. All other content added to the navigation point are not taken into account
    Role
    - Folder (-> WPC navigation integrated via external connector)
    - - Page (not visible)
    br,
    Tobias

  • Cost Center validity period change & Business area assignment to cost cente

    We are facing with error KS134 - Transaction data already exists for the period.
    We tried to create new cost center with period split. But I am getting error KS133 - Deletion is not possible (dependent records exist in table ).
    Hence even creation of the new cost center is not possible. We alrady have Validity Period from 1.04.2005 to 31.12.9999.
    Is there any alternative solution ?
    Sumeet

    Hi Sumeet,
    The fields in Cost Center Master Data are "Time-Dependent" and you can see the Time-Dependency of each field in OKEG transaction code where you can find "Business Area" to be "Fiscal-Year" based.
    So, if at all you need to change the Business Area, it would be possible in next financial year only...
    And also, because, your Cost Center is defined from 01.04.2005 to 31.12.999, there is no way that you can change the validity period so as to create / extend in the same period-lap.
    I hope you got it...
    Srikanth Munnaluri
    Edited by: Srikanth Munnaluri on Apr 8, 2009 3:11 PM

  • Functional Area assigned to Cost Elements

    Hi All,
    Where can i see the list of cost elements assigned to different functional areas.
    Thanks in advance.

    Use tr. KA23 for collective processing of cost elements.
    You can use the radio button to display all cost elements, or you want to filter the cost element list for only certain functional areas you can use the option for a Selection Variant.  Just click on the Create icon and input your functional area(s) and save the variant and give it a name and description.  Then return to the KA23 screen and use F4 help or input the variant you saved. 
    After you execute the report and the list is returned, you may not see functional area immediately by default.  Simply use the icon to change the layout and send the functional area field from the column set on the right to the displayed columns on the left.
    If you have access to tr. SE16 or SE17 you can also simply look at the table contents of table CSKA to see the assignments of functional area to cost elements.
    Best regards,
    Jeffrey Holdeman

  • Cost Center association with the free goods Material

    If you are issuing free goods (Material) to your customers or reps could you have the transactions recorded to cost centers.  If so how?
    Thanks,
    Marga

    Hi Marga,
    Below link would be helpful in answering your question.
    http://www.sapfans.com/forums/viewtopic.php?t=145395
    pls assign points as way to say thanks

  • Sales Tax Gl ac is not posted with Bus.Area & Profit Centr

    while Release to Accounting from SD Module, Business Area & Profit
    Centre is not getting updated or populated. We have to make the field
    status as optional, then only it works, but the business area & Profit
    Centre is updated with Blanks. Can it take the default values from trxn
    3keh. Is there any user exit, where we can write our own code to
    populate, while release to accounting.
    thanks
    amit

    Hi,
    Please check the validation with your FI consultant in the transaction code: GGB0
    regards
    bvdv

Maybe you are looking for