Hi Experts,
i got stuck while working with DCN policy.
( i am referring the link: http://scn.sap.com/community/mobile/blog/2012/09/03/how-does-dcn-work)
here, i am giving the details what i have done:
first of all, i created one MBO from sample database table.. which contains few values (in table)
there are 3 fields:
deptId
deptName
deptManager
i set DCN cache policy for the same MBO and deployed to server.
i just created one button in the workflow to retrieve above table values.
i am not able to see the table values after clicking on get menu.
but when i passed a reuest over HTTP:
http://servername:8000/dcn/DCNServlet?
cmd=dcn&username=supAdmin&password=*******&package=test_DCN:1.0&domain=default&dcn_request=
{"pkg":"dummy","messages":[{"id":"2","mbo":"Dept","op":":upsert","cols":
{"deptId":"12","deptName":"FSI","deptManager":"88"}}]}
i got following success message.
and then got the desired output.
but my question is:
1.how can i set in the backend like whenever there is a change in the backend i ll get a notification.. it might required some kind of customization ..if yes, then where and how?
2. but i dont see the updated value (sent over HTTP) in the table?
i am not so clear about DCN.. please help.
Regards,
Jitendra
Request clarification before answering.
Hi ,
The answer for your questions are given below:
The DCN is enabled to get the notifications in the device when ever there is a new data/record is created in the SAP system.
In the SUP the MBO has to be in DCN cache policy. And in the WF design you need to add server initiated starting point too.
In the SAP system you need to implement DCN (ABAP consultant will can do it.) for the RFC which is used in the MBO.
In the device the data created through DCN in the SAP only will be available/displayed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra,
You can try with this How-to Guide:
Best Regards,
Javi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.