SAP Knowledge Base Article - Public

3705249 - Is it possible to post supplier invoice via Custom Odata Service?

Symptom

When trying to post existing supplier invoice (ready for posting) via a Custom Odata Service, it is not possible to update the invoice status as expected, even if the user having all the authorization to post the invoice.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to Application and User Management work center.
  2. Create a Custom Odata Service by selecting supplier invoice BO.
  3. Add 'PostingStatusCode' and 'SupplierInvoiceLifeCycleStatusCode' in Entity.
  4. Add Post Action in Function Imports.
  5. Test the Odata Service with a user having posting authorization and assigned to the invoicing unit.
  6. Invoice cannot be posted as expected.

Cause

The Function Import Action and BO Action/Query Post is to post the details from OData, but this Function Import Post is not applicable in supplier invoice - it is getting the details but not updating, because status fields are read only. 

Resolution

Currently, it is not supported to post supplier invoice via Custom Odata Service in Business ByDesign system.

Keywords

Odata, Supplier Invoice, Post, Read for posting, API, Status, Post Indicator, PostingStatusCode, SupplierInvoiceLifeCycleStatusCode , KBA , SRD-SRM-SI , Supplier Invoicing , Problem

Product

SAP Business ByDesign all versions