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: 

How to Know Customer whose data was updated

Former Member
0 Kudos

hi,

can u tell me how to know customers whose data was update by some .

my requirement is that find customers whose data was modified.

<b>can u tell me bapi names to find modified customers.i can give customer id as input parameter.</b>

regards

Guru

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos

see if the customer number has more than one record in CDHDR /CDPOS tables.

Regards,

Ravi

naimesh_patel
Active Contributor
0 Kudos

Hello,

You can get the change details from table CDHDR and CDPOS.

Pass

OBJECTCLAS = DEBI

Object value = "Customer"

TO CDHDR and take CHANGENR.

and then pass OBJECTCLAS,Object value, CHANGENR to CDPOS. It will give the field name, old value and new value.

Regards,

Naimesh

Message was edited by: Naimesh Patel

Former Member
0 Kudos

HI,

U see the Table TOJTB where u can get all the information for the bapi Version etc...

Go to transaction SWO1, enter the name of the object type for your BAPI, hit display button, hit header button on next screen.

This will show you transport data, change data, customization etc for the object type.

Regards,

Laxmi.

0 Kudos

hi,

Check for the changed details from CDHDR & CDPOS tables

Former Member
0 Kudos

Hi,

select from CDHDR table using keys :

OBJECTCLASS = DEBI,

OBJECTID = 'CUSTOMER NO' and

CHANGEIND = 'U'. (THIS is important to get records which are updated from old values).

Take the CHANGENR from CDHDR using above keys and pass it to CDPOS to get the actual changed values.

All the best.

Regards,

Leo

0 Kudos

i am JCO programmer, can u please help me for knowing whether the customer information or product information had updated in R/3.

thanks and regards,

Naga laxmi