2010 Oct 28 8:40 AM
I am trying to see the changes done on KONP - Pricng table. In CDHDR what will be the Object value for this KONP table. WHen i put the table name and field name in CDPOS, it is not giving me any details
In short i am trying to see the changed done in KONP table, where do i see these changes and how??
Regards
Screams
2010 Oct 28 8:59 AM
Do a change in KONP table and save it. If there is change document generated for it you it will be the last entry added to CDHDR by you so use filter
CDHDR-USERNAME = ...
CDHDR-UDATE = today.
If you don't get any results, this means there is no change document generation triggered. Go to tcode SWEC to check which event of BOR object is triggered for given change document object. You need to add new event here in order to activate change document generation.
To trace which event is raised during KONP change go to SWEL and turn the trace on. Do a change in KONP table and save it. Go to trace log SWELS and check the event name.
Now go back to SWEC and add the change doc. gener. for this BOR object and event.
Turn the trace off using SWEL
Regards
Marcin
2010 Oct 28 8:51 AM
2010 Oct 28 8:55 AM
Object class : COND_A, object Id : Condition Record Number ( KONP-KNUMH).
Edit : Get the Change number (CDHDR-CHANGENR) from CDHDR where OBJECTCLAS = 'COND_A'. Select the records from CDPOS where OBJECTCLAS = 'COND_A' and CHANGENR = CDHDR-CHANGENR(Records extracted from CDHDR) and TABNAME = 'KONPAE'
Edited by: Vinod Kumar on Oct 28, 2010 1:25 PM
2010 Oct 28 8:59 AM
Do a change in KONP table and save it. If there is change document generated for it you it will be the last entry added to CDHDR by you so use filter
CDHDR-USERNAME = ...
CDHDR-UDATE = today.
If you don't get any results, this means there is no change document generation triggered. Go to tcode SWEC to check which event of BOR object is triggered for given change document object. You need to add new event here in order to activate change document generation.
To trace which event is raised during KONP change go to SWEL and turn the trace on. Do a change in KONP table and save it. Go to trace log SWELS and check the event name.
Now go back to SWEC and add the change doc. gener. for this BOR object and event.
Turn the trace off using SWEL
Regards
Marcin
2011 Oct 12 6:50 PM
Hi there,
I saw that you closed the thread with question answered. But I couldn't find the event for KONP change. Could you explain how did you archieve that? Thanks!
I tried SWELS to turn on the trace on and then using t-code KZM2 to change some values of KONP. But I din't get any event in the trace log by SWEL.Have I missed anything?
Your answer will be greatly appreciated!
Weidong
2012 Dec 07 6:45 AM
I have the same question. 【SWELS】switch on or off trace of event. 【SWEL】check the trace log. 【SWEC】Events for Change Document. However I didn't find any trace log after the 【ME12】transcation.
OK. I think SWELS traces Workflow Events. If there is no workflow events defined in SWEC for the certain Change Document, creation, change or deletion of the Change Document will not trigger any workflow events. Hence no trace log will be found in SWEL.