From dialog user to service user & BAPI BAPI_ACTIVITYCRM_CREATEMULTI

Hello all,
I have a question. When being a<b> dialog</b> user, running the fm BAPI BAPI_ACTIVITYCRM_CREATEMULTI creates no problems. E.g., the number of partners added to the activity is correctly stored in the internal table. However, since I want to prevent that I have to update the password every x days, I want to use a <b>system</b> or <b>service</b> type of user.
The problem now is that the function modules returns with an <b>error</b>. Because a certain partner now is NOT added/available anymore.
To sum, running the fm with dialog user gives a good, desired result. Chaning the user the system gives an erroneous result.
What changes do I have to make so that it correctly adds the desired partner type to my activity?
Mehmet

Thanks RENE for your answer.
The problem is solved, it seems that i was passing fields that i didn´t have to pass, so instead of passing all the fields of the partner, now i just pass:
  wa_partner_bapi-ref_guid
  wa_partner_bapi-ref_kind
  wa_partner_bapi-partner_no
  wa_partner_bapi-partner_fct
  wa_partner_bapi-ref_partner_handle
  wa_partner_bapi-no_type
  wa_partner_bapi-display_tyype
Regards,
Filipe

Similar Messages

  • User Profile Service - User Profile Incremental Synchronization Timer job stuck at 33% Status: Pausing

    User Profile Service - User Profile Incremental Synchronization Progress: 33% Status: Pausing
    It has been almost 15 days.
    Both User Profile Service and User Profile Synchronization Service are in Started state and FIM service also starting 
    I tried clearing sharePoint config cache.
    I also restarted the sharepoint timer service.
    I tried almost everything that is on Internet but nothing helped me.
    Is there any other way to solve the issue as I was struck on production server (ASAP) 
    In synchronization serivce manager status of MOSS_DeltaImport is Inprogress from past 2 days  
    Best Regards.

    Hi,
    Please follow the steps in the link below to clear the configuration cache.
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/en-US/beaa852c-6f40-428a-b97c-20722864e045/user-profile-service-user-profile-incremental-synchronization-timer-job-stuck-at-88-status?forum=sharepointadminprevious
    Or try to clear the file system cache on all servers in the server farm on which the Windows SharePoint Services Timer service is running. Microsoft has provided a step by step procedure on clearing file system cache from the SharePoint front-end servers
    in this kb article.
    You can also see the ULS logs and check error messages.
    http://sharepointlogviewer.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • SAP user licensing - service users and system users

    Hello,
    In SAP licensing process, will it count service users and system users for the license.
    (or licensing occurs only to the dialog users)
    In the license agreement , it is not mentioned.
    (Mentioned as 500 user license only)
    regards,
    zerandib.

    Hi Zerandib,
    This forum is for SAP Business One users only. I think your question is related to R/3. Please close your thread and post on a proper forum.
    Thanks,
    Gordon

  • Service users in SAP XI?

    what are service users in SAP XI?

    Hi Ankur,
    in XI basically we deal with two type of uses. they are
    Service users are used for internal communication between XI components, which is
    usually triggered by interaction of dialog users .The service users provide dialog-free
    access to the involved XI components. They have SAP user roles in the ABAP part of the SAP
    Web Application Server (AS) that are available as user groups in the J2EE part. The Integration Repository is associated with service user XIREPUSER. For each component, service users representing the respective components are created with the appropriate roles in the target components during installation. The passwords of the service users have to be defined during the installation process.
    Ex:
    Component Service   
    Exchange Profile,
    System Landscape
    Directory
    User Role                        
    SAP_BC_AI_LANDSCAPE_DB_RFC
    Service User
    XILDUSER
    Dialog users represent human users (as opposed to service users), who log on through the
    various UIs of the Integration Builder, System Landscape Directory, and Runtime Workbench.
    Dialog users are generally maintained in the ABAP part of the SAP Web AS. The roles for the different dialog users displayed in the following table are predefined and
    shipped.
    Dialog User Role Description
    SAP_XI_DISPLAY_USER-- Read-only access to Integration Directory and
    Integration Repository
    SAP_XI_DEVELOPER--- Design and development of integration processes
    Go to this location and find the documentation.
    /sap netweaver/sap netweaver in detail/security/security in Detail/SAP Security Guides

  • SWITCH user from DIALOG to SERVICE, how???

    hello:)
      I'm developing the WD for ABAP app and have th following scenario to fulfill.
    My service starts with the service user(no logon dialog) which was maintained with ICF.
    Than with the
    SUSR_INTERNET_USERSWITCH
    I change to the DIALOG user. But how can I switch to another DIALOG user or back to the SERVICE user after that??
    I know that I could close the browser, but I really would not like to do that.
    any help is more than welcome
    best regards
    Simon:)

    Wow, I can only begin to imagine why you need this.
    I can only suggest you discuss with Basis / Portal admin to clarify the overall
    approach user management and service security.
    I would love to know why you need this.
    For initial hacking.... you can try
    HTTP_DELETE_SSO2_COOKIE   
    HTTP_AUTHENTICATE   
    To force new authentication.
    You can also, use calls to RFC destinations to post things under different users.
    You can redirect to another service using the exit plug
    that requires a different logon approach.
    The main issue I see is if the original service is a KIOSK default user,
    and you use a switch user, then the new SSO2 cookie should end up in browser.
    That browser session will automatically provide those credentials until they are removed.
    Web dynpro development is not meant to be a SSO2 mgt tool.
    Perhaps BSPs are better suited? Especially if  JAVA script is required beyond application exit/restart.  This is OK in Web Dynp via SICF settings.
    If you want a KIOSK type tool that logs the current user off,
    you can look to put a special EXIT page in SICF for the service.
    This exit page can contain Java script that deletes the SSO2 cookie, and restarts
    the same or another front door service.
    regards
    Phil

  • Call Custom Service from Event Receiver as Current User

    Hello,
    i bang my head on this problem for days now:
    My custom web service hosted in Sharepoint 2013 needs to know the logged on user name. I used to have a self-written impersonation in my service client before, but with switching to claims authentication this should be obsolete.
    So within my service i decode the user from
    IClaimsPrincipal icp = Thread.CurrentPrincipal as IClaimsPrincipal;
    IClaimsIdentity ci = (IClaimsIdentity)icp.Identity;
    String User = ci.ToString();
    This works well when i call the service from a custom aspx page.
    It utterly fails when i call the service from a List Item Event Receiver. The User always is the Application Pool Account.
    This is the Client code to open the Channel:
    private void SetChannelFactory(
    MyServiceApplicationProxy proxy,
    Uri address)
    if (null == proxy)
    throw new ArgumentNullException("proxy");
    if (null == address)
    throw new ArgumentNullException("address");
    // Check for a cached channel factory
    string endpointConfigurationName = GetEndpointConfigurationName(address);// Get the endpoint configuration name
    if ((null == s_ChannelFactory) || (endpointConfigurationName != m_EndpointConfigurationName))
    lock (s_ChannelFactoryLock)
    if ((null == s_ChannelFactory) || (endpointConfigurationName != m_EndpointConfigurationName))
    // Create a channel factory without specifying an endpoint address
    // so it can be cached and used for multiple endpoint addresses
    s_ChannelFactory = new ConfigurationChannelFactory<IMyServiceContract>(
    endpointConfigurationName, proxy.Configuration, null);
    // Configure the channel factory for claims-based authentication
    s_ChannelFactory.ConfigureCredentials(SPServiceAuthenticationMode.Claims);
    foreach (var operation in s_ChannelFactory.Endpoint.Contract.Operations)
    DataContractSerializerOperationBehavior behavior = operation.Behaviors.Find<DataContractSerializerOperationBehavior>() as DataContractSerializerOperationBehavior;
    if (behavior != null)
    behavior.MaxItemsInObjectGraph = 2147483647;
    // Store the current endpoint configuration name.
    m_EndpointConfigurationName = endpointConfigurationName;
    private IMyServiceContract GetChannel(
    MyServiceApplicationProxy proxy,
    Uri address)
    //Create Channelfactory
    SetChannelFactory(proxy, address);
    // Create a channel from the channel factory.
    return s_ChannelFactory.CreateChannelActingAsLoggedOnUser(new EndpointAddress(address));
    All research pointed out that "CreateChannelActingAsLoggedOnUser" would pass the current user (which is correctly identified within the event receiver!) to the service, but it doesn't work for my event receiver...
    Any advice on this would be great!
    With kind regards,
    Joachim

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Аdding department export data from a survey list from user profile services in Sharepoint 2013.

    When voting, survey Sharepoint 2013, there is a field created by whom. But the name is not enough. Necessary to add the department name of the profile data in the exported list excel.

    Hi,
    The OOTB feature “Export to Spreadsheet” won’t contain the department in the exported report, we will need to create a custom one programmatically.
    We can use SharePoint Object Model to retrieve the data from the Survey and the User Profile Service, then generate an Excel Spreadsheet with the data we need.
    SharePoint Object Model -
    SPListItem class
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx 
    Add, Update and Delete List Items Programmatically in SharePoint
    http://www.mindfiresolutions.com/Add-Update-and-Delete-List-Items-Programmatically-in-Sharepoint-372.php 
    More information about
    SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    How to: Work with user profiles and organization profiles by using the server object model in SharePoint 2013
    http://msdn.microsoft.com/en-us/library/office/jj163142(v=office.15).aspx
    For about
    generating an Excel document:
    http://www.codeproject.com/Articles/20228/Using-C-to-Create-an-Excel-Document
    Or you can post another question to
    Excel for Developers for about creating an Excel file programmatically:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How can I recover from Windows login failure: User Profile Service failed the login

    I have Boot Camp installed on a separate partition on a MacBook Pro, late 2011 model. I have Mavericks installedd (10.9.1). I use, variously, both Parallels and VM Fusion to access the BootCamp installation of Windows 7.
    Except for having recently installed updates of both VMFusion and Parallels, I got this failure message when trying to login to Windows:: The User Profile Service failed the logon. User profile cannot be loaded.
    I had just been on Windows a few moments previously to access a business site that only accepts IE. Appreciate any useful insight on dealing with this issue without having to totally replace the BootCamp installation. A lot of the suggestions on Microsoft Windows repair sites are either incomprehensible or don't seem applicable.

    Same problem here. Windows 7 support gives several so-called fixes (including regedit tweaks, eliminating the blocked user account), but all require access to that partition. So far as I know, I have only one user, since this is my personal computer -- unless there is some sort of default "administrator" logon.
    Windows support says the problem might be caused by antivirus software running while we try to logon, but this problem has never happened to me before, and I have not made anti-virus changes (maybe AVG or Avast did so automatically)
    I tried to access regedit through Finder, but get a garbled text-edit with the message that regedit cannot be opened by DOS.
    So I wonder (a) is there a default admin logon? (b) Can we tinker with the settings inside Windows from Finder, or (c) how else can we get into Windows?
    My setup: Macbook Pro (Fall 2010), 10.6.8, boot camp, Windows 7.

  • List with user data from User Profile Service

    Hi there!
    I got SP intranet site up and running with more then 2000+ users on it.
    User Profile Services is getting users attributes from Active Directory.
    How can i make a list with all of those users and columns like Department, Manager, Office number, etc.. 
    After that i'm going to apply a filter by current user department.
    I would really appreciate some offer.
    Thanks!

    There is a sharepoint hidden list called User Information List , if you want to filter by current user department I recommend that you use ser search API and search People using SourceID 
    public static ResultTable SearchUsers(string query,int limit,string [] selectproperties)
    KeywordQuery kq = new KeywordQuery(SPContext.Current.Site);
    //select properties
    foreach (string property in selectproperties)
    kq.SelectProperties.Add(property);
    kq.SourceId = new Guid("B09A7990-05EA-4AF9-81EF-EDFAB16C4E31");
    kq.QueryText = query;
    kq.RowLimit = limit;
    ResultTableCollection results = new SearchExecutor().ExecuteQuery(kq);
    return results.Filter("TableType", KnownTableTypes.RelevantResults).FirstOrDefault<ResultTable>();
    you need to pass the query Department:CurrentUserDepartment and to get current user department 
    UserProfileManager manager = new UserProfileManager(SPServiceContext.GetContext(SPContext.Current.Site));
    UserProfile currentUser = manager.GetUserProfile(SPContext.Current.Web.CurrentUser.LoginName);
    string department=currentUser["Department"].toString();
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • After sql server 2012 installation, I have changed sql server database engine service account from network service user to system user. What is disadvantages of this process?

         After
     sql server 2012 installation, I   attached my production db. Because of some reasons, i
     changed sql engine account from network service user to system user by means of sql server configuration manager.
         Now , there isn’t
     a problem at sql server running system.  But
    I have doubts that
     this can produce problems later. Because  sql server database engine account must have privileges that listed below;
    Log on as a service (SeServiceLogonRight)
    Replace a process-level token (SeAssignPrimaryTokenPrivilege)
    Bypass traverse checking (SeChangeNotifyPrivilege)
    Adjust memory quotas for a process
    (SeIncreaseQuotaPrivilege)
    Permission to start SQL Writer
    Permission to read the Event Log service
    Permission to read the Remote Procedure Call service
     While sql server installation, setup gives these
     privileges to network service user automatically, but changing user by means of sql confugarition manager does not give these
    privileges.
    Now, system user has privileges listed below. And sql server has been running for 1,5 months without any problems.
    Log on as a service (SeServiceLogonRight)
         Bypass traverse checking
    (SeChangeNotifyPrivilege) (Everyone user has his privileges. So i think that system user has this privilege also)
    What problems can occur because of this situation? Shall i give other privileges to system user and restart sql server or not? And how can i give these privileges to system user listed below;
    Replace a process-level token (
    this can be set from user rights assignments)
    Adjust memory quotas for a process
    (this can be set from user rights assignments)
    Permission to start SQL Writer ( 
    ? - give advice )
    Permission to read the Event Log service (
    ? - give advice )
    Permission to read the Remote Procedure Call service (
    ? - give advice )

     Our server is  windows server 2008 r2 enterprise edition. I have looked the bunch of permissions in user rights menu  that is in local security policy settings gui.
    And i have seen those permissions below were not granted to system user;
    Bypass traverse checking (SeChangeNotifyPrivilege)
    Adjust memory quotas for a process
    (SeIncreaseQuotaPrivilege)
    So, briefly you say, don't panic ?

  • Externalise Users from Essbase to Shared Services

    Hi All,
    We have a issue with externalising users to shared services
    We have shared services on sun os 5.10 which is in a ssl (secure sockets layer) mode and Essbase installed on windows server 2003 sp1 which is in a non ssl mode and when we are trying to externalise users from essbase to shared services we are ending up with fallowing error
    Shared services_security_client_log
    *2009-09-14 14:54:47,957 ERROR [Thread-74] 30:1101:JNDI error.[Root Cause: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined] ] com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)*
    *2009-09-14 14:54:47,957 ERROR [Thread-75] 26:1002:Invalid value for identity. Enter a valid value. com.hyperion.css.common.CSSUtils.checkValidArgument(Unknown Source)*
    *2009-09-14 14:54:47,957 ERROR [Thread-75] 31:1098:Invalid user identity format.[Root Cause: 26:1002:Invalid value for identity. Enter a valid value. ] com.hyperion.css.spi.impl.nv.NativeProviderDirMgmt.deleteNativeUsers(Unknown Source)*
    Thanks in advance,
    Ram

    After you copy the SQL Repository across to the new environment and log in with the owner account, you will be required to register the application with Shared Services. After registering with SS it should prompt you to "Migrate Users and Groups" which will do the migration for you.

  • Externalizing Users from Essbase to Shared Services in OEPM 11.1.1.2

    Hi All,
    I have a strange problem like when we installed and configured EAS, Essbase with Shared Services these products are moved to the control
    of shared Services. I know that in EAS after configuration the control moves to HSS, but Essbase control also moved to HSS
    Is it possible for Essbase without using Externalize option to have control from Shared Services
    I didn't use the Externalize feature from Essbase to move the user information to Shared Services
    I need to migrate the users on 7x server to 11x server..Is it possible from 7x as it is not registered with Shared Services
    If not do i have any alternative to get the user/group info from 7x to 11x server.(These are on two different servers)
    Please clarify and let me know if i need to produce more information
    Thanks,

    After you copy the SQL Repository across to the new environment and log in with the owner account, you will be required to register the application with Shared Services. After registering with SS it should prompt you to "Migrate Users and Groups" which will do the migration for you.

  • I have this message when i try to log onto my home pc "The User Profile Service, service failed the logon. User profile cannot be loaded." can I recover my music and photos from iCloud from another user account?

    I get this message when i try to log onto my home pc account "The user Profile Service, service failed the lofon. User profile cannot be loaded" can I recover my data from another/new user account from my iCloud account??

    "Jesse.soto1" wrote in message news:1e164fdf-7370-45c0-9bc7-3b58278121c3...
    Good Afternoon Everyone,
    I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my  issue
    ... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
    Very Respectfully,
    Jesse
    Home Premium cannot logon to a Domain, nor can it be set to try it.
    when you get the logon window, try hitting the three-finger salute )Ctrl+Alt+Del) twice – it may bring up the old-style login window – enter your credentials there.
    Noel Paton | Nil Carborundum Illegitemi |
    CrashFixPC | The Three-toed Sloth

  • Need to migrate Shared services users and groups from 9.3.1 to 11.1.2.2 ver

    Hi All,
    We need to migrate Shared services users and groups from 9.3.1 to 11.1.2.2 version. Any help would be appreciated. Can we use CSS import export utility?
    Thanks in advance!!

    Hi John, In my another environment I have to migrate the users and groups from Hyperion HSS 11.1.1.2 to Hyperion shared services 11.1.2.2. I am using LCM for that, when I export the users and gropus from 11.1.1.2, it exports fine but when i import it to my 11.1.2.2 using LCM, I am getting the below errors.
    Error when I try to import the groups:
    ErrorEPMIE-00051: Failed to perform operation on role. Could not locate role matching filter {0} and filter attribute {1}. Please ensure that a role exists matching the filter with filter attribute.
    EPMIE-00024: Failed to import all of the membership info for group test group. Invalid group members encountered. Please ensure the validity of members and its existence in their respective providers.
    Errors when i try to import the users:
    ErrorEPMIE-00051: Failed to perform operation on role. Could not locate role matching filter {0} and filter attribute {1}. Please ensure that a role exists matching the filter with filter attribute.
    EPMIE-00020: Failed to update user 04668162 during import. Invalid identity for user. Please ensure that the user is available in the system with the identity specified in the import file.
    Any idea?
    Thanks in advance.

  • SPM: Setting a dialog user as a service user to be used as FF

    Hi all,
    We are having a dialog basis administration user in production and we are wondering if we could set is as a service user and use it as a FF in order to control a monitor his activities.
    Such user is executing background jobs periodically.
    Is there any effect for changing this user to service and use it as FF?
    Many thanks in advance. Kind regards,
      Imanol

    it's not compulsion to use service user as FF id.
    you can use Dialog user also as FF id.
    both options are ok. service of dialog.
    i don't think there will be any issue, just don't logout and login too frequently, as you may get FF id busy message.
    Regards,
    Surpreet Bal

