Variable selection in report

Hi,
  In my query variable selection , for calmonth/year the user should enter cal month /year value. If the user doesnot enter the value it should take current month and year for running the report .how to achieve this.
Regards
Arunkumar

You need to create a customer exit variable .
Write a piece of code in CMOD for this exit with the help of ABAP person.
Case i_vnam
When 'variable'
Enter the code logic.
save and activate it.
use the variable in report.
Explain the logic to ABAP person he can help u.

Similar Messages

  • Can I pass parameters from a dashboard via a dashboard prompt and presentation variable to publisher report based on a data model with select statements in OBIEE 11g ?

    I have a publisher 11g (v 11.1.1.7)  report with a single parameter. The report is based on a data model not a subject area.  I created a dashboard put a dashboard prompt and link to the report in separate section on the same page.  The dashboard prompt sets a presentation variable named the same as the parameter in the report. 
    The problem was when I created the dashboard prompt, it forced me to select a subject area which I did (though did not want to) and then I created both a column and variable prompts. But clicking on the
    report link completely ignored the value that I thought would be passed in the presentation variable to the report.
    Side note :  My report uses a pdf template for its layout where I have mapped the columns names from my data model to the form fields on the pdf form.  I noticed that if I create a publisher report based on a subject area, then I do not have the choice to choose a PDF as a template type for my layout.  (I only see BI Publisher Template as a choice). 
    I see some documentation online that suggest it could be done in 10g.
    Thanks
    M. Jamal

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • How to include text lable in Variable selection screen (Web Reporting)

    Hi Experts,
    I have created one query and in Web Report-->variable selection screen I have one Date field for that field I have to display a label stating that user to input date in the format YYYY.MM(like a text label).Actually I have created 10 to 12 report . I need u r suggestion such that a single change will reflect my requirement in all the reports and I have created all the reports for same multiprovider.
    Thanks in Advance
    Yours,
    Bala

    Bala,
    Prompts can originate from one of two places:  either via Designer and using the @prompt functionality or while creating the report building a prompt in the Query Filters panel.  If the prompt was built using the @prompt method, and all 10-12 reports are using that particular @prompt, then one change via Designer will cause all reports to reflect the new verbiage.  If you built the 10-12 reports using the prompt in the second scenario, then each individual report needs to be opened, modified and then saved.  If you must use the latter method, then you can open the first report, modify the prompt verbiage, then highlight the new verbiage with your mouse and hit Control-C (which copies that text to the Clipboard of your Windows system).  Then go to the second report, locate the verbiage that needs to be changed, delete it, then Control-V (which pastes), and voila, some keyboarding strokes are saved....
    Thanks,
    John

  • Selection Variables display in report output using BEX ANALYSER 7.0

    HI All,
    I am using BEX Analyzer 7.0 , I want to display the Variables  selected in the selection screen, to be printed in the
    Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report  output.
    But in 7.0 analyzer  i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
    Thanks and Regards,
    Joseph

    Hi Joseph,
    I feel there might be personalization of variables.
    After executing the query click on "Change Variable Values" which is on Bex Tool Bar and there click on personaliztion icon and check if any personalizations are there.
    Regards
    Ravi

  • BeX: Select option for the variable of the report in Portals

    Hi Gurus,
    In the variable selection screen of the BW reports, I have 'Employee Number' field tab. I have some 3000-4000 employee numbers in a file daily. Generally, I use the option "upload from a file/clipboard" in the multiple selection dialog box that you get after clicking the "more" button.
    But the users report only in the Portals, where this option is not available. They do not want to use BeX reporting rather.
    what should be done to achieve the same functionality in Portals ?
    Any solutions or hints please....?
    Points will be awarded.....
    Regards,
    Srinivas

    Hi Suresh,
    Those values may not be assigned (OM,OS) to your profile , aas  that vriable is Authorisation Process type , i belive u have to be assigned to them,
    I hope it helps
    Regards,
    BRB

  • BI report not displaying Variable selection screen on UI

    Hi,
    We have recently upgraded our CRM to 7.0, but the strange thing is the BI reports are executing without giving the user the variable screen.
    Now the alternative to this is making the variables in BI section Mandatory and they show up in the report, but this is not the correct way.
    Are we missing some piece of configuration somewhere.
    Regards
    Lalan

    Hi Vinayak,
    Do you know how can I get the variable selection screen to display in BI analyzer when I execute the report from backend BW system and it launches BI analyzer. I know we can go into Add-Ins and from toolbar we can go into Change Variables Values icon, but I would like selection screen to display as default when user runs the report from backend.
    Thanks
    Divya

  • Reports - Variable Selection, Restriction Issue

    Hi Experts,
    I have an object (Region) in the variable selection screen, which is displaying South, East, North, West and some more junk value.
    I want to have only South, East, North and West on the Variable screen of the Analyzer.
    I have right clicked the Region Char. Variable on the Filter Section and have selected only South, East, North, West.
    But when I try to select the region on the Analyzer. I'm getting all the values including the junk values.
    Can anyone tell me how do I have only these 4 regions nothing apart from that.
    Thanks

    Hi All,
    The data I'm getting is from the Data Provider.
    But I want to restrict only 2 Zones like South and North in the Variable Selection Screen.
    When I try to restrict it at Filter Pane ->select infoobject ->selection variable->right click it restrict.
    Both the Zones are correctly being set on the restriction but when I try to execute it in Analyzer its not displaying me only those zone but all the values.
    Hope its clear. Please reply.
    Thanks

  • How to create dummy variable in Webi report in BO 4.0 with Bex query.

    Dear All,
    We have a requirement where we need to overlap multiple tables and based on user selection any one of the table should display in report.
    We are on BO 4.0 and source is BW Bex report, we dont have any Universe.
    To achieve this we plan to have dummy variable with some fix value and use it as report filter & based on selected value in filter the related table should be display.
    We have not found any way to have dummy variable directly in Webi.
    Is their any way we can create dummy variable directly in Webi?
    Thanks v much in advance,
    Regards,

    lets say u want to display following picture:
    sept$-----august$
    City
    -chicago123$--
    44$
    so in Query designer go to Default values section.
    Bring in Calendar month
    right click calendar month
    and hit Restrict
    now select variable
    use standard sap variable Current Month.
    hit okey
    now select Variable and hit Red button
    Result u restricted current month.
    in columns bring in keyfigure $
    right click and hit edit
    bring in time field calendar month
    right click and hit restrict
    bring in Current month
    right click and select - SET OFFSET FOR VARIABLE
    select -1
    hit okey
    repeat the above process
    and this time select offset = -2
    this way u restricted current month
    but displayed last 2 months for keyfigure values.

  • How can i display the presentation variable in my reports

    Was facing a problem to display the Presentation variable on my report, however i managed to display it on answers, but when i try to display it on my Publisher report it doesnt shows any data.
    I use to Select the Values From my prompt, and it shows the Reflection of Presentation Variable on my Answers Report. but i cannot see the Reflection of data on my Publisher Report Please any One Can help me with this.

    Removing '' does not work it given the following error
    "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <@>: Syntax error [nQSError: 26012] . (HY000)"
    and by adding space you mean that I use it as '@{ BbranchCode}'?
    What I am doing at the moment is
    1. Write the given query in oracle BI Answers.
    2. Made a dashboard prompt in Answers.
    3. Made a report in dashboard using the Answers report and the dashboard prompt.
    Up till this step it works perfectly fine and the data displayed in manipulated on the basis of the values selected in the prompt.
    4. Now what I want is to display this report in Dashboards using oracle BI publisher. For that I use the template builder provided for microsoft word.
    5. I login to that add-on, open the answers report where I can see the field in the rowset. I select that field and save the template.
    6. I open the oracle BI publisher and make a new reprt with data model of the answer's report and Layout of the one I just created.
    7. I open the dashboard and put in the BI publisher report in the same page in which the asnwers report and the prompt was.
    8. Upon changing the values of the prompt the report in the answers is still getting manipulated but I am not able to see its reflection of the BI publisher report.
    The thing is that I am currently using this presentation variable to manipulate my reports in dashbords using dashboard prompts. The report is built in oracle BI Answers and it is working perfectly fine with it. Now when I use the template builder for Microsoft Word and open the template with the answers's report of this query I see the field in the row set but when I display the template in the dason the bases of this presentation variable the report in the oracle BI Answers is getting updated when I change values but when I use the template builder for microsoft word the the field is being shown in the row set.

  • Error when executing query without passing variable selection

    Hi Gurus
    I am getting an error while executing a query with out passing values for variables
    When executing the query by passing the filter values report returns the data
    When executing the query with out passing variable selections the error message is
    Unknown error in SQL interface
    Error reading the data of Info Provider ZCRM_O08
    Error while reading data; navigation possible
    System error in program SSAPLRS_EXCEPTION and form
    RS_EXCEPTION_TO_MESSAGE
    No Data Available
    can any one please help me in resolving this
    Thank you

    Hi Srini
    Thanks for your quick response
    When i am executing the query with selection it is returning the data
    giving error when executing with out passing the selection
    is there any other cause for this problem
    like any particular info object causes this sort of problem
    Thank you

  • SAPGUI 640 patch 19, BEX SAP BW 3.x, , Netweaver04 - No variable selection

    The above in subject line is installed. Checked the installation w/sapbexc.xla, no major issues, all components were selected during frontend install. When the BEX Browser is launched I connect to BW and I select a report a Visual Basic error "Run-time error '91' Object variable or With block variable not set" occurs. Excel is opened but the expected variable selection screen does not appear. In addition to the above the BW addon patches 8 and 9 are installed and a couple of entries made into the PC registry per note 542961. SAPGUI works well for everything else as far as I can tell. What have I missed to make this work? prkctybum

    Lou,
    Please help me with this issue. We have the same similar issue you had. We can do the Global Settings going to the individual users but we are not able to push the resolution to every machine in the company, please see the note below. If you could send the resolution showing how you were able to push the code to every machine. You can mail me to [email protected].
    I’ve attempted to use .NET 2’s storeadm /LIST command to pull the BEXAddin info from the IsolatedStorage Assembly where it keeps a record of the bexaddin.dll information. However the record it keeps is of no help. The file path:
    C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\IsolatedStorage\x1smiiqw.qws\p1vq0mkf.2u2\Url.fc1l2xts4acc5iv3nxl2uoy0btkfeen5\AssemFiles\BExAddin.xml
    …is not kept here, or anywhere else that I can find. I’m going to have to do this the hard way and build something to check if IsolatedStorage exists, if so, query the folder structure, and check to see if the BEXADDIN.XML has been built, if it has, rewrite the legacy option. If it doesn’t exist, that’s the BIG issue, we’ll have to initiate Excel to run the BExAnalyzer that way it generates the IsolatedStorage and then repeat the above. The problem is that running Excel without the customer realizing that I’m running it is kinda tricky, what’s worse is that this would have to run for every user on a machine, and that’s impossible to do without everyone’s password, so essentially, this would only work for the logged on user, or what USD perceives as the logged on user, and since USD runs under the NT AUTHORITY\SYSTEM account that’s what it will see as the current user. So, long story short, I don’t think I can automate a fix for this.
    So, while I could query every existing users folder structure within IsolateStorage, I cannot guarantee that they’ve run BEX once to generate the folder structure for themselves in order for me to patch it. We could force BEX open after pushing SAP, but again, it would open for the SYSTEM account, not a “real” user. The only way to automate is to get the customer involved and have them run BEX one time, but how would we know to then push the fix…
    Kiran

  • How to use customer exit variable in the report

    Dear All,
    i want to use a standard customer exit variable in the report properties.
    In the Bex Query Designer right hand bottom you will find two buttons "Properties" and "Task". Click on task you will get different option. Choose properties from there and then select "variable sequence tab".
    I need to add a standard variable there. How can i achieve it?
    Appreciate your early help.

    You need to add variable to corresponding charctertic then you can get that varaible for sorting the sequence....
    If 0CUST is the varaible then you need to assign it 0CUSTOMER then 0CUST will be available for the sequence.
    Edited by: shanthi bhaskar on Apr 2, 2009 5:41 PM

  • Filter value for variable selection screen

    Hi & help !,
    This could be a tricky or an easy question, but it seems too hard for me !
    I'm storing version in my cube, and have a report which shows informations for the version you select (with a variable = ZVERSION01).
    ex :  Version :
    V01
    V02
    V03
    V04
    When report is executed i have my variable selection screen (for variable ZVERSION01) which give all version [V01 -> V04]. But i want users have no access to version V01 & V02.
    Variable ZVERSION01 is "single selection", i tried to filter with Default Values screen or Characteristic Restriction screen but it doesn't work.
    ex : caracterisitic restriction screen : VERSION = !V01 / !V02
          default value screen : variable VERSION = ZVERSION01
    Any idea?
    Thx

    Hi,
    In BI 7.0 there is Anaylysis authorisation RSECADMIN transaction. That you can use here or normal role concept will also do.
    What you need to do is grant authorisation to the users for V03 and 04 version only and create 'Authorisation' type variable on version in the query. (type of variable - it asks while creating the variable). This way users will only be able to see authorised versions only.
    Note you have to make version infoobject as Authorisation relevent infoobject. ( in infoobject properties).
    Let me knw if you have any doubt.
    Regards,
    Viren

  • Do we have search help facility in variable selection (F4 help).

    Hi All,
    At my client place users are comfort with R/3 search help (F4), and looking for the same feature in Bex Reporting. Is it possible to have the same kind of feature in Bex reports.
    Example.
    In R/3 T-Code MB5B, user searches with material description or with some other options like sales material by general product hierarchy. Can we get the same kind of feature.
    And my client says that if we drop down for material it is taking huge amount of time to display the material numbers and description, we want to know how to reduce the time for displaying the material or customer master data text in variable selections.
    In Bex we are aware of material text is going to display as small or medium or long descriptions, when we drop down.
    Your suggestions are most valuable to us.
    Thanks in Advance.
    Akash

    Goto se11
    in  data type  :  put  KIDNO  change  mode   ... avoid the  messges  ....
    there  in theDefinition   :  put your new  Search Help   activate  it  ....
    so that   it will be attached..
    otherwise there  so many ways of attaching the serach help   for F4 ..
    Implementing search Helps 
    Search helps can be implemented in a variety of ways:
    1 .Add to Table field Added via SE11: Place cursor on desired field within database and select menu path  Goto->Search help->for field
    Effect: If field used to create screen field, search help will be called when user executes F4/drop down input help. All fields on screen will be populated if appropriate fields exist in search help and screen.
    2.Add to Table  Added via SE11: Place cursor on desired field within database and select menu path  Goto->Search help->for table
    3.Add to Data element Added via SE11: Select desired data element (double click), enter search help name and parameters in appropriate fields on screen. Will be applied to all fields associated with that data element
    4.Add to Screen field Added via screen painter: One of field attributes is search help. Will only populate the one screen field.
    5.Add to Sel. screen parameter (MATCHCODE) Added using 'matchcode' addition for parameters declaration: Search help name must be no more than 5 characters long.
    e.g. PARAMETER p_prog LIKE trdir-name MATCHCODE OBJECT zsh.
    Rewatrd  points if it is usefull ...
    Girish

  • Key and text replaced with "???" in variable selection after SPS Upgrade

    Hello community
    I have a problem regarding the variable screen.
    We recently upgraded to SAPKW70021 and SP19 in Java. After this a problem appeared in web reporting and variable selection. When users are prompted to enter a value for fiscal year for example, the input help displays "???" instead of years. When you choose an "???" randomly from the list and add to your selection, the year is displayed correctly.  The same issue is present with company code selection and other user input variables as well, the selection list is filled with "???" for both key and text.
    Does anyone have any suggestions on how to fix this problem?
    best regards
    Antti Lyytikäinen

    Hi,
    Note 1368055 describes this issue. You need to implement the mentioned java patch for the BI components and set the parameter mentioned in the note to solve this issue.
    Best regards,
    Janine

Maybe you are looking for

  • Adobe after effects cs5 help

    i downloaded the trial and magic bullet advance hd trial.i can't figure out how to convert my 4:3 video to 1080p hd. can someone explane the steps i need to take? thank you in advance.

  • Output error messages

    How does one do to output error messages without having to invoke RAISE_APPLICATION_ERROR? I'm trying to avoid chaining of exceptions handled by OTHERS. EDIT: I'm aware of DBMS_OUTPUT.PUT_LINE, though I am looking for a function that produces the sam

  • Nokia E90 Backlight in Wireless Car Mode

    I am using the wireless car kit option with a bluetooth car kit, but have a power supply into the Nokia when in the car holder. I would like the backlight to be permanatly on when in the car, but this only seems possible if you have a wired car kit.

  • Moving sales order stock from Q to Unres. - does not update LS24

    Hi We have an issue where a material is received in Q status. Then it is moved to unrestricted using 321. Then using 411 E the material is transferred from unrestricted-use special stock E (sales order stock) to unrestricted-use company’s own stock.

  • How to see preview on TV in after effects?

    I have downloaded Tv zaek plug in to see preview on tv in after effects.I did install it now i open after effects it shows in start to adjust settings but after i dont know where to go and what button to press to see preview on tv please guide if any