Skip to Content
author's profile photo Former Member
Former Member

Purchase order sample using SAP backend BAPIs


1) We are trying to develop our first SUP pilot project similar as "Purchase order sample" found in

protal's Code exchange. However, we want to integrate SAP backend using BAPIs instead

of using Sybase SQL Anywhere database.

Do you know of any example of any SUP Hybrid Workflow application which use

BAPIs and it is similar to this Purchase order example?

2) We plan to have 2 roles - managers which will approve and reject orders, and other users who can create POs.

As I understand, in existing PO example which uses SQL Anywhere, this is done via 2 different hybrid apps which are delivered to the authenticated users

depending on what role they belong on SUP server. However, we want to use login dialog as a start

screen on hybrid workflow app which will propagate user credentials to SAP EIS backend.

How we can control which content will be displayed to users depending on their SUP role ?

I.E when manager logs in in app, his credentials are verified by SAP backend, but how to deliver

app content for manager role to hybrid web container app?

Thank you!


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jun 06, 2012 at 02:58 PM

    You have to use two different screens each for displaying the content of managers and PO creators respectively.

    And you should use "Conditional Navigation" concept. From Custom.js, use customConditionalNavigation() method to navigate to respect screen based on the Role.

    Add comment
    10|10000 characters needed characters exceeded