cancel
Showing results for 
Search instead for 
Did you mean: 

convert BAPI / RFC enabled fumction module to XML / XSD file

Former Member
0 Kudos

Hi

Is it possible to convert

1. A BAPI to XML file/ XSD file

2. A RFC enabled Function Module to XML/XSD file

I know that IDOC can be converted to XML using transaction we60. In the same way is there any TCode to convert BAPI/RFC enabled fumction module to XML/XSD ?

Thanks

manian

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>1. A BAPI to XML file/ XSD file

>>2. A RFC enabled Function Module to XML/XSD file

yes it's possible - if you download BAPI/RFC into XI (integration repository)

you have a tab XSD where you can get XSD file from it

Regards,

michal Krawczyk

Former Member
0 Kudos

thanks michal for your reply,

I have imported BAPI_COMPANY_GETDETAIL in XI and from XSD tab I have downloaded it and when I open xml file

It gives me the following error

File C:\Documents and Settings\d10adm\Desktop\BAPI_COMPANY_GETDETAIL.xml is not valid.

The number of <input> elements in operation 'BAPI_COMPANY_GETDETAIL' (binding

'BAPI_COMPANY_GETDETAIL.SAPBinding') does not match the number of <input> elements in operation 'BAPI_COMPANY_GETDETAIL' (portType 'BAPI_COMPANY_GETDETAIL.PortType')!

Error location: wsdl:definitions / wsdl:binding / wsdl:operation

extensibility element '<rfc:binding>' might be part of an unsupported WSDL extension because it is not in namespace 'http://schemas.xmlsoap.org/wsdl/soap/' or 'http://schemas.xmlsoap.org/wsdl/http/' and therefore will not be validated!

Warning location: wsdl:definitions / wsdl:binding / rfc:binding

how can I solve this error

thanks

manian

Former Member
0 Kudos

Hi Manian,

You must be exported it as a .WSDL file. Try to export it as .xml file, you should be able to open that without any error.

Thanks,

Pooja Pandey

Answers (0)