Skip to Content
Author's profile photo Former Member

How to develop First SUP Mobile Workflow Application with SAP as Backend

Prerequisites for HWC (Hybrid Web Container) Application development

  • Sybase Unwired Platform Server already installed
  • Sybase Control Center installed in the same system
  • IDE Called Sybase Unwired Platform Workspace installed in the client location
  • JCO connectors and dll’s should be in right place. To learn more Click here
  • ECC or CRM system should be already installed to work on sap backend. You can use other Databases as backend for sup.
  • JDK 1.6 is required.

R n D on SUP Developement here.

In this blog post I will only be concentrating on the SAP Backend system.

MBO Development

  1. Creating new mbo
  2. Connecting to SAP server
  3. 1mbocreation.JPG
  4. . Click next and search for the desired bapi “BAPI_Flight_GetList” in this case and select input output fields. Use LH as default flight type. We are trying to fetch values of type LH airline only.
  5. 2bapicall.JPG
  6. Click finish and now you can see the mobile bussiness object on your screen.If you want to see the preview on the mbo you can do it here by right clicking on the mbo and click preview. Now right click anywhere in the mbo screen and deploy the mbo application. Click Next.
  7. 3mbodeploy.JPG
  8. Connect to the sup server and click next, select your sap backend server if not registered, please do it with your sap account credentials.
  9.      4mbodeploysuccess.JPG
  10. Successfully Deplyed the package.
  11. Now the next step is to develop a workflow application in mobile workflow form editor.
  12. wf1.JPG
  13. Right click on the project and click new ->Mobile workflow form editor.
  14. Drag and drop the MBO on to the workflow editor and click on arrange all icon above.
  15. Now click on start and on screen design tab, select a menu item and drag it to the menu (blue screen) box.
  16. wf2.JPGwfonlinerequest.JPG
  17. Label it as “GO” -> you need to create a online request as show in the image. Search for your mbo and add it in the Mobile Business Object field.
  18. Red circles are the changes need to be done in the properties tab of the workflow.
  19. wfonlinerequest1.JPG
  20. Now go to Flow Design tab and click on arrange all icon.
  21. Right click any where on the workflow and click on generate workflow package.
  22. generatewfpackage.JPG
  23. select a user to Assign workflow
  24. wfgeneratewizard.JPG
  25. Click finish.
  26. Use scc to connect the mobile device or simulator to sup server.
  27. Open workflow app on the BB Simulator and goto settings tab and connect it with proper credentials.
  28. Check for the incoming workflow application and open your HWC application in the simulator and click on go button to check for the result (default input value in the screen shot is AZ).
  29. final output.JPG

Hope this is helpful.



Assigned Tags

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

      Thanks for the docs ,can you prove some docs related to sup 2.1.3

      Author's profile photo Midhun VP
      Midhun VP