Dynamic Selection Button issue

Hi All,
I am working on a ZReport which has a requirement to be added with a dynamic selection button. This Button should be same as AR01 transaction.
I have added the ADA logical database and also the NODES inside the program. I got the button on selection screen of ZReport.
But its not behaving as required. Suppose I am selecting the Time-Dependent Data -> Tax Jurisdiction as 'NZ'. Then the report has to selection only for NZ(Newz ealand). But in my report it is not even pickingup this value (NZ) and it returns for all the countries.
I tried to debug but couldnt find anything.  How can I track this field?
Can you please tell me how can I fix this issue.
Thanks.

don't forget to put a GET event for each node used in dynamic selections
and inside this event, put statement: CHECK SELECT-OPTIONS.

Similar Messages

  • Dynamic selection button on report RCATS_APPROVE_ACTIVITIES

    Hi,
    I made a copy of the program RCATS_APPROVE_ACTIVITIES with all its components, and the dynamic selection button on the selection screen doesn't work like the standard.
    In my researches, I found that the dynamic selection that the standard program uses is associated to the logical database 'PNP', but the logical database that the programs uses is 'PNPCE', and that's the dynamic selection that my program copy is showing.
    Does any one have an idea how this happens and how to solve?
    Thanks.
    Sónia

    Hi Sonia,
    You program is using dynamic selection screen which actually is the selection screen of your logical database. You can see that thru tcode SE36-> PNP->click on selection check box. You will see the code of selection screen. This selection screen is called in standard program and since you have copied the standard program, your program is also showing the same selection screen. LDB can be called in standard program thru Function module LDB_PROCESS.
    In case you want to remove some of the selection screen fields of LDB from your report, you can do so in the
    'at selection-screen output' event by looping at the selection screen variables and stopping unwanted fields from display.
    You need to check the group name and the field name of the fields you want to disable and use it in the below code accordingly.
    e.g.
    at selection-screen output.
    loop at screen.
    if screen-group2 = 'DBS'.
          screen-active    = 0.
          screen-invisible = 1.
    endif.
    modify screen.
    endloop.
    Cheers,
    Vikram
    Please reward for the helpful replies!!

  • Dynamic radio button issues.

    Hello;
    I changed around the way I do a contact form from one page loading onto another to just one page. I had my radio buttons working the 2 page way, but now, it throws an error and says that the TYPE is undefined in the form. The type is the name of my group of radio buttons. Here is what I'm doing, can someone help me fix this so a form will remember if it has to be reloaded what radio button you chose?
    My code:
    <cfform action="#cgi.script_name#" method="post">
    <cfif form.type EQ 'male'>
    <input name="type" type="radio" onClick="setVisibility('sub3', 'inline');setVisibility('sub4','none');setVisibility('sub5','none');" value='male' checked="checked"/>
    <cfelse>
    <input name="type" type="radio" onClick="setVisibility('sub3', 'inline');setVisibility('sub4','none');setVisibility('sub5','none');" value='male'/>
    </cfif>
    <cfif form.type EQ 'female'>
    <input type="radio" name="type" value='female' onClick="setVisibility('sub3', 'none');setVisibility('sub4','inline');setVisibility('sub5', 'none');" checked="checked"/>
    <cfelse>
    <input type="radio" name="type" value='female' onClick="setVisibility('sub3', 'none');setVisibility('sub4','inline');setVisibility('sub5', 'none');"/>
    </cfif>
    <cfif form.type EQ 'child'>
    <input type="radio" name="type" value='child' onClick="setVisibility('sub3', 'none');setVisibility('sub4','none');setVisibility('sub5', 'inline');" checked="checked"/>
    <cfelse>
    <input type="radio" name="type" value='child' onClick="setVisibility('sub3', 'none');setVisibility('sub4','none');setVisibility('sub5', 'inline');"/>
    </cfif>
    those are the 3, I need this form to remember your choice, they control parts of the form. The if statement is throwing the error, this is the error:
    Element TYPE is undefined in FORM.
    The error occurred in C:\quoteReq.cfm: line 282
    Called from C:\Websites\187914kg3\quoteReq.cfm: line 276
    Called from C:\Websites\187914kg3\quoteReq.cfm: line 275
    Called from C:\Websites\187914kg3\quoteReq.cfm: line 260
    Called from C:\Websites\187914kg3\quoteReq.cfm: line 1
    280 :                 <span class="contactText">Select the type of project to get a quote.</span><br>
    281 :                 <br>
    282 :                 <input name="type" type="radio" id="type" onClick="setVisibility('sub3', 'inline');setVisibility('sub4','none');setVisibility('sub5','none');" value='male' <cfif form.type EQ 'male'>checked="checked"</cfif>/>
    283 :                 <span class="contactText">Magnets</span>
    284 :                 <input type="radio" name="type" id="type" value='female' onClick="setVisibility('sub3', 'none');setVisibility('sub4','inline');setVisibility('sub5', 'none');" <cfif form.type EQ 'female'>checked="checked"</cfif>/>   
    Can anyone help me fix this please?

    My code for this simple action is looking really nasty at this point. I agree with making this neater, it controls a lot on this page. It's a problem in the java script, let me show you how this is set up:
    if you click on a radio button (step 1 in the form) it changes a spot in the site (div tags) to your selection. I'm stripping this down to just the java right now, then add in logic to it.
    this is my java, but It's not working right now even strait up with no coldfusion involved.
    <script language="JavaScript">
    function setVisibility(id, visibility) {
    document.getElementById(id).style.display = visibility;
    </script>
    <style type="text/css">
    .showHide {
    position: absolute;
    background-color: #f1f1f1;
    width: 300px;
    padding: 1px;
    color: black;
    border: #999999 2px dashed;
    display: none;
    </style>
    <input name="type" type="radio" onClick="setVisibility('sub3', 'inline');setVisibility('sub4','none');setVisibility('sub5','none');" value='male' checked="checked"/><span class="contactText">Magnets</span>
    <input type="radio" name="type" value='female' onClick="setVisibility('sub3', 'none');setVisibility('sub4','inline');setVisibility('sub5', 'none');"/><span class="contactText">Paper Steel</span>
    <input type="radio" name="type" value='child' onClick="setVisibility('sub3', 'none');setVisibility('sub4','none');setVisibility('sub5', 'inline');"/> <span class="contactText">Both</span>
    my div tags
    <div id="sub3" class="showHide" style="display:inline;">div one content here</div>
    <div id="sub4" class="showHide">div 2 content here</div>
    <div id="sub5" class="showHide">div 3 content here</div>
    right now, this isn't functioning as is. I had it working, until I redid my form approach in programming. Now I need to rethink this. What I'm trying to do is this.
    first, get this script working again. then, once it's swaping out div tags, I need it to remember what radio button you clicked so that respective div tag stays open on page reload of any errors from required fields. f I click on a radio button and send the form with now required fields, it brings up the proper div. I also went with the structkeyexists approach and it kind of helped me, but it's making my code really big and messy going this road.
    any ideas on how to approach this problem? starting with this broken script.
    Right now, there is not dynamic interaction, but i

  • Weird selection button issue.

    I just installed the production suite without issue. Everything updated.  On a win 7 i7 system.
    Premiere pro an PS working fine.
    When i go into encore I can't seem to click on a lot of stuff?  Very weird.  Lots of things work fine... but half the time when i go to click a particular menu option or check box nothing happens.
    For example... if i move something from the library into the timeline the box comes up asking about still duration / dont show this again / OK and cancel.  I cant click ANY of these buttons.  When I mouse over them they are highlighted... but no amount of clicks register. I can close the box... but nothing else.
    When this happens (it happens in a lot of menus) I CAN use TAB / arrow keys to get around the buttons and then press ENter to get it to activate.  On some menus i can press some butons but not others.
    What the hell is going on?  The software is crippled for me at the moment.

    Yeah, another part of the puzzle, and one that I have no clue about.
    Also, sorry that I did not get those random thoughts to you earlier, but did not see your OP, and it was not until you bumped it, that I noticed it - not that I would have had any useful ideas earlier on.
    In the case of the Window Blinds issues, Jeff Bellune, one of the MOD's here, was the one who broke that to me. He usually has some very useful ideas on odd behaviors, and I am surprised that he's not dropped by the thread - Holidays?
    One last thought - Adobe has issued updates for some of the programs in the suites. In PrPro, the CS5.0.3 update did fix several issues. Do not know if they have issued one for Encore yet, but you might wish to check. By going into Bridge, and then Help>Update, you should get ALL of the updates available.
    Good luck, and wish that I had more,
    Hunt

  • Addition of field for Dynamic Selection in TCode FBL1N

    Hi,
    We have a requirement to add the field Partner Bank Type in TCode FBL1N on clicking dynamic selection button (under vendor master) in TCode FBL1N. To achieve this we went to TCode SE36 (Logical database) and selected logical databse KDF and then seleted selection views from the extras menu. There we have selected the table LFBK and then entered 01 (function group for Vendor Master) in the box next to the field BVTYP and selected the checbox on the right of BVTYP to enable Preselection. Saved the changes.
    However the field  Partner Bank Type does not show in the dynamic selection in TCode FBL1N under Vendor Master. Please help.
    Thanks in advance.
    Mick

    Thanks Miguel.
    I found this on the web:
    http://joyjitghosh.blogspot.com/2009/05/how-to-add-new-fields-in-dynamic.html
    I have done exactly as per the instructions given in the above link, but still I am unable to see the field in the dynamic selections of TCode FBL1N. Any reason why and how can we add the field in the dynamic selections?
    Mick

  • Dynamic selection of DDF  standard logical database

    Dear All
    I have requirement like i have to hide dynamic selection button from my custom report where I am using logical database DDF .
    Is there any way to hide this button on my custom report .
    Regards
    Sunanda Mandavi

    Hello Thomas,
    thank you very much for the precious help.
    I appended the field BKTXT to BSIK and BSAK as used in logical database and these are automatically filled for new postings thanks to Move corresponding (as indicated).
    We are left with only to feed these new fields with existing data/records.
    kind regards..
    Edited by: Devi on May 19, 2009 12:51 PM
    Edited by: Devi on May 19, 2009 12:51 PM

  • Dynamic Selection Criteria in FBL3N

    Hi Experts,
    In FBL3N, the user would like an output on the basis of trading partner on a document level. In the Dynamic selection button, Trading partner field selection criteria is inside GL A/C Master Record level/folder.
    My question are:
    1. is it ok/logical to add Trading partner field under Document level folder even if it already exist in GL a/c master record level folder?
    2.or do i have to remove the trading partner field in GL A/C master data before i add the field in Document Folder?
    3. how do i remove and add new field in the dynamic selection screen
    Thank you in advance for your inputs.

    Hi,
    This might give you an answer.
    [Adding fields in dynamic selections in FBL*N reports|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0039a-0d79-2c10-0aaf-9f6c062c0ffb?quicklink=index&overridelayout=true]
    Regards,
    Jigar

  • Dynamic selections

    Hello ALL,
    In KDF logical db i can see three categories in Dynamic selection tab is company code , vendor info, documents but when i execute report fb.42 and fbl1n when i press dynamic selection button there i cant see documents folder there.
    Can u pls suggest how make it available on scree as i can see it on logical database.
    SUnny

    hi
    good
    You will have to loop at the itab pnpdynse in your program during the start-of-selection event to retriev the values passed via Dyn Selections.
    thanks
    mrutyun^

  • Dynamic Selections (Shift + F4) in a ALV

    Hi all!
    I have to simulate the work of  ME80FN transaction in a report 'Z' with simple alv.
    I have to include  the dynamic selections button too (Shift + f4).
    Is it possible?
    Can I put this functionality in a alv?
    Thanks!

    Those free selections are bound to the logical database MEPOLDB.
    You can program something similar yourself as explained by ABAP meister Horst Keller here:
    /people/horst.keller/blog/2009/09/03/abap-geek-13--interactive-dynamic-where-clauses
    Thomas

  • Issue with MB25 BDC for Dynamic Selection Screen

    Hi Experts,
    I recorded one BDC for MB25 Tcode regarding to determine Open Reservation(s) in E Mode (Display Mode). I am passing 3 parameters.
    1. Plant,
    2. Requirement Date
    3. Multiple Reservation Numbers i.e. RSNUM from Dynamic Selection i.e. 2nd Button -> Header Data for Reservation -> Reservation -> Multiple Selection Icon.
    But while executing that BDC, I need to manually click every time on 'Header Data for Reservation' Tree and then Multiple Selection for Reservation Icon.
    I want below steps automatically while executing:
    - Open 'Header Data for Reservation' Tree
    - Click Reservation
    - Open Popup for 'Multiple Selection'.
    So no need to click every time on Dynamic Selection Screen i.e. Header Data for Reservation -> Reservation -> Multiple Selection Icon.
    Please find attached screen shot for your reference.
    Please guide.
    Thanks and Regards,
    Emon Master

    Hello Jainam,
    submit (sy-repid) with selection-table v_sp
                             with free selections EXPRESSIONS
                             via selection-screen.
    Without going through the details, dont you think this will cause an inifinite loop as the calling & the called programs are the same.
    Please enlighten me !!
    BR,
    Suhas

  • Dynamic select list with display,return val & join condition issue.

    hello,
    I am having a dynamic select list with display, return value
    say for example my select statement is
    select distinct dname d, deptno r
    from dept dt
    right join emp e on (e.deptno=dt.deptno)
    where (condition)
    when i tried this query for my select list, it is not working. It saying that
    " LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query. "
    I am not able to understand the problem. Can anyone help me out with this issue?
    thanks.

    Shouldn't your join have dept as the driving table?
    select distinct dname d, deptno r
    from dept dt
    right join emp e on (dt.deptno = e.deptno)
    where (condition)
    Or using older Oracle standard join
    select distinct dname d, deptno r
    from dept dt, emp e
    where (dt.deptno (+) = e.deptno) AND (OTHER WHERE condition)
    OR
    (Since a right join is just getting the values from the driving table that are NOT in the associated table)
    select distinct dname d, deptno r
    from dept dt
    WHERE dt deptno NOT IN (SELECT deptno FROM emp) AND (OTHER where condition)
    Thank you,
    Tony Miller
    Webster, TX

  • Flash Pro + createjs toolkit (dynamic button issue)

    Hi,
    I have been using the toolkit for awhile, it seems to work well, but I noticed a issue.
    When you create a Button and place it on stage and export it it works fine.
    But if you try to do this:
    var container = new createjs.Container();
    var button;
    for(var i = 0; i < arr.length; i++){
                                  button = new lib.MyButton();
      container.addChild(bitmap);
    stage.addChild(container);
    It goes crazy looping through the button's states (up, over, down, hit), and if you put button.stop(); it loses it mouse over and mouse down. (will have to manually control)
    I want to dynamically create buttons to add to the stage.
    Any ideas?

    Looking through the generated js code, I noticed this line
    new c.ButtonHelper(button, 0, 1, 2, false, new lib.MyButton(), 3);
    This did the trick.

  • Issue with dynamic selection in SAP Query

    Hi,
    I have a doubt in SAP QUERY
    i used that for creating Customer Master Report
    2 fields i have added in dynamic selection from knvv table. if i try to excute based on the value in that 2 fields
    i'm not getting  output records based on that
    pls help me with the logic from where i can get the variables for that dynamic fileds.
    thanks in advancde.

    Hi Suhas,
    Actually in my report user will enter program name & variant name, based on this I need to find out the value for that variant & print that report. so for normal selection I can get the detail using FM: "RS_VARIANT_CONTENTS" but for dynamic selection (Free selection), I am not getting the detail using this FM.
    So I need any FM or Table Name which gives me the value for dynamic selection based on the report & variant.
    Thanks & Regards,
    Lalit Soni

  • Dynamic Selection Issue

    hi
    We are developing trial for vendor and customer, for which we are using
    business place as a key field to filter the data , as we had validation
    for this at transaction level. I made for enhancement by
    using logical database KDF. Now as per my developer following are the
    things which he has done
    I make a Copy from SAP Selection view to Custom Selection View(Created by
    Customer) for logical Database KDF and add a function Group(02) in BSIK-BUPLA.
    Plz Guide us for the same, as the report is needed on business place level
    When we are executing the report( program name RFKUML00 ) as the changes
    we made is showing business place in dynamic selection, but the output is
    not affected by business place, means it is not fetching the values as
    per business place.
    Nitin Garg

    Hi Nitin,
    I don't think you can fulfill your requirement by only creating custom selection view of logical database KDF and assiging field group '02' to field BSIK-BUPLA.
    Because if you see the code of program RFKUML00, it only fetching records related with table LFA1,LFB1 ad LFC1.
    I suggest you to copy RFKUML00 into a Z program and then modified this as per your requirements.
    Regards,
    Vijay

  • Creating dynamic select list

    I have a dynamic select list populated by site names and URLs from a map; when a user clicks on an entry the site name and URL will fill two text boxes. There are also buttons to add, update, and delete entries. These buttons lead to actions within my JPF file.
              When I select an entry to delete, the script runs a delete SQL statement again my Ora db instance, then the page content is repopulated. I want to know how come when I do that I always get the sequence ID of the just deleted entry at the end of my select list.
              Here is a snippet of what I've got:
              JSP:
                        <netui:select
                dataSource="{actionForm.siteList[0]}"
                optionsDataSource="{actionForm.itemOptions}"
                size="4"
                tagId="siteList">
              <netui:textBox
                dataSource="{actionForm.title}"
                size="30" maxlength="200" tagId="title"/>
              <netui:textBox
                dataSource="{actionForm.url}"
                size="30" maxlength="200" tagId="url"/>
              <netui:hidden dataSource="{actionForm.key}"
                tagId="key"/>
              <script language="javascript">
                <!--
                <%=session.getAttribute("jsArray")%>
                  function siteClicked()
                    var index =
                      document[getNetuiTagName("process",this)]
                      [getNetuiTagName("siteList",this)][
                        document[getNetuiTagName("process",this)]
                        [getNetuiTagName("siteList",this)]
                        .selectedIndex]
                      .value
                    document[getNetuiTagName("process",this)]
                    [getNetuiTagName("key",this)].value
                      = index;
                    document[getNetuiTagName("process",this)]
                    [getNetuiTagName("title",this)].value
                      = siteArray[ index ][0];
                    document[getNetuiTagName("process",this)]
                    [getNetuiTagName("url",this)].value
                      = siteArray[ index ][1];
                -->
              </script>
                                  JPF:
                        Connection conn = null;
              query = "delete from stlnt_other_ref_sites " +
                      "where stlnt_ors_site_id = " + form.getKey();
              try {
                pstmt = conn.prepareStatement( query );
                pstmt.executeUpdate();
              } catch (SQLException ex) {
              try {
                Map map = new LinkedHashMap();
                while ( rs.next() )
                  map.put(new Integer(rs.getInt(1)), rs.getString(2));
                  jsArray += "siteArray[" + rs.getInt(1)
                    + "]=new Array(\"" + rs.getString(2)
                    + "\",\"" + rs.getString(3) + "\");";
                  hasResults = true;
                options = map;
                getSession().setAttribute("jsArray",jsArray);
                getSession().setAttribute("hasResults",
                  String.valueOf(hasResults));
              } catch (SQLException ex) {
              

    OK I got it working... Mostly... I don't know if it was a combination of changes that made the difference, but I'll put down what I did. First, I switched my select object in the form bean into just a string type from a string array (it was allowing the selection of one entry anyways). Second, rather than just blanking out the options map, I also blanked out the select object [eg form.setSelect("")].
              Now when I select an entry and click delete, the resulting select list is short one visible element. However, you can still select the blank spot where that last entry used to be. However, this is not a huge issue for me now; I will investigate this at a later time.

Maybe you are looking for

  • Why increase in monthly billing

    My bill was quoted at $101.49 and has been that amount; however, upcoming bill is for $120.14, a difference of $18.65. Please explain why the increase. Thank you.

  • Problem in J1IH

    Dear Friends While creating Excise JV for CENVAT adjustments (othr. adjs). and entering all the details for account RG23A I have entered the BED, ECS and TAX1 amounts. However on clicking on Detemine G/L Accounts the system does not display any G/L a

  • How do you make an alias of a sys pref panel

    I need to access the Sound Prefs Panel frequently... switching between inputs and outputs because of attached speakers, headphones, mics, etc. A shortcut would be nice. An alias of the Sound Prefs Panel perhaps??? Anyone know a way to do this?

  • Need suggestions for upgrading discontinued site templates.

    I'm currently working on migrating our MOSS 07 site to SharePoint 2013 (using 3rd party software). I have a site template that i'm not sure what i should convert/upgrade it too. I have a Budgeting and Tracking Multiple Projects (PROJMULTI#0) site tem

  • ADF Toy Store demo - problem

    I have just downloaded JDeveloper for the first time and installed the ADF Toy Store demo, but when I try to run it I get: C:\adf\adftoystore\FwkExtensions\src\toystore\fwk\controller\ToyStoreInitModelListener.java Error(4,8): InitModelListener not f