SAP ABAP - Custom Agent Determination Supplier Invoice Flexible Workflow Approval
Approval Supplier Invoice document (MIR7) using flexible workflow with custom agent determination. Using custom agent determination for supplier invoice approval with flexible workflow in SAP involves several steps. Below is a step-by-step guide to help you set this up: Step 1: Understand the Requirement In my case, custom agent determination need to maintain with custom table. Below the custom table needs: After create both of tables, need to create custom CDS view which will be used in custom logic apps code First CDS View ZInvoiceWf @AbapCatalog.sqlViewName: 'ZIWFINVOICE' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @ClientHandling.algorithm: #SESSION_VARIABLE @EndUserText.label: 'Supplier Invoice Workflow' @VDM.viewType: #COMPOSITE @VDM.lifecycle.contract.type: #SAP_INTERNAL_API @ObjectModel.usageType.sizeCategory: #M @ObjectModel.usageType.serviceQuality: #A @ObjectModel.usageType.dataClass: #MA...