cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Customer Via A2X

Former Member
0 Kudos

When ever I create a customer...

Then Try to create an order for that customer via A2X I fet that the currency is not defined.. (I can create an order for that customer via the UI Just fine)

I even specify the Currency in the XML as follows

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

<soapenv:Header/>

<soapenv:Body>

<glob:SalesOrderCreateRequest_sync>

<BasicMessageHeader>

</BasicMessageHeader>

<SalesOrder>

<DataOriginTypeCode>4</DataOriginTypeCode>

<Item>

<Product>

<ProductInternalID>p100402</ProductInternalID>

<ProductStandardID/>

<ProductBuyerID/>

</Product>

<ScheduleLine>

<Quantity>1</Quantity>

</ScheduleLine>

</Item>

<AccountParty>

<PartyKey>

<PartyID>cp100110</PartyID>

</PartyKey>

</AccountParty>

<PriceAndTaxCalculation>

<CurrencyCode>USD</CurrencyCode>

</PriceAndTaxCalculation>

</SalesOrder>

</glob:SalesOrderCreateRequest_sync>

</soapenv:Body>

</soapenv:Envelope>

here is the response (AND IT CREATES AN ORDER with errors but does not give me an ID of that )

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

<soap-env:Header/>

<soap-env:Body>

<nm:SalesOrderCreateConfirmation_sync xmlns:nm="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:VQ3:/1SAI/TASDF1B91BC5BD603F1514F:800">

<Log>

<MaximumLogItemSeverityCode>2</MaximumLogItemSeverityCode>

<Item>

