Test an RFC or BAPI in SE37

Follow these steps to test an RFC or BAPI in the Function Builder (SE37) in SAP.

Step-by-step guide

Start transaction SE37. Enter the function module name and click the Single Test button (the monkey wrench).

Fill in the data you want to send to the function module. For single fields, just type in the space in the Value column. For structures, click the puzzle piece icon to open up an editing window that shows all the fields in the structure. For tables, click the table icon.

You will see the Structure Editor after you click the puzzle or table icon. Fill in the values for each field in the structure. If you cannot read the field names because the columns are too narrow, click the chart icon. This will show you the structure with the fields in a list instead of in a row.

Use the Delete, Insert and New Line buttons to add and delete rows in a table.

If you want to save this set of data so you can easily run the function module again with the same parameters, click the Save icon. Enter a description in the Save Test Data dialog box.

To access saved data, click the Test data directory button and choose the data set you want to use. (This is why the description is important.) Your import data will be populated with whatever values were saved in that data set.

When you have entered all the import data, click the Execute button to run the function module.

The result screen will include the export parameters and the table results. Click the puzzle and table icons to see the contents of structures and tables.

 

 

 

Related articles

 

Related issues