CUA SRM issue with user/business partner creation

Hi Board,
I've already replied to an existing thread in the SRM board, but also quite hopefully to find somebody here who may be able to help. Please find the thread here
error during creation of EBP suers
Any help would be highly appreciated as we can go on with this "work around" for the moment but not willing to change our current architecture.
Many regards,
Richard

Hi Suchandra,
Are you trying to default Business Roles & Authorizations at the time of SAVE of a new CP?
If yes, then everytime you click on SAVE button on CP Create Screen the Save BADi will be triggered.
Cases when its not getting triggered please debug into the event handler method of view-BP_CONT/BPCONTOverview->EH_ONSAVE method.
In this method at line (below) the save badi is triggered:-
IF cl_crm_uiu_bp_tools=>save( ir_message_service = lr_msg_service ) = abap_true.
In the above method - CL_CRM_UIU_BP_TOOLS=>SAVE( ) the save event handler is triggered :-
* trigger ON_SAVE for registered handlers
  raise_save_event( ).
If you want the default to happen when you navigate to CP Screen , you'll have to put the defaulting code in an implementation of a different badi - BADI_CRM_BP_UIU_DEFAULTS.
- Dedeepya
Edited by: dedeepya reddy on Nov 15, 2011 2:07 PM

Similar Messages

  • Issue with defaulting Business Partner Role while BP Creation

    Hi,
    I am having a simple requirement that while creating any contacts, the Business Partner role and authorization group will be defaulted.
    Now 1st was trying to wrtite code in the enhancement spot : CRM_UIU_BP_ENHANCEMENT --> badi CRM_BP_UIU_SAVE --> Method ON_SAVE_EVENT (Event handler for save event ).  But sometimes it is triggered, some times not. When it it triggered, transaction is giving a dump.
    Again, I tried to write code in badi BUPA_GENERAL_UPDATE. There also, I am getting the same error  " The COMMIT WORK processing must not be interrupted. "
    I am writing this code in the method :
    *Call this BAPI to fill the memory
        CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
          EXPORTING
            businesspartner = ls_but000-client.
      CALL FUNCTION 'BUP_MEMORY_BUT000_GET'
        EXPORTING
          iv_partner      = ls_but000-partner
        IMPORTING
          es_but000       = ls_bus000_upd
        EXCEPTIONS
          not_found       = 1
          parameter_error = 2
          OTHERS          = 3.
      IF ls_bus000_upd-augrp IS INITIAL.
        ls_bus000_upd-augrp = '9000'.
      ENDIF.
    *   Populate new BUT000 data
      CALL FUNCTION 'BUP_MEMORY_BUT000_FILL'
        EXPORTING
          is_but000       = ls_bus000_upd
        EXCEPTIONS
          parameter_error = 1
          OTHERS          = 2.
    I can't understand why this dump is coming? Please help if there is any other way to defaulting roles..

    Hi Suchandra,
    Are you trying to default Business Roles & Authorizations at the time of SAVE of a new CP?
    If yes, then everytime you click on SAVE button on CP Create Screen the Save BADi will be triggered.
    Cases when its not getting triggered please debug into the event handler method of view-BP_CONT/BPCONTOverview->EH_ONSAVE method.
    In this method at line (below) the save badi is triggered:-
    IF cl_crm_uiu_bp_tools=>save( ir_message_service = lr_msg_service ) = abap_true.
    In the above method - CL_CRM_UIU_BP_TOOLS=>SAVE( ) the save event handler is triggered :-
    * trigger ON_SAVE for registered handlers
      raise_save_event( ).
    If you want the default to happen when you navigate to CP Screen , you'll have to put the defaulting code in an implementation of a different badi - BADI_CRM_BP_UIU_DEFAULTS.
    - Dedeepya
    Edited by: dedeepya reddy on Nov 15, 2011 2:07 PM

  • CUA SU10 issue with users getting locked

    I did some role change using SU10 on CUA central system for 200 users. 45 of the users got locked with global admin lock in the child system for which I made the role changes.  These user locks are shown in the child system change documents log as changes by the CUA RFC user. I have this problem everytime I use su10. Why does this happen?  What can I do about it? Thanks, KT

    Hi Todd,
    propably you have some inconsistencies in your landscape....
    the cause of such 'unwanted' effects is the fact that if you change a user in your CUA central system, the whole user information is picked, then edited with you changes and afterwards distributed to all child systems.
    So what I could imagine in your example is as follows:
    User has a global lock in central system already, the particular child system did not have that information (user is still unlocked there). Several causes are possible, for instance the lock idoc did not get processed, Child system was not available/connected to CUA when the lock had been set,......).
    At the next update of that user (assign a role), the lock information from the central system is pushed to that child.
    Why?
    Because the design is to assure data consistency between central and child system. Therefore all the user information from central system is pushed to child at any user change. (that is also why you will see in SCUL 3 idocs for each user change (also user and profile idocs are pushed, even if you have changed the role assignement only).
    So what you could check is, if that users got the lock flag (128) already in the past somewhen.
    b.rgds, Bernhard

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

  • Business Partner creation - Sales Area Data retrieves blank divisions

    During business partner creation, the sales area data assignment block will retrieve a list of all relevant sales organizations, distribution channels, and divisions that are replicated from ECC. This is working fine. However, it also adds to this list with the sales organizations, distribution channels, and blank divisions. Blank divisions do not exist in either ECC or CRM. It appears to be using the dummy division settings, but I have attempted to configure with the indicator "CRM Header Div. Active" as both active and inactive, to no effect. The only time I have been able to condense this list into a single line has been when I actually activated dummy divisions -- to which CRM would now retrieve only sales organizations, distribution channels, and blank divisions. This is not an ideal solution either.
    How do I get the system to remove the blank divisions from being displayed? It is very confusing to the users, not to mention polluting the screen.
    Example (both are being displayed, I only want the one with an actual value to be displayed):
    Sales Org = 1000, Dist Chan = 10, Division = blank
    Sales Org = 1000, Dist Chan = 10, Division = 10

    any insight woudl be much appreciated. thanks.

  • Business Partner creation for Customer Master creation

    Hi
    We have customized our system in order to trigger the creation of Business Partner whenever a Customer Master is created.
    I created some customers for which the Business Partner creation was not triggered due to some reason.. In order to manage the same, i created a Business Partner manually and tried to link the same to my customer through T Code FLBPD2, but system returned with a message "The business partner could not be linked to the customer selected"  Message Number CVIC_UI023.
    Can anyone suggest something.
    Thanx in advance
    Pankaj

    Hi Pankaj,
    Please check wether you configured all required node under Master Data Synchronization..In SPRO..I am referring to below node.
    Active Synchroniztion Options
    Set BP role Category for customer Integration
    Define BP Role for direction customer to BP
    Field Assignment for customer Integration
    Thanks
    Veman.

  • Need Enhancement spot in Business Partner Creation/Change

    Hi all ,
    In Business partner creation/Change screen(Tcode BP),if pressing BACK or CANCEL button without saving data, it will ask for confirmation that Want to save data or not.If we press YES it will save the data,or if we press  NO it won't. Is there any Enhancement spot (User exit or BADi) available after triggering the above confirmation message.If so kindly intimate me the Exit name or BADi name.
    Thanks in Advance..

    Try using Implicit Enhancements .
    I have got implicit enhancements over here for you.
    check out if Useful while dubugging.
    include :LBUS_LOCATORF05
    screen 3000
    prog SAPLBUS_LOCATOR
    form dynpro_pai_begin
    dynpro_pai_end
    create IMPLICIT enhancements here.
    To avoid confusion write your code after IF condition checking for
    GV_OK_CODE which is BUS_MAIN_BACK and dynpro number.
    If you dont know Implicit enhancements try this link
    http://www.sapdev.co.uk/enhance/eframework/eframeworkhome.htm
    checking ok_code is necessay otherwise it will be executed everytime PAIis triggered.

  • FSCM-COL Business Partner Creation for Existing Customers

    Experts-
    After using MDS_LOAD_COCKPIT to create the initial load of Business Partners, there are a few Customers which are still missing Business Partners. Automatic Creation of Business Partners is set up and fully functioning for any new Customers created, however when attempting to use MDS_LOAD_COCKPIT for the existing Customers which are missing Business Partners the error message 'No transfer of interval for object BU_PARTNER' (Message no. NR028) is received.
    If the Automatic Creation of Business Partners is working correctly at the time of Customer Master creation, what would prevent the Business Partner from being created after the Customer already exists?
    Please let me know if further clarification is needed on what is outlined above.
    Thanks and Regards,
    Corey

    In case someone runs into a similar issue in the future, the resolution to this issue is provided below:
    In the case I've highlighted the customer had been created, yet the Business Partner failed to be created in the Automatic Business Partner Creation functionality initially due to a missed Tax Number Category configuration. Once this configuration was complete the BP still failed to create via XD02 or MDS_LOAD_COCKPIT. MDS_PPO2 gave the initial error message as 'Business partner ##1 does not exist' (Message no. R1201).
    Although the Customer to BP synchronization setting were set up for an external number range, the presence of contact persons in the Customer Master record were causing SAP to look for grouping data. Since no grouping data was present SAP was attempting to create BPs contact persons using the internal number range, which was already set at its limit.
    By removing the contact persons from the customer master via XD02 and then re-executing the MDS_LOAD_COCKPIT, the requested Business Partner was created. After that the contact persons were then re-maintained in the customer master.

  • Custom screen field in the SRM portal screen for Business Partner Bidder

    I need to add a custom screen field in the SRM portal screen for Business Partner. I have added this custom field in the include structure: CI_EEW_BUT000 and activated it.
    I was expecting to see the enhanced field available in the SRM portal screen when I create the bidder. But is not available.
    The new field are available if I edit an Business partner only.

    Hi,
    Please look into the following OSS Notes:
    Note 675800 - Business partner enhancement SRM on maintenance screen
    Note 672960 - User-defined fields 2
    Thanks,
    Pradeep

  • 'Standard Role' 'User' 'Business Partner' and 'Internet User'

    hii
    Currently I m working on E-Recruitment 6.0 BSP's..
    Can somebody explain me....
    1)
    'Role' 'User' 'Business Partner' and 'Internet User'
    Kindly help me undertand the relation between the above mentioned IDs and there creation
    2)
    I have created Business Partner(External Person) ID using BP(txn)...Kindly let me know how to create the 'Internet ID' and 'PW'
    So that I can use it for HRRCF_StART_EXT (BSP)
    kindly explian...or mail me any documention related to
    E-recruitment to my id [email protected]
    Looking for a immediate reply
    Regards,
    Raghav

    Role - is the same as the concept of role in R3. SAP Delivers some pre confogured authorisation profiles for some standard roles.
    Roles are assigned to user depending on the client's requirement.
    Business Partner is the same as BP in CRM. basically, the following will be BPs in ur system:
    Each independent user of the recruitment process - as BP Branch.
    All third party recruitment vendors as BP Type Agency.
    All employees will also be BP in the system.
    All external applicants.
    You can create internet user using the t code SU05. You can also use the R3 sytem user credentials to log on to the url application by configuring the system to use the SAP login. (this is done thru t code SICF)
    Hope this helps.

  • Very urgent: Doubts regarding CRM WORKFLOW OF BUSINESS PARTNER CREATION

    HI ,
    I HAVE DOUBTS REGARDING CRM WORKFLOW OF BUSINESS PARTNER CREATION, WHILE I AM CREATING BUSINESS PARTNER THROUGH R/3 , IT REFLECT IT INTO MYSAP CRM ALSO, AT THAT TIME IT SENDING THE MAIL TWICE TO THE RECEIPIENT. IS THERE ANY WAY THROUGH  WHICH I CAN RESTRICT IT TO SEND THE MAIL ONLY ONCE,
    PLZ SEND ME THE REPLY AS SOON AS POSSIBLE,
    THANKS  ADVANCED,

    HI
    WORKFLOW SEETING. SAP MAIL
    MULTIPLE MAILS AND
    ONLY ONCE CHOOSE
    ONLY ONCE OPTION ON WHICH VERSION U R WORKING?
    REWARD IF HELPFUL
    VENKAT

  • Issue with User decision handler in UWL

    Hi Friends,
      I am facing an issue with user decision hander in UWL. We have modified the XML file to show up the comments box to enter the rejection reason, this is working fine with two approval tasks already but the same thing is not working now with a new task id. In the back end(R/3) everything is the same for both the tasks, in the Portal side my portal consultant says the same. But we were not able to figure out the issue. I even created a new task and tried to use implement the handler changes, but still it is not working. Please advice what could be the issue

    Hi,
    can you elaborate what the issue, what do you mean by not working. you are not getting the reason box, or it's giving error,something like that.
    Hope we'll be more clear then about your requirement.
    venu

  • JDev 10.1.3.3 - issues with imported Business Components

    Hi,
    I have got some issues with importing Business Components in JDev 10.1.3.3.
    I cannot discover/use the imported components.
    What I did is the folowing:
    1. In a existing project I extended the default base-classes to create our own layer
    2. created a project called ModelShared
    2a. configured the project to use the base-classes I created in step 1
    2b. created an entitybased-viewobject (RefCodesByDomain)
    2c. created bc deployment-descriptors
    3. created a project called RelatieModel in the same workspace as ModelShared
    3a. added dependencies to the deployment-descriptors as well as the project created in step 2
    3b. configured the project to use the base-classes I created in step 1
    3c. imported business components
    Although I did not recieve any errors during the import of business components, I am unable to add the vo (RefCodesByDomain) to a service.
    I do see the package which contains the vo but is has no entries.
    Importing the business components to a new BC Project in a seperate workspace did succeed (I could reuse the vo).
    I tested a little further and the folowing occurred:
    4. I created a new vo in the ModelShared Project
    5. I deployed the ModelShared
    6. Restarted JDeveloper
    7. Got the folowing error message in the console window when expanding a service in my datacontrol pallette:
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    1-sep-2008 13:23:27 oracle.adf.dt.controls.DataControlsTreeWillExpandListener treeWillExpand
    FINER: THROW
    java.lang.NullPointerException
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.init(JUDTViewReferenceAccessorDefinition.java:108)
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.<init>(JUDTViewReferenceAccessorDefinition.java:98)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.createViewObjectDefinition(BC4JDataControlDefinition.java:228)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.addViewObjects(BC4JDataControlDefinition.java:208)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.loadStructure(BC4JDataControlDefinition.java:110)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.getStructure(BC4JDataControlDefinition.java:407)
            at oracle.adf.dt.controls.treemodel.jsr227.JSR227DataControlTreeNode.loadChildNodes(JSR227DataControlTreeNode.java:129)
    8. In my other "fresh" bc project I was able to use the newly created vo.
    9. When I added a VO to my shared project, all projects that are refering to the shared project loose their vo's in the data-controlpannel
    Do you have any suggestions?
    Regards,
    Romano

    Hi,
    since this appears to be a WebCenter related issue, I suggest to try the Webcenter forum WebCenter Portal or to log a bug
    Frank

  • Issue with executing Business Rules from Planning web

    Hi,
    We are using Hyperion Planning 9.3.0.1 and we keep getting an issue with the Business Rules. We get an error if we try to run the rules from Planning web. The same rules validates and executes fine if we run it from AAS. This issue gets resolved if we restart the Planning and RMI service. But this issue keeps happening randomly. Is there a permanent resolution to it? Is it a bug or I am missing something here?
    Thanks and Regards,
    Amol
    Edited by: user638718 on Apr 7, 2009 5:20 PM

    Hi,
    Have you installed any of the patches for 9.3.0.1, I think it goes up to 9.3.0.1.09
    One of the fixes was :-
    8-665086601 (6588823) – When the Business Rules connection to the relational database is lost, Business Rules does not reconnect to it. To solve this problem, an optional property, HBR_CONNECTION_VALIDATE_TIME, was added to HBRServer.properties. This property specifies a time interval for checking the connection between Business Rules and the relational database. If the connection is not valid, a new connection is established. The time interval is specified in milliseconds and defaults to 300,000 (five minutes).
    Though I know there has been more attention to fixing known issues on 9.3.1 than 9.3.0.1
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Partner creation in CRM/SRM with ID Management

    Hi,
    I have tried to find info about Business partner management with IDM to CRM/SRM...
    Customer would have two use cases.. Internal and External users...
    Internal use case is quite straight forward in IDM documentation.. I have two questions about this,,,
    1. ALE connection from HCM to CRM/SRM to create BPs to internal users... is there anywhere documentation how to configure this ALE connection?
    2. Is after SU01 user is created - Linking to BP automatical when using Business Suite connector ?
    External use case. Customer would like to implement scenario, where BP is created either:
    1. on CRM/SRM and IDM user would be created... and after approving new IDM user SU01 user with roles would be created nd BP linking would happen...
    2. on IDM user is created - BP and SU01 user would be created on CRM side... and linking between them..
    On external use case I have understood- that first one is possible without stronger customization and ABAP programming?
    --- first one requires VDS and SPML ID store on IDM side
    And something to send Newly created BP from CRM to IDM with SPML
    or does IDM check regularry with SPML CRM for newly created BPs??
    Does anyone know how actually this is happening?
    And is there any special configuration needed on CRM side? or some transaction to run after BP creation?
    IDM version 7.1 SP5
    Ystävällisin terveisin / Kind Regards
    Veli-Matti Luotonen

    Hi,
    Check whether the BP roles have been defined in the system.
    Go to  Customizing:
    Cross-Application Components -> SAP Business Partner -> Business Partner -> Basic Settings -> Define BP Roles
    Here you can define BP Roles and BP Categories.
    Make sure the appropriate category is assigned to the BP role that you are trying to create. For this select the BP role and click on the "details" button.
    Also read the documentation provided here.
    Regards,
    Reema.
    PS. Reward appropriate points to useful answers.

Maybe you are looking for