Skip to content

Rocket-Search/read_sap_ccms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

read_sap_ccms

This in example code, how to use BAPI and get values from CCMS. Please feel free to modify the code, according to your wishes and needs. If you have any question, don't hesitate to contact me software.moore@gmail.com

This example use the following BAPI:

BAPI_XMI_LOGON

BAPI_SYSTEM_MON_GETLIST

BAPI_SYSTEM_MON_GETTREE

BAPI_SYSTEM_MTE_GETTIDBYNAME

API_SYSTEM_MTE_GETPERFCURVAL

first download SAP RFC SDK

https://support.sap.com/en/product/connectors/nwrfcsdk.html#section_1291717368

SAP RFC SDK Guide

https://support.sap.com/content/dam/support/en_us/library/ssp/products/connectors/nwrfcsdk/NW_RFC_750_ProgrammingGuide.pdf

Enviroment Variables

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sap_rfc_sdk/nwrfcsdk/lib

export PATH=$PATH:/sap_rfc_sdk/nwrfcsdk/lib

compile commands

g++-7 -fPIC -Wall -g -std=c++17 -DSAPwithUNICODE -I./nwrfcsdk/include -c -o read_ccms.o read_ccms.cpp

g++-7 -g -fPIC -Wall -o read_ccms read_ccms.o ./nwrfcsdk/lib/libsapnwrfc.so ./nwrfcsdk/lib/libsapucum.so

execute: ./read_ccms

Releases

No releases published

Packages

No packages published

Languages