Using Range Option in Date Navigator

Dear Experts,
I am using the Range option in the Selection mode of a Date navigator.
I have bind two attributes to the First and Last selected property of the Date navigator..
I have implemented the On Day select event method to get the dates and fill in my Input fields.
But When I am clicking on the date the attributes bind to First and last selected dates are giving the same Value.
It is not fetching the two different dates.
Note: I have declared a node with carnality 0:1 and created tow attributes for the first and Last selected dates.
How can i get the Range of dates?
Kinldy give some suggestions
Thanks,
Nalla B.

Hello Nallasivam ,
Did you try to specify the value 'range' to the property selectionMode of the Date navigator ?
Check out this sap link :
https://help.sap.com/saphelp_nw04s/helpdata/en/d5/9bac41993ac646e10000000a155106/content.htm
Dynamic Programming of Properties in :
https://help.sap.com/saphelp_nw04s/helpdata/en/81/ab884118aa1709e10000000a155106/content.htm
Best regards
Hicham

Similar Messages

  • Dump while selecting data using ranges

    Hi everybody,
    I am using ranges to select data from BSEG table.
    In a particular case the ranges table contains around 7000 entries, hence it leads to a short dump. Is there any limitation associated with ranges? with fewer number of entries it works fine. The code is already optimized properly for performance tuning purposes. There are no duplicate entries in ranges table i.e. all 7000 entries are unique and all are with sign as 'I' and option as 'EQ' , so all entries are unique single values.
    Apart from this I have another query also. While selecting data from BSEG / CATSEKKO  table if I use for all entries, then complete data is not fetched, However when I use ranges for same set of values, the missing records are also fetched. Any ideas for this behavior ? Is this related to cluster / pooled / transparent table types?
    Thanks,
    Harmeet Singh.

    Hello,
    I am using ranges to select data from BSEG table.
    In a particular case the ranges table contains around 7000 entries, hence it leads to a short dump. Is there any limitation associated with ranges? with fewer number of entries it works fine. The code is already optimized properly for performance tuning purposes. There are no duplicate entries in ranges table i.e. all 7000 entries are unique and all are with sign as 'I' and option as 'EQ' , so all entries are unique single values.
    i have already encoutered problem using range in SELECT statement. TO avoid the SELECT statement to dump, i have changed my SELECT statement : FOR ALL ENTRIES instead using range.
    +Apart from this I have another query also. While selecting data from BSEG / CATSEKKO table if I use for all entries, then complete data is not fetched, However when I use ranges for same set of values, the missing records are also fetched. Any ideas for this behavior ? Is this related to cluster / pooled / transparent table types?+
    Could you show us the SELECT statement ?
    Cordialement,
    Chaouki AKIR.

  • Range option in FM

    Hello All,
    I am creating a function module with  6 input fields  likes sales quotation number(vbelen), date(pedat) ,purchse requistion number(banfn) and 3 more fields.user can enter any value in the range for any of these 6 fields .based on the input i am fetching purchse requisition details from tables.
    i want to use range option in FM so how can i define this in code and  in tables or import parameters?
    let me know.it will be great help for me.

    Hello Mahesh...
    thnks for your reply...
    do u mean to say that in the import parameters i should define like
    IMPORT
    EBELN     TYPE     EBELN
    BANFN   TYPE      BANFN
    and so on for all the 6 fields?
    and then in source code should i write the code like
    RANGES: EBELN1 FOR EKKO-EBELN.
    EBELN1-LOW = P_M_EBELN_LOW.
    EBELN1-HIGH = P_M_EBELN_HIGH.
    EBELN1-SIGN = 'I'.
    EBELN1-OPTION = 'BT'.
    APPEND EBELN1.
    and so on for all the 6 fields?

  • How to use select options whitout ranges ie like parameter

    how to use select options whitout ranges ie like parameter and pls send me the code on that
    thanks
    raja.

    hi,
    SELECT-OPTIONS : s_kunnr for kna1-kunnr <b>no intervels.</b>
    eg: code
    <b>SELECT-OPTIONS : s_kunnr for kna1-kunnr <b>no intervels.</b></b>
    data: itab type table of kna1 with header line.
    select * from kna1 into table itab where kunnr IN s_kunnr.
    rgds
    Anver

  • Calendar Using Date Navigator in Webdynpro ABAP

    Hi,
         My Requirement is in the calendar the dates from today to some specific date(Ex:-30 days from today).
    Should be enable in all other dates grade out. how can we achieve using date navigator.
    For example: Indian railway booking site, allows booking from today to 60 days, remaining dates are grade out, Can't be selected.
    similar validation need to be achieved through date navigator.
    Regards
    Narasimha

    Hi Narasimha,
    The requirement exactly like RAILWAYS ticket booking cannot be achieved by using DATE navigator as we don't have any provision to disable/to graded out the dates of our wish.
    You can achieve your requirement ( up to some extent) as below
    Create a date navigator ui element and bind the start date and end date to context attributes
    Create a node DATE_SEL ( 0...n ) and attribute "DATE" of type DATS
    Now, right click on DATE NAVIGATOR ui element and  choose "Add selection" option from menu to add the dates of selection. Bind the datasource and selected date to node "DATE_SEL" and attribute "DATE" respectively
    The selection node "DATE_SEL", you can populate the 60days/30days as per your requirement and it hightlights ( you can choose your choice of color ) the dates in the calender. So that user focuses on these dates for selection. if any other dates other than these selection, you can raise an error message to the user by using event "ONDAYSELECT"
    Hope this helps you.
    Regards,
    Rama

  • How to use range for a field that is not in select options

    Dear All,
    I have a requirement to show Long Text of a G/L account , where G/L account is between a given range. But this field is not in select options. I have to show Long Text of this Account, if the field is in a given range. I have tried to use RANGE , but RANGE is not working here. Please help with some sample codes.
    Note: The range is too high so I cant use IN operator.
    Thanks ,
    Rosaline.

    Hi,
       Declare a range as :
    ranges : r_hkont for bseg-hkont.
    fill in the values
    r_hkont-sign = 'I'.
    r_hkont-option = 'BT'.
    r_hkont-low = '26000000'.
    r_hkont--high = '2999999'.
    append r_hkont.
    Select sgtxt from bseg into text
    where bseg-hkont in r_hkont.
    Regards,
    Srini.

  • How to use Data Navigation in OBIEE11g

    Hi,
    I read an article about BIEE 10g feature: Data Navigation (click on a record in Analytics report1 and corresponding drill down data show in Analytics report2). I found that there are some setting "Type: Navigate" in "Value Interaction" should be set in Tab: "Column Format" of Column properties in BIEE 10g (pls refer to: http://gerardnico.com/wiki/dat/obiee/navigation).
    However, I didn't find these setting in OBIEE 11g. How do I use Data Navigator in OBIEE 11g? Is this features is disabled?

    *1. Firstly, what means of "Column (should be filtered)?*
    The column in Criteria you should give the *Filter*
    2. Table.Column -> Column Properties -> Interaction -> Value (Primary Interaction) -> Action Links -> Add (+ Symbol in Green color) -> Action -> Click *Navigate to BI Content* -> Select the Report from the Shared folder -> OK and Save the report.
    Thanks,
    Balaa...

  • How use date navigator for marking a date.

    Hello Experts,
    How to use  DateNavigator  for set a colors in calendar using web dynpro abap.
    Thanks  in advance.
    Regards,
    Chetan.

    About the use of "Date Navigator", there are many properties needed to set. In detail, you can reference to the material "NET311".
    There is one chapter which takes the concern about "Date Navigator".
    I have one example about this topic. However, it is written in Chinese.I don't know whether it can help u or not.
    http://space.itpub.net/17144169/viewspace-674231
    Best wishes~

  • ABAP WD application using Select Options  & Adobe form :Don't see form data

    Hi,
    I am trying to get multiple PDF forms by passing multiple order numbers.I was able to get one PDF form successfully and now I am enhancing this application.
    For doing this I have created nested WD Context .
    1) Created a Node for Selections. ND_SELECT  ,
    Cardinality: 1..n ,
    Selection: 1..n ,
    Intialization lead Selection : Checked ,
    Singleton : Checked
    2) Created a Node for Output Structures ADOBE_DATA
    Properties same as above
    3) As we need Nesting Under ADOBE_DATA node I have created a subnode for Header: HEADER
    Properties same as above
    4) Under HEADER node I have created a items Node : ITEM
    Properties same as above
    As I have used Select-options and I am getting both header and Item data in to button search method .
    DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
      DATA lo_nd_header TYPE REF TO if_wd_context_node.
      DATA lo_el_header TYPE REF TO if_wd_context_element.
      DATA ls_header TYPE wd_this->element_header.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
      lo_nd_header->bind_table( new_items = it_header  set_initial_elements = abap_true ).
      DATA lo_nd_item TYPE REF TO if_wd_context_node.
      DATA lo_el_item TYPE REF TO if_wd_context_element.
      DATA ls_item TYPE wd_this->element_item.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
    * navigate from <HEADER> to <ITEM> via lead selection
      lo_nd_item = lo_nd_header->get_child_node( name = wd_this->wdctx_item ).
    lo_nd_item->bind_table( new_items = it_item  set_initial_elements = abap_true ).
    Could you please tell me where I am doing wrong?
    In adobe form
    Created one MainForm  and its properties are
    Binding : $record.HEADER.DATA[*]
    Repeat subform for each data item Checked , Min Count: 1
    Subform Content : Flowed ,Western Text , Allow page breaks withing Content Checked
    Accessibility /Subform Role: None
    Inside this Mainform I have created a small table ITEMTABLE  with 3 fields and mapped it item data.
    Itemtable properties
    Binding : ITEM
    Uncheck Repeat table for Each Data item.
    I have Itemtablerow inside Itemtable  and its properties are:
    Binding : DATA[*]
    Repeat row for each data item Checked ,Min count: 1
    Accesibility:/Subform Role: Body row
    Row: body row, Check Allow page breaks within content
    Still donu2019t see data on form.here is what i have in Hierarchy tab.
    ADOBE_DATA (no Caption)
    - (Master pages)(no caption)
             Page1
                      Untitled Content Area(no caption)
    - Mainform(no Caption)
                       PSPID {PSPID}
              -ItemTable (No caption)
                      - ItemtableRow (no Caption)
                                   PSPID(no Caption)
                                    CJTDAT(no Caption)
                                    CPERCO(no Caption)
    What could be going wrong ?
    Rgds
    Vara

    Hi John,
    In the WD4A view, there is a button "Show/Hide Layout Preview".
    Click on that button to be able to see the Layout.
    Note that this button is next to the Pretty Print button.
    regards,
    Reema.

  • How to use legend in date navigator

    Hi All,
    please provide me any tutorial for using legend (insert legend) in date navigator.
    Thanks & Regards,
    Sreelakshmi.

    Hi,
    Following is the explaination as present in NWDS help:
    The Legend UI element allows you to display a descriptive text for different colors used in an assigned UI element. The Legend element can be positioned anywhere in the view and be assigned to a table or a DateNavigator.
    The screen shot below shows a DatNavigator element with assigned legend.
    Assigning the Legend element
    ·        to the DateNavigator element:
    In the view, after the DateNavigator element insert a Legend element and assign it to the DateNavigator element by setting the ID of the Legend element as the legendID property of the DateNavigator element.
    ·        to the table:
    You can insert a Legend element after the table and use the legendId property to assign it to the table. To position the Legend element at the bottom of the table, you can use the LegendPopin. Insert a LegendPopin into the table and a content into the LegendPopin. Then insert a Legend element into the content.
    The color assignment of the LegendItem is carried out using the enumeration type WDTableCellDesign. The following properties are of this type:
    ·        For the LegendItem, the property semantics
    ·        For the DateNavigatorMarking, the property daySemantics
    ·        For the table, the property cellDesign of the TableColumn.

  • Customizing Font Size of Date Navigator Header Using CSS

    Hi All,
    Can anyone offer any advice on how I'd change the font-size of the Date Navigator Header (i.e. May 2010, June 2010, etc)?
    I've tried the good ol' CSS hack underneath the "Font Color of Date Navigator Header" and despite it working during preview, it doesn't come through when I save it.
    This is what I've entered:
    #000;padding:7px;font-weight:bold;font-size:medium
    What am I doing wrong?
    Is it because there are too many arguments?
    Where else could I modify this?
    Thanks,
    Bim.

    Hello Bim,
    I am not sure about your requirement using CSS. But, one way of changing the "Font Color of Date Navigator Header" is through editing the properties of your current theme in "Portal theme editor". For portal theme editor, logon to portal and navigate to System Administration>Portal Display>Theme Editor--> Click on the theme that is currently active.
    Now, navigate to "Date Navigator" under Complex Elements and change the required properties. I hope this helps you. Let me know if you need any other information.
    Regards,
    Gopal.

  • How to query a reporting data source using ranges?

    HI guys,
    I was looking at the BPM Reporting API available and more specifically the way one can query and search for data, stored in a reporting Data Source.
    I can see that there are methods in the API, allowing for a search by concrete field name and value, triggering data with exact or partial match of the specified value (query() and search() methods of ReportingDataSourceManager interface).
    However, we need to query using ranges of numbers or dates. Can someone advice how this can be done without creating a method of our own processing the whole data set?
    For example, how I can retrieve all data stored since yesterday? am I missing something in the BPM Reporting API? Any suggestions will be much appreciated.
    Kind Regards,
    Mariya Stancheva

    i think you have to do it by your own code.

  • Limitation of using select-options or ranges

    Hi
    I have the following code to fill the select-option AUFNR with the orders from SEL_TAB table, which I have to submit to another report to get a result set.
    LOOP AT SEL_TAB.
       MOVE: 'I'   TO AUFNR-SIGN,
             'EQ'  TO AUFNR-OPTION,
             SEL_TAB-AUFNR TO AUFNR-LOW.
      APPEND AUFNR.
    ENDLOOP.
    I know that we can use the RANGES option also for the above scenario since I don't display the select-option AUFNR in my selection screen.
    My question is, is there any limitation to how many number of values the RANGES or SELECT-OPTIONS can hold? Is it 200 or 256? I am not sure of this figure, can anyone give the exact number?
    Thanks,
    Bala.

    Hi Bala,
      there's not SAP limitations for range dimension but there is a limitation about native SQL statement size.
    In fact an open SQL statement (in ABAP language) will be translated in native SQL .
    For example:
    select * from mara where matnr in r_mara
    will be translated in
    SELECT ... FROM MARA WHERE MATNR = value1 OR MATNR = value2 etc...
    So if your range is too large, the native SQL will exceed the maximum length (and short dump will occur).
    with the following simple trick you can bypass the problem:
    describe table rng_ebeln_marc lines i.
    if i > 0.
      if i <= max_rng_rows.   "MAX NUMBER OF RANGE LINES
        select *
          from ekbe
          into table tekbe
         where ebeln in rng_ebeln_marc.
      else.
        from_i = 1.
        to_i = max_rng_rows.
        clear new_ebeln_marc.
        do.
          if i < from_i.
            exit.
          endif.
          append lines of rng_matnr_mara from from_i to to_i to new_ebeln_marc.
          select *
            from ekbe
       appending table tekbe
           where ebeln in new_ebeln_marc.
           clear: new_ebeln_marc, new_ebeln_marc[].
           from_i = from_i + max_rng_rows.
          to_i = to_i + max_rng_rows.
        enddo.
      endif.
      sort tekbe by ebeln ebelp zekkn vgabe gjahr belnr buzei.
    endif.
    This will split the sql statement into more (and shorter) statements. The result will be joined.
    Let me know if you need further infos.
    Kind Regards, Manuel

  • HT5622 I did not choose "use icloud" option for my initial setup.  so, it is creating for not enough space in my ipad.  How do I go back and set up icloud to store data?

    I did not choose "use icloud" option for storing during my initial setup.  How can I reset icloud account, so it can be used for storing.

    Welcome to Apple Support Communities
    If you are planning on using iCloud to store files, forget about iCloud and use a cloud storage service like SkyDrive or Dropbox. iCloud is focused on information sync between the iPhone, iPad, iPod touch, Mac and PC instead of storing files like MobileMe. It's not worth using iCloud for this.
    If you still want to set up iCloud, open Settings > iCloud, log in with your Apple ID and follow its steps

  • Saving a Text data to a PDF file without using print option

    Hi,
    I want to save a Text to a PDF file. I want to assign the path of the PDF file as a default one.
    If I use Print options, then it ask for the file path at the run time.
    Is there any method to save to a PDF file without using print option in Labview 8.2.
    Regards,
    Raja

    This question comes up a lot. Did you try searching? It depends on the PDF printer driver that you're using. See here, here, here, ...

Maybe you are looking for

  • How do I add tap to tweet to my notification center on my macbook pro?

    My friend has the same MacBook Pro as me and she has the 'tap to tweet' option in her notification center while I don't. How do I add it?

  • Xml file in application server

    Experts, I'm using a a simple tranformation and "open dataset" statement in order to write a xml file in application server: This is working fine. i notice that when i preview the file in transaction "AL11" , it shows like " <tag> <tag> <tag> <tag> .

  • Error in opening on line PDF document.

    I am trying to open a PDF document on-line.  It gives me an error message that the document may not be displayed correctly, followed by a screen : "Please wait your viewer may not be able to display the document correctly.  Requesting that you instal

  • Delivery Indicator Tab

    Dear Sir, my requirement is i Made PO for 100 Nos for some material only 60 Nos recd and i will not receive any further material againgst this PO. i want to use the delivery indicator tab and close the PO line item can anyone u please gudie me how to

  • Printing planned order in REM

    Hi GURUS, please advise what settings are required to print a planned order shop floor papers in REM? THANK YOU.