‎2009 Jan 21 8:11 PM
Hi All,
How do i delete the FI rejected document -programmatically (once the workflow approver rejects the parked document). One way is by FBV0 but my business people do not want me to use it.
Is there any FM to delete the document. I tried "AC_DOCUMENT_DELETE" but it is not working.
Please help.
Thanks,
Shiva.
‎2009 Jan 21 10:20 PM
Hi,
generally I think that it is not a good idea to delete any document. Why do you want to delete it? I do not see any good reason for it and I see so many reasons why you should not do it. For example maybe in the future they would like to check the number rejected documents.
Cheers
‎2009 Jan 21 10:28 PM
>
> Hi,
>
> generally I think that it is not a good idea to delete any document. Why do you want to delete it? I do not see any good reason for it and I see so many reasons why you should not do it. For example maybe in the future they would like to check the number rejected documents.
>
> Cheers
Parked documents are not real documents per se .FBV0 has the option of deleting them.
Rob
‎2009 Jan 21 11:00 PM
‎2009 Jan 21 11:32 PM
AFAIK, a parked document does not draw a document number from the range as well.
It is like data on the system's clip-board (Ctrl + C) for creating documents (see activity '77' of object F_BKPF_BUK etc in transaction SU21) without an FI reporting influence.
The ID who posts the document (activity 01) is normally the "Posted by".
As this is a workflow scenario, is a SAP_WAPI used to "park" the document? That might be different.
Cheers,
Julius
‎2009 Jan 21 11:59 PM
Hi,
I checked our system and it looks like that parked document draws a document number. I found couple of parked documents and all have record in BKPF table (field BSTAT = V). One of the allowed values for the field BSTAT is "Z" with description "Parked document which was deleted" . Hence I assume that it keeps document number.
‎2009 Jan 22 12:08 AM
Hi,
check function group F040. There are some FMs which could be useful for you.
‎2009 Feb 03 5:19 PM
using FM "PRELIMINARY_POSTING_DOC_DELETE" i was able to delete the praked document.