‎2009 Mar 14 7:43 AM
Hi,
There's a z-table in ERP. The requirement is to send a notification to the Java server whenever there is a change in the data content of this table.
Can anyone describe the steps to be followed.
Thank you.
‎2009 Mar 14 8:29 AM
You can triger the workflow by creating a Change Document Object in SCDO and then you can trigger the workflow by selecting the option On Chaging
‎2009 Mar 14 8:29 AM
You can triger the workflow by creating a Change Document Object in SCDO and then you can trigger the workflow by selecting the option On Chaging
‎2009 Mar 14 9:10 AM
hi,
Fulfill the basic pre-requisite by choosing the change document flag at the data element level (in the further characteristics of data element)
Maintain the setting for triggering work flow with respect to change document entry.
link: [Change docu. + Workflow|http://help.sap.com/saphelp_nw04/helpdata/EN/c5/e4af16453d11d189430000e829fbbd/content.htm]
Thanks
Sharath
‎2009 Mar 19 10:05 AM
Hi Pavan, Sharath,
Now that I understand the concept of change documents, I have doubts about it's utility. I mean I did not find it to be a very good feature. The reason I say that is that one has to code for everything. It becomes the developer's responsibility to get the old record and the new record and pass these to the WRITE_CHANGE_DOCUMENT function. In addition, the developer also has to pass an indicator representing what kind of change is it - insert, update, delete.
The only utility I see is when you have maintain an archive of the changes that happened in a table's content over a long period. In that case, you could refer to the CDHDR and CDPOS tables and find out what change occurred on which date.
Your comments would reinforce my understanding of the concept.
Thank you.
‎2009 Mar 19 10:11 AM
hi,
yeah what you said is right....
but in change document we are doing the same thing, but its just a automation. In our change document configuration too, whatever the changes made they are being stored to CDHDR and CDPOS.
Hence referring to them will help us in keep track of changes in the system
Regards
Sharath
‎2009 Mar 19 10:54 AM
Hi Sharath,
Thanks for the quick reply. Perhaps, there was some misunderstanding. What I meant to say was that change documents don't offer much automation. Everything is being done by the developer. The only thing that happens automatically is writing data to CDHDR and CDPOS tables.
Don't you agree?