Regrading restricting the variable values in the report

hi experts,
i have a requirement that i have to restrict the values of 2nd level vendors in variable selection screen based on the 1st level vendor selected i mean  we are using the variable for 1st level vendor as mandatory so when user enters the value for 1st level vendor linke xxxx and when he goes to the next variable 2nd level vendor he must have the options related to the 1st levle vendor only i mean he does not see all the 2nd level vendors but he must see the 2nd level vendors related to first level vendor only
ex for 1st level vendor xxx the 2nd level vendor is yyy and zzz
     for 1st level vendor aaa the 2nd level vendor is bbb and ccc
now when he select the option first level vendor as xxx it is showing the all 2nd level vendors in the slection screen but client wants that when he select the 1st level vendor he must see the 2nd level vendor list related to particular 1st level vendor only
thanks and regards
pedamarla

pedamarla,
Does you mean if xxxx is the value for 1st vendor then in 2nd level vendor variable shd be other than xxxx.....
is my interpretation is right.then you can write the code in step 3 so that 1st vendor value and 2nd vendor is different ....let us know

Similar Messages

  • How to assign a variable value to crystal report viewer formula with CR2008

    Hi ,
    I am using crystal reports 2008 and i am not able to find how to assign  variable value  to crystal report viewer formula.
    In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1
                                             crystalreport1.Formulas(1) = variable2
    but, i don't find similar kind  in crystal reports 2008.
    How can i achieve the same functionality using crystal reports 2008.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    Can i anyone help me out with this.
    I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
    CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
    CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
    CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
    Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
    Any code snippet would be of great Help.
    Thanks in Adnvance.
    Ramnath

  • Display variable values in Web report

    Hi Bw Mates,,,
    I am trying to display the variable values in Web Report.
    I put one text Item in Template and checked the Variable Display and entered the variable name in List.
    still I cannot see the variable values in the report.
    Thanks for your help.
    RSB

    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="GENERATE_CAPTION" value="BORDER"/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
             <param name="ELEMENT_NAME_1" value="Z_CP_018"/>
             ITEM:            TEXTELEMENTS_1
    </object>
    as the other poster mentioned the variable name has to be in upper case.
    if only_values = 'X' you will just get the value other wise
    you will get something like below.
    variable description = variable value
    Regards
    Raja
    Reward the helpful answers and close the thread once its answered.
    sorry for the delay in answering, it was weekend for us

  • Restricting the Reports using FM   HR_HIS_READ

    All, I have a requirement that, need to restrict the number of reports that should be displayed in the MSS of HIS Report selection. Is there any configuration to restrict them?

    hi
    if its on the protal side its very simple . u can go to content admin and create new role or roles and can manage this.
    If on R/3 side u can manage this by structural authorisations
    regards
    Manish
    Reward points If Helpful

  • Restrict the report to a time interval containing current date

    hi all,
    we have a time dependent master data object, for which there are two records in the master data for two different time interval for example
    comp valid_to valid_from amount
    ab00  10/12/2006  01/01/100 100
    ab00  31/12/9999  11/12/2006 200
    now we want to show only those record for which the current date lies in the time interval (valid_to and valid_from) i.e only the second record should be present in the report.
    how can we achieve this at the query level.
    any help will be appreciated.
    thanks,
    Rk

    Hi RK,
    Use Query Key Date(give current date) then it will only pics data which falling into that perticulr interval(Valid from & Valid to).
    You can add Key Date, at Query Properties--> show variable.
    Please check : [Query Properties|http://help.sap.com/saphelp_nw04/Helpdata/EN/07/0ab63c71f41d5ce10000000a114084/content.htm]
    Hope it Helps
    Srini

  • Issue with variable values while adding report to Bookmarks/Favorites

    Hello All,
    I am able to save the reports from my portal as bookmarks with the appropiate navigation state & variable values for reports which do not have a mandatory value variable with no default value. For all other queries like queries with no mandatory variables or queries containing mandatory variables with default values, this is working fine. Any inputs is appreciated. We are in BI7.0 with SP12.
    Thanks,
    Danny

    What's your question, because from your statement, it seems like everything is fine ??
    Cheers,
    Andrew

  • How to pass Presentation Variable Value from Main Report to Detail Report

    Hello,
    I've 2 reports that is attached to each other. In my main report i've several report prompts and i am using i"s prompted" on my detail report to attach them.
    But 2 of my report prompts are presentation variables(Names : FIRST, SECOND). Both are in date format. I've a filter in my main report like;
    "ASSIGNMENTS_F"."EFFECTIVE_START_DATE" BETWEEN @{FIRST} AND {SECOND}
    It works fine when i run the main report. But when i click on the numbers, i see that i can not filter my detail report with the chosen values for 2 presentation variables. It just shows all the dates.
    I've tried adding both presentation variables in both reports as columns and adding 'is prompted' filter to them. But did not work either.
    I just cant pass the written values for presentation variable prompts to detail report..
    Please help :)

    Hi,
    What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
    Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
    Hope this helps.
    Regards
    MuRam

  • Importing a text file with variable values into web reporting

    Hello,
    I'm looking for a possibility to import values from a text file into a variable selection in Web reporting.
    With BEx reporting in Excel this is possible, by clicking on the multiple selection button in the variable popup screen, and subsequently selecting the "Import from Text file" button.
    However, this function seems not to be available for web-reporting...
    It would be great if someone could help me out with this!
    Thanks & regards,
    Arvid

    Hi,
    we could resolve this issue, so i thought it may also be helpful for others:
    In our example we used a file with numbers for materials. This file is stored somewhere in a directory, to which SAP BI must have authorization to read.
    The file looks something like this:
    4711
    4712
    4713
    4714
    The file is named "import.txt" and lays in directory "/usr/sap/EC6/files/bi/"
    *&  Include           ZXRSRU01
    * global variables
    Data: intern_range LIKE LINE OF i_t_var_range,
          l_s_range    TYPE rsr_s_rangesid,
          line(100)    TYPE c,
          p_file(128)  TYPE c,
          length_rangelow  type i,
          tmp_rangelow     like l_s_range-low.
    * internal tables for selection-transfer from transaction
    * Data: BEGIN OF it_file occurs 0,
    *        it_p_file(128) TYPE c,
    *      END of it_file.
    IF i_step = 1.
    ** variables can be changed or set before pop-up appears
      CASE i_vnam.
    * take material from external file to selection-list
         WHEN 'ZSD_UPMA'.
    ** call of transaction, with which the path can be set
    *CALL TRANSACTION 'ZBW_VARIABLE' using it_file
    *MODE 'A'      " call should be visible, so that variable can be set
    *UPDATE 'S'.   " first transaction, then processing
    ** Der Pfad, der in dem Selektionsbild eingegeben wird, wird an die Variable übergeben
    ** Der Set-Parameter ist in Report ZSD_SELECT_VARIABLE
    *  get parameter id 'VAR' field p_file.
    p_file = '/usr/sap/EC6/files/bi/import.txt'.
    * further handling of variable in BI
          OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
          IF sy-subrc = 0.
            READ DATASET p_file INTO line.
            WHILE sy-subrc = 0.
              IF line(2) <> '//'.
                l_s_range-sign = 'I'.
                l_s_range-opt  = 'EQ'.
                l_s_range-low  = line.
    * fill with leading Zeros
    * in variable tmp_rangelow the value from l_s_range-low is taken
        tmp_rangelow    = l_s_range-low.
    * read the length
        length_rangelow = strlen( tmp_rangelow ).
    * in our case: material has 18 characters
        while length_rangelow lt 18.
          CONCATENATE '0' tmp_rangelow INTO tmp_rangelow.
          length_rangelow = length_rangelow + 1.
        endwhile.
    * initialize l_s_range-low
        clear l_s_range-low.
    * set with filled values
        l_s_range-low = tmp_rangelow.
    * transfer to structure
                APPEND l_s_range TO e_t_range.
              ENDIF.
              READ DATASET p_file INTO line.
            ENDWHILE.
          ENDIF.
          CLOSE DATASET p_file.
        ENDCASE.
    ELSEIF i_step = 2.
    ** in step 2 all variable values from pop-up input can be processed or
    ** User Exit variables can be derived
    * UserExit Ende.
    ENDIF.
    Hope i could help!
    Best regards,
    Tobias

  • Presentation Variable value to Drill report OBIEE 11g

    Hi ,
    We have a requirement to use Parent report prompt value in the drill report. So we have used presentation variable to pass the value.
    Issue is when we go to drill report its not showing actual presentation variable value, its giving some other value( eg: we have two values to be passed to presentation variable 'Yes' and 'No' , even though we have selected 'Yes' in the prompt the drill report is showing results for 'No' but when we refresh the drill report its showing exactly as prompt selection.)
    And we are using Advanced Sql filter to filter the records .
    In 10g it has worked fine but in 11g we are having the issue.
    Thanks in advance.
    Regards,
    Raju

    Fyi.. We are using action links for drill down.

  • Passing CPM variable value to BW report/query

    Is it possible to pass CPM variable values from SEM scorecard to BW supporting reports.

    Not sure if this is what you are looking for, but it's my first thought of what I would try:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/3.0b report-report interface.pdf

  • How to restrict the Report based on sales office

    Hi Experts,
    I am using BW 3.5. I have a requirement that my sales report should give output to  particular user with his respective sales office only.
    For Example :
      User,   Sales Office
       A , Delhi
       B, Mumbai
    User A should not be able to see the data of Mumbai Sales office. As both the users using the same Report,
    Please suggest How to achieve this.
    Helpful answers will be awarded.
    Thanks&Regards,
    Venkat

    Hi,
    To do this, you need to make the infoObject Sales Office authorization relevant.
    Create an authorization Object using the t-code RSSM for this InfoObject. Restrict it with Activity.
    Create a role for each of the Sales Office and restrict your authorization variable with that office.
    Now you have 2 roles for eg. One for Mumbai, other for Delhi. Assign them to respective users.
    Create a authorization variable for Sales Office and restrict your report with that.
    Use the below documentation for creation of Authorization Object.
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/48f438f3422f2ce10000000a114084/frameset.htm
    Regards,
    Gaurav
    Edited by: Gaurav Kothari on Sep 18, 2009 11:04 AM

  • RRI - Sending  Dynamically calculated Variable Values to Receiving Report

    Hello,
    1st report requires that user enters 2 dates. User exit is calculating the "number of months" between these 2 dates and the value is being stored in a variable.
    This calculated value "no of months" needs to be sent to the receiver report. Apparently it is not getting passed automatically.
    Any ideas.?
    Thx
    Sri Kamana

    Hi Srikanth Kamana,
    Reimplement the customer exit "number of months" in the second query. Get the from and to dates from the 1st query.
    I hope you got an idea for the issue.
    Regards,
    S P

  • Issue in using presentation variable as filter condition in the reports

    Hi,
    I have an issue in using presentation variable as filter condition in my reports the details are as follows:
    Details :
    We want to implement the Max and Min variables through Presentation variables only.we do not want to implement it through session variables in this case.
    We have two variables MIN and MAX to be used as Presentation Variables,for a column of the report (which is a quantity),so that the user wants to see the data for this column within a particular range.i.e the Min and the Max.This part has been implemented well . The issue is when the user wants to see the full data.In that case we will not pass any values to these two Presentation Variable or in other words we are not restricting the report data so we are not passing any value to the variables,this is when the report is throwing the error. we want to leave this variables blank in that case.but this is giving error.
    Please suggest how can I overcome this issue.
    Thanks in Advance.
    Regards,
    Praveen

    i think you have to use guided navigation for this. create two reports first is the one you are having currently and second is the one in which remove the presentation variable from the column formula. i.e. the same report with no aggregation applied.
    Now create a dummy report and make it return value only when the presentation variable value is not equal to max or min. guide the report to navigate between the first and second report based on the result of the dummy report.

  • How to restrict material output in the report published in the portal

    Hi all,
    I am new to BI 7.  I have a series of materials that start with the material IDs TR52, RL25, XY56 and son on.  Now my user wants to view only the materials that are starting with the ID TR52 when he runs the report from the portal. In the material box when I type in TR I am getting the list of all the materials, the same is happening even when I try TR*.  What should I do so that I can restrict the report output only to a particular material ID that my user types in?
    Please help. 
    Thank you.
    TR.

    Hi Friends,
    Thank you for the reply.
    I tried to exclude the values, but i dont find any chance to exclude them
    If i try the same from characteristic restriction, its allowing me to exclude.
    Is there any other possibility to restrict these? Please suggest

  • Authorization Variable values in BEX.

    Hi all,
    I have a report with an authorization object (for example 0COUNTRY) restricted to an authorization variable.
    The object restricts the report according to the user's role. I want a user, with multiple country authorization, to be able to run the report on a few countries that he is authorized to see. For example he is authorized to see US DE FR & CH, and wants to run the report on DE & FR.
    So, I created the authorization variable "Ready for Input", but now when the user runs the report he <b>can insert</b> other values but when he click on the options he can choose from (F4),<b>he can't see the texts</b> (DE - Germany, FR - France) and he gets the message:
    <b>"BRAIN655 - No values available or not authorized to display"</b>
    Full points for the answer promised.
    Many thanks, Yaniv.

    I've done these steps when I createted this object long ago. I have no problem with the authorization itself. it works great.
    You are right, the selection option window shows the values US DE FR & CH, but I want the user to see the description also (when pressing F4) so he will be able to tell which countries to choose . that is when the message pops up.
    <b>It is like the user does not have the authorization to view the 0COUNTRY values and their texts</b>.

