Skip to Content
author's profile photo Former Member
Former Member

Validating Parameters in the Web Template

Hi!

I have a critical issue here!

We publish BW web templates to portal.

But this is done by customizing the EP screens.

So the web template variable screen is hidden.

But the values are populated using a secured url for the variables.

Hence the web template runs with values given in the EP text box.

This works fine for correct inputs, but when a wrong value is given for a parameter, the variable screen is displayed with the error messgae.

This should not happen. The user should never see the variable entry screen.

So the validation should take place. But how do we validate the values for parameters?

Is this done at the EP end or BW end?

Let me know the possible solutions of validating the variables.

Thanks,

Sri

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 02:06 AM

    Did you check that by chance the options DISPLAY VARIABLE SCREEN is checked or not...

    If in webtemplate properties you have checked tht option than u will not be able to see that screen.

    try to see that option in webtemplate properties

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 04:43 AM

    Hi Sri,

    In the Web template properties present on the left pane of the WAD, go to "Force Variable Screen Display". Then Uncheck that option. This will not display the variable screen when executed or published in Enterprise Portal.

    If you want to validate the values of the variables to be selected automatically, there is a procedure to be followed. You need to have a User Exit variable which automatically selects the variable values and when you execute the web template, the variable validation is done defaultly and the uotput is obtained based on the selection.

    Assign points if this helps u...

    Regards,

    KK.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 10:20 AM

    Validation was done using web services before calling the web template. Issue fixed!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.