Restricting Prompt values until parent prompt is selected

OK - this should be simple,but again its causing problems. I have a prompt with a series of drop downs based on the Organisation dimension. They are restricted so that they are filtered accordinly when the values are selected. I need to go one step further and not show any values until de parent value is selected. I am trying to do this with presentation variables and then using SQL to generate the values for each prompt passing as filter the variable for the parent prompt. I am getting an errors on the "@{var_name}" syntax.
Has anyone managed to do this?

Sorry, I thought that was what you were asking for (aside from the syntax of using prompts in the SQL statement). So please clarify again. When the user selects a value in the parent prompt, that value is stored in the PV. Now, what exactly do you want the users to see in the drop down of the child prompt?
I just thought of something... Are all your prompts stored in one prompt file? If so, and the prompts are all set to Report Defaults, values in the prompts won't show until the drop down value is pressed and a value selected. Also, the prompt won't launch the report until the "Go" button is pressed. (By checking "constrain," each subsequent prompt will be properly constrained by the one before, as applicable.)
If the prompts are in separate prompt files, then above would not be true.
Message was edited by:
LC143

Similar Messages

  • Restrict variable values in the pop-up selection screen

    Hi,
    I have a variable based on a caracteristic that has 0COMP_CODE as attribute in a Web Report (BW 3.1B).
    This variable has to be accessible so that users can select a value.
    I need to restrict the values that users can see on the selection screen according to their 0COMP_CODE value, even in the pop-up.
    I have tryed authorization variable and user exit, but none worked.
    The best I could do was a "several single values" variable that was preselected with the caracteristics of their 0COMP_CODE, but it didn't worked in the pop-up.
    Does anybody knows how to handle this?

    As far as I could find out, it should be made through customer exit.
    The point is : I have to use a customer exit variable that has been check as "ready for input".
    I can't find a way to restrict the values displayed in the variable selection screen (in the help pop-up window for this variable).
    The exit can pre-fill the selection fields with values, but whenever the user opens the window, he sees all the values.
    I have tryed all the values for I_STEP (0,1,2 and 3) but none did it.
    Does anybody knows how to limit those values?

  • Prompt value based on another prompt(Multi Select prompt)

    Hi Expert,
    I have two multiselect prompt Continent and conutry
    my req is when I select continent in the first prompt then second prompt sholud show the country based on first prompt value.
    Ex : If I select Asia in continet then country prompt sholud show only Asia's country.
    any sugeestion pls.
    i know constraint but only possible in drop down prompt..

    Hi,
    Constrain is not applicable for edit box only.We can use it for drop down list and multi select also.Other wise go for the presentation variable.
    mark if helpful/correct...
    thanks,
    prassu

  • Should not select the one prompts when selected the other prompt

    Hi,
    In one of the my requiments i have the following scenario.
    When a value from one prompt is selected it should not allow to select the any value from the previous prompt.
    I have multiple prompts in the Webi Report.
    E.g : when i select a value for the Product Lines prompt it shoud not allow me to select any value from the Product Groups.
    these two Prodult Line and Product groups are the two prompts in my reports.  
    How can this requirement can be implemented in BO XI R3 version.
    Need help on this?
    Regards,
    Kishore.

    Hi,
    thank you for the suggestion however new functionalities and improvement suggestions can be submitted at [https://ideas.sap.com] where users can vote for the idea. If you post the link to your idea here there are more chances that other people can see and vote it
    Thanks!
    Best regards,
    Simone

  • I get prompted to select a scanner and a scan profile/preset each time I try to scan a document to PDF using Adobe Acrobat Pro.

    Hello,
    I have a fujitsu scanner (fi-6140) connected to my computer and have the "Scan" button on the scanner associated with Adobe Acrobat.  And so when I press the "Scan" button on the scanner to scan a document, it launches Adobe Acrobat Pro automatically.   Then I get prompted to select a scanner/device and a scan profile.  It seems to remember the last-used scanner/device, however; it still prompts me each time to confirm the scanner/device selected and select a scan profile to use.  Is there a way to save both the scanner & scan profile information and so when I click the "Scan" button, it doesn't prompt me to select but starts scanning using the last-used settings automatically?
    Thank you.

    Hi,
    Are you facing the issue with any pdf file?
    Please try updating Acrobat to 11.0.7 and check.
    You might also want to repair Acrobat and see.
    Regards,
    Rave

  • I replaced the original hdd in my early 2008 iMac.  I can't move my files that were backed up with Time Machine to my new hdd using Migration Assistant.  When prompted to select the "from drive", the ext. hhd does not appears as a selection. Please help!!

    I replaced the original hdd in my early 2008 iMac.  I can't move my files that were backed up with Time Machine to my new hdd using Migration Assistant.  When prompted to select the "from drive", the ext. hhd does not appears as a selection. Please help!!

    I'd recommend staring over, Pondini has created an excellent guide on how to use Setup Assistant. I'd recommend begin reading Pondini Setup Assistant tips where he talks about "Second Chance." Assuming your Time Machine backup is sound the restore  should be very smooth.
    Roger

  • Desktop (Workstation) setup - Getting error prompt for "Select Policy #:" and can't proceed.

    Hi,
    I'm trying to configure a new MRL with the Workstation.  The ini and jdt files seem to be working ok as I have gendata kicking the transaction to wip.  There's a NA and POL file in my WIP directory:
    The problem is when I try to work workstation, I select the transaction but get a prompt to select a policy #.  The Policy # block is grayed out.  Ideas?  I'm thinking something in my config files need to be mapped to Policy Number by default?
    Thanks!

    It looks like you are using custom fields/columns in WIP.DFD. In such case you need to map KEY1, KEY2 and KEYID in the INI file to the columns in your WIP.DFD.
    I don't remember exactly what INI group these go into but here are a couple examples:
    < ArcRet >
        Key1                          = COMPANY
        Key2                          = LOB
        KeyId                         = DOCID
    < WIPData >
        Key1                          = Company
        Key2                          = Lob
        KEYID                         = DOCID
    My money on WIPDATA group. The Company, Lob and DOCID are columns in WIP.DFD in these examples. Specifically error means there is no KEYID mapping in your case.

  • Pass values to parent report's parameter  when click "Return to prev.."

    We have one report A which has parameters(use prompt to select value, not URL) to filter data, A has drill across action to report B(replace current report), we now can pass A's parameters to B.
    But if we click the "Return to previous Report" in B, all parameters in A dismiss. A report lose parameters used before, and we do not know how to pass parameter to A again, (all action must replace current report)
    Edited by: Jeffrey Yan on Mar 8, 2010 6:49 PM

    While creating prompt for Report A, you can set its default value (in prompt window before the last step where it lists all the values from the data object, you can click on the value and then click the arrow button). This way, when you return to A from B, at least it will open up with the default prompt value.

  • Restrict time value in calendar

    Hi..
    How to display the calendar value without time
    When I select the date in calendar it displayed without time but when I hit the go button the time value is added in the prompt values.
    How to achieve it?

    Thanks Goran,
    Now its working...
    but when I set the current date as default value it shows the date in following format in a dashboard
    yyyy-MM-yy (At first time only when I select any date and hit go button , MM/dd/yyyy format is used)
    I am using following code in default to -> Sql results
    select case 1=0 then line.date else current_date end from GM
    here line.date is date datatype
    I have tried your to_char function as follows
    select case when 1=0 then cast(line.date as char) else evaluate('to_char(%1%2)' as varchar(20),current_date,'mm/dd/yyyy') end from GM
    I got the following error
      Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: 37000 code: 8180 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.. [nQSError: 16001] ODBC error state: 37000 code: 195 message: [Microsoft][ODBC SQL Server Driver][SQL Server]'TO_CHAR' is not a recognized function name.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
    SQL Issued: SELECT case when 1=2 then cast(OnsiteOffsiteResources.Fromdt as char) else EVALUATE('TO_CHAR(%1,%2)' as varchar(20),Current_date,'mm/dd/yyyy') end FROM GMHow to avoid it.

  • How to restrict the values in seach helps

    Dear All,
                   I am new to the BSP concept.I have a requirement
    where in the BSP i need to restrict the values of the search help.i.e. 2 values are coming in the help i need to display only 1 value.
    can anybody please explain how to do it.
    Cheers,
    Deepthee Kasal
    Edited by: Craig Cmehil on Sep 2, 2008 8:21 AM

    Hi,
    I assume that you read values for the search help with function 'F4IF_FIELD_VALUE_REQUEST' and in a later step you display values with <htmlb:tableview>. If that is true and the function is delivering too many records as you mention, you could then restrict the output table of values like this:
    TABLES mara.
    DATA: mytable TYPE TABLE OF ddshretval WITH HEADER LINE.
    DATA l_repid TYPE syrepid.
    PARAMETERS p_mtart LIKE mara-mtart.
    AT SELECTION-SCREEN ON VALUE-REQUEST
    FOR p_mtart.
    l_repid = sy-repid.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'MARA'
    fieldname = 'MTART'
    dynpprog = l_repid
    callback_program = l_repid
    callback_form = 'F4CALLBACK'
    TABLES
    return_tab = mytable
    EXCEPTIONS
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    OTHERS = 5.
    START-OF-SELECTION.
    blah, blah, blah
    * Form F4_form
    * Exclude all material types that start with F & H
    FORM f4callback
    TABLES record_tab STRUCTURE seahlpres
    CHANGING shlp TYPE shlp_descr
    callcontrol LIKE ddshf4ctrl.
    DATA: aux_struc TYPE ddshselopt.
    MOVE: 'H_T134' to aux_struc-shlpname,
    'MTART' TO aux_struc-shlpfield,
    'E' TO aux_struc-sign,
    'CP' TO aux_struc-option,
    'F*' TO aux_struc-low.
    append aux_struc to SHLP-SELOPT.
    MOVE: 'H_T134' to aux_struc-shlpname,
    'MTART' TO aux_struc-shlpfield,
    'E' TO aux_struc-sign,
    'CP' TO aux_struc-option,
    'H*' TO aux_struc-low.
    append aux_struc to SHLP-SELOPT.
    ENDFORM. "F4_form
    Mark points if helpful

  • Restrict the user should not allow to select No Excise entry tab in MIGO

    Hi
    how to restrict the user should not allow to select No Excise entry tab in MIGO
    if the material Excisable user can bale to select the No Excise entry tab in MIGO . my requirement .... if the Pop come Please enter Excise Invoice number and Excise Invoice Date user should not change the No Excise how to restrict pls advise me
    @sakhi

    These are the options provided by SAP keeping in mind Indian Scenario. Sometimes, vendor forget to send excise invoice copy with the material, in such case, you can select 'Only Part I'.
    Even if you have maintain vendor excise details & material excise details (By mistake) in J1ID, system will throw an error message, excise invoice value is zero. In such case, we can select option 'No excise entry'.
    Your requirement can't be fulfilled in standard way. Even if you go for any Z- developement, you will lose the option.

  • Restrict no. of entries in the multiple selection of DOCNUM of EDID4 tab

    Hi,
    Is it possible to restrict number of entries in the multiple selection of DOCNUM of EDID4 table.
    i.e., Select the content button on se11 for EDID4 table. We can see the selection screen of the table. Press the multiple selection button of 'DOCNUM', we get a popup. Is it possible to restrict the no. of docnum entry to 500. If i enter more that 500 entries, it should popup a message.
      Please share your ideas. I am working on 4.6c.
      Points will be rewarded.
    Thank you.
    Regards,
    Ramesh

    Hi Atish,
       Thanks for your reply.  I checked for BAdis. But I couldnt find. Is there any other ways of doing this?
    User is trying to import the docnum values from presentation server file using the 'Import from text file' icon on multiple selection popup. As the no. of docnum were 4500, during the execution of this process, other process trying to connect to oracle is going for short dump with message 'Run-time error (Oracle error code: ORA-4031)'.  So user wanted to restrict it to 500.
    Hope my explanation is clear.
    Regards,
    Ramesh

  • How to restrict the values during extraction?

    Hi everyone,
    I want to restrict the values while extracting data from R/3 Datasource... For example:
    I have MATNR, which have around 10 materials out of which i want to extract the data for only 5 materials. My Selection screen is disabled, i mean we cant do anything in selection screen... Can anyone plz tell me how to go abt this issue?
    Advance thanks,
    chintu..

    Hi KJ,
    Am saying that its not available in Selection screen in R/3 side.. am not talking abt the BW side.. Then also i want to extract the data.. How to do this? this is an interview question asked by HP today morning..
    Regards,
    Chintu.

  • Need to restrict KFF values on Charge Account Screen in Oracle Apps 11i

    Hi,
    I have a requirement to restrict KFF values based on certain criteria in the charge account screen in Oracle Apps 11i..
    Could you pls advise on how this can be achieved.
    Thanks,
    Shashank
    Edited by: Shashank Senan on May 23, 2012 2:53 PM

    Can you please mark my answers correct......if they were helpful to you.....
    That would be so nice of you....:-)
    and regarding your next requirement, You should create a new table which will contain Date, Worker Number and any other details that you want.
    In the form, for every date for which you want to enter the data, you will select the max(date) before the current date and maximum worker number for that selected date and then from that number you can select next 15/20 workers or whatever your number is.
    e.g. for the first time if you want to enter data for 01-jul-2010 and you have work for 15 workers, you will select max(date) where date<01-jul-2010, but you will not find any bcoz this is your first entry. So wat you will do is will start popupating your grid from number 1-15.
    Next day you will select max(date) where date<02-jul-2010, you will find 01-jul-2010. Then you will select max(number) for 01-jul-2010, you will find 15. So populate your grid from number 16-30 (whatever your number is). and so on.
    Hope it helps you...
    Please mark my answer Helpful or correct and Please create a new thread for new question
    Thanks
    Nishu

  • Restrict the values in the Query Designer

    Hi Guru’s,
    I want to Restrict PLANT or  SALES ORG  values in the Query Designer, in the Query, PLANT has selected in the rows and having variable and SALES ORG is display attribute of the PLANT. In this scenario How can we Restrict the values?
    Thanks in Advance,
    Ravi.

    Hi Ravi,
    You cannot restrict values on the display attributes. Better change it to navigational attribute and check the box as navigational in the cube.
    Regards
    Ram

