How to put Dynamic Query description based on the Input selections?

Hi All,
I have a requirement wherien there will be 4 input selections for a report namely A, B, C & D alongwith Fiscal year period. wherin Fiscal Year period will be mandatory field
Now, the output of the report should show the description of the report as follows:
For E.g: if Fiscal year Period = 011/2011
When User Enters input value for 'A', then report nameshould be displayed as A 011/2011
When User Enters input value for 'B', then report nameshould be displayed as B 011/2011
When User Enters input value for 'C', then report nameshould be displayed as C 011/2011
When User Enters input value for 'D', then report nameshould be displayed as  D 011/2011
Please advice if this requirement is possible and if yes, please guide me how?
Thanks& Regards
Sneha Santhanakrishnan

change the code as below and see
WHEN 'ZREP_DESC'.
data: wa_data TYPE rrrangesid.
      CLEAR : wa_var_range.
      READ TABLE i_t_var_range INTO wa_var_range WITH KEY vnam = 'ZVALUE'.   "ZVALUE is variable for A,B,C,D field
      l_no = wa_var_range-low.
      CLEAR wa_var_range.
      READ TABLE i_t_var_range INTO wa_var_range WITH KEY vnam = 'ZFISCPER' iobjnm = '0FISCPER'.
      IF wa_var_range-low IS NOT INITIAL.
        gv_var  =  wa_var_range-low.
concatenate l_no  gv_var into wa_data-low
      ENDIF.
      wa_data-sign = 'I'.
      wa_data-opt = 'BT'.
      APPEND wa_data TO e_t_range.
  ENDCASE.

