When you copy a folder or a mapping to another repository, you can copy the ABAP program information along with the mapping. You can then run a session against the copied mapping without regenerating the ABAP program.
You might want to copy program information when you move into a test or production environment. For example, you develop a mapping, install the ABAP program, and run a successful session.
Complete the following steps to move to a test environment:
Transport the ABAP program to the SAP test system. Typically, SAP development systems have the PowerCenter transports that allow program installation, while the test and production systems do not allow program installation from PowerCenter. Therefore, when you move to test or production, you need to transport the ABAP program.
Copy the mapping and program information to a test repository.
Create and run a session against the mapping using the copied program ID and the transported ABAP program.
When you use the Mapping Copy command or the Folder Copy command, you can choose the mappings for which you want to copy the program information. The Designer copies the program ID and the timestamp of the ABAP program so the program is associated with both mappings. The Designer does not copy the ABAP program.
Use the following guidelines when you copy mappings:
If you are still developing the mapping, do not copy the program information. Instead, generate a new ABAP program from within the copied mapping. If you modify one mapping, the ABAP program might not be valid for the other mapping.
You cannot copy program information to a repository if another program with the same name exists. For example, you can copy program information once from Repository A to Repository B. After you copy from Repository A to Repository B, you cannot copy it again from Repository A to Repository B. You also cannot copy it back from Repository B to Repository A.
You cannot copy program information within the same repository.
When you copy a mapping from one repository to another, or from one folder to another, save the mapping at the target repository or folder before you modify the mapping in the target.
If you modify a mapping, save the modified mapping to the repository before you copy the mapping to another repository.