Application Development and Automation 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: 
Read only

regarding the table cdhdr

Former Member
0 Likes
2,037

Hi All,

i want to see the changes made to the salesorder in CDHDR table how can i see i.e what are the values need to pass to the CDHDR table and in which fields in table i need to pass,

Regards

krishna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,467

Hi ,

Pass the SO number is OBJECTID.

You migth have some addition to it to check you can try

"Sales order no." in objectid and search

Regards,

Himanshu

Edited by: Himanshu Verma on Feb 20, 2008 5:57 PM

Edited by: Himanshu Verma on Feb 20, 2008 5:58 PM

Hi ,

Pass the SO number is OBJECTID.

You migth have some addition to it to check you can try

"Sales order no." in objectid and search

Regards,

Himanshu

Edited by: Himanshu Verma on Feb 20, 2008 5:57 PM

Edited by: Himanshu Verma on Feb 20, 2008 5:58 PM

6 REPLIES 6
Read only

Former Member
0 Likes
1,468

Hi ,

Pass the SO number is OBJECTID.

You migth have some addition to it to check you can try

"Sales order no." in objectid and search

Regards,

Himanshu

Edited by: Himanshu Verma on Feb 20, 2008 5:57 PM

Edited by: Himanshu Verma on Feb 20, 2008 5:58 PM

Read only

ThomasZloch
Active Contributor
0 Likes
1,467

OBJECTCLAS = 'VERKBELEG'

OBJECTID = sales order number (leading zeros!)

Greetings

Thomas

Read only

Former Member
0 Likes
1,467

HI

You can enter the Salesorder as the Change doc. object

or if you know the date of change just mention the Date and time so that it will display all the values which are changed

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,467

Call transaction SCDO you will get a list of document objects, look for "Sales document" you get the code : VERKBELEG.

You could also call transaction SE16 on table TCDOB "Objects for change document creation", and select the record with TABNAME = 'VBAK' or 'VBAP'.

If you look the data in your system, yon can find how to fill the OBJECTID field. Its VBAK-VBELN in internal format (that is with leading zeroes)

Else go back to SCDO and display "Generation Information", you get the update task function module that updates the database "VERKBELEG_WRITE_DOCUMENT". Go to SE37 and use Where-used you will get the calling programs, here only a routine CHANGE_DOCUMENT_CREATE of program include MV45AF0C_CHANGE_DOCUMENT_CREAT call the function module, double-click on the call and you find the code

MOVE VBAK-VBELN TO DA_OBJECTID

Regards

Read only

Former Member
0 Likes
1,467

The 2 parameters you should pass to CDHDR to get faster results would be:

OBJECTCLAS -> this is the Object class

This would have value of VERKBELEG for sales document.

You can get the list of Object class from SCDO transaction

OBJECTID -> this is the object id

This would be sales document (including leading zeros)

Award points if the answer is helpful.

Thanks,

Balaji

Read only

Former Member
0 Likes
1,467

U can use the FMs

CHANGE_DOCUMENT_READ_HEADER

CHANGE_DOCUMENT_READ_POSITIONS

Reward if useful