2021 Mar 10 2:42 AM
hello experts,
I had a RFC ,but I deleted it by accident,it then references some structure,and i deleted FM group.
When I delete structure, the structure is can't deleted,because it was used FM Program。
so, how do I remove these structures?
2021 Mar 10 2:54 AM
Hello Wei,
Even though you deleted the function module(s) and the Function Group sometimes the Function Group's main program still not deleted and still is accessible. So check with SE38 if SAPL<FunctionGroupName> program exists; if it does exists then display it and make sure it doesn't reference any other Function Modules (you can double click on include names) then I'd say you can find how the structures are used in the Function Group program (probably there is a data variable definitions exist) so you can delete these variables; meaning later you can delete the structures. You can consider deleting SAPL<FunctionGroupName> as long as there is no other function modules in it.
If these all don't make sense please give more details (like object names) that would be helpful for the context.
Thanks,
Tuncay
2021 Mar 10 2:54 AM
Hello Wei,
Even though you deleted the function module(s) and the Function Group sometimes the Function Group's main program still not deleted and still is accessible. So check with SE38 if SAPL<FunctionGroupName> program exists; if it does exists then display it and make sure it doesn't reference any other Function Modules (you can double click on include names) then I'd say you can find how the structures are used in the Function Group program (probably there is a data variable definitions exist) so you can delete these variables; meaning later you can delete the structures. You can consider deleting SAPL<FunctionGroupName> as long as there is no other function modules in it.
If these all don't make sense please give more details (like object names) that would be helpful for the context.
Thanks,
Tuncay
2021 Mar 10 3:21 AM
hello Tuncay,
Thanks you respond.
I search SAPLZ*, it didn't had my program.
when i used where used structure,

when i used se38 search

2021 Mar 10 2:53 PM
Wei, that's interesting!
Probably the navigation index should be updated. So you can consider to run these programs: SAPRSEUI or SAPRSEUT or SAPRSLOG
Running the programs must help "Where-Used List" giving correct & updated results.
Reference: Transaction for mass updating of navigation index
Thanks,
Tuncay
2021 Mar 22 7:18 AM
hi Tuncay,
the program was deleted.But I didn't do anything,when I again check, it was not used.
maybe is navigation index was updated.
Thanks for your help.
2021 Mar 22 6:51 PM