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

BAPI_USER_CHANGE error

Former Member
0 Likes
704

Hi all ,

I am trying to create a Service user for a portal application (EHP - 6 ) .

When I am using BAPI_USER_CHANGE , its by defaulting setting the user type as Dialog user (USTYP = A ) even if I am passing the USTYE = 'S' i.e Service user .  Also this BAPI is returning me foll messages in the return table - User Attribute 'User Type' cannot be maintained in this system

How do I resolve this issue ?

Supriya

3 REPLIES 3
Read only

former_member193464
Contributor
0 Likes
599

You want to create a user then why not using BAPI_USER_CREATE1 ?

Read only

0 Likes
599

Hi ,

We have a golder client where we create all out users with user type = Dialog and then we copy them on our respective client with User type = Service .

Hence , I am using the CHANGE bapi and not the Create BAPI .

P.S : This program works fine in another server (EHP4 ) , but in the new server (EHP 6 ) its giving the problem .

Any thoughts ?

Regards ,

Supriya

Read only

0 Likes
599

Hi you all.

Maybe it's not a smart solution, but have you tried to make a function module (if you wish to invoke it from outside SAP) which could, first calling the BAPI and then, as long as that field cannot be set from that BAPI, to make a Batch Input session which could reset the user type?

Kind regards.

Santiago.