cancel
Showing results for 
Search instead for 
Did you mean: 

Model class deleting in Web Dynpro

Former Member
0 Kudos

Hi ,

I want to delete few model classes which I imported from RFC which are redundant. Is there any way I can delete these classes.

From the ABAP end also few RFC’s have been deleted and now I am getting error at the Web Dynpro end.

Your reply greatly appreciated.

Regards,

Rakesh

Accepted Solutions (0)

Answers (2)

Answers (2)

sridhar_k2
Active Contributor
0 Kudos

Hi Rakesh,

First Identify which Models classes are not required for your project. Then delete them from navigator perspective in gen_wdp/… folder. Then in your project if you are using those nodes any where, delete those nodes manually and even methods also.

Make sure that you are deleting correct nodes and methods.

Regards,

Sridhar

Former Member
0 Kudos

Hi All,

I did the steps you mentioned. But still classes are there.

Regards,

Rakesh

Former Member
0 Kudos

Hi,

Delete the model node from the custom controller which is bound to the RFC node during the mapping. and also delete the methods created in custom controller to call the execution of RFC. then remove the model from the used models area. Reimport the model and do the mapping steps.

regards

karthik

Former Member
0 Kudos

Did that still there in model.

Former Member
0 Kudos

Hi

Try this

1. Comment all the relevent code and imports of the corresponding Model.

2. Remove the nodes from Views and Component controller and Custom controler.

3. Remove the Model class from used model.

4. Remove the model.

Kind Regards

Mukesh