on 07-04-2008 7:00 AM
hi, all,
acually i want delete DIR which are already released.
if once i relesed DIR, system won't allow me to change.
in this case i m not able to make DIR as 'deltion indicatore'
how i can delete those. which are released.
rgds,
ben
urgent
point awating,
Under Control Data Define document types Define document statuses,
you reset the Released indicator for the status that defines the document as released.
Then you can set deletion indicator for that DIR in that Status
To delete the documents physically from the database, you must run the MCDOKDEL program using the ABAP/4 editor. This program deletes all documents of a selected document type for which this indicator is set.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Ben,
regarding your last description I think it would be useful to implement a new status to your network like
status 'Archived' or something else which indicates that this status should be used for documents which are no longer valid. This status should be no status type 'S' and you have to maintain it as follow-up status to your release status.
Then it should be possible to change the status in CV02N from released to your new status, set the deletion flag and then you can delete it with report MCDOKDEL.
Best regards,
Christoph
P.S.: Please reward points for useful information.
I don't think it is possible to deleted the document with out change access rights.
Get the access rights to change the document & then set deletion flag
or
Try setting the document deletion indicator using ABAP Program
Go to se38
and execute the following code
tables draw.
select single * from draw
where dokar = '<documenttype>'
and doknr = '<documentnumber>'
and dokvr = '<version>'
and doktl = '<part>'.
draw-loedk = 'X'.
update draw.
commit work.
The above program will set the document deletion flag.
if you are not an ABAPER get the help from ABAPER to excecute the above logic
I think the only option to set deletion indicator in your case will be by the ABAP program.
i tested the code which i have given to you earlier. it works, since APAP can access Table entries directly will out any authorization.
Write a program to set deletion flag.
ie. LOEDK filed in DRAW table.
if the value of the field LOEDK in DRAW table is set as 'X'. Deletion flag will be set for the particular Document info record.
This will definitely work please try it with help of ABAPER.
hey srinivas
yes it is working fine? today i deleted somany DIR which r not required?
but sys not allwoing to set 'deltion flag' for the [status 's']relesed Doc with digital signaure,
those doc acully locked u know.
ur sujession is good? but check how to delet released documents individully?
help, me
don't mind i wiill!!!!!!!!
ben
Have You tried to set the deletion flag with the below code.
tables draw.
select single * from draw
where dokar = '<documenttype>'
and doknr = '<documentnumber>'
and dokvr = '<version>'
and doktl = '<part>'.
draw-loedk = 'X'.
update draw.
commit work.
this will definitely work.
Even though the document is in released state the above code will set the deletion flag.
Hello All,
I have also the same problem. All the settings I had done in role to delete document with particular status, but when try to set delete indicator for the DIR which I want to delete, it is throwing msg that "No Authorization to delete document for 'document type' with status released". I m stuck out with this as tried all the possibilities.
Kindly give suggestion.
Regards,
Punam Modi
hi,
Get the authorization for following objects
C_DRAW_TCD check activity 06
C_DRAW_TCS check activity 06
Then system will allow u to set deletion indicator even though its released
Regards
Sham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
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.