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 for changing roles

Former Member
0 Likes
461

Hi guyz,

I want to deactivate few roles for some time & for that I want to set the "Valid To" date as 'sy-datum - 1' for few roles through SU01.

One option to do this is through BDC & other is using BAPI.

Can somebody please tell me if there is any BAPI to do task.

Thanks

Ankit

3 REPLIES 3
Read only

Former Member
0 Likes
428

Check this function module.

SUSR_USER_SURFACE_MAINT_ATTRIB & check the table agr.

Read only

0 Likes
428

thanks for the reply but

this one is not working man

can you think of something else.....

Read only

0 Likes
428

> Check this function module.

> SUSR_USER_SURFACE_MAINT_ATTRIB & check the table agr.

Hi Bipin,

Is there any BAPI to Display roles for a given tcode?please reply fast.