on 03-04-2015 2:22 PM
PO 7.31 SP14 PAT0001
In ESR I have defined a service interface. The Service Interface's request data type refers to an imported RFC.
This service interface is imported and used as Event Trigger/message to start my BPM process.
I would have expected the data type of the RFC to have been imported together with the import of the WSDL for the service interface.
But apparently it doesn't do that.
When I want to define a Data Object, I cannot find the RFC data type in the drop down list for the Data Type property of the data object.
I have tried exporting the RFC's WSDL from ESR and then import it into my project using Data Types --> XSD Files --> Import XSD, after having cut out only the <xsd:schema>..... part of the WSDL. But to no avail.
In this particular case the data structure is very small. Therefore I could create it manually.
But next time it will be a BAPI with lots of input/output elements, tables .. etc.
Is this a bug, a known limitation .. or is there a recommend procedure for reusing RFC data types in BPM ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
those type are anonymous, that's why there is type generated in bpm.
<xsd:element name="FLATFILE_TO_SPEC2K">
<xsd:complexType>
<xsd:all>
<xsd:element name="FILEPATH">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="128"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
if your schema is like this: type will be generated.
<complexType name="yourtypename">
<sequence>
<element name="WorkflowId" type="string" />...........
Hi Arijit,
As far as I'm aware there's no obvious solution to this.
My conclusion is that RFC/IDOC based data type definitions imported from ERP backend cannot be reused in NWDS without manual intervention.
What Jun Wu says is true: Only named types from the schema definition are recognized.
I edited a number of wsdl's by hand in order to make them "nwds-compliant". It works and the more you practice the easier it gets
I'd prefer a solution provided by SAP though.
I can only repeat myself:
* start event points to a message trigger
* the message trigger points to the imported service interface
* the imported service interface is based on a WSDL
* I can open the WSDL and see the data definition I miss in the <xsd:schema>... tag
Everything looks exactly like it should.
The data type of this WSDL is simply not in the scope of the project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you search the data type?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.