cancel
Showing results for 
Search instead for 
Did you mean: 

Object class for CDHDR

05-04-2009 1:22 PM
35432 views 6 comments Go to solution
0 Likes
Subscribe

HI All,

I need to find the list of all the object classes(OBJECTCLAS) used in CDHDR table.I want to archive the change documents for that i need object class field as mandatory.I dont know what are all the object classes being used.I tried to see the value range for the date element but nothing is defined.

Please help..

Thanks,

Sai

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

May be you can refer to the below table .

pooled table TCDOB - Objects for change document creation

Regards,

Santhosh.

Answers (5)

Answers (5)

Former Member
0 Likes

Hi,

U try this function..it may help u..

CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'

EXPORTING

date_of_change = begdate

objectclass = 'EINKBELEG' "Object Class T-Code: SCDO

time_of_change = begtime

username = sy-uname

date_until = enddate

time_until = endtime

TABLES

i_cdhdr = it_cdhdr

EXCEPTIONS

no_position_found = 1

wrong_access_to_archive = 2

time_zone_conversion_error = 3

OTHERS = 4.

IF sy-subrc NE 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

IF sy-subrc = 0.

LOOP AT it_cdhdr.

WRITE:/ it_cdhdr-objectclas,

it_cdhdr-objectid,

it_cdhdr-changenr,

it_cdhdr-username,

it_cdhdr-udate,

it_cdhdr-utime,

it_cdhdr-tcode.

ENDLOOP.

ENDIF.

former_member435013
Active Participant
0 Likes

Hi,

you may use transaction taana to analyse which objects are used. Start report with table name CDHDR, ad-hoc variant, field objectid. Add information of table TCDOB and I hope that's the information required.

Regards

Walter Habich

Former Member
0 Likes

Archiving class for change documents is CHANGEDOCU. You can see the tables contained in this class using transaction ACLA.

Hope this helps,

Naveen

Former Member
0 Likes

hi,

just tell me regarding what u want to know the changes have been made? whether u want it for material,bom or inspection plan.

revert back if u need help.

ThomasZloch
Active Contributor
0 Likes

or else see transaction SCDO, one line per object class.

Thomas