Quantcast
Channel: SCN : Popular Discussions - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 2194

Customer Invoice Upload Tool - Can't get extension fields to populate

$
0
0

In the documentation for the customer invoice upload documentation, it says to get the tag for your extension field in the Customer Invoice XML Output. No issues there. But when I add the extension field to the XML for the Customer Invoice Request Service Interface, the field never populates in the generated invoice request. Note that I cannot create a new XML Upload Service interface as a workaround because this is a 3.5 customer system

 

The extension fields are in a different namespace from the Request Service Interface, so I've tried the two methods below to populate my Advertiser extension field. I've had no luck with either. Here's some sample XML from the beginning of the file. The files are also attached. Any help is appreciated.

 

Method 1

 

<?xml version="1.0"?>

<CustomerInvoiceRequestRequest>

<MessageHeader>

<CreationDateTime/>

</MessageHeader>

<CustomerInvoiceRequest actionCode="04" reconciliationPeriodCounterValue="1">

<BaseBusinessTransactionDocumentID>EXT_100001_TALINV</BaseBusinessTransactionDocumentID>

<BaseBusinessTransactionDocumentTypeCode>29</BaseBusinessTransactionDocumentTypeCode>

<ProposedInvoiceDate>2012-09-16</ProposedInvoiceDate>

<Name>hhhc</Name>

<ReferenceBusinessTransactionDocumentID>100001</ReferenceBusinessTransactionDocumentID>

<Advertiser xmlns="http://sap.com/xi/AP/CustomerExtension/BYD/A03DP">

    <EXTAdvertiser00163E027E021ED1BFDF09124EFF4876_002>JUDSON</EXTAdvertiser00163E027E021ED1BFDF09124EFF4876_002>

</Advertiser>

<BusinessProcessVariantType>

<BusinessProcessVariantTypeCode>1</BusinessProcessVariantTypeCode>

<MainIndicator>true</MainIndicator>

</BusinessProcessVariantType>

 

Method 2

 

<?xml version="1.0"?>

<CustomerInvoiceRequestRequest>

<MessageHeader>

<CreationDateTime/>

</MessageHeader>

<CustomerInvoiceRequest actionCode="04" reconciliationPeriodCounterValue="1">

<BaseBusinessTransactionDocumentID>EXT_100002_TALINV</BaseBusinessTransactionDocumentID>

<BaseBusinessTransactionDocumentTypeCode>29</BaseBusinessTransactionDocumentTypeCode>

<ProposedInvoiceDate>2012-09-16</ProposedInvoiceDate>

<Name>hhhc</Name>

<ReferenceBusinessTransactionDocumentID>100002</ReferenceBusinessTransactionDocumentID>

<n1:EXTAdvertiser00163E027E021ED1BFDF09124EFF4876_002 xmlns:n1="http://sap.com/xi/AP/CustomerExtension/BYD/A03DP">JUDSON</n1:EXTAdvertiser00163E027E021ED1BFDF09124EFF4876_002>

<BusinessProcessVariantType>

<BusinessProcessVariantTypeCode>1</BusinessProcessVariantTypeCode>

<MainIndicator>true</MainIndicator>

</BusinessProcessVariantType>


Viewing all articles
Browse latest Browse all 2194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>