‎2005 Nov 04 3:12 PM
Team,
Which table contains - Customer Master Changes?
Please be specific; For example:
CDHDR:
OBJECTCLAS ?
*****
CDPOS:
BJECTCLAS?
ABNAME
ABKEY
HNGIND
Thanks
‎2005 Nov 04 3:45 PM
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.
‎2005 Dec 09 7:19 PM
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
‎2005 Nov 04 4:19 PM
Use function module CHANGEDOCUMENT_READ instead of doing selects.
‎2005 Nov 04 4:31 PM
With Srini's suggestions check the following too..
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_POSITIONS