title: SAP Function Module to SQL Server stored procedure
body: <p>I am trying to convert a SAP ETL process (implemented by BODS) to SQL Server (SSIS).</p>
  
  <p>The process is for delta changes (every 15 minutes) and the object is called “0FI_AP_4” in SAP. I want to implement an SSIS package (SQL Server stored procedure) doing the same thing.</p>
  
  <p>The person who implemented this package in BODS is gone and I have no knowledge of SAP ABAP or BODS.</p>
  
  <p>I can see that the Data Source Name for this package is “BWFID_GET_FIAP_ITEM” which is a function module. </p>
  
  <p>I need to know which SAP tables are being populated by this package or by function module “BWFID_GET_FIAP_ITEM”.</p>
  
  <p>How can I find out the process implemented by this package?</p>
  
  <p>Or how can I find out the source tables and target tables of this function module?</p>
  
  <p>Can I call this function module using openquery or opensql in SQL Server, and access the results from a SAP table?</p>