Maybe you are looking for

  • How do I change my apple acount on my ipad

    how do I change my apple acount on my ipad.  I just received my I pad and wanted to use the same account that I use for my iPhone so I have everything under the one account.  I typed it in wrong and now cannot see how to remove it and enter the corre

  • Transport Controls Borked

    This is totally mind boggling. I just booted up Audition which I had been using for months on my laptop. I am running Windows Vista 64-bit by the way. Anyways, I hit play once and then I noticed that the white transport line wasn't moving. I tried to

  • Will Apple TV be able to play Redbox Instant movies?

    Will Apple TV be able to play Redbox Instant movies?  Redbox Instant is a simular company to NetFlix in that you can rent movies (DVDs) or download available subscription content movies, but Redbox Instant is NOT simular to Amazon or Amazon Prime.  W

  • Is it possible to pass an xml from external system to EBS using BE

    Hi All, Is it possible to pass the xml payload as input parameter of a function subscribed to Business event? Or is it possible to pass table type as input to BE subscription function (SRF)? if yes how? Thanks,

  • Hyperlink warning message from HLINK.dll

    Hi, I have a access file (Created in Win Xp and Access 2000) which has forms. I have a hyperlink in one of the forms which opens a word file and merges data with the word doc. Now I am supposed to make it work in Win 7 and Office 2010. When I click o