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

Export ABAP function module to several customers

Former Member
0 Likes
1,549

Hi guys,

Is there any way to u201Cexportu201D a function module or a workbench request to several customers? I need to develop a functionally that applies to many CRM installations and we want to create a file to transport it from one customer to another. It will be great if we can build something like a SAP note or similar.

Any hints?

Thanks in advanced.

Alvaro

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
892

Hi Alvaro,

One way is to take the two O/S files that make up the transport and deliver them to each recipient system.

Once you've released and exported a transport a cofile and a datafile are created in the directory /usr/sap/trans (that's the unix version, you're basis team will know exactly where it is). The subdirectory cofiles contains the cofile and data contains the datafile, both files contain the transport number in the file name.

Copy these two files to the corresponding directories in the destination system and you will be able to add the transport to the buffer and import it. Don't forget, the imported objects will still have the source system as their original system, so you may need to create a tool to change that if you want to modify the objects in the destination system.

Regards,

Nick

6 REPLIES 6
Read only

Former Member
0 Likes
892

Hi,

Go to SE37 and open the function module that u have created. Then follow this path to download the FM

Utilities => More Utilities => Download / Upload => Download. This will down the FM to local file. And then u can upload this file in the target system.

Regards,

Bhavesh Solanki.

Read only

Former Member
0 Likes
893

Hi Alvaro,

One way is to take the two O/S files that make up the transport and deliver them to each recipient system.

Once you've released and exported a transport a cofile and a datafile are created in the directory /usr/sap/trans (that's the unix version, you're basis team will know exactly where it is). The subdirectory cofiles contains the cofile and data contains the datafile, both files contain the transport number in the file name.

Copy these two files to the corresponding directories in the destination system and you will be able to add the transport to the buffer and import it. Don't forget, the imported objects will still have the source system as their original system, so you may need to create a tool to change that if you want to modify the objects in the destination system.

Regards,

Nick

Read only

alvaro_guzman
Product and Topic Expert
Product and Topic Expert
0 Likes
892

Thanks very much guys.

I like Nick's idea because I think it will be easier for a Basis team to import those file and create the corresponding objects. One last question: I need to release and transport my request in order to get the cofile and datafile files? Or as soon I create my order both are generated?

Thanks again for your help.

Alvaro

Read only

0 Likes
892

Yes, you have to release it (from example from SE09).

Make sure you export the whole function group, otherwise you might get an error during the import, of the other part of the function group is missing in the target system.

Read only

0 Likes
892

Hi Alvaro,

The transport has to be released and exported for the cofile and datafile to exist.

Regards,

Nick

Read only

alvaro_guzman
Product and Topic Expert
Product and Topic Expert
0 Likes
892

Thank you all for your quick responses.

I'll talk to the Basis team in order to get the right procedure for this.

Best regards,

Alvaro