<TypeID>094(/AP_ESI_COMMON/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>1</SeverityCode>

<Note>Action RELEASE not possible; action is disabled</Note>

</Item>

<Item>

<TypeID>017(/CL_CDA_ORGPT/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>1 additional sales areas exist for organizational unit 2100 (BR Columbus)</Note>

</Item>

<Item>

<TypeID>165(/CL_CDA_DOCIT/)</TypeID>

<CategoryCode>ENV.CBM</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Financial data in master of product P100402 incomplete for company 2000</Note>

</Item>

<Item>

<TypeID>055(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Party with role Service Execution Team does not belong to seller company 2000</Note>

</Item>

<Item>

<TypeID>089(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Financial data for seller 2000 missing in master data of account CP100110</Note>

</Item>

<Item>

<TypeID>089(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Financial data for seller 2000 missing in master data of account CP100110</Note>

</Item>

<Item>

<TypeID>057(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Service organization S1114 (Service &amp; Support Pro) does not belong to seller company 2000 (Innovat Inc.)</Note>

</Item>

<Item>

<TypeID>057(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Service organization S1114 (Service &amp; Support Pro) does not belong to seller company 2000 (Innovat Inc.)</Note>

</Item>

<Item>

<TypeID>102(/CL_CDA_BUSDT/)</TypeID>

<CategoryCode>ENV.CBM</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>The currency was not found for account CP100110 (Silverstar Wholesale Corp). Check if the currency is entered in the account master in the Accounts view, dependent on sales organization and distributi</Note>

</Item>

<Item>

<TypeID>100(/CL_CDA_BUSDT/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Currency missing</Note>

</Item>

<Item>

<TypeID>401(/CDA_CP_PRIDC/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Price and tax calculation not possible</Note>

</Item>

<Item>

<TypeID>401(/CDA_CP_PRIDC/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Price and tax calculation not possible</Note>

</Item>

<Item>

<TypeID>401(/CDA_CP_PRIDC/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Price and tax calculation not possible</Note>

</Item>

</Log>

</nm:SalesOrderCreateConfirmation_sync>

</soap-env:Body>

</soap-env:Envelope>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

wow the forum is formatting my codeThe Request

When ever I create a customer... Then Try to create an order for that customer via A2X I fet that the currency is not defined.. (I can create an order for that customer via the UI Just fine) I even specify the Currency in the XML as follows

the response

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

<soap-env:Header/>

<soap-env:Body>

<nm:SalesOrderCreateConfirmation_sync xmlns:nm="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:VQ3:/1SAI/TASDF1B91BC5BD603F1514F:800">

<Log>

<MaximumLogItemSeverityCode>2</MaximumLogItemSeverityCode>

<Item>

<TypeID>094(/AP_ESI_COMMON/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>1</SeverityCode>

<Note>Action RELEASE not possible; action is disabled</Note>

</Item>

<Item>

<TypeID>017(/CL_CDA_ORGPT/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>1 additional sales areas exist for organizational unit 2100 (BR Columbus)</Note>

</Item>

<Item>

<TypeID>165(/CL_CDA_DOCIT/)</TypeID>

<CategoryCode>ENV.CBM</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Financial data in master of product P100402 incomplete for company 2000</Note>

</Item>

<Item>

<TypeID>055(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Party with role Service Execution Team does not belong to seller company 2000</Note>

</Item>

<Item>

<TypeID>089(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Financial data for seller 2000 missing in master data of account CP100110</Note>

</Item>

<Item>

<TypeID>089(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Financial data for seller 2000 missing in master data of account CP100110</Note>

</Item>

<Item>

<TypeID>057(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Service organization S1114 (Service &amp; Support Pro) does not belong to seller company 2000 (Innovat Inc.)</Note>

</Item>

<Item>

<TypeID>057(//PAPR/PARTY_ADMIN/)</TypeID>

<CategoryCode>SEI.FSI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Service organization S1114 (Service &amp; Support Pro) does not belong to seller company 2000 (Innovat Inc.)</Note>

</Item>

<Item>

<TypeID>102(/CL_CDA_BUSDT/)</TypeID>

<CategoryCode>ENV.CBM</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>The currency was not found for account CP100110 (Silverstar Wholesale Corp). Check if the currency is entered in the account master in the Accounts view, dependent on sales organization and distributi</Note>

</Item>

<Item>

<TypeID>100(/CL_CDA_BUSDT/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Currency missing</Note>

</Item>

<Item>

<TypeID>401(/CDA_CP_PRIDC/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Price and tax calculation not possible</Note>

</Item>

<Item>

<TypeID>401(/CDA_CP_PRIDC/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Price and tax calculation not possible</Note>

</Item>

<Item>

<TypeID>401(/CDA_CP_PRIDC/)</TypeID>

<CategoryCode>INC.BOI</CategoryCode>

<SeverityCode>2</SeverityCode>

<Note>Price and tax calculation not possible</Note>

</Item>

</Log>

</nm:SalesOrderCreateConfirmation_sync>

</soap-env:Body>

</soap-env:Envelope>

Edited by: William Gast on Jun 17, 2011 10:42 PM

Former Member
0 Kudos

Request

<SalesOrder>

<DataOriginTypeCode>4</DataOriginTypeCode>

<Item>

<Product>

<ProductInternalID>p100402</ProductInternalID>

<ProductStandardID/>

<ProductBuyerID/>

</Product>

<ScheduleLine>

<Quantity>1</Quantity>

</ScheduleLine>

</Item>

<AccountParty>

<PartyKey>

<PartyID>cp100110</PartyID>

</PartyKey>

</AccountParty>

<PriceAndTaxCalculation>

<CurrencyCode>USD</CurrencyCode>

</PriceAndTaxCalculation>

</SalesOrder>

Former Member
0 Kudos

Are you sure you are using idential data in the A2X call. My experience is that if you are using the same customer, distribution channel and products, the A2X will work.

Former Member
0 Kudos

Hmm.. not sure how to have the same products on a Customer Create as I have on a Sales order...

But anyway

Turns out.. it was the Sales org..

On a side note Specifying the Currency in a Sales order A2X will Process with No level 3 warnings but will not Create the order.. So there is no way to know what the issue is.. just a blank log and no order created.