07-12-2007 6:51 AM
HI Experts
In my requirement I am getting the change document number passing Order number (VBELN) as object id to FM CHANGEDOCUMENT_READ_HEADERS.Then based on the change number in the returning table of above FM I am reading the change document items from table CDPOS.But in this method I am unable to get the item number .Can anyone please suggest any FMs or table where to get the item no (POSNR) against the selected change items.
Thanks In Advance
07-12-2007 7:01 AM
Hi,
You need to pass vbeln+posnr as object id into CDHDR table and with the key you can hit CDPOS to get changes in a particular line item of your document.
Thanks and regards,
S. Chandra Mouli.
Message was edited by:
Chandramouli Subburathinam
07-12-2007 7:01 AM
Hi,
You need to pass vbeln+posnr as object id into CDHDR table and with the key you can hit CDPOS to get changes in a particular line item of your document.
Thanks and regards,
S. Chandra Mouli.
Message was edited by:
Chandramouli Subburathinam
07-12-2007 8:29 AM
Hi ,
I have done as u have said but when I pass concatenating both vbeln and posnr I am not getting table entries in cdhdr. Please suggest any method
Regards,
Gopi.
07-12-2007 8:35 AM
Hi
You need to read the CDHDR using VBELN only and then read the item modification in CDPOS using VBEL+POSNR (field TABKEY).
Max
07-12-2007 8:37 AM