cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Journal Entry voucher with project task assignment

former_member782266
Discoverer
0 Kudos

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>

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

Thanks in Advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

d_weinberg
Participant
0 Kudos

Hi Ilesh,

did you solve the issue? I am also trying to create a JEV with reference to a project task, but miss the element AccountingCodingBlock to assign the project task properly.

Regards,

Daniel

Fawzi
Participant
0 Kudos

Hi.

SAP Business ByDesign (ByD) provides web services to create ByD Sales Orders in context of three main use cases:

  • Manage ByD sales orders from a remote ordering system: Using web service APIs you can create and change ByD sales orders similar to manual sales orders that can be created via ByD UI.
  • eCommerce/webshop integration: Using the same web service APIs you can create and released provisional internet orders and request real-time information, such as availability, prices, tax and freight from ByD.
  • B2B collaboration: Using the B2B inbound interface for sales orders you can receive sales orders from your customers automatically via xml messages.
former_member782266
Discoverer
0 Kudos

Hi fawazi,

Thanks for the answer ,but I want to create Journal entry vouchers not sales order.

I am using below webservice, but I have and issue with project assignment.
https://my******.sapbydesign.com/sap/bc/srt/scs/sap/manageaccountingentryin

Thanks again