Hi friends, recently I worked on an
interesting J2EE application Biller Direct (UCES) from SAP in Utilities module.
I found many doubts and queries on how to go about making changes to this application so here is my attempt to answer those.
The application is delivered in a .sca form by SAP as any other standard SAP component on the J2EE stack.
All we need to do to modify this application for various purposes like branding ,customizing processes ,or sometimes add new features, is to
Unfold the .sca files delivered by SAP.
Put them in proper form of a J2EE application.
Make the necessary changes and build the project and deploy it to the server.
Installation of UCES as a local project
1. Download SAPUCES602_SP02.SCA
- At first download file SAPUCES602_SP02.SCA
2. Unpack the files
- Upack the file either with
or after renaming it as ZIP
- Upack the file is~uces~ear.sda in sub folder \DEPLOYARCHIVES in the same way
- This results in folder \META-INF and file sap.com~is~uces~war.war
- Unpack the file sap.com~is~uces~war.war after renaming it as ZIP
3. Create the WEB-Project
- At this stage, a „Web Module Project“ has to be created in the Developer Studio.
- The name of the project can freely be selected. It is advisable to make use of abbreviation „web“.
- The path in which the project is created can also be freely selected. By default it is created in the folder \workspace.
4. Copy the files
- Now copy the entire content of folder \WEB-INF of the unpacked sap.com~is~uces~war.war into folder \WEB-INF of the project directory.
- The remaining folders (not only their content!) has to be copied into folder \webContent of the project directory.
- The files index.htm, readme.txt and start.php don’t need to be copied
5. Create the Enterprise Application Project
- Create an „Enterprise Application Project“ in the Developer Studio.
- The name of the project can freely be selected. It is advisable to make use of abbreviation „ear“.
- The path in which the project is created can also be freely selected. By default it is created in the folder \workspace of the Developer Studio.
6. Copy the files
- At this stage all files except for application.xml have to be copied out of the unpacked folder \META-INF into the folder \META-INF or the EAR project.
- The file application.xml has to be kept as the original file of the project.
7. Further steps in the Developer Studio
- The projects need to be refreshed in order to enable the Developer Studio to recognize the files, that have been copied into the projects
- Do a right mouse click in the Package Explorer onto the project and select the „Refresh“ option. Run this step both for the WEB and for the EAR Project.
- Next add the WEB Project to the EAR by doing a right mouse click onto the EAR Project in the J2EE Explorer and select „Add Modules“ to add the WEB Project accordingly.
- Now the EAR Project should be established by doing a right mouse click and selecting „Build Application Archive“. Here a WAR-file is automatically generated in the WEB project and an EAR-file in the EAR project.
- The EAR file can be deployed by doing a right mouse click and selecting the „Deploy to J2EE engine“ option.