SAP: MIRO: Get item count

Get the row count of a SAP table without reading all data.

Help Centre › Building Processes

Get the row count of a SAP table without reading all data.

Runs on: Windows only.

Add it to a process

In the process designer, open the Add step tab. Find MIRO: Get item count under SAP › Export, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Table IDYesThe SAP GUI Scripting ID of the item table, e.g. wnd[0]/usr/.../tbl.... Copy it from SAP's script recorder.
WindowNoThe title of the window to interact with. Supports wildcards: * matches any characters.
VariableYesName of the variable where the result will be stored

What it gives back

  • {variable} – Number of rows in the table

See all SAP steps.

Errors

ErrorDescription
SAP not openSAP GUI is not running

Tips

  • Specific to SAP MIRO (invoice verification) transaction

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.