cancel
Showing results for 
Search instead for 
Did you mean: 

Component.js not found in Standard Application

pragadeesh3696
Explorer
0 Kudos
405

Hi,

I am trying to copy the standard application - SD_REUSE_PFS1 because we want do some changes but enhancement points are not available. So we would like to copy and change it. But when we are copying we are getting error saying the component.js file is not available. Please provide suggestions.

Accepted Solutions (0)

Answers (3)

Answers (3)

Tukutupap
Participant

Would you be able to give some more information about what you have done? Maybe a few screenshots of how your app folder structure looks like? Any services that may need to be activated?

pragadeesh3696
Explorer
0 Kudos

I have created a new SAP UI5 project named ZProcess_Flow and copied the whole SD_REUSE_PFS1 project and pasted it in the new project, but the component.js is not found in the parent folder.

pragadeesh3696
Explorer
0 Kudos

below is the error while deploying the application.

Tukutupap
Participant
0 Kudos

Yes the error you are getting is clear. Now lets move onto some of the steps that you took to get there. No need for more screenshots of the error, but for screenshots or a description of what you did.

Please look for the folder structure of your app and see if you can manually find the Component.js file.

Tukutupap
Participant

Thanks for the attachment. Your component.js file should be inside the component folder that I can see in that screenshot.

When you copy an app like that, making it work is not that simple. All the files you copied reference an app that now has a different name. I think you need to go through all the files and replace the original project name with your new name. And likely that is not the end of it, but you will see once you get there.

TinhLeo
Participant
0 Kudos

hi pragadeesh3696

Could u please give me more detail about what you have done?Maybe you can check the services is activated or not first.
pragadeesh3696
Explorer
0 Kudos

I have created a new SAP UI5 project named ZProcess_Flow and copied the whole SD_REUSE_PFS1 project and pasted it in the new project, but the component.js is not found in the parent folder.

pragadeesh3696
Explorer
0 Kudos

below is the error while deploying the application

junwu
Active Contributor
0 Kudos

this route won't work usually. unless you are very lucky