Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 18, 2007 at 05:53 PM

    Hi,

    Please check these FM.

    STREE_USER_FAVORITES_COPY

    STREE_FAVORITES_MAINTAIN

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      This does not copy the favorites... It sees a different table while the table the favorites get stored is SMEN_BUFFC. I might have to code a FM to read the table and insert the values to the same while creating.

      Best regards,

      Sudhi

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2012 at 10:04 AM

    Please check OSS 513777 - Transaction SU01 provides errors since you have entered parameter 'WPDRDIALOGPERS' for the currently edited user.

    Regards P. Schubert

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.