Assigning Role while create a BP

Hi ,
I am creating business partner using BAPI :
BAPI_BUPA_CREATE_FROM_DATA
I didnot find any parameter to assign role while creation.
If this is not possible , can anyone please help me to assign role say 'CRM Consumer' to the BP
Thanks in advance.
Points will be awarded please help !!! .. 

Hi,
        You can use the function 'BAPI_BUPA_ROLE_ADD' to add a role to a BP.Pass the BP number and the role as export parameters to this bapi.
Note: The bp number is the same bp number which is obtained from the importing parameter 'businesspartner' of the function 'BAPI_BUPA_CREATE_FROM_DATA'.
*****************Reward if solved       ***************
Regards,
Ruby.

Similar Messages

  • Assigning Manufacturer while creating a batch from COR1 or MIGO etc.

    Hi Gurus,
    I am creating a new batch while creating a process order using COR1 or MIGO.
    When i click on the NEW button, the batch is automatically created and we get a new batch number.
    Now at this time of creation of a new batch, i want to assign some Manufacturer value for that batch under the Classification tab.
    Is there any user exit or badi for this task?
    Can you please help me out with this?
    Thanks & Regards,
    Praveen

    Hi Sridhar,
    Thanks for the reply.
    Can you please elaborate on how should i go about with this and which of the above you suggested should i use?
    Thanks,
    Praveen

  • Various Account Assignment options while creating new Bid Invitation

    Dear Guru's,
    It seems while creating fresh Bid Invitation there is no option to define the Cost assignment like Cost Center, Asset, Order, Project, Network.
    System creates Bid Invitation only for Cost Assignment "CC - Cost Center". Is my understanding correct?
    Can any one confirm that Bid Invitation can only be created only for Materials/Services wtih Cost Assignment CC and Direct Material Option?
    Regards,
    Sandeep Parab.

    Thanks Vijay,
    We tried that scenarios also, we maintained alternate Account Assignment in Org Structure like AS, CC, NET, OR. These various Cost assignment options are also visible while creating Shopping Cart.
    But while creating new Bid Invitation system does not have any provision in Item details to enter the Cost Assignment details like shopping cart.
    That is why this question?
    We would like to invite bids for Asset, Project, Order and WBS element materials. So that system creates purchase order with respective Account assignment in backend as follow-on documents.
    Regards,
    Sandeep Parab.

  • Automatically  assign delivery while creating shipment in VT01n

    Hi All,
    When i go to VT01N and create shipment . There i can add and assign delivery by pressing "+Delivery" button .
    Now my requirement is that as soon as I press this button then Delivery should get assigned automatically so that i do not have to assign it manually later.
    Do i need to do some configuration in SPRO for achieving the same.
    Thanks,
    Abhishek

    In my case for particular "Shipment type" delivery is
        getting assigned automatically in VT01N
    Interesting !!!!   As already stated, to my knowledge, through standard, it is not possible but however, please update here as to how it is getting updated automatically after checking in debug mode.
    G. Lakshmipathi

  • Assigning status while creating document -Cfolders

    Hi,
    I am creating a document  using following FM .But my status is BLANK.
    I want to be one of the status : Requested/Responded...etc..How do we take care of this.
    CALL FUNCTION 'CFX_API_DOC_DOCUMENT_WRITE'
        DESTINATION rfcdest
        EXPORTING
          i_doc_id                       = key_document
    *     I_VERSION_NAME                 =
    *     I_VERSION_DESCRIPTION          =
    *     I_CHANGE_CURRENT_VERSION       = CFXA0_SC_FALSE
    *     I_BACKEND_SYSTEM               =
          i_file_path                    = fname
          i_file_size                    = fsize
    *     I_MIME_TYPE                    =
    *     I_CONTENT_URL                  =
    *     I_CONTENT_PROXY                =
    *     I_CONTENT_PROXYPORT            =
       IMPORTING
    *     ES_FAULT                       =
          e_faultstring                  = fault
          e_doc_version_id               = key_version
          e_version_name                 = vname
    *     E_CONTENT_RELATIVE_URL         =
        TABLES
          it_content                     = p_image[].
    Rgds
    Vara

    Debranjan,
    Thank you for your reply.
    I am following your instructions.
    cFolders:Client.ObjectStatusError.profile_not_for_object_type
    This is what I am doing.
    First I am creating folder first using
    CALL FUNCTION 'CFX_API_DOC_CREATE'
        DESTINATION RFCDEST
        EXPORTING
          i_parent_folder_id         = key_folder
          i_type_id                  = 'doc'
    and then writing
    CALL FUNCTION 'CFX_API_DOC_DOCUMENT_WRITE'
        DESTINATION RFCDEST
        EXPORTING
          i_doc_id                       = key_document
      i_file_path                    = fname
          i_file_size                    = fsize
    I am getting an error saying
    cFolders:Client.ObjectStatusError.profile_not_for_object_type
    What should be I choosing ? I need to give user custom status profile which will have 1-DRAFT 2-REQUESTED 3- SUBMITTED etc..
    Rgds
    Vara

  • Methodology/Processes Not getting reflected while creating a role via BRM in GRC

    Hello All,
    The methodology I have created is not getting reflected while creating a new Single role.
    I have maintained the condition groups properly in decision table, and assigned the same to the methodology as well.
    Please suggest.
    Thanks
    Regards,
    Shruti

    Methodology is updated when you press save after completing the first step.
    can you please share screen shots of configuration and issue you are getting

  • Error while creating  a PO with Account assignment

    HI MM Gurus
    In our case, we need to create the STO for account assignment cat `Unknown`.
    In SPRO I maintained combination of account assign cat and item cat.
    Now, while creating  a PO with Account assign U we get Error message -  ME069 :Unknown account assignment not defined for use here.
    Please advise how to resolve this issue.

    Hi
    When you are posting actuals, you need to give true account assignment object. With U (unknown), system cannot identify which account to be posted. Change account assignment in PO to another.
    In standard SAP Unknown account assignment is not allowed in PO's. Only exception is Blanket PO.
    Unknown is allowed only in PR and Blanket PO.
    The reason is logically you are releasing the PO to the external vendor or Plant in this case you must know the account assignment.
    Regards,
    Ninad Kshirsagar

  • Error while creating Transport role

    Hi,
    I have created a new transport role - " Transport manager"  but unfortunately the import function of that doens,t work. It gives Error: "Unexpected Error. See System log for more details...."
    In the NWA i see:  ' ( ' com.sapportals.portal.transport.ui.ImportComponent ')' ImportComponent.doOnUpdatePreviewPage(): unexpected error; action=onBrowse.
    The same role assigned to user with content admin and system admin rights works fine.
    Any ideas?
    Many thanks,
    Dharmi

    Hi Kotty,
    Read it loud......
    import of role failed or after importing users unable to see?
    >> Neither. I am referring here to the standard ' import'  function provided by SAP for System Administration -> Transport -> Transport Packages -> Import..
    You told system admins and content admins can able to see that role . So,please check end user permission of that role and assign it to relevant groups or everyone if you want to allo all users to see.
    >> I mentioned, that If I (having Content admin and System Admin rights) am assigned the Transport Manager role, then I don't get an error.
    Whilst if this role is given to the transport manager wherein he has just this Transport manager role. ...only with import function -> server option selected ->clicking on search gives an error.....
    This transport manager role is created by making a copy of System Admin workset and assigning only the Transport related activities.
    Regards,
    Dharmi

  • Error role while assigning to user

    Hi,
        I am using protal 6.0 in my project.I have small bug while assigning role to user.
       I assigned role to user and after role assined, the role check box is in disable.I can't remove that role for that user.
      And the role is not working for that user.
    Can any one tell me what is the problem?
    Regards,
    Suresh

    Hi Baji,
    I had assigned the same role to 400 users.Its working for all user but for this user ia m facing problem.
    Cany clues regarding this issue.
    Regards,
    Suresh

  • Check while creating PR with account assignment K

    Hi Gurus,
    Can I put a check while creating PRs for account assignment category K, that only statistical order number range is allowed.
    In other words, user should not be allowed to put any internal order other than statistical order in PR, while creating it with account assignment category K..
    Thanks in Advance,
    Vikash

    Hi,
    You can check on business transaction RMBA - it's the purchase requisition. Set it to prerequisites and for the validation select the order type (it's better than a number range - I believe you use different order types for real/statistical I/O) from AUFK (you will see this structure as available, when creating a validation). If you do use the same order type, then check on I/O itself COBL-AUFNR.
    Regards,
    Eli

  • Error while creating Multiple Items Shopping Cart with Asset Assignment

    Hi All,
    I am creating Shopping Cart with multiple items for different Assets.
    Example: I have Two Assets (Asset A with the budget of $1000 and Asset B with the Budget of $1500) in the back end system.
    Asset A assigned to Order 102649996 (value - $1000) and Asset B is assigned to Order 102645121 (Value - $1500).
    I am trying to create Shopping Cart with Two Items for Asset A and Asset B (which are available in Back End).
    I created First item (001) in the Shopping Cart for Asset A and Value $750.
    I copied the First Item Details to Second Item (002) and changed the Asset as B and Value $1000.
    When I click on Check tab in Shopping Cart Browser, the SRM System is giving the Error Message like
      Item 001 Order 102649996 budget exceeded 
      Item 002 Order 102649996 budget exceeded
    I am getting the above error, only when I copy the first item details to the second item while creating Shopping Cart.
    Actually the Budget is not exceeded (Asset A Budget is $1000 - First Item and Asset B Budget is $1500 - Second Item) and SRM system is taking the order 102649996 (which is assigned to the Asset A) for the Second Item 002 also.
    Kindly let me know the Solution or Please let me know do we have any OSS note to resolve the issue.
    Thanks a lot in advance.
    Best Regards,
    Sudarsan
    Edited by: KOYYA SUDARSANA NAIDU on Aug 18, 2008 8:22 PM
    Edited by: KOYYA SUDARSANA NAIDU on Aug 19, 2008 6:29 AM

    Hi. It is a "feature" of SRM.
    I asked SAP about it and did not get a good response.
    If you enter Asset A, it will copy the internal order number from that asset into the cart. You can not see the internal order in the web, but you can see it in BBP_PD.
    If you then change the asset to asset B, it will not refresh the internal order number.
    This means you get internal order A on asset B.
    It happens any time you change asset number, so if you copy a line then change you will get this problem.
    We ended up using the BBP_DOC_CHANGE_BADI to RFC into R/3 and update the internal order number.
    Regards,
    Dave.

  • 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]

  • Create user and assign role in CUA context

    Hi,
    i'm in CUA context ; in ABAP, when i use the FM BAPI_USER_CREATE1 the new user is well created in all system now i want to assign new roles to this user. Which FM can i use and especially can i assign role to user in a client system ?
    Thanks for help.
    Regards

    Hi,
    Please check this BAPI.
    BAPI_JOBROLE_CLONE
    BAPI_USER_ACTGROUPS_ASSIGN
    Regards,
    Ferry Lianto

  • I want to know about ATP check requirement .generally we assigned yes or no while creating sales order

    I want to know about ATP check requirement .generally we assigned yes or no while creating sales order what it means when we give Yes or No. how pegging flows
    Regards
    virender

    Virender,
    Can you be a bit more specific about ".....generally we assigned yes or no while creating sales order....."   Exactly what field(s) did you 'assign'?  Screenshots would be helpful.
    With respect to pegging; in general, ATP has very little to do with pegging.  Pegging is more of a planning concept, and not an 'availability checking' concept.  There are a few exceptions in APO, but they are not commonly implemented.
    Can you elaborate about exactly what you want to know with respect to 'pegging' and ATP?
    Best Regards,
    DB49

  • Assignment of Project while creating TP

    Hi All,
    We have activated ChaRMLite in our project and all the systems in landscape.
    I have a scenario.
    We want few transports to be created outside chramlite for one system landscape (BI landscape), but we want to restrict users creating TP request without assignment of project. i.e is there any authorization or method by which we can make project filed mandatory while creating transport request from source system?
    I have learnt about the possibilities of it, but not sure how can I proceed. Any help appreciated.
    Best Regards,
    Shyam

    Shyam,
    In a new window plz type
    /n/tmwflow/cmsconf
    Then you will find the list of systems you manage with ChaRM, you can enable the mandatory assignment of projects there.
    In the second scenario where you need to do it for systems outside of ChaRM (i.e. not connected to ChaRM, plz consider the following steps)
    1. transaction SE03 --> Display/Change Request Attributes (last option under Administration Drop down menu). Then Goto Change Mode and then,
    2.Modify the attribute SAP_CTS_PROJECT  using client specific checkbox
    Hope that helps!
    Cheers!

