cancel
Showing results for 
Search instead for 
Did you mean: 

Copy the objects from another interface

0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

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

Former Member
0 Kudos

Hi Kumar,

As long as the ICOs are created properly, you won't be having any issues.

Regards,

Shankar

former_member191435
Contributor
0 Kudos

it is better change the service interface name... even though it wont effect the thing.... but as you are saying you changed the logic right...

Thanks,

Sreenivas

rcsegovia
Active Participant
0 Kudos

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.

Former Member
0 Kudos

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

rcsegovia
Active Participant
0 Kudos

Hi Shankar,

MT and DT are linked and the behavior is normal, this is not an error, you can configure your new MT using same DT if you don't need to change DT you can reuse it.

Cheers,

Roberto.

Former Member
0 Kudos

Hi Roberto,

Yes, the DT and MT are always linked. But my point is which DT is he going to make the association with the MT. Lets assume he copies the MT and DT under a different namespace, and then makes some changes in the new DT. But since the new MT will be, by default linked to the old DT, the changes might not get reflected in the MT, and hence an issue might occur, based on the message mapping.

Please Correct me if am wrong.

Cheers

rcsegovia
Active Participant
0 Kudos

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.

rcsegovia
Active Participant
0 Kudos

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.

former_member191435
Contributor
0 Kudos

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