Use BAPI_ACC_GL_POSTING_POST and userexit EXIT_SAPLACC4_001. In table T_ACCIT, you can set BSTAT to 'V'. Possible values for BSTAT: Normal document A Clearing Document B Reset clearing document D Recurring entry document M Sample document S Noted items V Parked document W Parked document with change of document ID Z Parked document which was deleted