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

Changed roles for given timestemp

Former Member
0 Likes
1,114

HI All,

I need to find a way to find if some of the user roles are changed i.e. deleted or add for time

range ,there is FM CHANGEDOCUMENT_READ but how i can use it for roles ?

for example i want to know which roles are changed for the last 2 days .

Regards

Chris

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,060

Check transaction S_BCE_68001424

Rob

7 REPLIES 7
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,060

Hello,

Do you need a separate program for this?

I think

SUIM --> Change Documents --> For Roles

will give you the reqd. details.

BR,

Suhas

Read only

Former Member
0 Likes
1,060

Hi Suhas ,

Thanks a lot !

I need a FM or method for this issue since i need to develop it.

do u have an idea what i can use for it ?

Regards

Chris

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,060

Hello,

If you check the code of the RSSCD100_PFCG you will get the complete picture.

Set your breakpoint at the call of the FM: CHANGEDOCUMENT_READ & proceed.

I think that should be simple

Good Luck !!

Suhas

Read only

Former Member
0 Likes
1,060

Hi Suhas

Thanks

i check it and let you know .

Thanks again

Chris

Read only

Former Member
0 Likes
1,061

Check transaction S_BCE_68001424

Rob

Read only

former_member194669
Active Contributor
0 Likes
1,060

Try to use fm


  call function 'CHANGEDOCUMENT_READ_RANGES'
    exporting
      objectclass_tab            = i_objectclass_i
      date_until                 = p_datum "<<<
      time_until                 = p_time "<<<
    tables
      editpos                    = i_cdpos
    exceptions
      no_position_found          = 1
      wrong_access_to_archive    = 2
      time_zone_conversion_error = 3
      others                     = 4.

Read only

Former Member
0 Likes
1,060

Note that there was an important change which shifted the change documents from the USH* tables over to the CD* tables.

Depending on which release and SP you are on, and whether or not you are using the CUA, and whether or not you have performed the conversion steps... the answer may vary.

For the second time today... which release are you on?

Cheers,

Julius