SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Object link migration

0 Kudos

Hi All,

The question I have is regarding the need of a certain migration objects in emigall. The object I need is for creating links between two equipments/func locations. The t code for this is in01 in plant maintainance. This is because when we want to make a meter as higher meter device as a parent of consumer meter devices we might use object link functionality to capture the cummulative consumption of consumers.

Also if I make my own bdc based migration object i will not know which link i created because temksv table wont show any thing.

Your quick response will be appreciated.

8 REPLIES 8

oliviawalsh
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

The following link contains some information in relation to migration specific to IS-U:

http://help.sap.com/saphelp_erp60_sp/helpdata/en/97/276c359513cf41e10000009b38f839/frameset.htm

I hope this is helpful for you.

Regards

Olivia

0 Kudos

Hi olivia thanks for your response plz respond to my Customer Service question as well.

I think you are just responding with help pages form the IS-U web manual. Try giving me exact answers for questions.

Thanks

Edited by: F.Hashmi on Apr 12, 2011 7:11 PM

Former Member
0 Kudos

Hi Hashmi,

I have a scenario with an object link migration object (let's say OL) between 2 equipments (tcode IN07).

1.How to get SAP object number: tcode EMIGALL go on corresponding object (OL) -> In return field screen area you have to put the message variable returned from tcode with the no of the sap object created (in my case application area: IN, message number: 110, mess. variabile: 1).

2.You should check tcode IN01 to see what are the class and number message in case of success creation and capture the corresponding message variable 1,2,3 or 4 (which contains the sap code for the OL created). If you find something ok for you fill the returning fields in migration object (EMIGALL).

Good luck,

Catalin Butnaru

0 Kudos

HI Catalin

The point u mentioned at first is my question i would like to ask Emigall Specialist Fritz as the final time why isn't there an object link object in emigall what if Catalin quoted scenario occurs. I know there is the provision of making a Zobject by which i am serving the purpose of object link. But still there should be an object of object link migration as it may solve the problem of many scenarios.

As for catalin i could not understand the 2nd point.

0 Kudos

Hi Hashmi,

I was talking about a custom migration object created with BDC migration class.

Point 2 is referring to the fact that, when creating migration objects with BDC migration class, you can pass in returning parameter (which goes after in temksv-newkey) the sap code of the new sap object created (in our case an equipment of type object link). This sap code of the object created can be extract from the message you receive in message bar in case of successful creation of the object. Something like: Link 10000040 created, which is sap message: Message no. IN110

So, to save sap code of the object created in temksv-newkey, you have to fill for the migration object in the returning field this values:

application area: IN

message number: 110

mess. variabile: 1

There are a lot of migration objects you want in a migration project but not all exist in SAP migration company, so you have to create them by your own.

You can use BDC migration class or you can create MISC migration class. In case of MISC you have to create: service module for migration object, auto structure, return structure, etc.

Regards,

Catalin

0 Kudos

Hi Catalin

Thanks now i get what u r saying. The zobject i have made is from bdc class but for your point for entring the new key in temksv i am a little hazy about can it be done for bapi mig class objects as well.

Edited by: F.Hashmi on Apr 16, 2011 3:03 PM

0 Kudos

Hi Catalin

Your BDC object works fine thx. Now i am trying a bapi to fill up a ztable the error disgonostics say

Message no. EM105

Diagnosis

The new IS-U key is unknown.

Procedure

Contact your system administrator

i have done all the suggested parts.

I think it is because temksv doesnt have the new key but i am filling in my ztable there should be no key.

although i filled in object data parameter for the zobject in return field BAPI_NEW_KEY-NEWKEY.If u like i can mail u the bapi code.

0 Kudos

Hi Hashmi,

You can provide value for temksv-newkey also in an event (emigall -> choose your object -> migr object -> change -> utilities ->events).

Between standard eventsSERVI02 (SERVICE_ERROR) and SERVI03 (COMMIT_WORK) you can write your code to provide value for temksv-newkey.

You can send me the BAPI code.

Regards,

Catalin