cancel
Showing results for 
Search instead for 
Did you mean: 

working with DCN cache policy ....

11-08-2012 12:10 PM
Jitendra_Kansal Product and Topic Expert
287 views 2 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

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

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Likes

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.

Answers (1)

Answers (1)

Former Member
0 Likes