cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter Data type is not updating in sap me

bikshu2313_94
Explorer
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

bikshu2313_94
Explorer
0 Kudos

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.

steve_stubbs
Participant

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

Answers (2)

Answers (2)

bikshu2313_94
Explorer
0 Kudos

Hi,

It worked . Thank you.....

Bikshapati

0 Kudos

Hi!

You should specify dcParameterList.dataType value. For details, please check Javadocs and Database Guide, both available at help.sap.com/me.

Regards,

Sergiy