on 10-27-2020 9:06 AM
Hello community,
I`m new to sap rfc sdk using with c++ in Linux.
I tried to read values from ccms using the BAPI "BAPI_SYSTEM_MTE_GETPERFCURVAL" .
the trace file which created by login to the sap system, puts out that
it wants a "rfc structure" for the TID
RfcGetFunctionDesc(BAPI_SYSTEM_MTE_GETPERFCURVAL) via handle 29453136
Repository::queryFunctionMetaData(BAPI_SYSTEM_MTE_GETPERFCURVAL) via handle 29453136 returns function meta 1c12ca0
name=BAPI_SYSTEM_MTE_GETPERFCURVAL (origin=AL1) with 4 parameters
parameter 0 (CURRENT_VALUE, RFCTYPE_STRUCTURE, RFC_EXPORT, 104, 140, 0, 1c577f0, , Current Performance Attribute Values, (nil))
parameter 1 (RETURN, RFCTYPE_STRUCTURE, RFC_EXPORT, 548, 1088, 0, 1c54530, , Return Messages, (nil))
parameter 2 (EXTERNAL_USER_NAME, RFCTYPE_CHAR, RFC_IMPORT, 16, 32, 0, (nil), , Name of the SAP-External User, (nil))
parameter 3 (TID, RFCTYPE_STRUCTURE, RFC_IMPORT, 84, 168, 0, 1c629a0, , MTE ID (TID), (nil))
RfcGetFunctionDesc(BAPI_SYSTEM_MTE_GETPERFCURVAL) via handle 29453136 (SID=AL1) returned 1c12ca0
...
...
>> TID, RFCTYPE_STRUCTURE, Length: 0, Active: true, Requested: false
Value: (empty)
...
...
Is there an example how to create/send a rfc sturcture for the TID values ?
Best regards
Tobias Reineck
Hello community,
I found a solution by using first the BAPI "BAPI_SYSTEM_MTE_GETTIDBYNAME"
and than get the structure for "TID" for BAPI "BAPI_SYSTEM_MTE_GETPERFCURVAL" .
the example source code can be found here at GIT HUB
https://github.com/Rocket-Search/read_sap_ccms
Best regards
Tobias Reineck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.