cancel
Showing results for 
Search instead for 
Did you mean: 

Download and Upload of favorites and user manu using custom program

former_member199670
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

JerryWang
Advisor
Advisor
0 Kudos

Hi there

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

Best regards,

Jerry

raymond_giuseppi
Active Contributor
0 Kudos

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.
Sandra_Rossi
Active Contributor
0 Kudos

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?