cancel
Showing results for 
Search instead for 
Did you mean: 

How to define data type in an easier way when exposing RFC as WS?

Former Member
0 Kudos

Hi,all!

I am trying to expose RFC--"BAPI_SALESORDER_CREATEFROMDAT2" which is in R/3 46c(without WAS) as an Web Service.

When I try to create related data/message/interface type for the parameters used in this RFC, I found it a really difficult job cauze there are too many types of parameters used in "BAPI_SALESORDER_CREATEFROMDAT2".

So I am wondering is there an easy way to create a corresponding Interface for RFC--"BAPI_SALESORDER_CREATEFROMDAT2".

Thanks!

Message was edited by:

Kee Wang

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

in case you have the rfc as a WS, then use the WSDL as a Ext. def. of the WS.

you dont need a MT or DT here. create a MI and use the Ext. def. of the WSDL imported in your mapping etc.

Former Member
0 Kudos

Hi,

Just an addition to the above, when you download the WSDL, you get some data types in the Message TABP of the External Definition.

You can use these as the Message Type for your mapping. You still have to create the MI for these Message types.

Regards

Vijaya

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Shabarish, it really helps!