2008 Feb 20 12:17 PM
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
2008 Feb 20 12:20 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
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
2008 Feb 20 12:20 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
2008 Feb 20 12:24 PM
OBJECTCLAS = 'VERKBELEG'
OBJECTID = sales order number (leading zeros!)
Greetings
Thomas
2008 Feb 20 12:26 PM
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
2008 Feb 20 12:26 PM
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_OBJECTIDRegards
2008 Feb 20 12:31 PM
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
2008 Feb 20 1:19 PM
U can use the FMs
CHANGE_DOCUMENT_READ_HEADER
CHANGE_DOCUMENT_READ_POSITIONS
Reward if useful
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |