Skip to Content
-3

Download and Upload of favorites and user manu using custom program

Oct 17, 2017 at 02:31 PM

91

avatar image

Hello All,

I would like to have a custom program to download and upload of Favorites and user menu from one Existing user to new user. Program will be having two selection screen namely Existing user and new user, upon running program favorites and user manu needs to be copied from existing user to New user.

Please let me know feedback suggestion on the same.

Thanks

Manimaran K

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jerry Wang
Oct 18, 2017 at 06:18 AM
0

Hi there

You can try my solution in my blog Favorite List Management Tool

Best regards,

Jerry

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Oct 17, 2017 at 07:16 PM
0

For the favorites, cf https://archive.sap.com/discussions/thread/951530 (function modules MENU_FAVORITES_DOWNLOAD and

MENU_FAVORITES_UPLOAD).

AFAIK, the user menu is built by additioning the menus defined in his roles (transaction PFCG). Or are you talking about the default user's "area menu" in SU01?

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Oct 18, 2017 at 06:00 AM
0

To copy users I usually use those BAPI (so RFC enabled when copying between systems)

  • BAPI_USER_GET_DETAIL followed by BAPI_USER_CREATE1, BAPI_USER_ACTGROUPS_ASSIGN and BAPI_USER_PROFILES_ASSIGN (the user menu will be created there)
  • BAPI_USER_WP_PERS_DATA_READ followed by BAPI_USER_WP_PERS_DATA_SAVE (the favorites will be created there)
  • and of course, some error/return management followed by commit/rollback, etc.
Share
10 |10000 characters needed characters left characters exceeded