Skip to Content
0
Jun 22 at 12:04 PM

How to create Journal Entry voucher with project task assignment

88 Views Last edit Jun 23 at 12:50 AM 2 rev

Hi All,

I am going to create Journal entry voucher using web service with project task assignment using below payload. but I got error "Project task LP300 not exists." but while in ByDesing UI I can able to assign same project task.

<ns1:Envelope xmlns:ns1="http://www.w3.org/2003/05/soap-envelope"> <Body> <n0:AccountingEntryBundleMaintainRequest_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <AccountingEntry> <ObjectNodeSenderTechnicalID>22097654</ObjectNodeSenderTechnicalID> <ExternalID>F7558FF8483544BA8A24</ExternalID> <CompanyID>A10</CompanyID> <AccountingDocumentTypeCode>00047</AccountingDocumentTypeCode> <PostingDate>2022-06-22</PostingDate> <EntryDate>2022-06-22</EntryDate> <BusinessTransactionTypeCode>601</BusinessTransactionTypeCode> <TransactionCurrencyCode>USD</TransactionCurrencyCode> <DraftIndicator>true</DraftIndicator> <Note>Test Header</Note> <Item> <ObjectNodeSenderTechnicalID>103402663</ObjectNodeSenderTechnicalID> <ItemGroupID>1</ItemGroupID> <DebitCreditCode>1</DebitCreditCode> <!-- <ProfitCentreID>A100</ProfitCentreID> --> <ChartOfAccountsItemCode listID="ZUS1">500300</ChartOfAccountsItemCode> <Note languageCode="EN">Competitive Products</Note> <TransactionCurrencyAmount currencyCode="USD">14.580000</TransactionCurrencyAmount> <FinancialAccountingViewOfProjectTaskReference> <FormattedID>LP300</FormattedID> <ObjectTypeCode>PRO</ObjectTypeCode> <ObjectNodeTypeCode>1072</ObjectNodeTypeCode> </FinancialAccountingViewOfProjectTaskReference> </Item> <Item> <ObjectNodeSenderTechnicalID>103402663</ObjectNodeSenderTechnicalID> <ItemGroupID>1</ItemGroupID> <DebitCreditCode>2</DebitCreditCode> <ChartOfAccountsItemCode listID="ZUS1">500300</ChartOfAccountsItemCode> <Note languageCode="EN">Competitive Products</Note> <TransactionCurrencyAmount currencyCode="USD">14.580000</TransactionCurrencyAmount> <AccountingBusinessTransactionTypeCode>601</AccountingBusinessTransactionTypeCode> <!-- <ProfitCentreID>A100</ProfitCentreID> --> <FinancialAccountingViewOfProjectTaskReference> <FormattedID>LP300</FormattedID> <ObjectTypeCode>PRO</ObjectTypeCode> <ObjectNodeTypeCode>1072</ObjectNodeTypeCode> </FinancialAccountingViewOfProjectTaskReference> </Item> <SetOfBooks> <ObjectNodeSenderTechnicalID>22097654</ObjectNodeSenderTechnicalID> <SetOfBooksID>**</SetOfBooksID> </SetOfBooks> </AccountingEntry> <BasicMessageHeader/> </n0:AccountingEntryBundleMaintainRequest_sync> </Body></ns1:Envelope>

image.png

anyone can help me out how can I do this using web service.

Thanks in Advance.

Attachments

image.png (70.8 kB)