cancel
Showing results for 
Search instead for 
Did you mean: 

FB01 posting using Enterprise Service for Accounting

Former Member
0 Kudos

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...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I got the following error as well

Short dump CX_XSLT_SERIALIZATION_ERROR

Look at SAP note: 1493415

Former Member
0 Kudos

The problem was missing leading zeros in the fields

Old Values

<CostCentreID>2100</CostCentreID>

<ProfitCentreID>1402</ProfitCentreID>

<GeneralLedgerAccountReference><ID>4</ID></GeneralLedgerAccountReference>

New Values

<CostCentreID>0000002100</CostCentreID>

<ProfitCentreID>0000001402</ProfitCentreID>

<GeneralLedgerAccountReference><ID>0000000004</ID></GeneralLedgerAccountReference>

Former Member
0 Kudos

Can anyone help with this?

Former Member
0 Kudos

Hi Christian,

Check if 479000 exists in the chart of accounts. I think this account is not maintained.

Thanks,

Former Member
0 Kudos

Hi,

Thank you for the quick reply

I have checked

FSP0 and it exists on Chart of Accts = INT

FS00 and it exists in Companycode = 1000

Are there any speciel checkmarks that need to be set anywhere?