Message @ variable-popup

Hi m8s,
the first screen if you are running a query is the variable-popup, where you can enter your selections/restrictions. I would like to add there a message for the users e.g. how to use this selection screen, etc... How can I do that?
Thx.

Hi,
You can use offsets with -4 in the Query designer for that Fiscal period variable.
See whenever user enters Fiscal period it will minus the period and shows what you are expecting.
you also use between option where it will show the data ranges between entered month and -4.
Let us know.
Reg
Pra

Similar Messages

  • Bind Variable popup when no bind variable declared

    I am writing a fairly complex SQL (FYI, I want to keep this all in one step and not split out with multiple sub-selects) and I am getting the bind variable popup and an error message ("The requested URL /apex/wwv_flow.show was not found on this server ") and I am not sure why and could definitely use some help. From what I see there is no issue with the SQL syntax written and when I try to break it down, everything goes well until the point where I write a case statement with an OR and checking for 'BLOCK'.
    The issue comes when using the bolded line.
    I am using "10g Release 2 (10.2)" and querying from the SQL commands area inside it.
    The goal is to identify the area of the court broken down by the x and y dimension, home and away team has different logic to be used and if it is a block there is different logic.
    Your help would be greatly appreciated, and I am leaning towards it is a bug in the SQL Commands section of the tool:
    The full query is below:
    case when E.YEAR IS NOT NULL then
    *(case when x_dimension < 12.5 then 'A' when x_dimension <= 25 then 'B' when x_dimension < 37.5 then 'C' else 'D' end ||*
    case when ((a.action_team=c.awayname3 and A.ACTION_TYPE = 'BLOCK') or (a.action_team=c.homename3 and A.ACTION_TYPE <> 'BLOCK')) then (case when y_dimension < 9.5 then '4' when y_dimension <= 19 then '3' when y_dimension < 28.5 then '2' when y_dimension <= 38 then '1' else '0' end) else (case when y_dimension > 84.5 then '4' when y_dimension >= 75 then '3' when y_dimension < 65.5 then '2' when y_dimension <= 56 then '1' else '0' end) end) else 'NA' end as COURT_LOC
    It would not allow to enter the full SQL but please know that there is no issue with any declaration of the columns.
    Edited by: user10615520 on Feb 29, 2012 10:29 AM
    It seems that it is an issue with the in house SQL client of XE as I downloaded SQL Developer and ran same query there and the result was no issues. Is anyone aware of a bug for something like this?
    Edited by: user10615520 on Feb 29, 2012 10:43 AM

    So I am running Oracle Database Express version 10g. When you login through the default web interface, there is a SQL command line option. When I utilize the SQL below, can't insert whole SQL statement for some reason it won't let me, in that SQL command line I get a pop up window asking about values for bind variables... But as you can see from the code below there is no declaration of a bind variable. I also get the error message from the original post.
    When I use the same query in Oracle SQL Developer, not express (mistake in previous note), the query runs without any issues.
    My question is if anyone is aware of the oracle database express sql command line module having a bug where this is occurring. When I remove the line below from the query it runs fine in the Oracle Database Express command line module.
    Thank you for your help, I hope this is clear.
    case when E.YEAR IS NOT NULL then
    (case when x_dimension < 12.5 then 'A' when x_dimension <= 25 then 'B' when x_dimension < 37.5 then 'C' else 'D' end ||
    case when ((a.action_team=c.awayname3 and A.ACTION_TYPE = 'BLOCK') or (a.action_team=c.homename3 and A.ACTION_TYPE <> 'BLOCK'))
    then
    (case when y_dimension < 9.5 then '4' when y_dimension <= 19 then '3' when y_dimension < 28.5 then '2' when y_dimension <= 38 then '1' else '0' end)
    else
    (case when y_dimension > 84.5 then '4' when y_dimension >= 75 then '3' when y_dimension < 65.5 then '2' when y_dimension <= 56 then '1' else '0' end)
    end) else 'NA' end as COURT_LOC

  • Workbook fetching buffer date in variable popup in BI 7.0

    Hi All
    Appreciate ur respose in advance
    I have an issue related to workbook it is taking the buffer date instead current date from the variable
    i have tested the query with its variable popup .when we run it is showing  the current date i.e; sysdate
    and when the user runs the work book it fetches data from the cache it will not take the sysdate i.e; the cuurent date i have checked with all the technical settings with query and workbook as well
    we are using  a customer exit for 0calday varible
    *fo example *when we open the work book it fetches the old date(previousdate) not the current date**
    where as when we run the query it will display the variable popup with current date or sysdate
    Thanks in advance
    Mohammed ghouse
    Edited by: Mohammed Ghouse on Jul 17, 2009 2:05 PM
    Edited by: Mohammed Ghouse on Jul 17, 2009 2:06 PM

    Hi Chandamita Sarmah
    Pleased to see ur  reply but all  the technical settings related to workbook are done .every option is selected with out missing even though the problem persits
    Thanks for ur reply
    Mohammed Ghouse

  • How to display the return message in popup window

    Hi Experts,
    In WDA i want to display the return message through popup window.
    Regards,
    M.Chella Meenal.

    hi Chella Meenal ,
    you can generate the popup using popup factory class also , look at the below sample code for displaying message in a popup , and you can do your own configurating like visible , enable the buttons you want ..
    data:
        lr_component type ref to if_wd_component,
        ls_conf type wdr_popup_to_confirm,
        lt_texts     type string_table.
      ls_conf-window_position = '1'.
      ls_conf-button_1-text = 'OK'.
      ls_conf-button_1-icon = 'ICON_OKAY'.
      ls_conf-button_1-enabled = 'X'.
      ls_conf-button_1-visible = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
      ls_conf-button_2-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      ls_conf-button_cancel-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      lr_component = wd_comp_controller->wd_get_api( ).
      append 'some text' to lt_texts.
      cl_wd_popup_factory=>popup_to_confirm(
          component        = lr_component
          text             = lt_texts
          CONFIGURATION    = ls_conf
          window_title     = 'some title' ).
    Regards
    Chinnaiya P

  • How to hide a presentation hierarchy in variable popup

    Hi there,
    I've got the following problem:
    one infoobject, let's assume 0material, has got several presentation hierarchies; these hierarchies are actually per country, so two hierarchies for Belgium, three for Netherlands, etc; each BEX user is assigned to a country as well; in reporting there's a variable assigned to 0material which allows the selection of a hierarchy; the request is now to hide in the selection screen of the variable the hierarchies which are not belonging to the user?! so a dutch user should see in the variable popup only the dutch hierarchies
    any help, hint, idea is much appreciated

    Hi,
    Have you tried the option of Personalization of the selction screen ??
    regards,

  • JavaMail error in getting message variable

    Hi SDN,
    try{
              PrintWriter out=response.getWriter();
              InitialContext ctx=new InitialContext();
              Session session = (Session) ctx.lookup("java:comp/env/mail/Email");
              Properties props = session.getProperties();
              out.println("Mail From >>" + props.getProperty("mail.from")); //senders email id
              out.println("SMTP Server >>" + props.getProperty("mail.smtp.host")); // SMPT mail server name
              Message message = new MimeMessage(session);
              message.setFrom(new InternetAddress(props.getProperty("mail.from")));
              message.setRecipients(Message.RecipientType.TO, new InternetAddress[]{new InternetAddress(request.getParameter("Receipient"))});
              essage.setSubject(request.getParameter("Subject"));
              message.setContent(request.getParameter("Msg"),"text/plain");
              out.println("Message variable value" + message.getRecipients(Message.RecipientType.TO));     
              Transport.send(message);
              out.println("<br><b>Thank U. Your Message to "+request.getParameter("Recipient")+"was succesfully sent.<b>");
              catch(Exception e)
                   e.printStackTrace();
    We could not able to send a mail to the specified address using SMTP . Actual problem is the message variable in the above coding could not set the specified "from" address or "receipient" address . When we tried to display the set value it is returning the address as "Ljavax.mail.internet.InternetAddress;@57cd1b" . So suggest me how to overcome this.

    Hi bshannon
    I think the problem is not with the content method . when we try to set from address and To address using the corresponding methods , the value is not set. When we tried to get back internet address (TO, FROM) it is returning some other unknown address.
    Regards
    Basha

  • Error message: variable might not have been initialized

    i am doing java programming and keep getting error messages: variable might not have been intitialized, the variables are 'one', 'two', and 'three' ,but at the very beginning i already had typed in String one,two,three...how do i fix this? this is part of my program:
    public class Titles
    public static void main(String[] args)
    String book1,book2,book3,the,a,first3,first,ffirst3,ffirst,fffirst3,fffirst,one,two,three;
    System.out.println("Enter the title of the first book");
    book1=IO.readString();
    book1=book1.trim();
    System.out.println("Enter the title of the second book");
    book2=IO.readString();
    book2=book2.trim();
    System.out.println("Enter the title of the third book");
    book3=IO.readString();
    book3=book3.trim();
    the="the ";
    a="a ";
    first3=book1.substring(0,4);
    ffirst3=book2.substring(0,4);
    fffirst3=book3.substring(0,4);
    first=book1.substring(0,2);
    ffirst=book2.substring(0,2);
    fffirst=book3.substring(0,2);
    if (first3==the)
    book1=book1.substring(4);
    else
    book1=book1.substring(0);
    if (ffirst3==the)
    book2=book2.substring(4);
    else
    book2=book2.substring(0);
    if (fffirst3==the)
    book3=book3.substring(4);
    else
    book3=book3.substring(0);
    if (first==a)
    book1=book1.substring(2);
    else
    book1=book1.substring(0);
    if (ffirst==a)
    book2=book2.substring(2);
    else
    book2=book2.substring(0);
    if (fffirst==a)
    book3=book3.substring(2);
    else
    book3=book3.substring(0);
    int comp=book1.compareToIgnoreCase(book2);
    int comp1=book1.compareToIgnoreCase(book3);
    int comp2=book2.compareToIgnoreCase(book3);
    if (comp<0 && comp1<0)
    one=book1;
    else if (comp>0 && comp1>0)
    three=book1;
    else
    IO.reportBadInput();
    if (comp2>0 && comp1<0)
    two=book3;
    else if (comp2<0 && comp1<0)
    three=book3;
    else
    IO.reportBadInput();
    if (comp2<0 && comp>0)
    one=book2;
    else if (comp2>0 && comp<0)
    three=book2;
    else if (comp2<0 && comp<0)
    two=book2;
    else
    IO.reportBadInput();
    if (comp1>0 && comp2>0)
    one=book3;
    if (comp1<0 && comp>0)
    two=book1;
    IO.printString(one);
    IO.printString(two);
    IO.printString(three);

    It says "not initilailized", not "not declared". The code you posted is highly unreadable, but it's likely that the compiler complains that not in every case "one" will get assigned any value.
    At least do it like:
    String one = null;
    String two = null;
    ...

  • Activities to show up on Messages/Alert Popup

    Hi all,
    We would like activities that we assign to other users to show up on their messages/alert popup.
    Is there a way to make this happen?
    Thanks,
    Jane

    Hi Jane,
    When setting up the activity, be sure to set a reminder. this will enable the alert to show on the alerts inbox.
    Also, make sure that the "display inbox when new message arrives" is activated for the user (system initialization -->general settings --> services tab) and set the "update messages" to an acceptable time.
    Hope this helps,
    Kiran

  • Message variable initialization

    Hello,
    We had this ridiculous situation a while ago where out service instances create their variables with multiple nodes.
    For example if we have xsd looking like this:
    <element name="Response">
    <complexType>
    <sequence>
    <element name="Result">
    <simpleType>
    <restriction base="string">
    <enumeration value="OK"/>
    <enumeration value="ERR"/>
    </restriction>
    </simpleType>
    </element>
    <element name="Comment" minOccurs="0" type="string"/>
    </sequence>
    </complexType>
    </element>
    In BPEL we have message variable which part is this "Response" element. Everything is fine till the moment we start getting initial variable looking like this:
    <outputVariable>
    <part name="payload" >
    <Response>
    <Result/>
    <Result/>
    <Result/>
    <Result/>
    <Result/>
    <Result/>
    </Response>
    </part>
    </outputVariable>
    Of course we have no reason for this, no logs, no info and so on. Any idea anyone?
    Everything is normal concerning the BPEL, no errors are raised till the moment we need to populate the variable. The process is working correctly but we cannot return result to the caller.
    WL version: 10.3.5.0
    SOA version: 11.1.1.5.0
    BPEL version: 2.0
    Best regards.

    could you please send your test case to our support team? this doesn't look right. bpel engine would initialize the variable based on the xpath usage in to-spec expressions. you can try turning of variable initialization for that particular component using bpel.config.initializeVariables to false. and go with literal xml variable initiation. [http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html#SA00038]
    http://docs.oracle.com/cd/E28271_01/dev.1111/e10224/bp_manipdoc.htm#BABHDFBJ
    here is the sample for that property
    in composite.xml, find the component, under that component add this property, and re-deploy with your literal variable init.
    <property name="bpel.config.initializeVariables">false</property>

  • Want to hide/eliminate the leading Zeros in the Variable popup for0MATERIAL

    I have a requirement where 0MATERIAL is having leading zeros and it has the MATN1 conversion routine in the production system.I want to only remove the leading zeros in the Variable popup in report for 0 MATERIAL witohut changing the definition of the object as it has too much production data to change.
    Best Regards
    Tagore

    Hi,
    You will have to write some code in F4 help BADI, please refer the sap note 1416952. And you can take help of following function module to remove leading zeros,
    CONVERSION_EXIT_ALPHA_OUTPUT.
    If above thing doesn't help then you will have to create virtual key figure.
    Regards,
    Durgesh.

  • Error message as popup in webdynpro for Abap

    Hi,
    Use method REPORT_ERROR_MESSAGE of interface IF_WD_MESSAGE_MANAGER to create an error message in the webdynpro application.
    This works fine, the message is shown in the message area.
    Now I want to have the error message in a popup.
    In the method REPORT_ERROR_MESSAGE i set the parameter SHOW_AS_POPUP on abap_true but i get no popup.
    Is anyone familar with this?
    Thanks.
    Vincent.

    Hi Vincent.
    That's one I fell into as well.  That importing field is not is use yet.  Perhaps in a future support stack.
    You can bypass that by using the CREATE_POPUP_TO_CONFIRM method.  Below, you'll find some code from SAP's documentation.  All you need to do is select the button type and create some actions to receive input from the popup.
    data: l_cmp_api type ref to if_wd_component,
        l_window_manager type ref to if_wd_window_manager,
        l_popup type ref to if_wd_window,
        l_text type string_table,
        l_api type ref to if_wd_view_controller.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window_manager = l_cmp_api->get_window_manager( ).
    insert `Data where changed` into table l_text. "#EC *
    insert `Do you want to save?` into table l_text. "#EC *
    l_popup = l_window_manager->create_popup_to_confirm(
        text = l_text
        button_kind = if_wd_window=>co_buttons_yesnocancel
        message_type = if_wd_window=>co_msg_type_question
        window_title = 'Test: Popup to confirm'
        window_position = if_wd_window=>co_center )."#EC *
    l_api = wd_this->wd_get_api( ).
    l_popup->subscribe_to_button_event(
        button = if_wd_window=>co_button_yes
        action_name = 'YES'
        action_view = l_api
        is_default_button = abap_true ).
    l_popup->subscribe_to_button_event(
        button = if_wd_window=>co_button_no
        action_name = 'NO'
        action_view = l_api
        is_default_button = abap_false ).
    l_popup->subscribe_to_button_event(
        button = if_wd_window=>co_button_cancel
        action_name = 'CANCEL'
        action_view = l_api
        is_default_button = abap_false ).
    l_popup->open( ).
    Hope this helps.
    Adam

  • Variable Popup window depends on PC

    Hello this is Calvin from Korea.
    There are some queries with exit variable in our system and we faced some weird problem. We need to choose variable to execute this kind of query and the popup window is supposed to appear automatically.
    The problem is... in some PCs, the popup screen doesn't appear regardless of user ID.
    Does anybody have similar experience?
    Regards,
    Calvin

    Hey ...
    U need to chnage the query ... go to variable that u have defined change that varable and there u will find a checkbox ready for input .. just check that checkbox this should do the trick for you ..
    Thanks
    Amit

  • Validation error message in popup

    Hello,
    I want to ask if it's possible to display validation error message in a popup window/box? I have searched the forum but couldn't find specific solution.
    Thank you in advance.

    Hi,
    Edit your label template as above. Remove javascripts mentioned above if you edit same template.
    Include this javascript
    <script type="text/javascript">
    $('#errdialog').find('ul').append($('<li/>',{text:'#ERROR_MESSAGE#'}));
    </script>Then in page where you like use this place to page HTML header
    <script type="text/javascript">
    $(function(){
    if($('#errdialog').find('li').length>0){
      $('#errdialog').dialog({
       modal:true,resizable:false,
       buttons:{"Ok":function(){$(this).dialog("close")}}
    </script>And to page Header Text
    <div id="errdialog" title="Validation Error !" style="display:none"><ul/></div>Regards,
    Jari
    Edited by: jarola on Nov 4, 2010 10:48 AM
    And remember change item labels use this custom template
    Edited by: jarola on Nov 4, 2010 10:49 AM
    script tag included

  • WD ABAP: Raise message in popup

    Hi,
    I use the following way to create a popup and I want to raise messages i this popup:
          wd_this->detail_popup = l_window_manager->create_window(
           window_name = 'DETAIL_OVERVIEW'
           button_kind = if_wd_window=>co_buttons_close
           title = title
           message_display_mode = '0'
           close_in_any_case = abap_false
    When I want the message to be displayed in the popup, I use the following way:
      DATA: l_current_controller TYPE REF TO if_wd_controller,
            l_message_manager    TYPE REF TO if_wd_message_manager.
      l_current_controller ?= wd_this->wd_get_api( ).
      CALL METHOD l_current_controller->get_message_manager
        RECEIVING
          message_manager = l_message_manager.
            CALL METHOD l_message_manager->report_t100_message
              EXPORTING
                msgid = '/KYK/OPS_PP'
                msgno = '012'
                msgty = 'W'.
    but nothing happens after this method is called, could anybody explain why?
    Thanks!
    Yuankai
    Message was edited by: Armin Reichert

    hi,
    Try using this if_wd_window_manager instead. the below code works for me:
    data: l_cmp_api type ref to if_wd_component,
         l_window_manager type ref to if_wd_window_manager,
         l_popup type ref to if_wd_window,
         l_text type string_table,
         l_api type ref to if_wd_component.
        l_cmp_api = wd_this->wd_get_api( ).
        l_window_manager = l_cmp_api->get_window_manager( ).
        insert `No Developement Details Involved` into table l_text.
        l_popup = l_window_manager->create_popup_to_confirm(
                       text = l_text
                button_kind = if_wd_window=>CO_BUTTON_OK
               message_type = if_wd_window=>CO_MSG_TYPE_INFORMATION
               window_title = `Status Information`
               WINDOW_WIDTH = `400`
               window_position = if_wd_window=>co_center ).
        l_popup->open( ).
    hope this helps,
    Best Regards,
    Ravikiran.

  • Message on popup window

    Hi,
    Can anyone suggest how to create message(error/warning) on a popup window(Zwindow) in crm?
    Thanks in Advance.

    Hi Ginger,
    If i understand correctly you would need a message depending on some validation of data that is displayed in popup
    So when ever your validation fails you want to display an error message.
    Write this code to add your message in the Core Messages.
    lr_core = cl_crm_bol_core=>get_instance( ).
        CHECK lr_core IS BOUND.
        lr_global_messages ?= lr_core->get_global_message_cont( ).
        CHECK lr_global_messages IS BOUND.
    CALL METHOD lr_global_messages->add_message
          EXPORTING
            iv_msg_type       = 'E'
            iv_msg_id         = 'ZTEST'
            iv_msg_number     = 800
            iv_show_only_once = 'X'.
    Now if you do this the message would be displayed in the View that is actually calling the POPUP.
    To avoid that use this statment while calling the popup.
    lr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
    Edited by: Ratna Rajesh .P on Aug 6, 2011 12:50 PM

Maybe you are looking for