Skip to Content

Example Creating Payment Advice from Inbound Web service

Hello guys in my case the response showed “Save of draft entry not possible.””


the solution was change the date and it worked for me.

 

<n0:BankAdviceBundleMaintainRequest_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
 <BasicMessageHeader>
  <ID schemeID="Token 1" schemeAgencyID="Token 2" schemeAgencySchemeAgencyID="Tok">Token 4</ID>
  <UUID schemeID="Token 5" schemeAgencyID="Token 6">12345678-90AB-CDEF-0123-456789ABCD1F</UUID>
  <ReferenceID schemeID="Token 7" schemeAgencyID="Token 8" schemeAgencySchemeAgencyID="Tok">Token 10</ReferenceID>
  <ReferenceUUID schemeID="Token 11" schemeAgencyID="Token 12">12345678-90AB-CDEF-0123-456789ABCDEF</ReferenceUUID>
 </BasicMessageHeader>
 <BankAdvice>
  <CompanyID>MC10000</CompanyID>
  <ExternalAdviceID>Disc1</ExternalAdviceID>
  <AccountDebitIndicator>false</AccountDebitIndicator>
  <AdviceDate>2015-06-03</AdviceDate>
  <PostingDate>2015-06-03</PostingDate>
  <PaymentFormCode>05</PaymentFormCode>
  <EffectivePaymentAmount currencyCode="USD">60</EffectivePaymentAmount>
  <HouseBankAccountInternalID>BOA SWEEP</HouseBankAccountInternalID>
  <BusinessPartnerInternalID>MC9785</BusinessPartnerInternalID>
  <PaymentExplanationItem>
   <ID>1</ID>
   <BusinessTransactionDocumentDate>2015-06-03</BusinessTransactionDocumentDate>
   <CompanyID>MC10000</CompanyID>
   <BusinessPartnerInternalID>MC9785</BusinessPartnerInternalID>
   <NetAmount currencyCode="USD">60</NetAmount>
   <CashDiscountAmount currencyCode="USD">3</CashDiscountAmount>
   <PaymentTransactionInitiatorInvoiceReference>
    <ID>MCCI-214</ID>
   </PaymentTransactionInitiatorInvoiceReference>
   <TotalDeductionAmount currencyCode="USD">2.25</TotalDeductionAmount>
   <ItemPaymentDifferenceExplanation>
    <ReasonCode>1</ReasonCode>
    <Amount currencyCode="USD">2</Amount>
   </ItemPaymentDifferenceExplanation>
   <ItemPaymentDifferenceExplanation>
    <ReasonCode>2</ReasonCode>
    <Amount currencyCode="USD">0.25</Amount>
   </ItemPaymentDifferenceExplanation>
   <ItemPaymentDifferenceExplanationListCompleteTransmissionIndicator>true</ItemPaymentDifferenceExplanationListCompleteTransmissionIndicator>
  </PaymentExplanationItem>
  <PaymentExplanationItemListCompleteTransmissionIndicator>true</PaymentExplanationItemListCompleteTransmissionIndicator>
 </BankAdvice>
</n0:BankAdviceBundleMaintainRequest_sync>
Be the first to leave a comment
You must be Logged on to comment or reply to a post.