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

Delete structure

JamesG
Participant
0 Likes
2,793

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?

1 ACCEPTED SOLUTION
Read only

TuncayKaraca
Active Contributor
0 Likes
2,534

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

5 REPLIES 5
Read only

TuncayKaraca
Active Contributor
0 Likes
2,535

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

Read only

0 Likes
2,534

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

Read only

0 Likes
2,534

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

Read only

2,534

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.

Read only

0 Likes
2,534

You are welcome, Wei. Glad to hear all good now!