12-13-2011 7:13 PM
Hi,
I am trying to pick all the Purchase requisitions that have been changed in a day. I see that SAP has a standard change document object BANF for purchase requisition based out of EBAN and EBKN table, so i thought to use this object and get the changed document from CDPOS table, but if i see the number of entries for object class BANF in CDPOS it is less than the number of entries in EBAN table. WHy this is happening? If BANF captures all the change won't it have more than the number of entries in EBAN table (i.e atleast one entry for each PR item created + changes made). Can anybody provide clarification regarding this?
Regards,
Raghavendra.
12-13-2011 7:45 PM
Well in this case you need to query CDHDR based on the object Id and then query CDPOS based on cdhdr-objectclas,cdhdr-objectid,cdhdr-changenr. As you rightly pointed out that EBAN table should have more entries.
Edited by: Reetesh on Dec 13, 2011 8:53 PM
Edited by: Reetesh on Dec 13, 2011 8:56 PM