No Guard Condition Accessible

Hi, I have a link from my web service to a Form IView which is just a blank form with a "Plain Text" Control on it.  I want to put a Guard condition on the link, but it's grayed out.  Can anyone tell me why?

I thought a guard condition would be used to control the link to the form?  So if I have 2 forms after my web service how could I control which one get's displayed based on the value coming from the web service?   I'm able to have guard conditions to my HTML IViews from my Web Service...?
Thanks for your help...

Similar Messages

  • Problem with Guard Condition (Fields Disabling)

    Hi All
    I have a screen where I am creating a notification... so I enter all my fields and data as below:
    If ALL fields are filled out then the call to my RFC will create the notification and pass back a notification number (EX_QMNUM)
    I then pass back EX_QMNUM to the input of my READ_S1 RFC. Since we have a custom table attached I thought it was best to retrieve the latest data from the database after point of save.
    However if they don't fill in the necessary criteria then I pop up an error (EG. Please fill in customer number). I put a GUARD CONDITION on the call back to the READ_S1 RFC. The guard seems to work as my breakpoint/RFC does not get hit... however it then CLEARS my fields and DISABLES everything. This is what it looks like after the save (with guard condition in place). This means I lose all my data and no save occurs.
    What am I doing wrong here? Is this a bug with the guard condition?
    Guard Condition (which seems to be working apart from the fact it disables my RGA fields)
    I'm not completely sure about IF conditions so let me know if this is wrong?

    Hi Brad,
    Thanks for the input, I have tried this now.
    1. In the case the guard evaluates to "false", I experience the fields being blank, but not grayed out. So the user is able to refill the input and submit. This means something else in your model causes the "grayed out" behavior.
    2. In general, in case you know the conditions to valid input in the client side, you could model this way:
    Valid input => the data services run. example guard to service: =ISNULL(@customer)==false
    Invalid input => the popup shows. example guard to popup: =ISNULL(in1@customer)==true
    3. Is it possible in your case to validate the input before running the first query? This will enable to use the Validation feature as in Input Validation. If possible it's the best way in terms of user experience, in my opinion.
    Thanks,
    Udi

  • Guard Condition is not working

    Dear Friends,
    I have created a dashboard using BI queries. output of queries is displaying via charts.
    Now i have to display charts one by one in single layer. Here i triggered the Select Event on the output of CHART A and Guard Condition as well.
    Now guard condition is not working properly. i want display of CHART A first then after clicking on tab i want display of CHART B. But here i always get CHART B first, which is not the requirement.
    I am using VC 7.0 with flex2 compiler. EP patc level is SP17.
    Kindly hep me out to resolve this.
    Thanks & Regards
    Nivedita

    Drag an output from your table to a data store and add a field to the datastore (lets call it GUARDFIELD). Click the connector between the table and the data store. Make sure the event name is select and assign GUARDFIELD with the following value:
    STORE@GUARDFIELD+1
    Now add a guard condition to the select connector between the table and chart B and use following code:
    STORE@GUARDFIELD>0
    This is going to check that GUARDFIELD is greater than 0, which will only be true when you click the table for first time. If this doesn't make sense let me know and I'll try find the blog which explains this.

  • How to identify active layer in Visual Composer 7.0

    Hi Experts,
    I am using a model with several layers and a link tree navigation control.
    Is there a way to find out on which of the layers the user currently is?
    For example: If the user opens Tab 3 can I then get the information tab = 3?
    I need this for guard conditions and for a button to open a hyperlink where the url depends on the layer.
    Sincerely
    Markus

    Hi Markus
    Instead of using the Navigation Control "Link Tree" I would set Navigation Control to "None" and model your own navigation with a form view containing buttons to navigate between layers.  You can then use a Data Store with a field called "Tab" and default value Tab1.  When you trigger the event to navigate to other tabs update the Data Store field Tab with the target tab value.  You can then base guard conditions etc. on the Tab value in the Data Store.
    Hope this helps
    Adam

  • Add Validation to a Button

    Hi, i need to add a validation to a Button (i don't know the technical name) that is in a standard tcode ( F110 ), Thanks.

    Hi Sergio,
    Try using the guard condition to validate the data.
    or,
    Double click the button to open the properties popup window.
    Add the needed condition to the disable property in the general tab.
    or,
    you can have a web service test your database and return false or true as a response accordingly. Add start point to the WS and a form for the response (you can set the form's visibility condition to false).
    kindly reward if found helpful.
    cheers,
    Hema.

  • Html view is not visible

    Hi Guys
    i am calling a webtemplate from vc by using html view
    but the contents of html view is not visible in the application but html view window is opening but blank screen when i am trying this link direct in internet explorer its opening even www.google.com is not working from the application.
    after changing my compiler to flex2 compiler i am getting this problem
    Regards
    Amiya

    Hi Govindu
    Thanks
    actualy i am using some guard condition in my html view if i am removing it then its displaying
    in flex2 compiler and some custom drop down events also working strangely in flex2 which is working properly in flash  its realy strange
    can u please explain what are all fixes we can do in order to solve this issue we have also raised oss message regarding this
    Regards
    Amiya

  • Problem in mapping dropdown list  values with the queries

    hi,
    I am building a simple applicaittion of currency conversion.
    The scenario :
    I have a input form with a dropdown list and a input field to enter the amount
    I have created the drop down list with the respective details
    Value   Desc
    1          dollarToeuro
    2          euroTodollar 
    when the user selects the first option in the drop down list and then enters the value and gives a submit -> the conversion takes place
    but evrytime i select the second option --> the application hangs..
    i have given a guard condition in the submit action for each if the query as LIKE(@option,"1") OR LIKE(@option,"2") for the respective queries.
    Please can someone tell me where i am going wrong???
    Regards,
    Vaishali

    Hi ,
    what is the need of ur gaurd condition there?
    and try to run the model without that guard condition.
    Regards,
    Govindu

  • Choose Database Connection at runtime?

    I have a few databases with the same structure but different content. In fact it are databases from the same application, but from different customers.
    But the choice of the database connection is part of the VC model.
    What will be the easiest way to use the same model with different databases?

    Hi
    I think that you should create seperate systems for each DB and then in your VC model use guard conditions to allow access to the specific data base.
    Jarrod Williams

  • Choose my BC4J connection at runtime

    Hi,
    I have distributed database. I mean same database in many site but I have only one application server. So I need a way to choose a connection (or schema) at runtime for each BC4J call. Is there any easy way to do it from a JSP page.
    Thanks!

    Hi
    I think that you should create seperate systems for each DB and then in your VC model use guard conditions to allow access to the specific data base.
    Jarrod Williams

  • Display error messages in Visual Composer if Input Data is not valid

    Hi,
    We developed a small iView with a single input field FO (Factory Order).
    The output is a table with some fields corresponding to the given FO.
    My requirement is if the given FO (Factory Order) has no data then the table should not be displayed, instead a message should be displayed saying
    'No Data is found' and stop the program.
    Please reply soon if anyone has got a solution.
    Thanks,
    Shashidhar

    Hi
    You can use <b>guard condition</b> of the event to check whether input field(FO) has data or not. When the input field is empty , you can open a <b>pop-up iView</b> displaying "No Data is found" and when the input field has data , you can execute your service to produce the table output.
    If, you have any more doubts, revert back
    Thanks & Regards
    Harsimran

  • How to control the error messages (like Application..) in visual composer?

    hi
    is it possible to control the error message?
    After creating the delivery using a BAPI function,
    the return message is displayed in the table list if the transaction is succeeded.
    But the error occurred, dialog box is showed (Application Message).
    I just want to show the error message like being succeed in.
    Regards,
    Wooho.

    Hi
    You can try and use guard conditions or check the table for data, if there is no data in the table the application will return an error message.
    Jarrod Williams

  • Buttons in a table and their function

    Hi all,
    I have another question. I use a table to display some master data of an infoobject from the BW. I want edit them with a popup window. Therefore I have three Buttons in the toolbar of the table "Edit", "Delete" and "Add".
    Is it possible, that I can disable the buttons "Edit" and "Delete" if the user has no row selected? - I have the feeling, that I can only define actions for the buttons in a toolbar.
    An other idea was, that I use the guard conditions, but the event fires a popup window and it's not possible to use guard conditions for a popup window.
    Has anybody a solution for my problem?
    Thx a lot for all upcoming answers!
    Regards,
    Marcel

    Thx for the answer. I had the assumption, that a workaround with an extra form view is the solution.
    I test it yesterday and it works, but the frontend looks not so good with this solution. Maybe SAP enhance the function of the toolbar buttons or make it possible to use buttons like in the form view.
    Regards,
    Marcel

  • Reg: How to submit out of two parameter either one should mandatory.

    Hallo All,
    I have a requirement in concurrent program parameter submit following conditions.
    scenario:
    1. I have two parameters in which atleast either one should always pass. for this case concurrent parameter should allow to submit the pgm.
    2. If I missed out two marameters, Program should not allow to submit, there should pop-up message, "Please select item name or creation date parameter"
    Thanks in advance.
    Please guide me how to achive this scnario?
    Thanks,
    Velu.
    Edited by: user10348287 on Mar 12, 2012 2:53 AM

    Hi Anthony,
    Try to connect the table with the "save FM". This FM should only execute, if it contains a text (via formula). After saving it should call the FM for displaying the selected record of the table. For initializing you can call the FM for displaying directly (use a guard condition).
    Best Regards,
    Marcel

  • Default selection of a row in the table

    Dear all,
    I have given output of one table as the  input to an RFC and the output of this RFC is given to a table and the same scenario we followed for the graphs also. By default first row of the table is getting selected because of that the second table or graph is getting displayed without any user interaction. Please tell us how can we avoid the above. I tried by using guard condition of select but i am unable to control it. Please tell us detailed procedure by which directly i can follow the same.
    Regards,
    Suman.

    Hello Suman,
    Please, look at 'No First Select from Table' section of this blog: [/people/jarrod.williams/blog/2006/12/14/visual-composer-tips-and-tricks|/people/jarrod.williams/blog/2006/12/14/visual-composer-tips-and-tricks]
    Good luck,
    Ola

  • Examples, exercises & solutions

    Hi,
    I'm getting started with Visual Composer and have already been through some exercises (Exercise1_CreatingBankInformationiView Basis Mode, Exercise2_EnhancingBankInformationiView, Exercise3_Creating a Guided procedure forBankInformation, Exercise4_Creating a Popup iview, Exercise5_Eventing, Exercise6_Nested iViews, Exercise7_Visibility & Guard Conditions).
    If someone could give my some links to other exercises or tutorials, that would just be great! For instance about all the graphical possibilities in VC, more complexity in function modules, BAPIs etc.
    thanks in advance,
    Tom

    Hi tom
    few links....
    high lighting rows in table
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c4e2ff87-0d01-0010-9db5-d1581fc1dfbe
    Consuming a web service using VC
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e017128b-0c01-0010-fa85-e3a576f1a40d
    Consuming Web Services Using Visual Composer [original link is broken]
    /people/baris.buyuktanir2/blog/2007/07/30/how-to-create-a-visual-composer-user-selection-screen-with-ume-web-service-part-i
    Regards
    Pradeep

Maybe you are looking for

  • ECC 6.0 Upgrade from R/3 4.7

    Hi: we recently upgraded our sandbox from R/3 4.7x110 enterprise to ECC6.0, after the upgrade was completed we had to restore the system from backup tape. after restore license information was lost, so I loaded the saplicense from the command line, l

  • Calling Procedure in Form Personalization in R12

    Hi, I'm trying to call a procedure in form Personalization (R12). Tried below versions but getting error, could you suggest ? ='begin XXHI_DFF_NULL(''' || $KANBAN_CARDS.KANBAN_CARD_NUMBER || ''' ); end' ===============================================

  • How to calculation Stock Price

    Hi Expert,    I want to calculation amount in BEx. Key values are profit Center,plant,material ,but I am just want to display Profit center, who can tell me how to do this report in BEx.Amount using formula(Quantity * Standard Price) MultiProvider (0

  • Howto? XMLSchema validation on abstract/substitutionGroup and complexType

    Hi, I'm following the examples on [http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96621/adx06scj.htm|http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96621/adx06scj.htm] . A little change and it worked for me. I wanted to try out a

  • ITunes 10.7.0.21 choppy audio playback

    After upgrading my Windows 7 PC to iTunes 10.7.0.21, the audio is incredibly choppy. I cannot do anything else on my computer without the sound going haywire. It only plays smoothly if iTunes is constantly on top. I can't even simply type a web addre