Skip to Content
avatar image
Former Member

Problem with PRGN_INTERFACE_USER deleting SAP_ALL and SAP_NEW.

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 .Passo 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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 25, 2014 at 05:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded