‎2014 Aug 22 6:29 PM
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
‎2014 Aug 27 5:42 PM
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
‎2014 Aug 27 5:42 PM
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