Similar Messages

  • Dynamic structure creating based on the input parameter

    Hi all,
                 How to create a dynamic structure based on the input parameter given in the selection screen. I have a file path given and it contains three fields in common, but after that depending upon the input given the fields get changed. For example, i have 0002 infotype given in the selection screen, my file path structure should contain pernr begda endda and PS0002 structure, if the infotype is changed the PS structure has to be changed dynamcially.
    Thank you,
    Usha.

    Ans

  • How to change a region title based upon the input parameter?

    Hi All,
    I need to change the region's title dynamically based on the value of a select list in another region.
    Can anyone help me in this?
    Regards,
    Sakthi.

    Hi,
    You can use &P1_ITEM_NAME. (including the & and the .) in a region title - this string will be replaced by the value from the page item called P1_ITEM_NAME, so change the name to suit your page item
    Andy

  • How to check a query element based on the technical name of a query builde?

    We often see, e.g., 401OQ2EEM5EJH4GQ5N2HFNE7P as a query element of a query builder.  How to know what kind of InfoObj. or R2R link it would be base on the long technical name?  We remember there is a table to look these up, what's the table name and how to look for it's description name?
    Thanks

    hi Ari,
    The table you recommend seems to only work for Report to Report link, but not for query element, is there any other table that we can find which InfoObj. is used for this long technical name in query?
    Thanks and we have given you rewards points.

  • APEX:How to put dynamic buttons in a Report.

    Hello all,
    I am creating one application in which i want two buttons in every record. I can't put it manually because it should change according to records in a table So Can anyone tell me how to put dynamic buttons in a report.
    Thanks & Regards,
    Jiten Pansara

    Hi Jiten,
    you cannot create buttons in the report, but you can always create link columns with some css class to show it as button.
    So in the both link column report attributes you will have class="button1" and class="button2"
    And in dynamic actions you need to bind the events based on your link column's jquery selector like:
    .button1
    .button2Thanks

  • How to use dynamic query for Result table

    Hello Experts,
    I want to use dynamic query and then display the result in the assignment block.
    Using dynamic query BTQAct and BTQRAct and base on some search criteria i want tofilter and then append the result in the result table of that custom context node, and then it should display the result in the view in UI.
    SO can you please provide me the samplle code on how to use the dynamic query and append in the result table.
    Regards.

    Hi,
    Please find below sample code:
    data:  query         TYPE REF TO cl_crm_bol_dquery_service,
               result        TYPE REF TO if_bol_bo_col.
    DATA: lt_params       TYPE crmt_name_value_pair_tab,        
               lwa_params      TYPE crmt_name_value_pair.             
    query = cl_crm_bol_dquery_service=>get_instance( 'BTQAct' ). " Get instance of dynamic query
    Set general query parameter for maximum number of hits
          lwa_params-name = 'MAX_HITS' .
          lwa_params-value = '50'.
          APPEND lwa_params TO lt_params.
          query->set_query_parameters( it_parameters = lt_params ).
          query->add_selection_param( iv_attr_name = 'OBJECT_ID'
                                                    iv_sign      = 'I'
                                                    iv_option    = 'EQ'
                                                    iv_low       = <lv_objectid>
                                                    iv_high      = '' ). " Set your search criteria. Repeat this code if you have multiple parameters
    "You can find possible search options for a query object in  GENIL_BOL_BROWSER
    result ?= query->get_query_result(  ).   " Get result from your search query
    me->typed_context-> <your result context node>->set_collection( result ). 
    Here you will have to create a context node in your view which would refer to query result object like for BTQAct its BTQRAct                      
    Hope this helps.
    e Regards,
    Bhushan

  • How to enable dynamic query in weblogic 7.0?

     

    Hi,
    The documentation explains how to enable dynamic queries and set a
    method-permission to control access. If you find the information at the
    following link insufficient, let me know.
    http://e-docs.bea.com/wls/docs70/ejb/cmp.html#1089703
    You enable dynamic queries in your weblogic-ejb-jar.xml file with the following:
    <enable-dynamic-queries>True</enable-dynamic-queries>
    You can set a method permission as follows:
    <security-role>
    <role-name>Admin</role-name>
    </security-role>
    <method-permission>
    <role-name> Admin </role-name>
    <method>
    <ejb-name> EmployeeEJB </ejb-name>
    <method-name> createQuery </method-name>
    </method>
    </method-permission>
    - Matt
    Sanjeev Chopra wrote:
    also posting to EJB newsgroup
    "CottonXu" <[email protected]> wrote in message
    news:[email protected]..
    How to enable dynamic query in weblogic 7.0? The documentation accompanieswith
    Bea doesn't explain it in detail. How to set <method-permission> inejb-jar.xml?
    Thanks in advance.

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to configuration of pricing procedure based on the Region

    Hi,
    please help me how to configuration of pricing procedure based on the Region in the roll out project.
    Thanks
    mustafa

    What I proposed to do was,
    a. Create routes like 0 day route, 1 Day route, 2 day route etc.
    b. Route determination is based on the Shipping condition of the customer. Put in the shipping condition for the customer as 00 - immediate delivery. 01 - By Truck, 02 - By Rail, 03 - Ship etc
    c. Now, put in your route determination in such a way that routes change in the sales order with shipping condition (SC). Like, if the shipping condition is set to 00, then 0 day route comes up. Meaning immediate delivery, if SC is 01, then your normal route by truck picks up. etc.
    When the sales order is manually created, you know the time of creation. As route is one of the criteria, the material confirmation happens based on number of days you put in the route to reach the destination. Now that you have the material available for today's delivery, the delivery program can be run to create it, or it can be manually created.
    Now, when you configure the route you have to specify 'Transit duration in calendar days'.
    When you have the sales order created electronically (say thru EDI), then, you may have to ask them to send in shipping condition. Else, you have to modify the function module Idoc_input_orders in such a way that if the sales order creation time is < 12 PM, then put shipping condition as 00, else copy what ever is there in the customer.
    If you do not want to check the time manually when the user creates the sales order, then you may have to use the user exit MV45AFZZ (and I think you can use Save_order_prepare) to check the time and change the shipping condition. By this you will avoid extra coding in Idoc_input_orders and also need not bother if the user changed the route or not.
    Hope my explanation helps.
    Regards,
    Mukund S

  • Plot a chart dynamically based on the values selected

    Hi All,
    I have some requirement like this i want to plot a chart . The chart should change dynamically based on target_name and date. What type of UI should I use ? I tried using multiselect or shuttle for choosing the target_name and date picker tool for date once i choose all this the chart should appear. Can I have a custom button called submit so once all the values are entered it plots chart ? Please help me out with our ideas.
    Thanks in Advance

    Hi,
    Using the dependent value sets you can govern the values which can be selected based on a specific value selected in a particular segment. Example if Country name is selected in segment 1 then specific states names as per the country selected can be displayed in segment 2.
    As per the requirement described you want to enable different fields based on the value selected in segment1, currently there is no standard mechanism available to enable/disable fields based on a value and you will have to do an extension/customization to meet this requirement.
    Thanks,
    Sanjay

  • How to put 'Continue in next page' below the table.

    Hi,
    I have an invoice where all the lines are not fitting into one page. So some of the lines are getting printed in the second page. But in this case I wanted to put a message below the first page as "continue on next page"
    Since Iam a newbie to XML/BI Publisher I kinda stuck here. Tons of thanks in advance.
    This is how I need the output
    --- PAge1 --
    heading1
    line1
    line2
    line3
    line4
    line5
    line6
    line7
    line8
    line9
    line10
    Continue on next page
    -- page 2--
    heading1
    line11
    line12
    line13
    line14
    line15
    line16
    line17
    _________

    There are so many threads for this lately,..
    Go here
    http://winrichman.blogspot.com/...
    Here is some of the thread people were desperately looking for answers :).
    how can we get "Page Continued" at footer of page.
    Re: How do I print the word "Continued" at the bottom of page in BI publisher?
    How to Display 'Continued' in second& subsequent page but not in last page?
    Re: Printing signature on footer section of every page
    Re: How to put 'Continue in next page' below the table.
    Re: How do I check the last page?
    Help needed in XML Publisher rtf file
    Re: Different value in footer
    Changing header information within a document
    Re: Invoice Page break
    Re: Footer information in very page
    Re: Check Printing
    Oops, I initially thought , there would less number of threads,
    Hope my blog helps them :)

  • Query output based on the date range ...

    Hi All,
    I have an issue related to the jump query, main query based on the time frame. For Example if he selects Sold_To : 6895 for the Calday 10/01/2007 – 01/31/2008 and when jumps to jump query , the jump query should display the data based on the input given in the main query. That is it should show the data individually for four months.
    Expecting the reply from your side...
    Thanks in advance…
    Regards,
    Sruthi

    Sruthi,
    Make sure that u have those 3 fields in 2nd Query and CALDAY with Variable.
    Create settings in RSBBS.
    Click on ASSIGNMENT DETAILS tab
    CALDAY  >  Type = Variable  > Selection Type = Selection/Single value/Multiple single values ( same like ur first query )
    All other fields ( 3 na ) > Type = Generic
    Click on Continue / Save.
    If you need more info...if possible come to yahoo chat my ID is [email protected]....and am online now.
    Regards,
    Ramkumar.

  • Dear apple, can you please tell me how to put my 'x' key back onto the computer properly without giving me an answer which will make me want to buy a pc like 'we WILL only replace the entire keyboard'?

    dear apple, can you please tell me how to put my 'x' key back onto the computer properly without giving me an answer which will make me want to buy a pc like 'we WILL only replace the entire keyboard'?

    My profile does say level 1 (0 points) quite obviously pointing out i am a noob at this, although i did try to correct myself in the previous responce to **macbook.
    I am confused why you think i havn't answerd michaels question though. 'I assure you the keyboard or the joining parts aren't broken and if it isn't broken i dont feel the need to replace it. '- that was me in the first responce explaining why im not buying a new one, answering the very question he asked.

  • Does anyone know of a good online video instruction on how to put together a photo slideshow in the new iMovie version. I found uTube videos using imported videos, but I want to use photos in iPhoto.

    Does anyone know of a good online video instruction on how to put together a photo slideshow in the new iMovie 11 version. I found uTube videos using imported videos, but I want to use photos in iPhoto. I'm very familiar with how to do this in the pervious version, but it's no so intuitive in the new version.

    Has anyone tried this one.. I am not sure if I am allowed to post information about other products... so if I am not please delete this part of my message.
    New Trent Arcadia Pack IMP70D 7000mAh?

  • Search Fields value based on the input.

    Hi Experts,
    I was trying to develop a web dynpro with two  input-fields and process the logic based on the input-fields.
    The scenario is,have two Input fields, the value for the first input-field a static search help is assigned and for the second input-field the value are populated on the based of the values selected in the first input-fields.
    so here the values for second input-field depends on the first input-field.
    Please put in your thoughts or suggestion for the scenario.
    Thanks
    Best Regards,
    Lalitkumar.
    Moderator message: wrong forum, please post again in Webdynpro forum.
    Edited by: Thomas Zloch on Jul 9, 2010 1:36 PM

    Please refer the following for achieving the same.
    http://wiki.sdn.sap.com/wiki/display/Snippets/OVSsearchhelp

Maybe you are looking for

  • TS4268 I need help getting my face time and imessage to work.

    I need help getting my face time and imessage to work. It is saying wating for activation. I just got my iphone 5 2 days ago. I have reset it from the phone and from itunes on the computer, made sure I'm attached to wifi.

  • Can Ipods do this?

    I have the first Ipod and wanted to know if new ipods can do this. On the original you can not fast forward or rewind to a point in a song. Your stuck playing the whole thing. Can new ipods Fast Forward or FR?

  • Problem installing SAP Netweaver 7.01

    Hi, I'm finding difficulty installing SAP Netweaver 7.01. An error occurs every time I try to add the JRE installation directory, knowing that I've installed the required version of Java which is recommended by the installation guide (version 1.4.2).

  • How To Keep The Controller in DVD Player From Always Launching

    Everytime I launch the DVD Player, the controller is always on the desk top, and I have to manually hide it. How can I turn that function off? I looked in DVD Player preferences, and could't find anything. Just want to on/off controller manually. Tha

  • Using battery while charging

    Pretty much the headline. When im using my Macbook Pro 15" late 2011, for gaming, its using battery while the charger is pluged in.