Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

B1if ProjectsServices

Hello All:

     Doing a very simple project services integration.

services setup parameter as below

Inbound payload for the services as:

<place_here_your_B1_Service_Schema xmlns="">

<Project>

<Code>PRJ01</Code>

<Name>TEST PROJ</Name>

</Project>

</place_here_your_B1_Service_Schema>

I am getting this error message

com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception:com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception:java.lang.RuntimeException: com.sap.smb.sbo.wrapper.com.ComFailException: Invoke of: GetDataInterfaceFromXMLStringSource: SapBobsCom.ProjectsService.90.0Description: Invalid data entity

Any help is much appreciated. Thank you!

Former Member
Former Member replied

Hi Bo,

The ProjectsService has two Request Keys (Code,Name), please check the following screenshot of my B1 Service atom:

and the payload of atom2:

<Payload Role="X" id="atom2" projectkeys="test 2016,Test 2016">

     <Project xmlns="">

          <Code>test 2016</Code>

          <Name>Test 2016</Name>

          <ValidFrom>2016-01-01</ValidFrom>

          <ValidTo>2016-12-31</ValidTo>

          <Active>tYES</Active>

     </Project>

</Payload>

brings following result:

<Payload Role="C" id="atom1" system="0010000101" systype="B1.9.0" b1login="Technical User" status="success" serviceid="ProjectsService" type="Add method" method="addProject" requeststr="ProjectParams" requestkeys="Code,Name" requestmethod="getProject" keyvalues="test 2016,Test 2016" ptype="synchronous" payload="atom2" DIresult="success" DImsg="ProjectsService.addProject(...) has been invoked.">

     <GetOrDelete xmlns="">

          <ProjectParams>

               <Code>test 2016</Code>

               <Name>Test 2016</Name>

          </ProjectParams>

     </GetOrDelete>

</Payload>

Best regards

Bastian

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question