SAP Knowledge Base Article - Preview

1526248 - ESI - How to create Web Service from Function Module or BAPI which has import and export parameter with the same name


A webservice is created using one of the following methods:

  • Transaction SE37
  • Display Function module 
  • Menu path: Utilities -> More Utilities -> Create Web Service -> From Function Module

The Function module or BAPI was developed in very early SAP release and the importing and exporting parameters have the same name. This results in the called Web Service not working properly.



  • ABAP Web Services
  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP


ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions


BAPI_CHARG_CHANGE, BAPI_EMPLCOMM_CREATE, Webservice, Web Service, Webservices, Web Services, Web Service development, Service definition, Inside-out, Inside out, exporting, importing, parameter,  function module, function group, BAPI, RFC, RFM , KBA , BC-ESI-WS-ABA , Web Service and SOAP - ABAP , BC-DWB-WS-ABA , Web Service Tools - ABAP , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.