This short guide details how to get available columns and SAP variables for a BW query using SAP Logon.
Preliminary Steps
Here is how to access the SAP Easy Access main menu:
- Look for "SAP Logon" in the Windows search bar and launch the app
- Look for the server you want to connect to in the search bar on the top right of the window (e.g., BW - Production - WBP) and double-click on it
- Input your credentials (user and password) and press Enter
- This brings you to the main menu
Retrieving Column Names
Here is how to access the available column names for a BW query:
- From the main menu, launch the "mdxtest" transaction by writing it in the search bar on the top left of the window
- Under the "Metadata" section, select "Cube" in the drop-down list
- Under the drop-down list, input both the catalog name and the cube name, separated by "/" (e.g., CPSDSO56/DI_BW_QRY_CPSDSO56_0007)
- The Column variables can be explored in the window underneath and the query can be tested on the right
Retrieving SAP Variables Names
Here is how to access the available SAP variables names for a BW query:
- From the main menu, launch the "SE37" transaction by writing it in the search bar on the top left of the window
- In SE37, write "BAPI_MDPROVIDER_GET_VARIABLES" as the function module
- Click on the "Test/Execute" button in the toolbar
- In the function module, input the catalog name in CAT_NAM (e.g., CPSDSO56) and both the catalog name and the cube name (separated by "/") in CUBE_NAM (e.g., CPSDSO56/DI_BW_QRY_CPSDSO56_0007)
- Click on the "Execute" button in the toolbar
- Under the "Tables" section, click on the entries that were returned by the function
- This will open a new window containing the SAP variables
