on 09-18-2012 3:30 PM
Hi friends,
I am developing Hybrid web container application with WF DCN in the app.
Objective: Once a new Purchase order is created in SAP a notification has to reach the mobile device.
The steps I followed are:
To enable DCN in the SAP EIS following steps are:
cl_http_client=>create_by_destination .
client->send( exceptions HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2
HTTP_PROCESSING_FAILED = 3
HTTP_INVALID_TIMEOUT = 4
others = 5 ).
We have some questions :
Please give a solution for this as soon as possible.
Regards,
Midhun.V.P
Hi Midhun,
If you are using workflow DCN ie(cmd=wf)then the JSON format should be like below, The message must contain e-mail information: subject, to, from, and so on,
{”id”:””,”op”:””,”subject”:””,”to”:””,”from”:””,”read”:””,”priority”:””,”body”:””,
“data”:[{”id”:””,”pkg”:”Package”,”messages”:[{”id”:”2”,”mbo”:”MBO”,”op”:”:upsert”,
”cols”:{”attribute1”:”value1”,”attribute2”:”value2”,”attribute3”:”value3”}}
See this link for more information.
Thanks,
Doak Regis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.