on 01-20-2009 7:31 AM
Dear All,
We need a query (SQ01/SQ02) with following result:
- Material with deletion flag
- Date of the deletion (when deletion flag was set)
and the following selection:
- Period of deletion
- Plant
I know that I can find the material with MARA (and MARA - LVORM for deleted material). How can I find the date when a material was deleted?
Thank you in advance for your inputs.
Best regards,
Thomas
you dont need to retrieve the dates from this perfomance cracker tables CDHDR/CDPOS.
Just pull it from table MSTA which keeps the administrative information of materail master.
Set a deletion flag, then check MSTA, to get knowledge about the structure and status of the record.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Material can be set flag for deletion on different levels for eg: Plant (MARC), Stor locn (MARD), and Client(MARA).
First you have to trace out the material which are set flag for Deletion.
Then Go to SE11 and input CDHDR table and Execute.
Now input Materials which are flagged for deletion and transaction Code MK06 in the Respective field and Execute.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your replies.
As we need more information as we receive by using table CDHDR or program CHANGEDOCU_READ we have to do a query (or a report program, but as I'm not a ABAP-Developper this would be more difficult).
Is there no possibility to link MARA with CDHDR in SQ01/SQ02?
Thanks,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Table CDHDR with:
OBJECTCLAS = 'MATERIAL'
OBJECTID = material number from MARA (with leading zeros)
TCODE = 'MM06'
CHANGE_IND = 'U'
and you will have UDATE and UTIME
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you check with CDHDR table,give transaction as MM06(Delete material) in selection screen . Object value is the material number.
then we can find the material deletion date and time and who deleted it....
Thanks
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
DF for material can be set at different levels not only at client level - so, not only table MARA may contain information on deletion (e.g. you can set DF at warehouse, SLoc level, etc.).
Table CDHDR contains information on changes of material master.
Regards,
Csaba
Edited by: Csaba Szommer on Jan 20, 2009 8:36 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.