Plants assigne for an user

Hi Experts,
I want to get the plant numbers assigned to an user in PPOSA_BBP , extended attributes, locations tab. Is there any standard FM for this.
thanks
sankar

Hi,
You can use the FM "BBP_READ_ATTRIBUTES".In the parameter "iv_attr_single",you need to pass the attribute name for the Plant i.e. WRK.
e.g.
data : wa_attr_single type bbp_attr_list,
         it_attr type  bbpt_attr,
         wa_attr type bbps_attr,
         it_list type  bbpt_attr_values,
         wa_list type bbps_attr_values.
move 'WRK' to wa_attr_single-attr_id
call function 'BBP_READ_ATTRIBUTES'
      exporting
        iv_user                 = sy-uname
        iv_scenario             = 'BBP'
        iv_attr_single          = wa_attr_single
      importing
        et_attr                 = it_attr
      exceptions
        object_id_not_found     = 1
        no_attributes_requested = 2
        attributes_read_error   = 3
        others                  = 4.
BR,
Disha.
<b>Pls reward full points for useful answers.</b>

Similar Messages

  • How to find the plant assigned to a user profile

    Hi All,
    i am new to SRM but supporting it. so pls help.
    how to find the plant assigned to a user profile?
    i need to assign a address code to a company code-plant-building code so that the shipping address should come as a default in the shopping cart.
    i found many plants in the PPOMA_BBP  transaction but could not understand which plant i should take for the abhove assignment.
    Thanks in advance.
    Regards,
    Anubhab

    Hi,
    There is one check box in transaction for default value for every attribute. And a particular attribute there has to be a default value.
    Use FM BBP_GET_ATTRIBUTES_AT03 to fetch all attributes for a particular shopper. Then check for the particular attribute witha default value.
    In this way you will get default plant for that shopper can further requirement can be completed.
    Regards,
    Brajvir

  • No portal roles are assigned for this user.If this problem persists, contac

    I am trying to access portal first time using j2ee_admin user. It is saying "No portal roles are assigned for this user.If this problem persists, contact your system administrator."
    iam using abap+java enginee how config in abap enginne ,iwant which role to assign  j2ee_admin  user
    i already asiigned sap_j2ee_admin,SAP_BC_JSF_COMMUNICATION,SAP_BC_JSF_COMMUNICATION_RO   but it show same problem
    please help me..
    Edited by: Mugala Balu on Aug 7, 2010 5:53 PM
    Edited by: Mugala Balu on Aug 8, 2010 7:48 AM

    Balu,
    Well this issue has been discussed many a times in forums. You would have to point your data source to ABAP system.
    Check this thread in [here|J2EE Failed to start  , after changing UME datasource;.
    Good Luck!
    Sandeep Tudumu

  • Customizing Message "No portal roles are assigned for this user"?

    Hello,
    we would like to give the user some hint on who to speek with in case he has no portal roles assigned.
    So we would like to customize the messaage "No portal roles are assigned for this user" to some customer spezific text or to redirekt to a customer specific iView.
    I would appreciate any kind of hints.
    Best regards,
    Lutz Rottmann

    Hi,
    Check these threads.
    Customizing message "No portal roles are assigned for this user"
    No portal roles are assigned for this user
    Regards,
    Harini S

  • Cusomize message "No portal roles are assigned for this user"?

    Hello,
    we would like to give the user some hint on who to speek with in case he has no portal roles assigned.
    So we would like to customize the messaage "No portal roles are assigned for this user" to some customer specific text or to redirect to a customer specific iView.
    I would appreciate any kind of hints.
    Best regards,
    Lutz Rottmann

    Hi,
    Check this thread.
    Customizing message "No portal roles are assigned for this user"
    No portal roles are assigned for this user
    Regards,
    Harini S

  • List of all plants assigned to a user

    Hello ,
    Can any one please help me with finding a function module to get the list of all plants assigned to a user.
    I need to fetch some material details associated with the plants to which the user is assigned to .
    Thanks,
    Santhosh.

    It depends on how you assign plants to the user. It may be at a Z table level or based on autorization. Please try and find out how it is designed in your company.
    If it is at OM level then you will have to check with HR functional on how the relationship is maintained.

  • Does an action of a GP process have to be assigned for a user

    Hi Everyone,
        I'm wondering, does an action of a GP process have to be assigned for a specified user?
        Can I implment the following senario:
        A specified action have to be completed by a user who has a certain role. Then anyone who has the role can see the process in his process list, and if one of them finishs the action, the process will be disappear from the other's list.
        Can I do that?
    B'Rgds,
    Yining

    Hi, my friend.
    Recently I found a process can only be initate by assign a user to every role.
    Although I have set the roles of the process to be "initation defined" and add the related roles as the "Default Roles", in the initiation screen of process, I got the warning "Assign at least one user to each process role".
    So how can I implement my purpose of don't have to assign the specific user to a process step?
    Thanks,
    YiNing

  • How to assign the role for created user  thru dynpro App

    Hi All
    How to assign the role for currently created user from Webdynpro App.
    when i enter into the portal after creating the user
    i am getting the following messgae in the portal
    "No portal roles are assigned for this user.If this problem persists, contact your system administrator."
    how to assign the user defined role for the created user from dynpro App
    Regards
    Dhina  Kar J
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:19 PM
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:35 PM

    In the User Administration section of your portal find your newly created user and below select "Assigned Roles" tab then press <Modify> button and look through available roles on portal then just simply add and save. But if you want to do it programmatically see below:
    IUserAcountFactory userFactory = UMFactory.getUserAccountFactory();
    // IUser - read only but with IUserAccount is possible to set up user data
    IUserAccountSearchFilter userFilter = userFactory.getUserAccountSearchFilter();
    userFilter.setLogonUid("superuser", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sr = userFactory.search(userFilter);
    for (final Iterator i = new PrincipalIterator(sr); i.hasNext();) {
      IUserAccount user = (IUserAccount) i.next();
    Execute the same search for IRole (or IGroup if needed) get the unique id of them and use newRole(...) and addUserToRole(...) methods from IRoleFactory.
    Of course you don't need search for this principals if you know uniqueness of them. Use appropriate factories to get'em all by this unique id.
    All the features see in  [javadocs|http://help.sap.com/javadocs/NW04S/current/se/index.html]

  • How to find maximum number of users we can assign for Hyperion Planning.

    HI,
    How to find maximum number of users we can assign for Hyperion Planning.i.e., how to find license limit in hyperion planning 11.1.2.1.
    In Essbase propreties, the system is showing maximum planning users could be 65535.
    what would be the number for concurrent scenario?
    Thanks
    Giri
    Edited by: Giriprasad on Jun 18, 2012 2:18 AM

    The number of users would be based on your license agreement with Oracle, the system is not aware of your license agreement so it is up to you to stick to it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • SECATT for assigning roles to users

    Hi All,
    How do we make the ECATT to work for the below scenario:
    Users already have roles assigned to them. We need to add a new roles to the users which can vary in number based on the users job.
    A simple ECATT script that was developed to add a single role to a new user does not work in the above case and gives an error of invalid batch input. How do I create a ECATT to assign role to user who already has a set of roles assigned (number of roles assigned to users differ, so I cannot assume to train the ECATT to assign a role on line X). Is there something I am missing while the ECATT script creation?
    We are doing this from a CUA and its very difficult to assume how many roles a user could have.
    Thanks,
    Jay

    Thanks Alex for the insight. For some reason SU10 is slow in the CUA environment and I wanted to avoid it but yes I finally had to use SU10. Talking to one of our ABAPer I came to know that even in their BDC recordings they get the error which I receeived, but he changes his program to skip all the lines with data and then fill the empty line.
    In CUA environment, how do we create ECATT to delete a role from many users?
    Thanks,
    Jay

  • Changing Assignment Details for multiple user

    Hi everyone,
    In the RelationShips tab of a bundle, how can we change the "Assignment Details" for multiple user at once? Per exemple, I have a bundle that have about 100 user assignments. The bundle show on Start Menu but no on the Nal. If we want all of our users to have this bundle on the Nal Windows, how can we instruct that easily and quickly, instead of selecting each user and changing the Assignment Details ?
    thank you for your help !
    DM

    I am also trying to update the shortcut locations on many apps for a mass amount of users. Mr. Pond, or dominicm, can you explain or give a example ZMAN command that would be able to do this? From the documentation I can find it only seems to affect the distribution and scheduling but not the shortcut location.

  • Plant as Vendor Defination and Assignment, for Stock Transport Order.

    Hallow All,
    Can anybody explain the procedure of  Plant as Vendor defination and their assignment for the Stock transfer with Stock Transport Order.
    Thanks in advance !!!!!!

    hi
    Following are the steps:
    1.Create a vendor for the company code of receiving plant, using account group :0007 using T-Code XK01.
    2 Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4.In Pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5.Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO> define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM> Purchasing > Purchase Order > Set up STO> define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM> Purchasing > Purchase Order > Set up STO> assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO>Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings , Create the STO using T-Code:ME21n and Save.
    11. Create Delivery :VL10G
    Click on the Background Button after selecting line item
    A message is flashed : See log for information> next Click on Log for delivery creation Button >click on line item>click on document button to get Delivery document No
    12. Picking, PGI:[VL02n
    13. Billing:VF01n
    Save the document and its done
    try this
    reward points if heilpful

  • Assigning the End User Role for E learning management in Solution Manager

    Hello Team,
    In the E Learning Management in Solution Manager, I have to a assign the End User Role for each Bussiness Process. While assigning the role, I couldn't able to assign the role of type " JOB ". What have I do to get the type as JOB instead of "Organizational Unit" and "User"?
    Regards,
    Shyjith.K

    Hi,
    Have you maintained your Organizational data? Did you assign any job to any user in the organizational hierarchy. You need to maintain you PPOMA_CRM first in order to assign any roles there.
    Hope this helps
    Rajeev

  • BAPI for CS08 - Plant assignment - BOM

    Is there a BAPI for transaction CS08 (BOM - plant assignment)?

    Try CSAP_MAT_BOM_MAINTAIN
    or
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN
    CSAP_MAT_BOM_CLOSE
    Edited by: ksd on Nov 27, 2009 9:48 AM

  • Using ISE to assign ACL's for VPN users

    Hi,
    I've just implemented ISE into our environment using various documents and videos found online but have not been able to find anything about using ISE to Authenticate remote users via VPN and assigning them the ACL's created for thewir level of network access.
    Does anyone know of a good document or training video knocking about that I can use?
    Thanks
    Jason

    Jason,
    If the ACL is present on the ASA you can use the "filter-id" radius attribute to reference the acl to the user's session. You can make this work by configuring an authorization profile and tying this in with your authorization policy for vpn users.
    If you want to push an acl then my recommendation is to use the cisco-av-pairs to push the acls since the username is associated with the acl that is applied to the username of the vpn session.
    http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/ref_extserver.html#wp1763743
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

Maybe you are looking for

  • Broke FileHistory in Windows 8.1 - how to fix?

    I recently discovered the Windows 8.1 FileHistory feature when I was looking for Backup. I configured it to use an external USB drive and turned it on. I soon observed that it was eating up space way too fast. I realized the was the virtual machines

  • I need to retrieve a lost Pages Document in iCloud

    Yesterday I was lokking for a password in my Pages "passwords" document. Suddenly the document disappeared. I can't find it; it is completely lost. I don't have a back-up. Looking for information, it looks as if nobody ever had this problem.

  • SaxParseException message problem

    I try to validate my xml file with its schema ... The xml file is not valid and a SaxParseException is throwed (all is ok) but this exception message is : cvc-complex-type.2.4.b : Le contenu de l�l�ment '{0}' est incomplet. Il doit correspondre � '{1

  • System Copy documentation

    Hi, We have BI running on NW 2004s dual stack.  We have a requirement to refresh the QA system quarterly from production.  We are attempting to use following link ( SAP System Landscape Copy for SAP NetWeaver and mySAP Solutions) http://www.sdn.sap.c

  • Satellite L750D - Window Media Player has sound but no pictures

    I have a Toshiba Laptop Satellite L750D, Win 7 Home Permium. I don't know why Win Media player just has sound but no pictures. Please some one help fix this problem. I don't have a recovery dics. Where can I down load it? I would very much appeciate