SAPMM 预制发票相关的Function Modules
创建预制发票:
1)BAPI_INCOMINGINVOICE_PARK
2)BAPI_INCOMINGINVOICE_CREATE1- Invoice Verification: Hold/ Park/ Park As Complete/ Post Incoming Invoice. Wecan use thefunction module BAPI_INCOMINGINVOICE_CREATE1.This function module is the same structre of BAPI_INCOMINGINVOICE_PARK, but DONTFORGET TO PASS THE INVOICESTATUS = 'D'.
3)FM 'IDOC_INPUT_INVOIC_MRM' for parkingthe incoming (Idoc) invoices
修改预制发票:
1)BAPI_INCOMINGINVOICE_CHANGE (changing a parkeddocument)
2)PRELIMINARY_POSTING_UPDATE
把ParkedInvoice过账到invocie的FM:
1)BAPI_INCOMINGINVOICE_POST (posting a parked document)
2)MRM_PARKED_INVOICE_POST
3)IDOC_INPUT_INVOIC_MRM directly posts the IDoc invoices.
把Parked invoice删除的FM:
1)BAPI_PARKEDINVOICE_DELETE (deleting a parked document).
2)PRELIMINARY_POSTING_DOC_DELETE (Delete a parked document and update BKPF)
3)MRM_INVOICE_DOCUMENT_DELETE