cancel
Showing results for 
Search instead for 
Did you mean: 

Requesting Sample Code for Creating Asset Master via SAP SOAP API

huny
Participant
0 Kudos
442

 

Hello Cummunity!

Fixed Asset - Create Main Asset (Asynchronous)

https://api.sap.com/api/FIXEDASSETCREATEMAIN/overview

I would like to test creating an asset master in the Soap API. Could you provide sample code that I can use for testing?

I input it as shown below, but I keep getting an error.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fi="http://sap.com/xi/FI-AA">
<soapenv:Header/>
<soapenv:Body>
<fi:FixedAssetCreateMainBulkRequestMessage>
<MessageHeader>
<CreationDateTime>2024-07-11T09:43:36.115129Z</CreationDateTime>
</MessageHeader>
<FixedAssetMainRequest>
<MessageHeader>
<CreationDateTime>2024-07-11T09:43:36.115129Z</CreationDateTime>
</MessageHeader>
<FixedAsset>
<CompanyCode>1000</CompanyCode>
<AssetClass>Z1000</AssetClass>
<General>
<FixedAssetDescription>TSLA_MY</FixedAssetDescription>
<BaseUnit>EA</BaseUnit>
</General>
<AccountAssignment>
<CostCenter>0000101010</CostCenter>
</AccountAssignment>

</FixedAsset>
</FixedAssetMainRequest>
</fi:FixedAssetCreateMainBulkRequestMessage>
</soapenv:Body>
</soapenv:Envelope>

 

Error message:

<faultstring xml:lang="en">Web service processing error; more details in the web service error log on provider side (UTC timestamp 20240712034028; Transaction ID 289C80F191F901C0E0066909E1A3FFFA)</faultstring>

I would appreciate your help.

Huny

Accepted Solutions (1)

Accepted Solutions (1)

PANTELIS
Product and Topic Expert
Product and Topic Expert

Answers (0)