Maybe you are looking for

  • Jabber and Indexing in AD

    I'm setting up Jabber for Windows, iPhone and iPod and the Cisco documentation refers to indexing certain attributes in Active Directory, e.g. Index these Active Directory attributes: • sAMAccountName • displayName • mail • msRTCSIP-PrimaryUserAddres

  • How can I connect to a remote firewire camera?

    We have a system that has the following peripherals connected to it: 1 - firewire camera 2 - serial port devices 2 - emulated serial port devices (on VCP USB drivers) 1 - Ethernet device We have developed an application using CVI 8.1, NI Vision 8.6,

  • Photoshop CS3 "Save for web" doesn't work

    Hi everybody. I noticed one weird thing. When I want to use "Save for web" function on my Photoshop CS3 to save some jpg file and reduce size, the dialog window just doesn't appear. I clicked Save for web and nothing happen. The window of the file a

  • Mandatory field "Priority" for maintenance plan

    Hi, Setting mandatory fields on preventive maintenance plan is not possible in customizing. So the alternative are:      - User-exit as described above (TCode SMOD)      - Transaction variants (TCode SHD0) I've tried SMOD: this approach is not a user

  • OSX Kernel issue: Audio disabled, Shutdown failure

    I have just updated my PBG4 with the latest Quicktime and Airport update. Since then my audio output for external or built in devices no longer work. On top of that my laptop will not shutdown unless you hold the power button down-I get a nice prompt