BAPI to copy user favorites

Hi All,
I need a BAPI of function module to copy the favorites from one user to the other. I can use BAPI_USER_WP_PERS_DATA_READ and BAPI_USER_WP_PERS_DATA_SAVE to read the favorites from a template user and to save them against a newly created user. The problem here is that the BAPI BAPI_USER_WP_PERS_DATA_SAVE uses two mandatory parameters COUNTRY and DRDIALOG and one of the parameter IDs called WPDRDIALOGPERS gets added to the User master record which is created. Unfortunately this parameter ID does not exist in the system and the system complains.
Is there any other function module or BAPI with which I can update the favorites of a user.
Any help will be greatly appreciated!
Best regards,
Sudhi

Hi,
Please check these FM.
STREE_USER_FAVORITES_COPY
STREE_FAVORITES_MAINTAIN
Regards,
Ferry Lianto

Similar Messages

  • Windows installer deletes user favorites on Drive D

    Much of Windows 8.1 reinstalling Windows in a User-preferred way is great, but it can backfire, badly. Windows 8.1 Full Version (Pro) cleaned Drive C using DiskPart.exe as per usual and installed Windows 8.1 to Drive C. During installation Windows installer
    specifically targeted and deleted all Favorites from Drive D where all user file copies are stored between installations. No other user files were deleted.
    Related? Favorites was included in Windows 8.0/early 8.1 personal folders, and is no longer located there: all personal folders including Favorites were typically moved to Drive D disk, including Favorites from C:\Users\Favorites, when it was removed from
    Personal Folders (Regedit, namespace keys). On the one occasion where Windows installer mistakenly deleted Drive D favorites, Windows installer was replacing a Windows installation where favorites were uniquely copied to Drive C default location, rather
    than being moved to Drive D. This was the only occasion when Windows installer 'attacked' user files, and this was the only occasion where my Microsoft Windows 8.1 Account 'experienced' favorites being copied from another drive to the C drive (rather than
    the usual folder properties Location change).
    First, has anyone else been effected by this bug (irregularity)? Second, since Windows reinstallation is 'pre-empting' and making decisions concerning user data, Should not the Account interface provide a way for the User to manage what is otherwise
    reckless installer behavior (other than the end-game Start screen Account layout Synch, obviously)? Minor Registry bug, or new installer functionality surfacing?
    2014... 30 years an artist (web design, not development)

    Kate Li,
    Thank you for your interest. Did I note that R & D engineers from three Teams (setup, activation, security) have been looking at my machine?
    Microsoft account server restores favorites after 3 days
    PROBLEM... Three days after Windows 8.1 OS installation deleted my Favortites (see above), Microsoft Account server restored the files that Windows Setup mistakenly deleted. Set aside 5 hours + to integrate finally restored favorites. Thanks people,
    kindly continue reading.
    Open Internet Explorer.
    Right click top bar to show Favorites. Click top right corner favorites star.
    Drag and drop new address bar links onto star to place in root "Favorites" folder. Favorites folder links must be manually removed one-by-one using right click. Links can also be dragged between folders.
    (note that contents of "Favorites bar" folder are displayed across top of browser window when Favorites bar is showing. "Favorites bar" is shown in the Favorites Star dropdown. When "Favorites" toolbar is selected, "Favortites
    bar" toolbar should be a Favorites toolbar dropdown menu-tree explored and well-adapted in Vista+ versions, but hidden in Windows 8.1 since Favorites is removed and replaced by just "Favorites bar". When "Favorites bar" toolbar
    is selected, existing 2013 Windows 8.1 favorites toolbar shows. This unique favorites architecture easily added to existing Windows Internet Explorer will offer huge customer benefits...
    (note that each drag-and-drop Favorites Star menu action immediately closes menu as if there was only one action to perform! Internet Explorer Favorites Star drop menu is missing a standard active-x functionality built into Windows, and
    very oddly missing from the Star menu. Favorites Star drop menu should lock in place until star is clicked to close, so that users can select and maintain multiple links using copy, move, delete actions without the menu constantly closing after each desktop
    (office) action...
    So two things for R & D to fix.
    1.) Add "Favorites" on top of "Favorites bar" to browser top bar right right-click options, adding options to open in File Explorer or add-remove from toolbar display.
    2.) Adapt current Favorites Star drop menu to include missing active-X Click-To-Close action, for easy favorites links and folders management... without (#$$$) slamming after every mouse action, interrupting work-flow!!!
    WORKAROUND.
    Windows browser Favorites benefit from extensive OS security oversight. One unfortunate result of this oversight is that large favorites collections in fact destabilize the entire Operating System. Oversight also means
    that favorites management is exceedingly cumbersome.
    We have implemented two advanced but helpful Favorites customizations that allow user to open two or more important link folders in File Explorer, so that links can be reasonably managed: one folder is the default C:\Users\Favorites folder and the other
    folder is a large collection of personal links (personal links folder contains an archive of over 2,000 Internet links (a quantity far too large for Windows to store in default oversight Favorites location). Here now are the two folder path links added to
    the Favorites Star root folder (using File Explorer to create and add the links manually to the default Favorites folder):
    C:\Users\username\Favorites
    Drive:\archive folder name
    Drive:\another archive folder name 
    Due to Microsoft's favorites oversight preoccupation, security for archived links in other local locations is simply managed by traditional Windows Defender or third party security.
    Outside of the Internet Favorites folder security zone, in regular User folders. The oversight zone is extremely helpful in front-end Internet applications. However, Users require more default flexibility
    in management of a system-wide local favorites. The two-plus folder customization described above offers advanced users quick and easy customization,
    for the existing Favorites architecture only. Change is coming!
    The click-to-close Favorites Star Menu is needed.
    "Favorites" and "Favorites bar" right click top bar accessalso further implements existing security, customer easy-of-use, and work-flow.

  • Move Users Favorites Folder in Roaming Profile and then Delete?

    Hello,
    My current scenario is as follows for user accounts:
    \\90.244.233.10\userprofile$\User-16 (this is their profile path)
    \\90.244.233.10\userprofile$\User-16\Favorites (this is their favorites folder)
    I need to take the above favorites folder and move it to their userhome$ folder found here:
    \\90.244.233.10\userhome$\%username%\Favorites (these folders already exist) 
    Then delete their complete userprofile$ folder.
    How can I achieve this using powershell? I think the tricky part for me is going through each folder in userprofile$ and looking for a \Favorites folder and then matching that userprofile$ foldername to %username% since they're the same.
    Thank you.

    This worked:
    gc users.txt | % {
    $user = "$_"
    if (Test-Path -Path "\\90.244.233.10\userprofile$\$user\Favorites")
    copy-item -path \\90.244.233.10\userprofile$\$user\Favorites -destination \\90.244.233.10\userhome$\$user\
    remove-item -path \\90.244.233.10\userprofile$\$user -recurse

  • Restore user favorites

    Hi All,
    Is it possible to recover the users' favorites after the ID has been deleted? We have a ob which deletes inactive users but some users want their user ID to be recreated along with their Favorites menu on the intial screen. This is required in R/3 system.
    Thanks in advance
    Vijaya

    Hello Vijay,
    the table content is deleted with the user. So if you do not have a backup yet, the information is lost.
    Regarding your backup strategy, it is your decision.... For instance download to excel and enter it later manually.
    Or create a little report copying the table content for specified users (the ones which you delete to  backup tables) Restore would be then the same other way round. Only some thoughts.
    b.rgds, Bernhard

  • Was I supposed to get a hard copy user manual with my new phone??

    Was I supposed to get a hard copy user manual with my new phone??
    I did not get one - but would like one

    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    There you go!
    Enjoy

  • Copy user setting

    Hi,
        I used this query for copy user setting from Manager to all other users. This query running successfully but problem is this all the setting is copied but manager user lost all settings i.e all udf's come under general category which is previously distributed to different category. Which is fine for rest of the users.
    ALTER PROCEDURE [dbo].[CopyUserSettings] AS
    Declare @ManagerId int
    Declare @MaxId int
    Declare @NextId int
    Declare @TempId int
    -- Change value below if copying from other than Manager(1)
    Select @ManagerId = 1
    Select @MaxId = max(UserID) + 1 FROM OUSR
    Select @TempId = 1
    Select @NextId = @ManagerId
    if exists (select 1 from sysobjects where name = 'temp_dev_sup')
    Begin
    drop table temp_dev_sup
    End
    select * into temp_dev_sup from cprf where usersign=@ManagerId
    Delete from cprf where usersign= @ManagerId
    WHILE @TempId < @maxid
    BEGIN
    If @tempid <> @managerid
    BEGIN
    Update temp_dev_sup Set usersign= @TempID where usersign=@NextId
    Insert into cprf Select * from temp_dev_sup where usersign= @TempId
    END
    Select @NextId = @TempId
    Select @TempId = @TempId + 1
    If @TempId >= @maxid
    BREAK
    Else
    CONTINUE
    END
    Thanks
    Rahul

    Hi Rahul,
    Change Select @ManagerId = 1 from 1 to some other user id having correct form settings and execute belwo procedure again.
    ALTER PROCEDURE [dbo].[CopyUserSettings] AS
    Declare @ManagerId int
    Declare @MaxId int
    Declare @NextId int
    Declare @TempId int
    -- Change value below if copying from other than Manager(1)
    Select @ManagerId = 1
    Select @MaxId = max(UserID) + 1 FROM OUSR
    Select @TempId = 1
    Select @NextId = @ManagerId
    if exists (select 1 from sysobjects where name = 'temp_dev_sup')
    Begin
    drop table temp_dev_sup
    End
    select * into temp_dev_sup from cprf where usersign=@ManagerId
    --Delete from cprf where usersign= @ManagerId
    WHILE @TempId < @maxid
    BEGIN
    If @tempid <> @managerid
    BEGIN
    Update temp_dev_sup Set usersign= @TempID where usersign=@NextId
    Insert into cprf Select * from temp_dev_sup where usersign= @TempId
    END
    Select @NextId = @TempId
    Select @TempId = @TempId + 1
    If @TempId >= @maxid
    BREAK
    Else
    CONTINUE
    END
    Thanks,
    Neetu

  • Copy user login

    Dear All,
    I have a problem about user Login in SQL Server 2008.
    because I restore database from another server, user Login for that database already created but not in instance user login. So when user login into instance name they have failed login.
    what that i missed before restore database so when user login into instance they do not failed?
    or how that i can copy user login  from database to instance login? because when i add from add login wizard i have error user already created.
    please help.
    Best regards,
    Surbakti

    When a database is moved from one server to another server the login ids stored in the master database do not align with the login ids
    stored in each user database or there is no login id or password associated with the user and user in the database becomes ORPHAN.
    To fix this problem you need to transfer Logins & password refer below link to Transfer Logins & Passwords.
    How to transfer logins and passwords between instances of SQL Server
    once you transfer logins fix orphan users, refer below link to fix orphan users
    http://blog.sqlauthority.com/2007/02/15/sql-server-fix-error-15023-user-already-exists-in-current-database/
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • Copying user specific reporting variants to other users

    Hi,
    Does anyone have experience in copying user saved variants to other users?
    We'd like to create a few complex variants for reporting and then distribute them to all of our users.
    Thanks!
    -Miikka
    Edited by: Miikka Åkerman on Nov 18, 2009 2:40 PM

    Hi,
    In reports input Screen you have this option,
    In selection screen you can find, Save as a New varient, give some name and save , don't select Save as User Varient and save it.
    Note: Check with the select Save as User Varient & Use as default Varient options.
    Thanks
    Reddy

  • BAPI to copy a material to other plant

    Hi Forum,
       I need to copy a material from the plant(werks) 2000 to the plant 2300, but i need to use the same material number, wich BAPI can copy this material?
    Thanks in advance,
    John P.

    Hi John,
    Use the BAPI BAPI_MATERIAL_SAVEDATA, but pass the material number in the HEADDATA as well as providing the new PLANTDATA.
    If you supply the material number, it will extend the material, rather than creating a new one.
    Cheers,
    Brad

  • Copy User Missing in SP07

    Hi All,
      I am on version 1.00.72.00.xxxxx I am unable to see the copy user option when I right click on users in the studio. I thought this was available in SP07. am i missing something ?
    Message was edited by: Tom Flanagan

    I upgraded the studio to Version: 1.0.7300 and the DB is at 1.00.72.00.388670. The Issue still exists. I checked SAP | HANA Developer Edition and there is no version 72 for the studio. hence I used 73. any thoughts ?

  • Copy user greyed out  in SU01

    When i am executing SU01 t-code copy user is greyed out and infact copy user icon is also not showing . I already have the SAP_ALL and SAP_NEW authorization with my id .
    Please suggest on this .

    Check this help:
    http://help.sap.com/saphelp_nw70ehp1/Helpdata/EN/52/6711c5439b11d1896f0000e8322d00/content.htm
    http://help.sap.com/saphelp_nw70ehp1/Helpdata/EN/52/6711c5439b11d1896f0000e8322d00/frameset.htm
    You are authorized to assign the authorizations, systems, roles, profiles, and reference users that are assigned to the user to be copied. Otherwise, the role for which you do not have authorization is not copied to the new user master record. When copying or assigning a reference user, the system checks whether you are authorized to assign its profiles and roles.
    If you cannot copy the template user completely, because, for example, the reference user does not exist in the current system, the system displays a log with the exact causes of the error.

  • Copy user roles/profiles : Su01

    Hello,
    I want to copy user roles /privileges from one user to other?
    how do we do this and which user can do this ? my pisuper does not seem to have authority to copy user profiles from one user to other?
    Thanks

    Try to Copy the user(Src user to Target user) from SU01 by logging in your user. When it displays authorization error, open a new Session  of SU53. It will tell you the missing authorization  objects. Add those authorizations to your user & you will be able to copy Users using ur userid.
    If you want to keep it simple.. Give yourselves SAP_All. You can do whatever you want.
    Copying Users
    http://help.sap.com/saphelp_nw04/helpdata/en/52/6711c5439b11d1896f0000e8322d00/content.htm
    Regards,
    Siva Maranani

  • Copying User Menu using Copy Express

    Dear All ,
    We have customized the 'User Menu' to hold some customized reports. we need to copy all those settings to another DB.
    When trying to copy 'User Menu' settings from one DB to another DB it is not taking the settings to the new DB with any options.
    Kindly let me know what should be done, so that we could able to copy the User Menu settings to another target company ?
    Thanks,
    Raj.

    Yes Gordon, All the users are same in numbers and codes.
    Im trying to copy the user settings from Developement DB to Production DB.
    Kindly provide m a solution.
    Thanks,
    Raj,

  • Copy users with their Org assignments

    Hi,
    I'm working in a SAP system in which SAP Users are directly linked to Positions (for indirect role assignment need).
    Is it possible to copy users with all assignments ?
    All tests done using SU01 only copy User's data without their assignments.
    Thanks and regards.

    Srihari Rao wrote:>
    > > When I create a user copy, in the popup window I can choose to copy or not user's reference but I do not see how to include Organizational Assignment links
    >
    > Hi,
    >
    > When the roles are copied from the user, the org levels are copied too (if maintained in the roles of the user).
    >
    > ex: user1 has roles assigned to him which have Org levels maintained for it.Now when you copy the user1 data, say for user2, and you select "Roles" from the copy options... the user2 will get the same org levels that are available / restricted for user1.
    >
    > Hope am clear.
    Clear yes, relation with the original question, no.
    Gaetan  is talking about the position in the organization to which the USERID is linked. I personally think there's no way to copy that along with the user.
    You can link the copied user to the same position the original user had/has. But that would always be an extra action as far as I know. (This is another one were I'd love to be proven wrong....)
    If you have to copy a lot of users maybe you can ask in the HR forum(s) about automating the organizational assignment with ecatt.

  • Copying User authorization between databases

    Hi All,
    Let us say i got two DB. How to copy user authorization between them.
    Thanks and Regards,
    Vin

    Hi Vin.......
    You can use Copy express in order to transfer Authorizations from one DB to Other......
    Regads,
    Rahul

Maybe you are looking for

  • PCI-6052E doesn't save all data, buffer too small?

    WinXP,Labview6.1,PCI-6052 board,collect data from all 16 channels every 5 seconds (Test 1) I set external scan clock 10KHz, external channel clock 200KHz, buffersize 10K, "number of scan to read" 10K, theorically, in each file I should have 50,000x16

  • Switching Photoshop CS5 from my PC to my MAC.

    I just got a new mac and want to put my photoshop CS5 onto it instead of my old PC. Is there a way to switch my license from a PC to a new computer? Thanks!

  • Creating a Relation in Forms

    I'm trying to create a relation on an existing block (block1) to a new block that I've created (block2) which has a foreign key to block1. Now if I were to open up a blank new form and do this, it works fine, but since this is an existing form with s

  • AE 3.1 File :: Can't open!

    I need to open a 3.1 version AE file. What versions of After Effects, that run on an Intel PowerMac, can open a 3.1 AE file?

  • 3rd party web gallery plugins?

    I've been looking around for web gallery generator that goes beyond the ones packages with Aperture. Doesn't seem like there's much out there. The references to Jumsoft go to dead links, and the one review I read for Themes for Aperture didn't look p