Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

implementing a object using cofiles

kiran_k8
Active Contributor
0 Likes
1,194

Hi Folks,

Do anyone here has an idea of what are the do's and dont's while importing an object into a server using cofiles or what kind of problems we will be facing.

Here is a case.

A developer has implmeneted an object (no development done from SE38 like...) by importing the cofiles into the development server.Now when I am trying to add some code it is not allowing me.What suprising is INSERT REPLACE DELETE CANCEL buttons are showing up as in the case of a standard program.It is allowing me to insert the new code after I click on INSERT.Why is it so ?

The imported objects are ZOBJECTS.

Thanks,

K.Kiran.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,160

hai kiran yes u r right bcos

the code may be z development but since the developer is differerent that is the code is developed in differeent system

and ur systme is different , for that u have to change the orignil system of the object to ur system and then u can edit the code

m.a

11 REPLIES 11
Read only

Former Member
0 Likes
1,161

hai kiran yes u r right bcos

the code may be z development but since the developer is differerent that is the code is developed in differeent system

and ur systme is different , for that u have to change the orignil system of the object to ur system and then u can edit the code

m.a

Read only

0 Likes
1,160

Afzal,

I don't think it is the issue w.r.t Developer.

Yes the code is developed totally in a different client's server.As the requirement is same here,they had just imported the objects uisng cofiles.

Didn't get what you mean by "change the orignil system of the object to ur system ".

Thanks,

K.Kiran.

Read only

0 Likes
1,160

hai kiran

in ur program ,

just click the menu goto and then click display object directory entry and u will get the detials of the object

there u have package name , person responsible, original language and original system

there is the differeence sicne the object is not done in ur system it will not allow to edit

it behaves as if it is developed in sap system only u have to change that

m.a

Read only

Former Member
0 Likes
1,160

I hope the original system assigned to that request number is not matching with yours.

So go to se03 click on Change Object Directory Entries of Objects in a Request . Then give the request no and it will show the object assigned to that request. Just select that object and click on the push button change object directory and change the original syste.

Please take the guidance of basis also.

May be it will work

Regards

Shiba Prasad Dutta

Read only

0 Likes
1,160

Afzal/Shiba,

Both of you are referring to Package.

If we are importing a object into a server using cofiles doesn't the system check for Package inconsistencies ?

I mean suppose the objects were developed in a server within a package ZABC and now we are importing these objects into a different server,doesn't the system check whether this package ZABC is available or not at the time of importing ?

Obviosuly the Transport request of the objects from the source server will not be in sync with the TR's of destination server as the clients(not mandt but actual client) are different.Doesn't the system check on this ascpect as well ?

Can we create a package beforehand with the same name and then import the cofiles ?

Thanks,

K.Kiran.

Read only

0 Likes
1,160

hai kiran,

yes it will definitely check for package availability, if not found then it will give error

as normal transport happens

m.a

Read only

0 Likes
1,160

Hi

U make sure to import cofiles but data file also, after releasing a request the system creates 2 file: cofile and data file.

Then u make sure the original package exists in the target system, if it doesn't exist u should create it or inser the development class in the original request.

Max

Read only

0 Likes
1,160

Max/Afzal/Shiba,

Thanks for replying.

Just some more info...

All I have is cofiles and datafiles imported from a server.Can we know the package from these co/data files have ? I don't have the connection to the server to which this co/data files actually belong to.

Thanks,

K.Kiran.

Read only

0 Likes
1,160

hi kiran,

u cant get package name from cofiles and data files , once u import the files then u will get error that package does not exist error

for that u have to create package in ur target server

m.a

Read only

0 Likes
1,160

,thanks everybody.

Read only

kiran_k8
Active Contributor
0 Likes
1,160

Hi,

Original System DEV

Req 12345

Program ZXYZ.

Got the cofiles and the data files of the above request from the system.

Imported these cofiles and data files into a differernt system whose Original System is EDC.But still the Original Sys(Go To>>Object Directory entry >> for this program alone is DEV and not EDC even after successful implmentation.

After importing the objects the program is working fine.But sometimes when I am trying to make the changes to this program the extreme left side of the whole code is getting marked as XXX and not letting me change the code and showing me

INSERT REPLACE DELETE CANCEL buttons which is letting me change the code only when I press the corresponding button.

Sometimes the Basis team has to manually move the request to Quality as the requests won't get moved when done through STMS.

As per the above replies,I have to change the Original Sys from DEV to EDC ie current system but when I am trying to do that by OBJECT DIRECTORY ENTRY this field is in non editable.How to change this programs Origianl system as EDC.

The only solution that is striking to me is to copy this program into a new program so that the Original System wil be EDC.

Kindly Opine.

Thanks,

K.Kiran.