on 10-14-2014 1:54 PM
Hi All,
I am working on CLM 2.0. Would like to know if its possible to call query definition within script in CLM 2.0?
Thanks,
Saloni
Hi Saloni,
You could check by launching the Reference Guide >IAPI java docs and check if the classes below are listed. If they are, you should be good.
IapiPromptParamSetIfc
IapiQueryExecFactory
IapiQueryExecIfc
IapiQueryResultSetIfc
IapiQueryResultSetMetaDataIfc
You can also use the blog as a reference.
http://scn.sap.com/community/sourcing/blog/2012/08/08/query-iapis--a-good-alternative-for-dbhandle
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saloni,
DBHandle class is used to execute SELECT statements directly against the Sourcing database. We generally do not recommend using the DBHandle class because it requires using very specific coding protocols to ensure proper transaction management.
Please note, DBHandle class cannot be used to execute a Query Definition. Instead IapiQuery classes I had listed earlier should be used.
Hope this helps.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.