User Assigment to more Company Codes

Hi all,
we use SRM 7.0 and we created an organization model as follows:
Company Code 1 -> Purchasing Organization 1 -> Purchasing Group 1
                                  ORgUnit 1 -> User 1 (Central Person) -> Assigned Company Code 1 and Plant 1 (Extended Attributes)
Company Code 2 -> Purchasing Organization 2 -> Purchasing Group 2
                                  OrgUnit 2 -> User 1 (Central Person) Assigned Company Code 2 and Plant 2 (Extended attributes)
Expected Behaviour
Because it's possible to assign the same user (central person) to both company codes I expected  the user can buy for both company codes.
System Behaviour
1. If I lock in with user 1 and create a shopping cart the company code 1 is determined from the system but the company code 2 is not selectable.
2. If I assign the company code 2 additional to user 1 I can select the company code 2 but the system shows only the purchasing group 1 not the purchasing group 2.
Question: Whats wrong ???
Kind Regards
Hermann

Hi,
Company Code 1 -> Purchasing Organization 1 -> Purchasing Group 1 -> Responsibilty company code 1 + 2
Company Code 2 -> Purchasing Organization 2 -> Purchasing Group 2-> Responsibilty company code 1 + 2
Both company codes are assigned to user 1 attributes
Results in shopping cart
1. I log in with user 1
2. I changed the company code from 1 to 2
3. Purchasing groups 1 and 2 are selectable independent from company code
4. System allways said shopping cart o.k.
Problem
1. If I select company code 1 and purchasing goup 2  - because it's possible - the system determines purchasing organization 2 (field not visible in SC)
2. System reported  - shopping cart o.k.
3. But in R/3 purchasing organization 2 is assigned to company code 2 not to company code 1
4. If I now try to create the PO (Carry out Sourcng) system says - purchasing organization 2 not allowed for company code 1.
Question: How it is possible to select only the purchasing groups for the entered SC company code ?
Kind Regards

