cancel
Showing results for 
Search instead for 
Did you mean: 

SUP-mail Notification not convert to Workflow Notification

Former Member
0 Kudos

Greetings to all SUP experts

I am very new to SUP and trying to develop my first application (Leave create and approve)

in my environment

SUP 2.1

SCC 3.2

sample DB --(SQL Anywhere V.12.0.1.3423)

in this i have create two table

1:) VacationRequests

2:) VacationApprovers

and one trigger which is use for sending workflow/mail notification

i have create two MBO for Vacation request and vacation approvers, according to that MBO i also create workflow.

if i send manual notification from workspace it shows as workflow notification and i am able to approve/reject the leave application

but when it is automated by trigger then notification comes in my mail box and its not convert in to workflow notification as per the settings shown as per the below link

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01205.0200/doc/html/aba12...

is there any mistake by me for setting up all standards ??!!!!

Regards

Tushar Dave

Accepted Solutions (1)

Accepted Solutions (1)

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Tushar,

Fyi.,

You can develop a leave request-approval online application using SUP2.1-ODP as well. ODP apps are easy to develop as there is no MBOs here.

SAP has already realeased both leave request and HR approval application for iPhone. These are available in appstore. You can download and these application for FREE. These apps also has some demo data for get a feel of application.

Search in iTunes with names "SAP Leave Request" and "SAP HR approval"

Regards

Rohith

Former Member
0 Kudos

Dear Sir,

thanx for your kind reply

can u provide direct link where i can download ??!!! or provide any help document ??!!!

and i post another query

http://forums.sdn.sap.com/thread.jspa?messageID=11104388?

waiting for reply

Regards

Tushar Dave

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Tushar,

1. Open iTunes from your iPhone/iPad device.

2. Search for "SAP Leave Request" and "SAP HR approval"

3. Download and install on device.

There is no explicit download link as such for these ready to use applications.

If you are looking for some sample reference applcation code using SUP2.1-ODP, you can download the source code from

Android: https://cw.sdn.sap.com/cw/docs/DOC-146460

BB: https://cw.sdn.sap.com/cw/docs/DOC-146459

iOS: https://cw.sdn.sap.com/cw/docs/DOC-146461

Regards

Rohith

Edited by: Rohith Deraje on Feb 21, 2012 7:38 AM

Former Member
0 Kudos

Dear Sir,

thanx for your most valuable help

i had download this and apply android app in my andorid device

but it ask for credential !!!

so what credential i put and registers ???

Regards

Tushar Dave

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Tushar,

I assume you downloaded the android reference app from SDN. Note that this is just a sample app.

Please follow the below steps to run the android reference APP.

1. Download the app from https://cw.sdn.sap.com/cw/docs/DOC-146460 and import to eclipse.

2. Add SUP 2.1-ODP libraries to the project and build the app.

3. Navigate to Src -> com.sap.android.trialapp -> ConfigSettings.java.

4. In the file, search for the string u201Clurm.clearServerVerificationKey();u201D and comment it.

5. Build the app and deploy on simulator/Device.(May need relay server to connect from device)

To make it work with SAP backend, you should haveSAP Netweaver Gateway 2.0 which exposes the contents of your BE in the form of REST services.

SUP2.1 server installed.

On SUP server, you need to create some simple configuration.I have already explained them in thread http://forums.sdn.sap.com/thread.jspa?threadID=2132783&messageID=11081762#11081762

Hope this information is helpful for you.Revert back for any other query.

Regards

Rohith

Former Member
0 Kudos

Dear Sir,

thanx for your kind help

i follow the steps which you given...in my eclipse i import project but i got some error related to android that is

android.content.context cannot be resolved.....

Note: i have android sdk installed with all support versions

and pls clear my doubt about how i rebuild path ????

and what is the differance between SUP workflow and SUP 2.1-ODP ??

becoz i m new and lots of query in my mind !!!

and i have only setup

A) first - setup the sup 2.1 (A.1) Sybase Control Center version 3.2

B) setup SAP connection (used Jco3) & we have SAP ECC 6 EHP 5

any other component required for development ????

i am not sure wheather anything missing or not ???

regards

Tushar Dave

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Tushar,

Error may be because your android development environment is not set properly. refer http://developer.android.com/index.html for setting up android SDK.

SUP-ODP is a new feature available with SUP2.1. It is for online application where you do not store any data in SUP. Data will be fetched from SAP backend on clinet request. Communication will be as below.

SAP BE<>NW Gateway<>SUP<>RelayServer<>Device/Client

Here SUP will act as proxy for client requests.

More details on this is available in a blog @ http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28283

Application development using ODP is easy compared to MBO based approach. You use native development tool (Ex: Android SDK) for development. You will get additional libraries with ODP which gives you the APIs for connecting to SUP, Parse the data, Cach data on device etc...

I am not an expert on SUP-Workflow. I know very high level information on it that it uses MBO based model where you cach the data in SUP. It can supports both online/offline modes.

Regards

Rohith

Edited by: Rohith Deraje on Feb 21, 2012 3:34 PM

Former Member
0 Kudos

Dear Sir,

thanks ,

i resolve all the error for BB simulator and android also...

and i load app in my BB device but i m not able to replace authentication page ..

can you guide me for that !!! or provide any help book that how to develop SUP 2.1 ODP apps with SAP backend...

Regards

Tushar Dave

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Tushar,

For BB Development guide on SUP-ODP, you can refer to http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01205.0200/doc/html/aba12... >>Sybase Unwired Platform 2.1 > Developer Guide: OData SDK 2.1>>Developing BlackBerry Applications

ODP-API documentation is available with SUPSDK installer which gives you the details on ODP APIs and some examples as well.

Source code for reference BB app using SUP ODP is available at https://cw.sdn.sap.com/cw/docs/DOC-146459

Regards

Rohith

Answers (1)

Answers (1)

Former Member
0 Kudos

Waiting for Expert opinion

Regards

Tushar Dave