Description | Manage Journal Entry Vouchers |
Name | ManageAccountingEntryIn |
Namespace | http://sap.com/xi/AP/FinancialAccounting/Global |
Process Component Description | Financial Accounting |
Process Component Name | Accounting |
Process Component Namespace | http://sap.com/xi/AP/FinancialAccounting/Global |
Deployment Unit Description | Financials |
Endpoint Activation | By Scoping of Process Component | Operations |
Release Status | Released |
An interface to create Journal Entry Voucher (JEV) from a source system or file.
The web service interface Manage Accounting Entry In enables you to connect external applications to your SAP Business ByDesign system and to create JEV in your system. The web service interface Manage Accounting Entry In is relevant if your company wants to create JEV from external applications.
The web service interface Manage Accounting Entry In offers the operations MAINTAIN_AS_BUNDLE.
Here is an example of a simple web service request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header />
<soapenv:Body><glob:AccountingEntryBundleMaintainRequest_sync>
<BasicMessageHeader />
<AccountingEntry>
<ObjectNodeSenderTechnicalID>T1</ObjectNodeSenderTechnicalID>
<CompanyID>MC10000</CompanyID>
<AccountingDocumentTypeCode listAgencyID="?" listVersionID="?" listID="?">00047</AccountingDocumentTypeCode>
<PostingDate>2021-10-25</PostingDate>
<BusinessTransactionTypeCode>601</BusinessTransactionTypeCode>
<TransactionCurrencyCode>USD</TransactionCurrencyCode>
<Item>
<DebitCreditCode>1</DebitCreditCode>
<ChartOfAccountsItemCode listID="CAUS">101000</ChartOfAccountsItemCode>
<TransactionCurrencyAmount currencyCode="USD">100</TransactionCurrencyAmount>
</Item>
<Item>
<DebitCreditCode>2</DebitCreditCode>
<ChartOfAccountsItemCode listID="CAUS">101000</ChartOfAccountsItemCode>
<TransactionCurrencyAmount currencyCode="USD">100</TransactionCurrencyAmount>
</Item>
</AccountingEntry></glob:AccountingEntryBundleMaintainRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
You can find general information about Web services, their structure and consumption in the Web Services documentation. Please open the Web Services document in a new window.
The web service provides the following operation:
Maintain As Bundle operation enables external applications to create JEV.
Currently only Manual Posting - Journal Entry Voucher of Journal Entry Type is supported.
The structure of the response message consists of two parts:
• A business document-specific part containing information about IDs and UUIDs of the created Journal Entry Voucher.
• Log items containing system messages including errors, warnings, and information messages raised by the system during processing of the web service request.
The WSDL file for the web service can be downloaded from:
User Management work center -> Service Explorer view
Possible scenarios include the following:
• Create Manual Posting - Journal Entry Voucher
Here is an example web service request to create Manual Posting of JEV:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header />
<soapenv:Body><glob:AccountingEntryBundleMaintainRequest_sync>
<BasicMessageHeader />
<AccountingEntry>
<ObjectNodeSenderTechnicalID>T1</ObjectNodeSenderTechnicalID>
<CompanyID>MC10000</CompanyID>
<AccountingDocumentTypeCode listAgencyID="?" listVersionID="?" listID="?">00047</AccountingDocumentTypeCode>
<PostingDate>2021-10-25</PostingDate>
<BusinessTransactionTypeCode>601</BusinessTransactionTypeCode>
<TransactionCurrencyCode>USD</TransactionCurrencyCode>
<Item>
<DebitCreditCode>1</DebitCreditCode>
<ChartOfAccountsItemCode listID="CAUS">101000</ChartOfAccountsItemCode>
<TransactionCurrencyAmount currencyCode="USD">100</TransactionCurrencyAmount>
</Item>
<Item>
<DebitCreditCode>2</DebitCreditCode>
<ChartOfAccountsItemCode listID="CAUS">101000</ChartOfAccountsItemCode>
<TransactionCurrencyAmount currencyCode="USD">100</TransactionCurrencyAmount>
</Item>
</AccountingEntry></glob:AccountingEntryBundleMaintainRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
Description | Create journal entry vouchers |
Name | MaintainAsBundle |
Synchronous | yes |
Release Status | Released |
To create Journal Entry Voucher(JEV)
The request message of the operation MaintainAsBundle contains a BasicMessageHeader node element as well as an Accounting Entry node element that contains the data of JEV to be created. The detailed structure of the Accounting Entry node will be explained in the following sub-chapters. The Accounting Entry can occur multiple times in the request message – this means that multiple JEV can be created and updated through a single web service request.
The response message type of the operation MaintainAsBundle contains log items, processing information and JEV-specific node with ChangeStateID, ObjectNodePartyTechnicalID and BusinessTransactionDocumentID.
Element Names marked with an asterisk (*) are mandatory.
The AccountingEntry node element contains all general JEV information such as the company and posting date.
The data for this node is related to JEV Header area on the JEV UI.
The main element names correspond to the names shown on the UI as follows:
Element Name | Name on UI |
---|---|
CompanyID * | Company |
SetOfBooks | Set of Books |
AccountingDocumentTypeCode * | Journal Entry Type |
PostingDate* | Posting Date |
BusinessTransactionTypeCode * | Screen Variant |
TransactionCurrencyCode | Transaction Currency |
AccountingClosingStepCode | Closing Step |
EntryDate | Document Date |
CurrencyConversionDate | Currency Conversion Date |
Note | Header Text |
The Item node element can be used to create items in the JEV.
The data for this node is related to Items area (including Item Details area) on the JEV UI.
The main element names correspond to the names shown on the UI as follows:
Element Name | Name on UI |
---|---|
ChartOfAccountsItemCode * | G/L Account |
DebitCreditCode* | - see below - |
Note | Item Text |
TransactionCurrencyAmount * | - see below - |
CostCentreID | Cost Center |
ProfitCentreID | Profit Center |
ProductID | Product |
ProductTypeCode | Product Type |
ProductCategoryInternalID | Product Category |
DebitCreditCode can contain either value 1 indicating Debit and 2 indicating Credit. Based on the value of
DebitCreditCode, TransactionCurrencyAmount is interpreted as Debit in Transaction Currency or Credit in Transaction Currency.
Currently only Manual Posting - Journal Entry Voucher of Journal Entry Type is supported.