cancel
Showing results for 
Search instead for 
Did you mean: 

PO 7.4: NW BPM How to create Data Objcets.

former_member183910
Participant
0 Kudos

Hi,

I am trying to develop a flow using NW BPM.

I have created a inbound Service interface in ESR which has external definition as message type. When I import it in BPM(using import WSDL option) , it created namespace and service interface within, which is perfect,    but  it did not create any data type under Data Types section.

My question is, how to create Data Objects artifact if service interface is developed using external definition.

Thanks

Sandeep Maurya

Accepted Solutions (0)

Answers (7)

Answers (7)

sapstern
Participant
0 Kudos

Though this is an old question, someone might be still interested in solution:

1) extract the xsd from your wsdl (not really necessary, but makes it more easy)

2) Rewrite the xsd:element you are interested in importing as a xsd:complextype

eg. like this:

<xsd:complexType name="myDatatype">

<xsd:sequence>

<xsd:element name="myObject"

type="myObjecttype"

minOccurs="0"

maxOccurs="unbounded"/>

</xsd:sequence>

</xsd:complexType>

3) Import xsd to ESR as external def (step probably not necessary, but for clarity)

4) Import external def from ESR to BPM

You should then be able to assign the type you are interested in to your data object in BPM

former_member183898
Participant
0 Kudos

Hi All,

Anyone got the solution for this ? How to create Data Objects artifacts if service interface is developed using external definition ?

Appreciate your response.

Thanks,

Pushkar

former_member183816
Active Participant
0 Kudos

I couldn't find solution for this issue, So i have converted the ED structure into Data type/Message Type. Created a dummy service interface, containing this Message type. Imported it into NWDS and then Message type was available in Data types section to be used as data object.

Former Member
0 Kudos

HI Sandeep,

I am facing the same problem as i want to use the external defination as a data object in NW BPM.

Did u get any solution for this?

Regards,

Shubham.

Former Member
0 Kudos

Hello,

>>When I import it in BPM(using import WSDL option) , it created namespace and service interface within, which is perfect,    but  it did not create any data type under Data Types section.

Ideally, all the structure within ur ED should come under Data Types along with SI, something similar to like this (below is the DT from ED).

May be u can directly create DO and search for ur structure under DT tab?

Thanks

Amit Srivastava

former_member183910
Participant
0 Kudos

Thanks Amit.Yes this may be a workaround,

But again the same situation.. how to create Data Types in NW BPM based on ED? 

In ESR I have only XSD and Service Interface(which use XSD).

Thanks,

Sandeep.

Former Member
0 Kudos

Hello,

I think u got me wrong...

First of all u should not create DT under BPM because it should come along with ur SI WSDL Import. So, if possible paste ur ED, i can check why it's not working as expcted for u inside BPM.

>>But again the same situation.. how to create Data Types in NW BPM based on ED?

Answeing to ur question, yes it's possible to create custom DT, but for u it should come with SI import.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6097ddfc-0653-2e10-f8a1-9d48482e1...

Thanks

Amit Srivastava

former_member183910
Participant
0 Kudos

Amit, This is ED I am using

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://US/pi/test/rsearch">

   <xs:element name="TestSearchRequest">

      <xs:complexType>

         <xs:sequence>

            <xs:element name="CustomerNumber" type="xs:string" />

            <xs:element name="StartDate" type="xs:string" maxOccurs="1" />

            <xs:element name="EndDate" type="xs:string" maxOccurs="1" minOccurs="0" />

         </xs:sequence>

         <xs:attribute name="action" type="xs:string" />

      </xs:complexType>

   </xs:element>

   <xs:element name="TestSearchResponse">

      <xs:complexType>

         <xs:sequence>

            <xs:element name="rate" type="xs:string" />

            <xs:element name="CustNumber" type="xs:string" maxOccurs="1" />

            <xs:element name="Date" type="xs:string" maxOccurs="1" minOccurs="0" />

         </xs:sequence>

         <xs:attribute name="action" type="xs:string" />

      </xs:complexType>

   </xs:element>

</xs:schema>

Steps:

1. upload this ED in ESR.

2. Create an inbound Synchronous Service Interface -- Type  XI30.

3. in NWBPM, use import WSDL, to import this SI.

4. Verify that under Data Types section you are getting data types or not.

Thanks

Sandeep Maurya

former_member183910
Participant
0 Kudos

Amit,

Are you able to replicate the issue?


Thanks

Sandeep Maurya.

former_member183910
Participant
0 Kudos

What are the other options to store input data in NW BPM?

Thanks

Sandeep Maurya

Harish
Active Contributor
0 Kudos

Hi Sandeep,

The below blog series might help

Introduction to SAP Netweaver BPM: Part 1 [Part I: An introduction to SAP Netweaver BPM]

Introduction to SAP Netweaver BPM: Part 2 [Introduction to SAP Netweaver BPM: Part 2]

Introduction to SAP Netweaver BPM: Part 3 [Introduction to SAP Netweaver BPM: Part 3]

Introduction to SAP Netweaver BPM: Part 5 and Introduction to SAP Netweaver BPM: Part 6

regards,

Harish

former_member183910
Participant
0 Kudos

Harish,

Thanks but It seems you are not reading/understanding my question.

I am talking about Data Object in NW BPM  not Data Type/messgae in PI.

We need data objects to store input/intermediate data in NW BPM.

Thanks

Sandeep.

Harish
Active Contributor
0 Kudos

Hi Sandeep,

AFAIK - you do not need data type when you are using external definition for service interface.

regards,

Harish

former_member183910
Participant
0 Kudos

Hi Harish!!

without data object how to use incoming data in BPM?

I need to call a synchronous service using this data.

Thanks

Sandeep