Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FORCE_SYSTEM_ASSIGNMENT

Former Member
0 Likes
623

Hi there,

Does anyone know how to use this parameter with BAPI_USER_CREATE1?

Thanks

5 REPLIES 5
Read only

Former Member
0 Likes
554

CALL FUNCTION 'BAPI_USER_CREATE1'

EXPORTING

USERNAME = USERID-BAPIBNAME

  • NAME_IN =

LOGONDATA = LOGONDATA

PASSWORD = PASSWORD

  • DEFAULTS = DEFAULTS

ADDRESS = ADDRESS

  • COMPANY = COMPANY

  • SNC = SNC

ref_user = ref_user

TABLES

  • PARAMETER = PARAMETER

RETURN = RETURN

Read only

Former Member
0 Likes
554

Hi,

Check this post

Regards,

Satish

Read only

Former Member
0 Likes
554

It's optional. so if you're not sure about it leave it blank. Have a look at note 719255.

Rob

Read only

Former Member
0 Likes
554

Thanks all for your reply.

I should have been more specific about my question.

What I really wanted to know about is what action can this parameter cause when set to true. From the name of it, it seems to me that it forces assignment of child systems to the created user. But this function does not have a parameter for you to specify the systems to be assigned to the user.

Thanks again

Read only

naimesh_patel
Active Contributor
0 Likes
554

This is what I found as in-line documentation just before using the FORCE_SYSTEM_ASSIGNMENT in the BAPI_USER_CREATE. BAPI_USER_CREATE1 in turn calls the BAPI_USER_CREATE.

<i>

  • If this function is called in central system of CUA, normally no

  • system assignment for the user is done, with the result that

  • the user cannot log on afterwards (if called in client system,

  • the assignment is made by this function some lines above).

  • This feature is required for Java User Management (UME) so

  • that users created there can log on to the ABAP backend system

  • even if the ABAP backend system is a central system.</i>

Regards,

Naimesh Patel