Show TOC

Generating Runtime Artifacts for Copied ProjectsLocate this document in the navigation structure

As Copy Project function does not enable you to copy runtime artifacts, you need to generate run time artifacts as follows:

  1. Make all changes you require in the project created as a copy.

  2. Save the changes.

  3. Click Generate to generate untime artifacts for the new project.

If template (original) project does not include manual coding, the Generate function generates all the runtime artifacts as they exist in the original project and its service. If templatel project includes manual coding and the service was created using the Standard generation strategy, follow steps below to generate runtime artifacts.

  1. Start ABAP Workbench (transaction SE80) .

  2. Copy all the custom coding from the runtime artifacts of the template project.

  3. Paste all the custom coding to the runtime artifacts of the project created as a copy.

If the project was created according to the Standard generation strategy, then proceed as follows:

  1. Copy the custom coding from the _EXT classes of the template project.

  2. Paste the custom coding to the _EXT classes of the project created as a copy.

  3. Custom coding is located in methods newly defined in the _EXT classes and/or redefined methods from the super classes. Verify corresponding _EXT classes for data provider class (DPC) and model provider class (MPC):

    1. DPC_EXT class: Check the redefined CRUD method for each entity set (GET_ENTITYSET, GET_ENTITY, CREATE_ENTITY, UPDATE_ENTITY and DELETE_ENTITY) and overwrite the same method in the corresponding template class and copy and paste the method’s content.

    2. MPC_EXT class: Check if the DEFINE method is redefined in the template project.

After you have generated the runtime artifacts, register your service using the Service Maintenance function in the relevant systems.