Skip to Content
avatar image
Former Member

Inquiry on Importing Models and JCos

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 11, 2008 at 05:05 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 11, 2008 at 06:27 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 11, 2008 at 04:16 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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!

  • avatar image
    Former Member
    Dec 11, 2008 at 05:01 AM

    Hi,

    For your firsrt Question answer you can found in this blog

    Web Dynpro Adaptive RFC - How to change Logical System Names after Model Import

    Second Question aswer found in this thread

    at-the-backend-r3-a-bapi-functu0131on-module-has-b

    hope it helps you!

    Regards,

    ramesh

    Add comment
    10|10000 characters needed characters exceeded