09-30-2009 4:32 PM
Hello,
My requirement is to display new values and change values in MM01 costing1 accounting1 view .I am getting the changed values along with field name with changein = U from cdpos table.
But the problem is with Changeind = i. The fieldname that is being picked up is by the name KEY. I want to know the actual fieldname.
Hope i am clear with my requirement.
09-30-2009 4:36 PM
You will have to get the values from the application tables, e.g. MBEW, see CDPOS-TABNAME. In case the initial values have been changed since creation, it can be quite a pain to reconstruct them based on subsequent old/new values of the "U" entries.
Thomas
09-30-2009 4:53 PM
Hello Thomas,
i have retreived the values from cdpos with tabname equal to MBEW . After picking up the data , if the change
indicator is U. There is no issue picking up the fieldname name along with old value and new value . The problem exists when the change indicator is I . The field name that it updates is as KEY rather than the fieldname such as BKLAS
But my requirement is to know the name of the field name that is been inserted .
09-30-2009 5:13 PM
What I was trying to say is that for "I" type entries in CDPOS where the field name is "KEY", you need to select the field values from the original table (table name is stored in CDPOS-TABNAME). All fields of that table were being inserted at once, you cannot say that just BKLAS or any other field was inserted.
Thomas