Display Org Unit based on User logon in Business partner creation..

Hi Gurus,.
I have to assign Sales Org , DIV, Distribution Channel to the Business Partner in Sales Area data.  When I try system shows entire Org structure. But I want the Org structure should be displayed based on the user log on. Assume that, I am assigned to Shangai and creating Business partner for Shangai, the system should not show Beijing or other Org Unit since I belong to Shangai.  How to address this scenario thro standard customization?
Is it common problem in CRM Webui(6.0 and 7.0).
My Org Structure:
Global
  China
     Shangai
     Beijing
   Nanjing.
Thanks in Advance....

Hi Varma,
From my understanding of your problem, you can approach it in a different manner. Since, you mentioned that you will be receiving a delimited flat file around 5 to 6 times a day, you can probably consider coming up with a Report Program. This Report will consume the flat file, generate the necessary organizations, business partners, BP relationships and then create them and finish with the logging of all the messages ( Success, Error, Warnings, etc.)
You can now schedule this report execution in a Batch Processing Job which will be executed as per the scheduled time and at the end of the day you can see all the application log files.
This is just an approach and you can modify the report in your own way. I guess that the flat file will be located somewhere in the same place daily so that you can hard code the File Name and Path in the report.
Regarding the Organization and Business Partner creation, you can use the standard SAP delivered BAPI's which will return you all the errors properly.
Hope this helps.
Thanks,
Samantak.

