Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XSD for BAPI interface

Former Member
0 Likes
1,013

Hi,

I am wondering whether anyone can provide guidance on generating XSD or any XML definition of the BAPI parameters.

thanks.

James

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
757

hi, James Chang

If you are using a WAS 6.4 sever(I can only give you this sample, because I haven't done the test on other system), you can do as following:

Create a Web service for you BAPI, go to se37, menu 'untility' 'more untility' 'create web service'.

After a wizard, you alread create a Web service for your BAPI.

Then tcode WSADMIN, and choose the WS you created before, click the WSDL button(it is beside TEST button).

Then some web page will appear by SAP BSP service, and you can see the WSDL file of your BAPI.

I think your problem can be solved.

By the way, in XI, if you input a BAPI into XI, it will generate the WSDL file, the XSD definition of your BAPI can be get.

thanks

1 REPLY 1
Read only

Former Member
0 Likes
758

hi, James Chang

If you are using a WAS 6.4 sever(I can only give you this sample, because I haven't done the test on other system), you can do as following:

Create a Web service for you BAPI, go to se37, menu 'untility' 'more untility' 'create web service'.

After a wizard, you alread create a Web service for your BAPI.

Then tcode WSADMIN, and choose the WS you created before, click the WSDL button(it is beside TEST button).

Then some web page will appear by SAP BSP service, and you can see the WSDL file of your BAPI.

I think your problem can be solved.

By the way, in XI, if you input a BAPI into XI, it will generate the WSDL file, the XSD definition of your BAPI can be get.

thanks