Functionality This method enables you to delete provisional invoice documents.Provisional invoice documents have the status 'on hold', 'on hold (fromparking)', 'parked', 'parked as complete' or 'parked and released'. Restrictions> It is not possible to delete invoice documents that have been flaggedfor background invoice verification with this method. Neither can youdelete invoice documents saved within the framework of the EDI processusing this method.Notes The authorization object M_RECH_WRK> is checked withactivity 77 for invoice documents put on hold, parked, parked ascomplete, and parked and released from within the parking function. For on-hold invoice documents, the activity 01 is checked. Transfer> You must transfer the key fields of the incoming invoice(InvoiceDocNumber and FiscalYear) to the method as import parameters. Return messages> INCLUDE BAPI_RET OBJECT DOKU ID TX LANGUAGE ENFurther information The method can only perform its function if no error messages have beengenerated in the Return> table. This is the case if it waspossible to process the header data and all items without errors. No transaction control is implemented. This means that the invoker mustperform the 'Commit Work' itself after successful invocation of thismethod if no errors have been notified to the invoker in the Return > parameter. INCLUDE BAPI_INCOMINGINVOICE_SPERRL OBJECT DOKU ID TXDescription INCLUDE BAPI_KEYFIELD OBJECT DOKU ID TX Fiscal Year>Description INCLUDE BAPI_KEYFIELD OBJECT DOKU ID TX Document Number of an Invoice Document>Description INCLUDE BAPI_TABLE OBJECT DOKU ID TX LANGUAGE EN Value range Type,,ID,,Number,,Message E,,M8,,417,,Document & deleted E,,M8,,719,,Further processing of document &1 &2 not possible (Faultystatus) Further possible messages> Messages may also be issued by other function modules or programs. |