Application Development 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: 

Change document object BANF not picking all the changes in EBAN table

former_member209032
Active Contributor
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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