Skip to Content
0
Former Member
Jul 24, 2017 at 09:09 AM

Unassigned Data Source and Mandatory Query Variables without Default Value

419 Views

Hallo experts,

i have question regarding query variables in Design Studio.

First off we are working with SAP BO DS 1.6 SP1 P1 on BIP 4.1.

I have created an application, which features an unassigned data source. This data sources is assigned to a query by user's choice at runtime. This assignment is done in the OnStartup script along with some other routines (e.g. Setting Icons and texts depending on the query). Everything is working fine unless the query contains a mandatory variable without Default value. In this case the the varible prompt is shown, displaying Errors

"Specify a value for variable ..." and error during the script processing. This leads to the termination of the OnStartup script resulting in a Kind of corrupt state of the application.

As the query is selected by the user at runtime it is hasd to set default values in the script at design time.

Do you know of any method to avoid this issue?

Kind regards

Christian