Skip to Content

How to read the terminal name from SM20 via a BAPI

May 15 at 02:58 PM


avatar image


I'm reading the SM20 data from SAP by using the FM "BAPI_SYSTEM_MTE_GETMLHIS".

From there I can get tables MSG_LINE_DATA, XMI_MSG_RAW and XMI_MSG_EXT.

When reading that I can see the SM20 date and timestamp, transaction, user, etc.

By I cannot see the terminal name. I see the terminal when looking at SM20 in the SAPGUI but I don't know how to read it from BAPI.

Do anyone know if there is a FM or BAPI that I can use to get that?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers