cancel
Showing results for 
Search instead for 
Did you mean: 

How to create multiple payment for webshop sale order in SAP Business By Design

y_dasilveira01
Explorer
0 Kudos

Hello,

I am asking your help in order to know how to create multiple payments for webshop sale order integration in SAP Business by design.

I know we can create one external payment with the sale order, but I would like to create 2 differents payments in sales orders.

For exemple one external payment and one credit card payment.

Can you please help me.

Many thanks

Yvemelle

Accepted Solutions (0)

Answers (3)

Answers (3)

arjun_t_h
Advisor
Advisor

Hi Yvemelle,

SAP Business ByDesign supports mixed payment in Webshop (Point of Sales).

In the below example is a sale with an mixed payment of Cash and Credit card payment. The credit card settlement is to be done in SAP Business ByDesign. The sales item contains both cash amount 100 EUR and card payment 19 EUR with total payment of 119 EUR.

Hope this will help you to create multiple payment in Webshop.

Regards,

Arjun

<nm:PointOfSaleTransactionBundleNotification xmlns:nm="http://sap.com/xi/SAPGlobal20/Global"><MessageHeader><ID schemeID ="INVOIC">00000000123457</ID><CreationDateTime>2010-10-28T06:59:46.018472Z</CreationDateTime><SenderParty><InternalID schemeID="CommunicationSystemID" schemeAgencyID="310">TICKETSALE_001</InternalID></SenderParty><BusinessScope><TypeCode>3</TypeCode><ID>301</ID></BusinessScope><BusinessScope><TypeCode>2</TypeCode><ID>300</ID></BusinessScope></MessageHeader><PointOfSaleTransactionBundleNotification><ExternalID>BR20110207_1010280659462</ExternalID><TypeCode>1</TypeCode><BusinessTransactionDate>2010-10-28</BusinessTransactionDate><CompanyID>MDEC10000</CompanyID><RetailTransaction><TotalGrossAmount currencyCode="EUR">119.0</TotalGrossAmount><TotalNetAmount currencyCode="EUR">100.0</TotalNetAmount><TotalTaxAmount currencyCode="EUR">19.0</TotalTaxAmount><DistributionChannelCode>01</DistributionChannelCode><SalesUnitID>MDEC42100</SalesUnitID><BuyerBusinessPartnerInternalID>MDEC9785</BuyerBusinessPartnerInternalID><RetailTransactionSalesItem><TypeCode>1</TypeCode><ExternalID>1</ExternalID><GrossAmount currencyCode="EUR">119.0</GrossAmount><NetAmount currencyCode="EUR">100.0</NetAmount><TaxAmount currencyCode="EUR">19.0</TaxAmount><Quantity unitCode="EA">1.0</Quantity><QuantityTypeCode>EA</QuantityTypeCode><TaxCountryCode>DE</TaxCountryCode><TaxationCharacteristicsCode listID="DE">501</TaxationCharacteristicsCode><AccountingCodingBlockAssignment><AccountingCodingBlock><GeneralLedgerAccountAliasCode>A-1500</GeneralLedgerAccountAliasCode><ProjectReference><ProjectElementID>MDEC-1239-1</ProjectElementID></ProjectReference></AccountingCodingBlock></AccountingCodingBlockAssignment></RetailTransactionSalesItem><RetailTransactionProductTaxItem><ExternalID>2</ExternalID><TaxCountryCode>DE</TaxCountryCode><ProductTaxationCharacteristicsCode listID="DE">501</ProductTaxationCharacteristicsCode><BusinessTransactionCurrencyAmount currencyCode="EUR">19.0</BusinessTransactionCurrencyAmount></RetailTransactionProductTaxItem><RetailTransactionCashItem><ExternalID>3</ExternalID><CashPayment><CashStorageID>100005 HAUPTKASSE</CashStorageID></CashPayment><BusinessTransactionCurrencyAmount currencyCode="EUR">100.0</BusinessTransactionCurrencyAmount></RetailTransactionCashItem><RetailTransactionCashItem><ExternalID>3</ExternalID><CreditCardPayment><ClearingHouseAccountID>FOP_CHA1250</ClearingHouseAccountID><CreditCardKey><ID>5555555555554444</ID><TypeCode>3</TypeCode></CreditCardKey><Authorisation><PayeeID>111111</PayeeID><ClearingHouseID>9999999</ClearingHouseID><ProviderID>XX-201010280659461</ProviderID><DateTime timeZoneCode="CET">2010-10-28T06:59:46Z</DateTime><PaymentCardTransactionTypeCode/><PreAuthorisationIndicator/><Amount currencyCode="EUR">19.0</Amount><ExpirationDateTime timeZoneCode="CET">2010-11-28T06:59:46Z</ExpirationDateTime><ActiveIndicator/><AppliedIndicator/><ResultCode>1</ResultCode><ResultDescription>Authorization successful</ResultDescription></Authorisation><SettlementProcessedIndicator>false</SettlementProcessedIndicator><SettlementBatchRequesterID/></CreditCardPayment><PayerBusinessPartnerInternalID>MDEC9785</PayerBusinessPartnerInternalID><BusinessTransactionCurrencyAmount currencyCode="EUR">19.0</BusinessTransactionCurrencyAmount></RetailTransactionCashItem></RetailTransaction></PointOfSaleTransactionBundleNotification></nm:PointOfSaleTransactionBundleNotification>
y_dasilveira01
Explorer
0 Kudos

Hi FX,

I am fine thank you. Hope you too?

Ok merci beaucoup pour ta réponse.

Salutations,

Yvemelle

FX
Participant
0 Kudos

Hello Yvemelle,

Hope you are good 🙂

We experienced the same issue here.

As Arjun stated, it is possible on the POS transaction webservice. However, no possibility yet to have multiple payments on the Sales Order webservice. Even if the WSDL supports it, SAP considers it as a posting anomaly and the payment is not posted in accounting. There is an influence request on the topic: https://influence.sap.com/sap/ino/#/idea/203488 I recommend you vote on it, and push your customer to vote too !

A workaround is to create and release a downpayment request on the Sales Order (doable through webservice) per customer payment, then add a Bank Payment Advice to each of theses downpayments (doable through webservice too). This works pretty well for ecommerce payments, as it allows also the payments to be cancelled if the original order is cancelled.

The only drawback is that this bank payment advice cannot be automatically allocated to the bank statement item in the payment allocation, as there is no rule that allow matching of the bank payment reference ID with the memo line. It however is possible to manually allocate the payment, and the reference ID shows properly in the Payment Allocation open documents.

Hope it is clear, do not hesitate to call/email if needed.

Cheers,

FX