Skip to Content
avatar image
Former Member

BAPI or Function Module interface from XSD definition

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

BR,

Tony.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 12, 2008 at 09:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 12, 2008 at 09:45 AM

    What do you mean by BAPI or Function Module interface ?

    Regards,

    Jaishankar

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 12, 2008 at 12:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded