CRM On Demand - Reports and Dashboards (MOSC)

MOSC Banner

How To Call BIP Report Webservice From App Composer using Groovy Script

Hi All ,

Used below code to pass a parameter into the report and get the result.

def reportRequest =

[

byPassCache :true,

flattenXML :false,

reportAbsolutePath :"/Custom/AppCompReport/PRF Attchement Report.xdo",

sizeOfDataChunkDownload :2000,

parameterNameValues:

[

item:

[[

UIType :'Text',

dataType :'xsd:string',

defaultValue :'PRF-0000328-06052021',

fieldSize :'15',

label :'P_RECORD_NAME',

multiValuesAllowed :false,

name :'P_RECORD_NAME',

refreshParamOnChange :false,

selectAll :false,

templateParam :false,

useNullForAll :false,

lovLabels:

[

item:

[[

item :'PRF-0000328-06052021',

]],

],

//optional instance of type:'lovLabels' for accessor:'values'

]],

]

]

def s ='';

def appParams ='';

def result=adf.webServices.SupplierDetailsReport.runReport(reportRequest, appParams);

println(result)

def NewResult=decodeBase64(result.reportBytes.toString());

println(NewResult)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center