Skip to Content
avatar image
Former Member

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!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 30, 2016 at 09:59 AM

    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


    Capture.PNG (45.9 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bastian Schaefer

      Hello Bastian:

      Maybe it is the version that I was using (a 8.82 B1if) . but using code (without name) as parameter seem to be working as well. I actually trid the code and name as your described and it didn't work.

      But either way. this was most helpful! Thank you so much!