Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
knutheusermann
Product and Topic Expert
Product and Topic Expert


In SAP Business ByDesign 1502 the web service ManageSupplierIn has been enhanced by element CreateFromBusinessPartnerIndicator to assign the role “Supplier” to existing business partners.

 

In detail:

The element CreateFromBusinessPartnerIndicator can be used to assign the role supplier to existing business partners.

If this element is supplied with value "true", then the following constraints have to be considered:

  • The actionCode attribute in message node Supplier shall have value "02" (Update) or "04" (Save), otherwise an error message is returned.

  • If the actionCode attribute in message node Supplier has value "02" or “04” and the element InternalID or UUID is filled, then the system assigns the role supplier to the business partner with the given Internal ID or UUID.

  • If the actionCode attribute in message node Supplier has value “04” and the elements InternalID and UUID are both empty, then the system creates a new supplier using internal numbering.

  • If CreateFromBusinessPartnerIndicator = "true", but the role "Supplier" is already assigned, then the system ignores the CreateFromBusinessPartnerIndicator and returns no error message.


 

The following web service request assigns the role "Supplier" to the customer with ID 100123. Furthermore the web service request adds the supplier specific fields Standard Carrier Alpha and German Customs Number, and assigns the roles Bidder and Freight Forwarder to the supplier. All other business partner data remains untouched and will not be changed.

<n0:SupplierBundleMaintainRequest_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">


<Supplier actionCode="02" addressInformationListCompleteTransmissionIndicator="false" communicationArrangementListCompleteTransmissionIndicator="false" relationshipListCompleteTransmissionIndicator="false" contactPersonListCompleteTransmissionIndicator="false" paymentDataListCompleteTransmissionIndicator="false" bankDetailsListCompleteTransmissionIndicator="false" deviantTaxClassificationListCompleteTransmissionIndicator="false" withholdingTaxClassificationListCompleteTransmissionIndicator="false" generalProductTaxExemptionListCompleteTransmissionIndicator="false" textListCompleteTransmissionIndicator="false">


<ObjectNodeSenderTechnicalID>1</ObjectNodeSenderTechnicalID>


<InternalID>100123</InternalID>


<StandardCarrierAlphaCode>SC1234</StandardCarrierAlphaCode>


<GermanCustomsNumberCode>GCN9876</GermanCustomsNumberCode>


<BidderIndicator>true</BidderIndicator>


<FreightForwarderIndicator>true</FreightForwarderIndicator>


<CreateFromBusinessPartnerIndicator>true</CreateFromBusinessPartnerIndicator>


</Supplier>


</n0:SupplierBundleMaintainRequest_sync_V1>


In SCN blog post Mass Changes of ByD Data using Excel and ByD Web Services you find the Excel sample template AP_ByD_MassChange_Supplier_CreateFromBupa_Windows7_Excel2010.xlsm which can serve as example how to read existing business partners and assign the role "Supplier" to these business partners using Excel and the above mentioned web service enhancement.



3 Comments