Similar Messages

  • CIC0 - REad out the org unit of actual user

    Hi there,
    I have the problem that I code in a BAdI while saving a ticket and now I have to check in which org unit the actual user is. The problem is that one user can be in different org units and so he gets a popup (after start CIC0) with which he can chose which org unit he want to use for this session in CIC0.
    And now I'm looking for a function module or a class that gives me the information which org unit he selected at start.
    Is this possible?
    Thanks a lot
    Kind regards
    Markus

    Hi,
    It sure is possible. Look for function module RHACTORGET* , (I cant remember the exact name and I dont have system right now)
    If you user ID you will get details user details in the orgranisation structure.
    -Anand

  • How to display screens (tabs) based on user authentication

    hi
    i am new to jheadstart, i want to display screens (tabs) based on users, ie if i have screens of dept, grade, desig, group, type, master etc..
    if user is admin display all the items in tab,
    if user 1 then display only dept, grade, desig
    if user2 then other settings....etc
    how to do this pls help,,,,,
    thx in adv
    Kris

    Kris,
    If you upgrade to JHeadstart 10.1.2.2 (requires a license), you will get built-in support for user authenrication and authorization including showing tabs based on the role. 10.1.2.2. ships with a demo app that uses all these features.
    Steven Davelaar,
    JHeadstart Team.

  • FM for assign employee user name to Business partner (employee) in BP t.cod

    Dear alll
    I need fm / bapi for assigning employee (user name) to business partner in identification tcode in BP tcode. Any one help me?

    Hi Saumya Govil
    I have used
    1. BP_BUPA_GET_HROBJECT to get the person number based on PARTNER_GUID.
    2. pass this person number to FM BP_CENTRALPERSON_ASSIGN_USER to assign user ID.
    Instead of the creating new central personal number i have used above BP_BUPA_GET_HROBJECT fm.
    Thanks for your quick reply.

  • Preparing the Assignment of the BW/SUS User to a Business Partner ID

    Hello people, i need help in this following scenario...any help would be
    deeply appreciated.
    When a new user is created in the
    SAP SUS system, it will automatically be created in SAP
    BW,
    too.
    At the same time, an internal table (SRM_USER_SUPBPID) is filled automatically. The table
    contains the assignment between the automatically created
    SAP BW user and the
    corresponding Business Partner ID of the supplier company.
    Procedure
    Make su...
    1. Make sure that the BAdI SMUM_USR_CREATE_POST has been transported into your
    SAP BW system and has been activated. This BAdI is required for the automatic
    creation of a
    BW user.
    Menu Path in the BW System Transaction Code
    Business Add-Ins: Initial Definition
    Maintenance Screen
    SE18
    2. Make sure that the implementation RSSBR_SMUM_CRM_SUS for the BAdI
    SMUM_USR_CREATE_POST is activated in your
    SAP BW system. To activate it, use
    transaction SE19, enter
    RSSBR_SMUM_CRM_SUS and click on Change . Then choose
    Activate
    . This implementation is necessary for the assignment of the SAP BW user to
    a business partner in the internal table.
    regards
    sandeep salaria

    hi,
    In Web UI scenario:
    If you have BuilEmp object, then you can get BP_NUMBER using the relation BuilEmpToHeaderRel.
    for ex:
    lr_header ?= lr_builemp->get_related_entity(  iv_relation_name = 'BuilEmpToHeaderRel' ).
    lv_bp_number = lr_header->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
    regards
    Ismail

  • Restrict Org details based on the User in Business partner creation..

    Hi Gurus,.
    I have to assign Sales Org , DIV, Distribution Channel to the Business Partner in Sales Area data.  When I try system shows entire Org structure. But I want the Org structure should be displayed based on the user log on. Assume that, I am assigned to Shangai and creating Business partner for Shangai, the system should not show Beijing or other Org Unit since I belong to Shangai.  How to address this scenario thro standard customization?
    Is it common problem in CRM Webui(6.0 and 7.0).
    My Org Structure:
    Global
      China
         Shangai
         Beijing
       Nanjing.
    Thanks in Advance....

    Hi Denis,
       Thanks for your reply. I believe Org determination rule is applicable for Transaction types not for Account Creation. I want to get Sales area data based on login user. It shows complete Sales Area(Sales Org IDDistribution ChannelDivision) when I create an Account.. Assume that you are an employee and assigned to Newyork, when you create New Customer in Newyork, system should not show Boston, Washington Sales areas...Please throw some light on this...
    Thanks in Advance.,

  • I have to find the 10,000 levels below the Child Org unit based on Parent o

    Hi,
    My requirements is that Use enters a Root organisation in the selection screen , based on which I have to find out and display
    the Child org units upto 10,000 levels. Can anyone pls tell me how to proceed ??.

    You can use SAP function 'RH_STRUCT_GET'with objectype = 'O', objid = provided org, evaluation path (ACT_WEGID) = 'A002', depth (ACT_TDEPTH) = 1000 .
    Rgds.

  • Adding a specific org unit with a user id.

    Hi SAP Master,
    How can I add a specific organization Unit with a particular User Id, i.e when ever that user id logs in into system and create a transaction the org. unit assigned with him determined automatically.
    And one more query, how can we send a org. unit for approval? 
    Thanks and Regards
    Rahul
    Edited by: Rahul07 on Jun 10, 2011 10:18 AM

    Hi Rahul,
    We don't assign the Organization unit to the user in the SU01. In SU01 we assing the PFCG roles and authorization related stuff.
    Rather we create the Organization model, assign positions and then assign the user to the relevant position under the required organization unit using the tcode "PPOMA_CRM".
    When you setup the Organization determination procedure, then automatically while creating the transaction, the Organization Unit of the person who is creating the Transaction gets determined.
    rgrds,
    Randhir

  • Displaying Datagrid Rows Based on User Login Id

    Hey Everyone,
    So the problem I am having is that I am making a product configurator and when a user logs in I want to display there previous creations in a data grid so they can select edit or reorder them....the problem I am having is for some reason I can't get the designs to show up based on specific users...here is the process i am currently using in Flex 4.5
    I create 2 tables in the database (Users and Designs)
         the id for the design is based on the id of the user that created it
    In flex I create 2 php services
         -One generated from the users table for creating a new user for the configurator
         -The other one is generated from the Design table and I use the getAllDesigns(); to display the designs in the data grid
    All of the login info is validated through php files that are used by an httpservice call
    So my idea was to run an if statement to display the designs for specific user, something like this (i know the syntax isn't right this is just to get my idea accross
    Var designId = datagrid.row.id;
    (allready have userId var)
    if(userId != designId)
         row.visible = "false"
    I have tried many different approaches but cant get anything to work
    Any Ideas would be helpful
    Thanks In advance

    Your right, i was trying to wrap my head around that idea earlier but decided to go with this option to just see if i could get this to work then work on the server side filtering...
    How would I do this in theory,
    my thinking is that i query in my php file something like
    SELECT * FROM DESIGNS WHERE DESIGNS.ID = USERS.ID;
    then take the filtered data and pass it to a xml document
    then in flex create an array list out of the xml to insert into the datagrid?
    or do you have a better idea?
    also will that information even be able to be editable because i am parsing the data through the xml?
    Thanks for any input

  • Displaying custom content based on user's roles

    Hi experts,
    I have been asked to look for a solution to display custom content based on the current user's roles.
    Basically It would be a simple page (or several pages I don't know yet)  that displays links to others systems in the enterpise landscape. Links have to appear but they may be "desactivaded" for some users.
    So i'm thinking of a custom portal app in java that display this page embedded in an iview, a test to check the current user permissions and some css / javascript magic to do the trick.
    What do you think ? Would there be another solution that I'm missing which doesn't require development ?
    I'm open to any suggestion / technology
    Regards.

    Sounds good,
    You can also consider using Service Map iView or Workset Map iView if those links should point to other portal navigation locations:
    See more here:
    Navigation with a Service Map - Portal - SAP Library
    Navigation with a Workset Map - Portal - SAP Library
    Best Regards,
    Tal

  • Displaying alert message based on user input on input param screen

    Hi,
    Based on user input I wish to display an alert popup on my report. I
    have provided the user 2 dropdowns called sortasc and sortdesc with all
    the column names used in the report to simulate dynamic sorting.This is
    because we do not have dynamic sorting in CR XI R2. When the user
    selects same column name in both sortasc and sortdesc then the sort
    type which has priority in the record sort expert is executed. This is fine but we want an alert
    or message popup displayed so as to prevent user from selecting same
    column names.
    I tried adding an alert with the following code:
    if {?sortasc} = {?sortdesc} then true else false
    So far I have not been prompted with any alert message box.
    Let me know if there is any other option.

    Hi Shalu,
    I have created a alert and it is working fine, please follow the steps
    Create a new Alert using two static parameters and give the condition for message like :
    if {?Myworld} = {?Myworld1} Then
    'You have entered a correct word'
    else
    'This is not a correct word'
    Then create a condition like :
    {?Myworld} = {?Myworld1} or {?Myworld} <> {?Myworld1}
    Also check the check box Enabled and save the alert.  Now it will popup if the myworld is equal to myworld1 or myworld is not equal to myworld1.
    Hope this will help you
    Thanks,
    Sastry

  • How to read employee user's Org unit name,Org unit add and user position

    Hi ,
    Is there any Function module or a class-method to read a user assinged Orgunit name ,Org unit address and the user position at that org unit.
    i have a given out a search on sdn but could not get the answer.
    Thanks for your time
    Seema

    Eswar,
    Thanks for your fast reply.
    I found this table before.But i do not have idea of passing what paramters to get my specific org and position of an employee data from this table.
    Let say i know my BP number for employee and Username of him.
    i could find out his Obj id using EMP user name.
    When i look into table HRP1001 using above Obj id, i could see there are 3 entries exist in table , among one of them is talking about position  as
    Sclas = S  and SOBID = 50020832.
    So how would i know by having this number , is it dealing with position and what kind of position it is,,,whether a manager or something else?
    Hope you got me.
    Basically am aslo looking for a FM where in i cold porvide aBP number or EMP username, where inturn i ll get a Emp position his org details.
    Seema
    Edited by: seema rajjot on Apr 9, 2010 8:40 PM

  • How to display filtered data based on user login

    We have a SSRS report (.rdlc) which gives the report about Online count of machines. Report is incoperayed in Asp.net.
    We have many filters in This report. Now we have to retrict the report based on user login to the application .
    For ex: report has a drop down for Regional Admin. Now if one person login to the application he has to view only his region online count.
    How can we do this in SSRS?. We have our application hosted in Microsoft Azure . Please suggest

    Hi csmbrnoc,
    In Reporting Services, if we want to filter data based on user login, then there must be some relationship between the UserID and the Region in the dataset. For example, there is a field named UserID in the dataset, and each ID map some region and the corresponding
    “Online count of machines”. In this scenario, just as Visakh suggested, we can use built-in field User!UserID to obtain UserID of the current user, then directly add a filter to the dataset as below:
    Expression: [UserID]
    Operator: =
    Value: [&UserID]
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How check the user roles in Business Partner edition screen?

    Hello Masters,
    I'm having a little problem figuring out how to check the user roles to allow modification in some fields.
    At the 'Manage Organizational Data' screen ('Manage Business Partners' -> Business Partner Data -> edit). I need to check the user roles to let him change the 'Tax Numbers' values. The values can be changed only if the user is a administrator; otherwise it must only show the value.
    I checked the HTML Template and found where I can restrict this edition option, but the problem is that I don't know how to check the user roles here. Maybe there is a function to do this?
    Any ideas of how I can do it? Is there any magical BAdI to check this?
    Thanks in advance,
    José Omar

    Hi José Omar,
    there is no BADI for this...
    You have to change the standard code to display only tax data if the SY-UNAME does not have correct role.
    You can retrieve user roles with BAPI_USER_GET_DETAIL, or access directly the activity groups table.
    Rgds
    Christophe

  • Business Partner Creation/Display - General Data fields are missing

    Hi,
    We have an issue in our ECC6.0 system. In FPP1/FPP2/FPP3 transactions General data fields such as Driver's license, SSN, Employee class are missing under Identification tab. But the same are displayed in BP transaction code. What configuration would causing this issue.

    I found a SAP Note 844949 which is talking about the same kind of issue. As per the note I regenerated subscreen containers for application object BUPA.
    Call transaction BUSP and generate the subscreen containers for the application objects BUPA, FICA and BUPR. To do this, set the "All screens" indicator under "Generate All Screens or Just Selected Screens".
    If this does not correct the incorrect display, use transaction BUPT for the business partner or transaction CAWM for the contract account to make sure that the fields are not missing due to the field modifications. (If you cannot call these transactions, exit the SAP Easy Access menu by using /n and then call BUPT or CAWM.

Maybe you are looking for