10-16-2008 4:02 AM
Hi Gurus,
I have observed one thing with the cdpos table like whenever we made changes to the currecy( and numeric fields also ,i am not sure ) fields ,then in the cdpos table it is showing a new entry for that change but not showing that old value, why? .But when we made any changes to date fields ,then it is storing that old date.
So Is there any specific feature in this table.
Thanks & Regards,
Rakesh.
10-16-2008 4:33 AM
I think you must specify the fields for which change pointers must be written in BD52.Did you do that?
10-16-2008 4:33 AM
I think you must specify the fields for which change pointers must be written in BD52.Did you do that?
10-16-2008 5:34 AM
Hello
In ABAP-programm try this:
DATA: NEW LIKE CDPOS-VALUE_NEW,
OLD LIKE CDPOS-VALUE_OLD,
NEW1 TYPE MENGE_D,
OLD1 TYPE MENGE_D.
FIELD-SYMBOLS: <f> TYPE ANY.
* make select from CDHDR and CDPOS
IF CDPOS-FNAME = 'MENGE'.
MOVE CDPOS-VALUE_NEW TO NEW.
MOVE CDPOS-VALUE_OLD TO OLD.
ASSIGN NEW TO <f>.
CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 2
OTHERS = 4.
NEW1 = <f>.
ENDCATCH.
ASSIGN OLD TO <f>.
CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 2
OTHERS = 4.
OLD1 = <f>.
ENDCATCH.
ENDIF.
After this in NEW1 and OLD1 you will see values.