Maybe you are looking for

  • Where can I send a formal complaint to the corporate office?

    I am extremely upset with the poor customer service that I have received by telephone, chat and most of all by the employees of the Clive, Iowa store off University.   For the past 3 months, yes 3 months and a customer of over 7 years with 3 telephon

  • How to change the properties of a directory using java code

    Hai All, I need to change the properties of directory( websharing). Can i do this using java code. Regards, Charan

  • Final Cut Pro X crash on launch

    Need SERIOUS HELP! Running Lion on a new iMac (fully updated) and have been working on a project in Final Cut Pro X (also latest version) and it WILL NOT launch now - it crashes after "Restore Window" layout dialogue box. I have chosen DO NOT RESTORE

  • Invalid record not going into E$ table

    Hi, I am using Oracle as source and target but source and target table is on different database.lets say base table EMP_SRC table --> ABC database fact table EMP_TRG table --> XYZ database and some dimension table are also in XYZ Database. and all FK

  • Problem in setting path and classpath for java in RedHat linux 9

    Hi , i am not able to set the PATH and CLASSPATH for j2sdk1.4.2_06 I have tried with export PATH=$PATH:/usr/j2sdk1.4.2_06/bin and export CLASSPATH=$CLASSPATH:/usr/j2sdk1.4.2_06/lib in terminal but i want to configure it as permenant way for the jre a