cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI set user roles valid date

Former Member
0 Kudos

Hi,

I'm searching for a BAPI that can change the valid to date for the roles of a user. Does anyone know if this exists and how you need to use it?

thank you,

Tom

Accepted Solutions (0)

Answers (1)

Answers (1)

sudheer-tammana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tom,

The BAPI to use is BAPI_BUPA_ROLE_CHANGE.

Please note that after executing this the commit should be done using the module BAPI_TRANSACTION_COMMIT.

Regards,

Sudheer.

Former Member
0 Kudos

Thank you Sudheer. I think this one might help me. So, I just need to give the Business partner, the valid to date and a flag, right?

Where exactly do I find the business partner related to a certain user?

thank you,

Tom

sudheer-tammana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tom,

Thats Right. Fill in the valid to flag and the corresponding flag.

Business partners are stored in the table BUT000. Search on this table to find a business partner related to a user. Hope this helps.

Regards,

Sudheer.