cancel
Showing results for 
Search instead for 
Did you mean: 

Copy ABAP Programs from one SID to Different SID

Former Member
0 Kudos

Hi Gurus,

As i did client copy,now i want to copy all programs from one SID to Another SID.As i have searched on sdn i got same

questions raised,but it will be a lenghty process.As i have so many programs,so it'll be a tough job to download all programs and

upload them one by one.So kindly tell me the easiest way to download these programs at once.

Thanks & Regards

Ajitabh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jitu,

I would like to recommend the following steps, and coordinate with BASIS guy.

1. Put all programs you want to copy in a transport request, you may use SE01 -> create one TR -> insert objects, or any other method.

2. Release that Transport Request

3. In operating system, directory /usr/sap/trans/cofiles and /usr/sap/trans/data there will be a file which have same name with your TR number

4. Copy those files to the target system

5. Ask BASIS guy to run the following command, using <SID>adm sequentially, and change the parameter as necessary

a. tp addtobuffer SM2K9ZZ07L S88 pf=/usr/sap/trans/bin/TP_DOMAIN_S88.PFL

b. tp import SM2K9ZZ07L S88 client=300 pf=/usr/sap/trans/bin/TP_DOMAIN_S88.PFL

Your program will be available in the target system, if you found error such as objects is left behind, you can transport it again using the same method.

Please remember that ABAP program is client-independent, so the transport will replace program in ALL Clients.

Hope this help.

Thanks

Answers (2)

Answers (2)

venkata_emandi
Participant
0 Kudos

Hello,

You can make Transport of copys of all your abap programs and then import them back by copying the data and cofiles from OS level and then add to your source system buffer and import them.

Hope that helps.

Thanks

venkata

Former Member
0 Kudos

Dear All,

I am closing this question.

My query is solved.

Thanks & Regards

Ajitabh

Former Member
0 Kudos

Can you add the solution please.

Former Member
0 Kudos

Hi Jittu,

You have to do the Client Export & Import ( for ABAP program )

Former Member
0 Kudos

Hey Thomas,

Thanks for your reply.

But exactly how to do this export and import of the ABAP Programs?

I think that was my question.

Thanks & Regards

Ajitabh

Former Member
0 Kudos

Hello Ajitabh,

You can try SAPLINK to export and import your programs.

Following is the link for the same:

http://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink?bc=true

Former Member
0 Kudos

Hi,

you should do the below steps:

Go to transaction SCC8 and select the profile client with profile SAP_EXPC (Customizing Including Cross-Client Customizing)

After successful export that files are stored in DATA & COFILES under TRANS directory then ran for Import scc7 of Target client which finished successfully. Now you can get the ABAP Program & Object, Texts in the target client.

In Remote Client copy will possible for Customizing Request.

For you wanna one by one program please see the link,

http://www.sap-img.com/ts004.htm

If any other doubts Please Let me know

Regards

Thomas

Former Member
0 Kudos

I agree with RikiDas!

SAPLink is a good tool for this kind of import/export!

http://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink?bc=true

Former Member
0 Kudos

Hi Shadowdancer,

Thanks for your reply.

I have released the TR but i am not able to see the files in Cofiles and Data Folder.

I am confused now.

Can you tell me the exact way?

Former Member
0 Kudos

Hi Jitu,

When I release transport request: D11K901187

The following files appear:

/usr/sap/trans/data/R901187.D11

/usr/sap/trans/cofiles/K901187.D11

The name is not exactly same though.

Can you find the files?

Thanks

Former Member
0 Kudos

Go to STMS transaction -> Systems -> Double-click on your system name

Then, under TRANSPORT TOOL tab, you can see a parameter named: TRANSDIR

Probably, transport directory can be different from usual /usr/sap/trans

Former Member
0 Kudos

Dear All,

I have used SE03 transaction.

selected Include objects in a request and then execute.

clicked selected objects radiobutton, there i gave Z* for programs

and execute. now i have created a new request and transport all

your Z programs in one go.But i got the following below error.

Error When Adding Objects:

ZCL_BSP_CONT2 cannot be included in request/task

ZCL_BSP_CONTROLLER cannot be included in request/task

ZCL_IM_BADI555 cannot be included in request/task

ZCL_IM_BADI_MATERIAL_CHK cannot be included in request/task

ZCL_IM_BADI_SAVE cannot be included in request/task

ZCL_IM_BADI_SAVE5 cannot be included in request/task

ZCL_IM_CEWB_TSK_SCREENS_01 cannot be included in request/task

ZCL_IM_CLAIM_COST_CHECK cannot be included in request/task

ZCL_IM_CURTO_ALTSEQ_BLK cannot be included in request/task

ZCL_IM_HR_FUNCTIETOESLAG cannot be included in request/task

ZCL_IM_IMP cannot be included in request/task

ZCL_IM_ISR_RU01 cannot be included in request/task

ZCL_IM_ISR_RU03 cannot be included in request/task

ZCL_IM_LE_WM_STORAGETYPE_H cannot be included in request/task

ZCL_IM_LTRM_GRP_RQST_CHANG cannot be included in request/task

ZCL_IM_ME_BADI_PO_TEST cannot be included in request/task

ZCL_IM_MSC cannot be included in request/task

ZCL_IM_MSC1 cannot be included in request/task

ZCL_IM_MSC1N cannot be included in request/task

ZCL_IM_MUE_EBPP_GET_DATA cannot be included in request/task

ZCL_IM_P00 cannot be included in request/task

ZCL_IM_QEVA_SUBSCREEN_89 cannot be included in request/task

ZCL_IM_SAVE cannot be included in request/task

ZCL_IM_SAVE1 cannot be included in request/task

ZCL_IM_SAVE_F cannot be included in request/task

ZCL_IM_SD_BADI_VA01 cannot be included in request/task

ZCL_IM_TARA cannot be included in request/task

ZCL_IM_ZDEMO_BUNDLE cannot be included in request/task

ZCL_IM_Z_APAR_EBPP_GET_DAT cannot be included in request/task

ZCL_IM_Z_BBP_CTR cannot be included in request/task

ZCL_IM_Z_BBP_EXTREQ cannot be included in request/task

Can anyone tell me how to solve this error?

Thanks & Regards

Ajitabh