cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI or Function Module interface from XSD definition

Former Member
0 Kudos

Given an XSD file, is there any way to automatically generate a BAPI or Function Module interface from it?

BR,

Tony.

Accepted Solutions (0)

Answers (3)

Answers (3)

turmoll
Active Contributor
0 Kudos

Hi,

There are two approaches to create interfaces in XI

- Outside-In - interfaces definitions are stored in XI as e.g. xsd and PROXY classes/interfaces are generated in business system

- Inside-Out - interfaces are developed in business system and imported into XI e.g. IDocs, BAPIs, RFMs

So it is NOT possible to generate BAPI or FM based on XSD definition, but you can generate proxy.

Regards,

Jakub

Former Member
0 Kudos

What do you mean by BAPI or Function Module interface ?

Regards,

Jaishankar

prateek
Active Contributor
0 Kudos

No. There is no such generic option available. The structure of RFC depends upon the import and export parameters. Only if u have xsd same as fields and rootname of RFC, u can use it.

Regards,

Prateek