How to display data elements in the tempalte header

Hello friends
i've this date_from and date_to parameters which are date parameters that user enters..
based on these date parameters I want to display them in the header as
day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
16-nov-2010.(date-1's day)
so it should break down to
date_from-13-nov-2010, 13
date_to- 16-nov-2010, 15
I want these two values to be displayed in the header of the template how to do this
pls help
also let me know how to display data elements in the template header
Edited by: erp on Dec 22, 2010 12:44 AM

Hi Ananth..Thanks for ur timely reply
Can I use it with <? substring(':date_from',1,2)?>
where date_from is an input parameter which user enters at the run time of the report.
I've to capture the date entered by the user and print it in the header..
Pls reply

Similar Messages

  • How to display dates on which the field of an infotype is changed

    there are two fields   in an infotype and both the fields are changed on different dates then how to display those dates on which the two fields are changed

    Hi ankit,
    If you want the change log for one infotype with one two fields, then write one custom program with following logic. If you want the log for multiple infotypes for multiple fileds then you have to use that program 'RPUAUD00'. Read the documentation of the program to check how to use it.
    select * from pa0000 into table it_pa0000
                                   where pernr = v_pernr.
    sort it_pa0000 by begda descending.
    loop at it_pa0000 into wa_pa0000.
    write your own logic to compare the previous record PERSG with current record PERSG.
    if this doesnt match then get the Changed DATE from AEDTM field.
    wa_pa0000-AEDTM = changed date.
    Else.
    continue with loop.
    exit.
    endloop.
    regards,
    Shrinivas

  • How to display data based on the option selected in selectonechoice

    Hi,
    I have an adf application jspx page where I need to display list of Sectors in a list box and on selection of a sector corresponding Departments will get displayed as golinks.
    I am using af:selectOneChoice where I am displaying Sector Lists.
    <af:selectOneChoice label="" id="soc1" immediate="true" autoSubmit="true" clientComponent="true" unselectedLabel="Select a Sector" valuePassThru="true" value="#{DepartmentalInformationManagedBean.sectorId}">
    <af:forEach items="#{DepartmentalInformationManagedBean.sectors}" var="sectorList">
    <af:selectItem label="#{sectorList.sectorName}" value="#{sectorList.sectorId}" id="si1"/>
    </af:forEach>
    </af:selectOneChoice>
    <!--To display list of Departments -->
    <af:forEach items="#{DepartmentalInformationManagedBean.departments}" var="departmentList">
    <af:goLink text="#{departmentList.departmentName}" partialTriggers=":soc1" destination="http://www.google.co.in" targetFrame="_blank" id="gl1"/>
    </af:forEach>
    The problem is when I am selecting one Sector, I am getting the corresponding Departments inside the managedbean but the Department links are not reflecting in my page.
    Can any one please help me.

    853833 wrote:
    <af:forEach items="#{DepartmentalInformationManagedBean.departments}" var="departmentList">
    <af:goLink text="#{departmentList.departmentName}" partialTriggers=":soc1" destination="http://www.google.co.in" targetFrame="_blank" id="gl1"/>
    </af:forEach> Try setting partialTrigger on af:forEach instead of af:goLink. If that doesn't work, try wrapping the af:forEach with af:panelGroupLayout and set partialTrigger on that.

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • How to display UI elements dynamically on the click of a radiobutton

    hi all,
    I have created two radio buttons rb1, rb2 dynamically.  If i click on rb1, ......
    one label, one inputfield (ie., some UI elements ) must be displayed in the same view & if i click on rb2, other UI elements must display. 
    can anyone tell how to display UI elements which were created dynamically on the click of a radio button.
    thanks & regards,
    vila

    Hi,
    1. Create a context attribute name visible1 of type type     com.sap.ide.webdynpro.uielementdefinitions.Visibility(using brose button in the type property of context)
    2. Bind this context to all tha elements of that you want to make visible when radio button 1 is clicked to their visibility property.
    3. Create a context attribute name visible2 of type com.sap.ide.webdynpro.uielementdefinitions.Visibility(using brose button in the type property of context)
    4. Bind this context to all tha elements of that you want to make visible when radio button 2 is clicked to their visibility property.
    5. Create actions for both radio button1 say action1 and for radio button2 say action2.
    6. In action1 write this line of code
    wdContext.currentContextElement.setVisible1(WDVisibility.VISIBLE);
    wdContext.currentContextElement.setVisible2(WDVisibility.BLANK);
    7. In action2 write this line of code
    wdContext.currentContextElement.setVisible2(WDVisibility.VISIBLE);
    wdContext.currentContextElement.setVisible1(WDVisibility.BLANK);
    Regards,
    Murtuza

  • How to display data in table

    Hi all,
    can any one tell me how to display data in a table when user click on a button. i have created a node with a set of fields from different tables now how to write the logic to display data in that table.
    Thanks & Regards,
    Naveen

    DATA lo_nd_professionaltable TYPE REF TO if_wd_context_node.
      DATA lo_el_professionaltable TYPE REF TO if_wd_context_element.
      DATA ls_professionaltable TYPE wd_this->ElementS_professionaltable. "internaltable
    TYPES: BEGIN OF TY_PFTAB,
           RATEGROUP TYPE /BIC/OIWRATEGRP,
           LEVEL TYPE /BIC/OIWPCSLEVEL,
           FROMDATE TYPE /BI0/OIDATEFROM,
           FROMTO TYPE /BI0/OIDATETO,
           STANDARD TYPE /BIC/OIWSTRATE,
           OVERHEAD1 TYPE /BIC/OIWOHRTE1,
           OVERHEAD2 TYPE /BIC/OIWOHRTE2,
           OVERHEAD3 TYPE /BIC/OIWOHRTE3,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_PFTAB.
    DATA : IT_PFTABLE TYPE STANDARD TABLE OF TY_PFTAB,
           WA_PFTAB TYPE TY_PFTAB.
    SELECT /BIC/WRATEGRP /BIC/WPCSLEVEL DATEFROM DATETO /BIC/WSTRATE /BIC/WOHRTE1 /BIC/WOHRTE2 /BIC/WOHRTE3
    FROM /BIC/AGLDCPRTS00 INTO TABLE IT_PFTABLE.
    *TYPES : BEGIN OF TY_EXCEPTION,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_EXCEPTION.
    *DATA : IT_EXTABLE TYPE STANDARD TABLE OF TY_EXCEPTION,
          WA_EXTABLE TYPE IT_EXTABLE.
    *SELECT /BIC/MSECFILER FROM /BIC/AGLDCLMLT00 INTO TABLE IT_EXTABLE.
    navigate from <CONTEXT> to <PROFESSIONALTABLE> via lead selection
      lo_nd_professionaltable = wd_context->get_child_node( name = wd_this->wdctx_professionaltable ).
    get element via lead selection
      lo_el_professionaltable = lo_nd_professionaltable->get_element( ).
    @TODO handle not set lead selection
    IF lo_el_professionaltable IS INITIAL.
    ENDIF.
    get all declared attributes
    lo_el_professionaltable->get_static_attributes(
       IMPORTING
         static_attributes = ls_professionaltable ).
    lo_nd_professionaltable->bind_table( new_items = IT_PFTABLE set_initial_elements = abap_false ).

  • How to display data from a recordset based on data from another recordset

    How to display data from a recordset based on data from
    another recordset.
    What I would like to do is as follows:
    I have a fantasy hockey league website. For each team I have
    a team page (clubhouse) which is generated using PHP/MySQL. The one
    area I would like to clean up is the displaying of the divisional
    standings on the right side. As of right now, I use a URL variable
    (division = id2) to grab the needed data, which works ok. What I
    want to do is clean up the url abit.
    So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
    I want is clubhouse.php?team=Wings.
    I have a separate table, that has the teams entire
    information (full team name, short team, abbreviation, conference,
    division, etc. so I was thinking if I could somehow do this:
    Recordset Team Info is filtered using URL variable team
    (short team). Based on what team equals, it would then insert this
    variable into the Divisional Standings recordset.
    So example: If I type in clubhouse.php?team=Wings, the Team
    Info recordset would bring up the Pacific division. Then 'Pacific'
    would be inserted into the Divisional Standings recordset to
    display the Pacific Division Standings.
    Basically I want this
    SELECT *
    FROM standings
    WHERE division = <teaminfo.division>
    ORDER BY pts DESC
    Could someone help me, thank you.

    Assuming two tables- teamtable and standings:
    teamtable - which has entire info about the team and has a
    field called
    "div" which has the division name say "pacific" and you want
    to use this
    name to get corresponding details from the other table.
    standings - which has a field called "division" which you
    want to use to
    give the standings
    SELECT * FROM standings AS st, teamtable AS t
    WHERE st.division = t.div
    ORDER BY pts DESC
    Instead of * you could be specific on what fields you want to
    select ..
    something like
    SELECT st.id AS id, st.position AS position, st.teamname AS
    team
    You cannot lose until you give up !!!
    "Leburn98" <[email protected]> wrote in
    message
    news:[email protected]...
    > How to display data from a recordset based on data from
    another recordset.
    >
    > What I would like to do is as follows:
    >
    > I have a fantasy hockey league website. For each team I
    have a team page
    > (clubhouse) which is generated using PHP/MySQL. The one
    area I would like
    > to
    > clean up is the displaying of the divisional standings
    on the right side.
    > As of
    > right now, I use a URL variable (division = id2) to grab
    the needed data,
    > which
    > works ok. What I want to do is clean up the url abit.
    >
    > So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
    > all
    > I want is clubhouse.php?team=Wings.
    >
    > I have a separate table, that has the teams entire
    information (full team
    > name, short team, abbreviation, conference, division,
    etc. so I was
    > thinking if
    > I could somehow do this:
    >
    > Recordset Team Info is filtered using URL variable team
    (short team).
    > Based on
    > what team equals, it would then insert this variable
    into the Divisional
    > Standings recordset.
    >
    > So example: If I type in clubhouse.php?team=Wings, the
    Team Info recordset
    > would bring up the Pacific division. Then 'Pacific'
    would be inserted into
    > the
    > Divisional Standings recordset to display the Pacific
    Division Standings.
    >
    > Basically I want this
    >
    > SELECT *
    > FROM standings
    > WHERE division = <teaminfo.division>
    > ORDER BY pts DESC
    >
    > Could someone help me, thank you.
    >

  • How to display Date Calendar in Oracle BI Answers Prompts (parameter)

    I'm still new to OBIEE.
    How to display Date Calendar in Oracle BI Answers Prompts (parameter)?
    Thanks.

    Hi,
    While creating Dash Board prompt choose the control to 'Calendar'.
    I think it is not possible to provide 'Calendar' control using Prompts tab while creating request.
    It is possible to write Java Script for a Column of data type 'char'. So, cast the date data type to char.
    Go to: Column Properties --> Data Format
    Choose override default data format to view the available options in the drop down list.
    I would be very happy if anybody acknowledge me that I am wrong.
    -Vency

  • How to display data depend upon ListBox value?

    Hi Experts and Particularly Hema,
    As I asked before how to display data in the ListBox, I got an very good response from you all(particularly Hema) .
    Now what my doubt is asked with sample scenario below:
    In Screen Painter -
    Two fields namely : One List Box and other is I/O used only for displaying purpose i.e., only for output, not for input purpose.
    List Box is filled by primary key field(C1) value from one table(T1) when the screen load.(i.e., such code is written in PBO).
    Now what I need is :
    If the user select any one value in the List Box then it automatically display the corresponding C2 value from T1 in the I/O field.
    I think you may all understand what I am trying to ask.Please let me know the solution.
    Thanks in advance,
    Regards,
    Raghu

    Simply attached a function code for the listbox... when the user changes the value, you will be able to pick this up in the PAI and loop back to the PBO and redisplay the corresponding output field.
    Jonathan

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    The WebCam pod can pause a live video showing a static image. However, I believe that you are looking to use a Share pod, where you can upload a JPG or PNG image. Just place the share pod with the image where you would have the Camera pod.

  • How to keep data integrity with the two business service in OSB 10.3.1.0

    How to keep data integrity with the two business service in OSB 10.3.1.0
    In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue.
    Basing customer requirment, I created a testcase but I can't keep data integerity, For detail information, please refer the attached docs.

    Can you please explain what you meant my data integrity in your use case?
    Manoj

  • How to display date and time on jsf page

    Hi,
    how to display date and time on jsf page
    we are using 11.2.0.0 jdeveloper on windows.
    thanks
    Edited by: user12187801 on 26-Jul-2012 01:42

    Your question is certainly lacking some information.
    If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
    If you meant something else, then it's back to you to explain.

  • How to check data type of the field symbol at run time

    Hi,
    My code is as following:
          LOOP AT <fs> ASSIGNING <wa_covp_ext>.
            ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
            IF sy-subrc = 0.
              ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
              IF sy-subrc = 0.
                  SELECT SINGLE sname INTO <f_zzname> FROM pa0001
                                WHERE pernr = <f_pernr>
                                AND endda GE sy-datum
                                AND begda LE sy-datum.
             ENDIF.
          ENDIF.
        ENDLOOP.
    This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
    How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.

    check this ...
    write describe statement  ...
    field-symbols : <f_zzname> .
    data : sname like pa0001-sname,
           typ(10).
    assign sname to  <f_zzname>.
    describe  field <f_zzname> type typ.
    write : typ. <-- typ contains character type in this case ..
    U can check if typ is of character(C) if so .. write the select statement ...

  • How to insert data elements automatically?

    Hi,
    I am developing an ADF (JSF, BC) application with JDev 10. What I've done up to now is an creation form, where you can put in the attributes of an object which are stored to the database by clicking the commit-button.
    This works well. What do I have to do if I want to automically create a primary key which should be added to the same row by clicking the commit-button? In general I would like to know, how to automatically write elements to the database in case of certain events. Is this realized with mananged beans or do I have to alter the class of the entity object. I've searched for this toppic in the Developers Guide but found nothing.
    I don't have much experience with Java, so if this problem could be solved with Java-Code, it would be nice if you could give me a source where I can read how to program this.
    Thank you in advance.

    Use a database sequence to create the unique key and use the DBSequence type for the attribute in your EO that maps to this key.
    Search for DBSequence in the ADF Developer Guide and you'll see it.

Maybe you are looking for

  • Understanding Flexconnect - Local vs Central Switching, and WLC failover scenario ??

    Hello Experts We have one WLC 5508 in Building1, few 2700 Series AP in Building1, and one 1252AG in Building2. The LAN subnet is same for both Buildings connected via a dark fiber. My requirement is to have Central Switching in Building1 since WLC is

  • Converting the query into ABLOCAL format

    Hi I am using following qry inside a tool that is having a problem parsing it: SELECT deptno, LTRIM(MAX(SYS_CONNECT_BY_PATH(ename,',')) KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees FROM (SELECT deptno, ename, ROW_NUMBER() OVER (PARTITION BY

  • How to get the Broadband Tuner to install and work.

    How do I install Broadband Tuner and make it work?

  • How can i make my photos only 500kb

    My 15 year old digital camera finally died.  I want to use my iPhone camera, but the pic sizes are too big.  I need then 500 kb or less.  I sell on eBay and my auction management software (Vendio) can't do my iPhone pix because they are too big.  Is

  • Compilation errors on SELECT stmt

    When compiling a script I keep getting the following errors: LINE/COL ERROR 23/3     PL/SQL: SQL Statement ignored 24/4     PL/SQL: ORA-00933: SQL command not properly endedSnippet of the code affected:      BEGIN           SELECT table.* FROM table