Skip to Content
0
Nov 08, 2012 at 11:10 AM

working with DCN cache policy ....

46 Views

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

Attachments

Capture1.JPG (23.4 kB)
Capture5.JPG (82.7 kB)
Capture2.JPG (24.3 kB)
Capture3.JPG (35.6 kB)
Capture4.JPG (13.6 kB)
Capture6.JPG (30.6 kB)