Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

KONP object value in CDHDR

Former Member
0 Likes
6,803

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

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
2,986

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

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,986

Look via SE16 at table TCDOB which contains links between Object and Table (select via table KONP*)

Regards,

Raymond

Read only

Former Member
0 Likes
2,986

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

Read only

MarcinPciak
Active Contributor
0 Likes
2,987

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

Read only

Former Member
0 Likes
2,986

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

Read only

0 Likes
2,986

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.