Maybe you are looking for

  • Text message problem after 10.2.1 update

    I updated to 10.2.1 and I now receive no visual or sound notification for my text messages, they also only appear in the main hub not in the separate account for text messages it just says no entries in this view, can someone pleaseee help its drivin

  • Unable to save the changes in the form

    hi, I have a mater detail form with the following tables CREATE TABLE xx_HEADER ( TRX_NUMBER VARCHAR2(240) PRIMARY KEY, FORM_ID NUMBER NOT NULL, VENDOR_ID NUMBER NOT NULL, VENDOR_SITE_ID NUMBER NOT NULL, ORGANIZATION_ID NUMBER(15) NOT NULL, LOCATION_

  • HTTP Streaming for Flash Player 10.1

    Hi there, I have been developing a streaming video player application in Flash Builder 4, and have been really excited about the HTTP Streaming functionality now available in Flash Player 10.1. Unfortunately, there seems to be an extreme dearth of ma

  • UTIL_FILE Directory Creation

    Is there a way to define a directory tree as usable by UTIL_FILE, and have subdirectories within that tree inherit the permissions? For instance: 1) Define '/u01/util_area' as a node with which to use UTIL_FILE; 2) Then create a subdirectory '/u01/ut

  • Slideshows order changed

    Is there any way to reverse the order of the slides?? I created a slideshows in iphoto 08, and I don't know what I did, but I changed the order of the slides, they are in the correct sequence, but it starts with the last slide. This is my first macbo