Similar Messages

  • How find out which user is using which company code?

    Hi Gurus,
    I am having more than 500 users in Production System.I need to find out which user is using which company code?I can get the roles and users separately from two different SAP tables.
    Is it possible to get it from a single table or Tcode?
    Best Regards,
    Rahman

    Hi,
    Thanks for the update.Yes I tried with SUIM.But I was unable to find any clue.
    Regards,
    Rahman

  • How to restrict user to process own company code data in z program

    Hi All,
    I have this issue. in asset management I would like to restrict user to process its own company data.
    for example A who works in company 0123 only can process comp code 0123 data whereas X who is manager can process all company code data.
    In the abap program, how can i achive this? by authority object? if yes what asset management authority object to use?
    i have company code in selection screen. so may i know what method i can achive so that A can only execute co 0123 whereas X can do for all company code.
    thanks

    Hi,
    One way would be:
    For all persons for whom you would like to 'control' the access to a specific company, SU01-->Parameters--->Give some parameter ID say XXX, & in PArameter Value key in the compnay code whose data it can process.
    Please note that this is only one time process which has to be carried out for all the users. Then in your z-program  in SELECTIO-SCREEN OUTPUT use GET PARAMETER ID 'XXX" Field w_value. If GET PARAMETER ID returns su-subrc = 0 then move w_value to your company code on the selection screen. Then Use LOOP AT SCREEN & make SCREEN-INPUT = '0' for company code so that company code will be displayed but protected thus not allowing the user to change the company code.
    I hope this helps,
    Regards
    Raju Chitale

  • Restrict users with the same company code

    Hi All,
      I have developed editable ALV which allows users to edit and delete records and save those changes in database.
    Input is Company Code , Document Number and Fiscal Year.
    Now I want to restrict multiple users trying to edit/delete records with same company code at a same time.
    Example:
    User A is editing records for company code 1250.
    If User B tries to access for same company code 1250 at the same time, it should return an
    error message saying “Table currently locked by User A”.
    and also want to restrict the records if multiple users are trying to edit/delete the same record at
    a same time,I should give an error message.
    Thanks,
    Arpita

    First perform some search on Lock Concept in online help (ABAP Programming (BC-ABA), The ABAP Programming Language, Saving Data Externally, Data Consistency, The SAP Lock Concept or The SAP Lock Concept (BC-CST-EQ), SAP Lock Concept)
    Then use or create thru SE11 a lock object for your table (keys must start with mandt + Bukrs, to not interfere with standard locks, e.g. EFBKPF, you may create your own z-structure and an associated lock object) and before reading data check the company code is not yet locked with ENQUEUE FM, release the lock is either implicit at end of transaction or triggered thru DEQUEUE FM or COMMIT/ROLLBACK WORK (depends also on your choice on _SCOPE Parameter value).
    Regards,
    Raymond

  • User Exit to Export Company Code.

    Hi All
    I am facing this issue, where when the FRA changes the trip form backend and approves, the WBS Elements are not converted properly. Please help me find a User Exit for the same where we can export the Company Code.
    Thanks in advance.
    Harsh

    Hello Shubham,
    check this exit "EXIT_SAPMM06E_012". Reply if this serves your purpose.
    regards,
    Prashant Rathore.

  • Generate user list assigned specific Company code....

    Hi All,
    I want to generate a list of users who are assigned a specific Company code say 'XYZ' ?
    Is it possible if yes how can it be done ?
    appriciate  immd  response..
    Rgds
    D L

    Hello Dhaval,
    Yes it is possible though using you may not be able to determine if the user has display or change access to the company code. Execute report RSUSR002. Under selection by field name give Field Name as BUKRS and Value as XYZ and then execute.
    Regards.
    Ruchit.

  • Problem with LSMW - G/L Account Centrally for 2 or more Company Codes.

    Hi,
    I have a problem with an LSMW  G/L Account Centrally Master Data.
    I used the Object: 0010   GL A/C Master Record, and the Method: 0001   Hier. structure.
    I can create massives Accounts but I can't create Same Accounts with differents Company Codes.
    Please, somebody can explain me, how create Same Accounts with differents Company Code in masive form with LSMW?
    Thanks and Regards!

    Try this report RFBISA10:  "Copy General Ledger Account Master Data: Send"
    or RFBISA20: "Copy G/L Account Master Data in Target Company Code: Receive"
    Bye.

  • Intercompany sales process among three or more company codes?

    I have the business scenario , inter company  sales  transaction among  three company codes ,
    pls let me know how to configure and get the tracking of reports.
    Thanx and regards,
    Amar

    Hi Amar,
    3 company codes?
    In SAP you have intercompany between 2 company codes with 2 special processes: Intercompany Sales and Intercompany Purchase Order.
    Could you please explain your business scenario?
    Regards,
    Franck

  • Get all sap users based on company code

    Hi,
    In my workflow i need an activity which will popup all sap users based on the company code. can anyone guide me by giving the table which is having relationship between sap user and company code. Any direct relation or indirect relation?
    Thanks
    sheron

    Hi Arghadip,
    Actually the tables u were mentioning were HR Tables right.
    But these tables are not maintained in this project. This is an SAP-ISU project.
    regards
    sheron

  • Display users along with company code assigned to them

    Hi,
         I would like to display list of users with company code assigned to them
    Thanks & Regards,
    Rajesh Kale

    Hi himanshu,
    I want list of user using complex selection criteria.
    It can be display using tools -> Administration -> User maintenance -> Information System -> Users by complex selection criteria.
    Here, I am facing the problem that which authorization object I should put so that I can get list of users in which in front of every user I get the company code assigned to them.
    Regards,
    Rajesh

  • Company codes assigned to a user not to a role

    Hi -
    We have set up our end user roles and now the requirement has come through that certain users should only have access to information based on company codes.  Is there a way to assign a user to either 1 or several company codes, but not to all; and to not have to change all of the roles that she has access to?
    Basically, assign a user to a specific company code, assign the necessary roles and have them only have access to that specific company codes information.
    Thanks,
    Margaret

    Hello Margaret,
    that is not possible.
    You have to restrict the roles to the specific company codes. Think about the technology of derived roles. That might be the easiest way to adapt the roles.
    Regards
    Rainer

  • Default SC Plant Company code and Storage location Based on Position

    Hi All,
    We are on version SRM 7.02.
    We are using SAP ECC R/3 EHP7 based system as a back end FI and HR system.
    Org structure in SRM is replicated fromm HR system.
    We have case of concurrent employment in the HR org structure , which means one USER can be assigned to multiple Positions in an org structure.
    We have a user A , who is created in Two different org units say O1 , O2 occupying positions P1 and P2, belonging to company code C1 and C2.
    Whenever a SC is created a custom enhancement shows all the user positions to him and he has to choose one from the list of positions.
    Now based on the selected position(P1) , i have to default plant(PL1), storage location(SL1) and Company code(C1).
    Even after defaulting attributes based on the position, user gets an error "company code C1 is not valid for user"
    This error (Message class : /SAPSRM/CLL ; # 135) is thrown from method : /SAPSRM/CL_CH_WD_DODM_SC_I_BD /SAPSRM/IF_CLL_MAPPER~UPDATE
    after getting user's Company code using following method.
    /sapsrm/cl_pdo_shared_user=>/sapsrm/if_pdo_shared_user~get_company_code
    This gets Company code as C2 ; Based on Users Attributes and not based on User Position attributes.
    If i overwrite values fetched by this method in Implicit enhancement, then plant(PL1), storage location(SL1) are not getting fetched.
    Does anyone have any solution for this problem?
    Regards,
    Ashish Shah

    Hi MURUGESAN !
          Can you give me some information more in Special Procument Configure in plant 2000 like:
              -  Procurement type (maybe F)
              -  Special procurement (Maybe U)
              -  Plant (Maybe 1000).
              - Issuing plant (maybe 2000)
           We will check together.
           Regards,
          Tony

  • To limit the access of PM data based on the Company Code, Plant & Location

    Hi Experts,
             I have a requirement . Customer wants to Restrict the access of PM data for a user based on the company code,
    Plant & Location.
    Say user : XYZ
    Plant :1000
    CCODE:1000
    Location:0001
    So you can see data of only this Organisation structure .No other data will be visible to him.
    I know we can do it using authorisation object
    Can you Suggest me how can we do this.
    Regards,
    Amar

    Hi,
    You can achieve this by maitaing these values in user authrisations. If you want more info about the objects check SU22 t code under PM.
    For Plant              I_IWERK
    For Location       I_ILOA
    Regards,
    N.Nagaraju

  • Need new description for Data Element based on Company Code.

    Hi,
    Requirement: The data element AUFNR which has the description "Order Number" needs to have description as "Engagement Number" for a specific company code. All other company codes to retain the description "Order Number".
    Example: There are three company codes: AAAA, BBBB and CCCC. The company code CCCC wants the description of data element: AUFNR as "Engagement Number" while AAAA and BBBB wants to retain the standard description: "Order Number".
    Pre-Work: Before posting this question, i did search however have not found a solution for this.
    In SAP i tried to create an Implicit Enhancement at:
    Program: RADBTDDF
    Sub Routine: SE_DD04T_ROLLNAME_ROLLNAME
    However, as the program is SAP Basis program, i was not successful.
    Any hints are appreciated and solution is rewarded.
    Thanks for your time.
    With Regards,
    Goutham.

    Dear Matthew,
    Thank you for the reply.
    I am giving some more details into the requirement.
    If a user assigned to company code: CCCC (may not be directly, relationship will be drawn) has logged into the SAP system. If he opens the transaction related to Internal Order, like KO01, KO02, KO03 etc. He should be able to see the description of field: "Order Type" as "Engagement Type".
    Similarly in the next screen the field "Order" needs to be displayed as "Engagement Number".
    However, for users who belong to company codes: AAAA and BBBB the SAP Standard Descriptions will be shown.
    Please let me know if this is possible or any inputs in that direction are highly appreciated.
    Let me know if further details are required.
    Best Regards,
    Goutham.
    P.S: As far as i know, Anees Jawad proposal would work if it is required to change the description at the system level.

  • New Company Code Creation Problem

    Hi Experts..
    We are having 10 company codes, i got a requirement to create another company code.  I have used one of the earlier company code to create a new company code.
    It is giving me the following error while trying to post a document in a testing server.
    <b>Could not determine the year for TDS Certificate number range</b>
    Message No: 8I017
    Diagnosis
    The excise year could not be determined for generating the numbers for TDS Certificates. The number range is linked to the excise year and not on the fiscal year directly.
    Procedure
    Check the customizing done for the company code in the India Version IMG.  Maintain the start month for the excise year correctly.
    Please provide me your valuable inputs on this.
    Thanks
    Kiran

    Hi Naveen
    Thank you so much for your reply...
    The company code which i have choosen to copy is functioning properly in the production server.  That is why i have copied.  I need to create some more company codes..  Creation of codes involves from the scratch involves lot of work.
    Please guide me how to rectify the error.
    Thanks
    Kiran

Maybe you are looking for

  • How is the best way to backup and organize Adobe layered .PSD files on iMac OSX maverick?

    How is the best way to organize and backup Adobe layered PSD files on iMac desktop OSX maverick? I lost all my Adobe Photoshop files + everything else on my IMAC when it crashed. They reinstalled Operating System.  But now i must install programs suc

  • Hyperlink in WEBI

    Hi, I want ot create a hyperlink in WEBI rich client. Plz tell me the steps to do the same

  • 2011 17" MBP TrackPad Left and Right Click Intermittent in Win7/64

    A few weeks ago I installed Win7 Pro 64 via Bootcamp in a new 2011 MBP 17 (2.3gig).   Since day one the trackpad left and right click buttons have been intermittent in Windows only.  For example, while surfing the web some clicks work, others don't,

  • Solaris 2.5.1 question

    Hi, How can I find a list of supported ABI compatibility matrix for Solaris ? I know solaris famous with its backward compatibility but I need to run Solaris 2.5.1 binary on Solaris 8 (or maybe later). Is that supported? By the way how can I find the

  • What is Invoice

    Hi All, I am ABAPer . But i want to know about Invoice. Please explain me if some body knows. Awaiting for your replay. Thanks, Subbu.