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

FMPRGN_INTERFACE_USER problem

Former Member
0 Likes
447

Hi all.

I'm having trouble deleting of users with sap_all and sap_new. I am using the FM PRGN_INTERFACE_USER but is not solving the .For example:  following parameters: Profile: sap_all, user: ALEBWSEMBPS, action: 'D' and perform_checks: 'X'. Anyone have any idea what is happening. Have sy-SUBRC = 0 return.

Thank you and regards.

Erlon Lourenço

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
417

Reply of colleague Julius

That was a function for "wizards" and has been changed in the recent years to make checks, respect CUA, etc.

You should use the correct APIs -> BAPI_USER_GET_DETAIL, then remove the Profiles from the exported list, and then call BAPI_USER_PROFILES_ASSIGN (or the CUA equivalent for LOCal profiles to be (re)assigned).

Cheers,

Julius

1 REPLY 1
Read only

Former Member
0 Likes
418

Reply of colleague Julius

That was a function for "wizards" and has been changed in the recent years to make checks, respect CUA, etc.

You should use the correct APIs -> BAPI_USER_GET_DETAIL, then remove the Profiles from the exported list, and then call BAPI_USER_PROFILES_ASSIGN (or the CUA equivalent for LOCal profiles to be (re)assigned).

Cheers,

Julius