on 2023 Jul 10 11:18 AM
Hi Experts,
I tried to creating the DC group with parameters with PAPI-DataCollectionConfigurationService.
DC group and along with parameters are getting created but Parameter Data type is taking Numeric every time.
I tried passing the Boolean and TEXT but not working.
Can you pls help to resolve this issue.
Thanks ,
Bikshapati.
Request clarification before answering.
I am passing dcParameterList.dataType value but system ignoring and taking default values as Numeric though I am passing other dataType such as TEXT or Boolean.
Thanks,
Bikshapati.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bikshapati,
Please download the SAP ME Javadocs reference as recommended by Sergiy if you are intending to call these from MII (You must have an S-User account to download this document). Having this reference will save a lot of time in PAPI call definition and avoid a lot of trial and error.
For your case, the correct input for creating a dcParameter dataType property (defined in the DcParameterTypeNameEnum) are as follows:
B - Boolean
N - Numeric
T - Text
F - Formula
L - Data Field List
Some of these types will require additional dcParameter Properties to be defined in the call.
If you specify an invalid value, the PAPI will default to Numeric.
Regards, Steve
Hi,
It worked . Thank you.....
Bikshapati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
You should specify dcParameterList.dataType value. For details, please check Javadocs and Database Guide, both available at help.sap.com/me.
Regards,
Sergiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.