Skip to Content
avatar image
Former Member

Copy the objects from another interface

Hi,

I am working in SAP PI 7.31.i am working on interface.i have copied data types,message type,service interface,message mapping and interface mapping into new namespace.whether it will create problem or issue.please suggest me.

Thanks

Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 23, 2014 at 07:59 AM

    if you create with different namespace it wont give any problem...

    But Change the names of all the data types message types and service interfaces in while copying those details...

    BTW: May I know the reason why you are approching this case...

    Thanks,

    Sreenivas

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2014 at 08:51 AM

    Hi Kumar,

    If there is no changes into data types, you can reuse it without problems, even the same objects without copy to another namespace. Please elaborate a litle bt your scenario.

    cheers,

    Roberto.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 23, 2014 at 09:04 AM

    Hi Kumar,

    As mentioned above, as long as the namespace differs, there shouldn't be a problem.

    BUT,

    As far as Message Type is concerned, when you copy the object, you need to be careful and make sure the two namespace fields are similar.

    I personally have encountered the issue, when copying objects to another scenario. When a MT is copied, the associated data type will not be changed. Even though, you have copied your DT in your new namespace, unless you make THIS Change, you would encounter error.

    Regards,

    Shankar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi again,

      I see your point, but if you create a new DT and is not linked to a MT, never will be reflected into mapping structure and error will not occur, maybe you will miss your extra fields due to you wrong assignation.

      Regards,

      Roberto.

  • avatar image
    Former Member
    Dec 23, 2014 at 11:17 AM

    Hi,

    I have only changed the namespace for the data types,message type,service interface,message mapping and interface mapping.is it ok or not.my requirement is that already interface is there ,we are adding new logic in ECC and we are seperated it from before interface.please suggest me it will affect old interface.

    Thanks

    kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Kumar,

      If you need to configure a separate interface with same objects in ESR you should create a new Service Interface, MM and OM, you can reuse MT and DT to avoid waste time.

      In that case you will have no problem with previous interface.


      cheers,

      Roberto.