Skip to Content
0
Former Member
Jan 19, 2011 at 10:32 AM

FB01 posting using Enterprise Service for Accounting

159 Views

Hi,

I get an error when trying to create a G/L account post using the following enterprise service.

Link: [AccountingDocumentERPBulkNotification_In|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=8B45F549DDF711DB2B24000F20DAC9EF]

System: IDES ECC6.0 Ehp4

Testdata send from sproxy

<ns0:AccountingDocumentERPBulkNotification xmlns:ns0="http://sap.com/xi/SAPGlobal20/Global">
	<MessageHeader>
		<CreationDateTime>2011-01-18 10:58:47</CreationDateTime>
	</MessageHeader>
	<AccountingDocumentERPNotificationMessage>
		<MessageHeader>
			<CreationDateTime>2011-01-18 10:58:47</CreationDateTime>
		</MessageHeader>
		<AccountingDocumentERPNotification>
			<AccountingDocument>
				<OriginalEntryDocumentID></OriginalEntryDocumentID>
				<CompanyID>1000</CompanyID>
				<SetOfBooksID>1234</SetOfBooksID>
				<TypeCode>SA</TypeCode>
				<OriginalEntryDocumentTypeCode>AB</OriginalEntryDocumentTypeCode>
				<PostingDate>2011-01-18</PostingDate>
				<Item>
					<ID>01</ID>
					<CostCentreID>2100</CostCentreID>
					<ProfitCentreID>1402</ProfitCentreID>
					<DebitCreditCode>1</DebitCreditCode>
					<TransactionCurrencyAmount currencyCode="EUR">10</TransactionCurrencyAmount>
					<GeneralLedgerAccountReference>
						<ID>4</ID>
					</GeneralLedgerAccountReference>
				</Item>
				<Item>
					<ID>02</ID>
					<CostCentreID>2100</CostCentreID>
					<ProfitCentreID>1402</ProfitCentreID>
					<DebitCreditCode>2</DebitCreditCode>
					<TransactionCurrencyAmount currencyCode="EUR">10</TransactionCurrencyAmount>
					<GeneralLedgerAccountReference>
						<ID>4</ID>
					</GeneralLedgerAccountReference>
				</Item>
			</AccountingDocument>
		</AccountingDocumentERPNotification>
	</AccountingDocumentERPNotificationMessage>
</ns0:AccountingDocumentERPBulkNotification>

Error received in debugger

FI/CO interface: Object type SA not defined

Account 479000 does not exist in chart of accounts INT
G/L account 1000/479000 does not exist
G/L account 479000 is not defined in chart of accounts INT

Account 479000 does not exist in chart of accounts INT
G/L account 1000/479000 does not exist
G/L account 479000 is not defined in chart of accounts INT

Please help...