SAP Knowledge Base Article - Public

2939453 - Update of Opportunity Status is not Possible

Symptom

You are using the web service ManageOpportunityIn to update the status of an Opportunity, however the LifeCycleStatusCode is not getting updated.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Application and User Management work center.
  2. Select the Service Explorer view.
  3. Search for the ManageOpportunityIn.
  4. Download the WSLD (Web Services Description Language).
  5. Populate the structure with the expected information.
  6. Execute the payload service.

Error: RBAM: No authorization for 'Operation http://sap.com/xi/A1S/Global MaintainBundle' on 'ServiceInterface http://sap.com/xi/A1S/Gl

Cause

You are not able to update the status of an Opportunity via web service as the LifeCycleStatusCode tag is not supported for the service ManageOpportunityIn.

The status of an Opportunity can only be updated manually in the UI (User Interface) by using the Change Status button.

 

Resolution

This is the current system behavior.

An alternative option would be by creating ODATA service for Opportunity and using the action OpportunityProcess which uses the BO Query Process to change the status from Open to In Process. A sample ODATA url to change the status is: https://{{TenantHostname}}/sap/byd/odata/cust/v1/khopportunity/Process?ObjectID='{{OpportunityObjectID}}'

Keywords

ManageOpportunityIn, Web Service, LifeCycleStatusCode, A2X, Update, Opportunity, RBAM , KBA , AP-OP , Opportunity Processing , How To

Product

SAP Business ByDesign all versions