2012 May 25 5:21 AM
Hi,
I am using RS_INACTIVE_OBJECTS_LIST function module to list all the inactive objects.But,it is specific for one particular user.How can i list the inactive objects of all the users?
2012 May 25 6:00 AM
Hi,
Please check the below code.
report zreport.
data: name type xubname.
data: begin of itab occurs 0,
name type xubname,
end of itab.
select-options: uname for sy-uname.
initialization.
start-of-selection.
select bname into name from usr01 where bname in uname.
itab-name = name.
append itab.
clear: name, itab.
endselect.
loop at itab.
call function 'RS_INACTIVE_OBJECTS_LIST'
exporting
uname = itab-name
suppress_tree_construct = ' '
transport_request = ' '
list_as_popup = ' '
all_objects = ' '
object_name = ' '
object = ' '
exceptions
error_in_request = 1
others = 2.
if sy-subrc <> 0.
endif.
endloop.
2012 May 25 5:32 AM
2012 May 25 5:34 AM
2012 May 25 5:37 AM
see this link it shows the inactive objects
http://help.sap.com/saphelp_erp60_sp/helpdata/en/f1/232a38f8b011d295bd00a0c94260a5/content.htm
2012 May 25 5:52 AM
Hi Lavanya,
After you execute the function module RS_INACTIVE_OBJECTS_LIST, you get a button on the menu "All Inactive objects" (CTRL+F1). Try that
Regards
Rajvansh
2012 May 25 5:52 AM
When you run the Function module, there is a button All Inactive objects.
If you click on that you can see all the inactive objects for all users.
Wont that help?
2012 May 25 6:00 AM
Hi,
Please check the below code.
report zreport.
data: name type xubname.
data: begin of itab occurs 0,
name type xubname,
end of itab.
select-options: uname for sy-uname.
initialization.
start-of-selection.
select bname into name from usr01 where bname in uname.
itab-name = name.
append itab.
clear: name, itab.
endselect.
loop at itab.
call function 'RS_INACTIVE_OBJECTS_LIST'
exporting
uname = itab-name
suppress_tree_construct = ' '
transport_request = ' '
list_as_popup = ' '
all_objects = ' '
object_name = ' '
object = ' '
exceptions
error_in_request = 1
others = 2.
if sy-subrc <> 0.
endif.
endloop.
2012 May 25 6:08 AM
This is exactly what came to my mind first...but this will not show the entire objects in a single list....the above posts were right,we get the entire list when we click on the All Objects button.Otherwise not possible.
2012 May 25 6:11 AM
If you leave the UNAME blank in the FM then it will directly show all the Inactive objects, you will not need to click on the button.
2012 May 25 6:18 AM
2012 May 25 6:21 AM
2012 May 25 6:35 AM
2012 May 25 6:42 AM
2012 May 25 6:49 AM
2012 May 25 6:50 AM
Hi,
The FM just gets the entries from table DWINACTIV.
just check this table.
Probably you can write your own report with this.
And what did you mean by Delete? You want to delete the object or delete the name of program from list?
2012 May 25 6:52 AM
2012 May 25 7:00 AM
Hi,
You can write your own report.
Select the entries form DWINACTIV table and display as output.
Give a hotspot for the display, so that the user can click on that and do your custom action method there.
Thanks,
Shambu
2012 May 25 7:03 AM