Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 

Introduction


In this blog post, I am going to share my experience and learning with merging multiple SAP intelligent RPA projects in a single project. This blog may help you to solve merging issue.

 

Main Content


There are around 7 steps to merge projects. Those are as below

Step 1 - Create new project “MergeSAPiRPA” in Desktop Studio


 

Step 2 - Copy Screens and PSCP files

Move contents of  RPAProject1 and RPAProject2 to MergeSAPiRPA Project’s appfolder

 

  • Go to RPAProject1 folder -> “app” directory and copy to MergeSAPiRPA Project’s app folder


  • Go to RPAProject2 folder “app” directory and copy to MergeSAPiRPA Project’s app folder


 


 
Note: Copy Screens folder and .pscp file and paste those to the other project folder

 

  • Open project root folder and open MergeSAPiRPA.pscp in notepad and replace APPLICATIONS tag as below



 

  • Open project MergeSAPiRPA.pscp in Desktop Studio.

  • Go to Applications tab -> Newly added Screens can be seen under this section.



 

  • Go to Workflows tab -> Newly added Workflows can be seen under this section.



 

Step 3 -  Copy custom JavaScript files

  • Go to RPAProject1 folder -> “local” directory and copy to MergeSAPiRPA Project’s local


    Note: Except entities.js, global.js, labels.js files



 

 

  • Go to RPAProject2 folder “local” directory and copy to MergeSAPiRPA Project’s local



Note: Except entities.js, global.js, labels.js files



 

Step 4 - Copy Workflows files

  • Go to RPAProject1 folder -> “workflows” directory and copy to MergeSAPiRPA Project’s workflows



Note: Except entities.ancestor.js, entities.auto.js, WorkflowData.xml, WorkflowEvents.xml and WorkflowSetting.xml files.



  • Go to RPAProject2 folder “workflows” directory and copy to MergeSAPiRPA Project’s workflows


Note: Except entities.ancestor.js, entities.auto.js, WorkflowData.xml, WorkflowEvents.xml and WorkflowSetting.xml files

 

Step 5 - Popups

  • Open project root folder and open MergeSAPiRPA.pscp in notepad and replace popup Process tag as below under <_ECRANS> of RPAProject1 project and RPAProject2 project. In case popup there





 

Step 6 - Context variables

  • Go to RPAProject1 folder -> “workflows” directory and open ‘WorkflowData.xml’ file. Copy <ITEM> tag to ‘WorkflowData.xml’ file of MergeSAPiRPA project.





  • Go to RPAProject2 folder -> “workflows” directory and open ‘WorkflowData.xml’ file. Copy <ITEM> tag to ‘WorkflowData.xml’ file of MergeSAPiRPA project.




Note:  In case Context variables not visible in project you can create it manually and map to workflows. Below are the manual steps to do the same

 

Step 6 - Create context variables manually and map with workflows

Sometimes context variables not visible in Desktop Studio in that case create context variables manually to newly created project MergeSAPiRPA.

  • Map manually created context variables CtxtId to RPAProject1.pscp and RPAProject2.pscp accordingly



  • Open above mentioned .pscp file and go to <WORKFLOWS> section and map context variable Id to RootData, Input and Output accordingly.

    Note: Please take CtxtId from \..\workflows\WorkflowData.xml path








Step 7 - Now build and run the code, it should execute the project smoothly if you follow all steps correctly.

 

 

Conclusion


If you follow above mentioned steps, step by step you will be able to merge multiple SAP intelligent RPA projects in the desktop studio.

 

Thank you!

 
1 Comment
Labels in this area