SAP Knowledge Base Article - Public

3487933 - How to link an existing Opportunity to an existing Sales Quote via SOAPUI

Symptom

You want to know how to link an existing Opportunity ID to an existing Sales Quote via ManageOpportunityIn.

Environment

SAP Business ByDesign

Cause

Based on the Help Center Documentation, please check section - Business Transaction Document References:

In general, with the Business Transaction Document Reference, the opportunity can be linked to other business documents like an activity or a campaign. To create or update a business transaction document reference, the ID (or UUID), TypeCode of the related business document as well as the RoleCode of the business document within the relationship shall be provided.

CustomerQuoteSuccessorBusinessTransactionDocumentReference: A customer quote as related business document is a successor to the opportunity. The type code of Customer Quote is 30.

Resolution

Please refer to below payload to successfully link both document ID's:

  <Opportunity actionCode="02" custQteSuccssrBusTransactionDocumentReferenceListCompleteTransmissionIndicator="true">
            <ID>1071</ID>
            <CustomerQuoteSuccessorBusinessTransactionDocumentReference actionCode="02">
               <ID>13952</ID>
               <TypeCode>30</TypeCode>
            </CustomerQuoteSuccessorBusinessTransactionDocumentReference>
         </Opportunity>

See Also

KBA: 3464394 - How to Maintain Sales Activities by Using API ManageOpportunityIn

Inbound Service ManageOpportunityIn

Keywords

Webservice, ManageOpportunityIn, sales activities, opportunity API. , KBA , SRD-CRM-OPP , Opportunities , Problem

Product

SAP Business ByDesign all versions