cancel
Showing results for 
Search instead for 
Did you mean: 

Inquiry on Importing Models and JCos

Former Member
0 Kudos

Hi!

I currently have a project, which requires me to re-import a set of ABAP modules in my Web Dynpro app. In addition to this, I also need to change the JCo Model Data and Meta Data destinations for this.

My questions are:

1.) Is there a way to change the Model Data nad Meta Data JCos without having to delete the model and import again? I tried reimporting it, but it doesn't let me change the JCo definitions (or at least I don't know if how and if it is possible).

2.) If I do delete the Model and import it again, what will happen to the existing implementation codes that uses the model in the WD? What gets removed and what gets retained?

That's all! Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

All the places where the Jco reference is there has to be changed. If the signature of the RFC is changing then you may need to re import the model. So, plan your project accordingly.

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

For your firsrt Question answer you can found in this blog

Second Question aswer found in this thread

hope it helps you!

Regards,

ramesh

Former Member
0 Kudos

Hi !

Thanks for these links. They are also helpful.

Former Member
0 Kudos

Hi Angelo,

To change the metadata without deleting the model,

Expand Dictionary under the project created, you will find one dictionary type of the same name of you model. Select it in the properties you can see the Metadata data of the model, change it, save, build and deploy

To change the model data without deleting the model,

Expand Project --> models --> model name --> model classes. Click on each model class in the properties you can see the model data, change it, save, build and deploy.

Hope this solves your problem.

2.) If I do delete the Model and import it again, what will happen to the existing implementation codes that uses the model in the WD? What gets removed and what gets retained?

Even if you reimport your model with the same name as it was before deleting you may need to recheck all the context mapping and binding of UI elements with the model data in your project to ensure its correctness.

Former Member
0 Kudos

Hi Aishwarya,

Thanks for that comprehensive info!

I just have one last question in relation to JCo. Since the JCo will be changed as well and this also needs to be done on the Portal side. Is that correct?

In my current project, setting up the JCo on the Portal side is handled by a different team, and I heard that it takes around 2 - 3 weeks before they can finish this for some reason.

What I want to do right now is to re-import the new ABAP models, retaining the current JCos for now, and just change them afterwards. Is this a logical or efficient approach? Or would it be better to just wait for the new JCos to be set up before reimporting these models.

Thanks!