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

Which table contains - Customer Master Changes?

Former Member
0 Likes
2,822

Team,

Which table contains - Customer Master Changes?

Please be specific; For example:

CDHDR:

OBJECTCLAS ?

*****

CDPOS:

BJECTCLAS?

ABNAME

ABKEY

HNGIND

Thanks

4 REPLIES 4
Read only

manuel_bassani
Contributor
0 Likes
873

Hi Naved,

try this:

CDHDR-OBJECTCLAS = 'DEBI'

CDHDR-OBJECTID = customer no.

CDPOS-OBJECTCLAS = 'DEBI'

CDPOS-OBJECTID = customer no.

CDPOS-CHANGENR = CDHDR-CHANGENR

CDPOS-TABNAME = 'KNA1'

CDPOS-TABKEY = sy-mandt + customer no. (key of table KNA1)

CDPOS-FNAME = field modified

CDPOS-CHNGIND = (U Update, I Insert, D Delete)

Regards, Manuel

PS: Please remember to reward points if the answer is useful.

Read only

0 Likes
873

SAP version 4.7-

When I execute XD02 in background(via call transaction from a Z program), CDHDR-OBJECTCLAS= 'ADRESSE' instead of 'DEBI'.

Whe I execute XD02 online, I get 2 recs: one 'DEBI' and one 'ADRESSE'.

Any thoughts?

Best regards,

Ileana

Read only

Former Member
0 Likes
873

Use function module CHANGEDOCUMENT_READ instead of doing selects.

Read only

0 Likes
873

With Srini's suggestions check the following too..

CHANGEDOCUMENT_READ_HEADERS

CHANGEDOCUMENT_READ_POSITIONS