Skip to Content
Author's profile photo Former Member

Syclo-based SAP Mobile Application Deployment & Enhancement (3)

Before we continue with the left enhancement scenarios, it would be good to know the overall architecture for Syclo-based SAP mobile apps.

Java-Dev-Architecture.jpg

With this chart, we can see how the backend configuration and the front-end changes all connected together through proper Java classes. And you can get the point where to start the configuration.

Add z-fields or z-tables from backend and enable it in mobile apps.

Step 1: Realize the enhancements in backend. Some of them could be done via enhancement tool (like AET in SAP CRM), this will lead no change of the provided standard BAPIs. But for the rest, normally you will need to create a copy of the standard BAPI’s function group. Follow the standard code to modify and map the z-fields.

Step 2: Make he changes on Java Pojo classes, because this determines the data structure that talks with Backend BAPI. Normally you need to extend the existing standard classes.

Step 3: Map the new fields (attribute of object) or new objects (corresponds to tables) in the BAPI class.

Step 4: Make the modification/enhancements on the Agentry project which connects to the enhanced fields/tables.

Step 5: Map the changes from Agentry project to corresponding Steplet/DT/CT. And implement the new logic of Step Handler classes. (normally you also need to extend the standard father objects). And here you also build the connection to the Java BAPI class.

Step 6: Make changes in the configuration panel as what you did in the previous scenario.

Step 7: Publish the new Agentry Project to the server. Compiled the new Jar file with the Java changes. And restart the Agentry Server to test.

Completely new functionality which has to be implemented specifically in backend.

If new customized object is needed to meet the enhancement requirements, it means basically you need to start from scratch.

Your backend enhancement should be completed first. Then try to model it following the standard object definition to create the new Syclo Class Handler, then the BAPI wrapper. Some additional steps compared with the z-field/z-table enhancement are:

1) Create new Mobile Data Object in Configure Panel.

2) Create new Exchange Object for the MDO in backend system and also the configure panel. You might also copy the standard logic to implement the change detection layer for the new MDO.

3) All the Java classes will need to re-design. This means additional efforts except just extending the standard POJO, BAPI or Step Handler.

4) All the Agentry Module/Screens/Transactions/Steps will need to be designed and mapped with the Java backend.

As a summary I would say the Syclo provides a very good platform to separate all the UI/Logic/Data layers clearly. And this is the most value of the whole concept. With SAP’s continuous investment in consolidate the platform, I believer this will server as the core part of next generation SAP’s mobile app development platform although the details might be change. And I do hope this robust architecture could bring more mobile app developers to join the Enterprise Mobility area.

(The end)

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Raymond,

      I was looking for some documentation about SAP - Syclo Apps, and your blog was very interesting. But I still have a doubt on how customize or extend this type of apps. As a requirement, I need to customize and extend a syclo-based App (Inventory Manager), with a complete new functionality. Now on your blog, you wrote this can be done, but I just wondering if you can give me some official documentation about this, because I could find anything which describe in detail the steps I must follow in order to complete my requirement or a HowTo Guide. I just find out a documentation which describe how to include a field, hide it or do a minor customization, but as my requirement is more complex, i would like you give me some lights about the procedure I have to follow. I'll appreciate any help you can give me...

      Best Regards,

      MC

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Mariana,

      Glad that you found something useful in this post.

      As I said, when you talked about the new functionality extending the Inventory Manager, you have to understand the whole architecture. There is no easy step-by-step guide to do it in one or two days because in my opinion it is a project (rather small one although). But if you need to write a guide, then I would suggest reading the detailed configuration guide of SAP Work Manager - the most typical Syclo-based sap product.

      The guide can be downloaded from SAP Service Market Place (http://service.sap.com/instguides) Go to left catalog and choose "SAP Components" - "SAP Inventory Manager". On the right hand side, you click the "Display all documents" and download the Configuration Guide.

      After reading that, you can start preparing you guide following the sequence I mentioned in this post. First ABAP Backend class development, then BAPI Wrapper development, then the configuration panel settings changes and then the UI development to consume the backend data model. Getting familiar with the terms and the architecture of Agentry-based apps is very very important before you start the brand-new functionality enhancement.

      I hope this makes it easier for you.

      Cheers,

      Raymond