Using Drop down box in a table control

Hi,
  I'm new to ABAP. I'm trying to use drop down boxes as fields inside a table control.Im using 2 fields (f1 and f2). I want to dynamically populate values in f2 based on f1 i.e once i choose a value in f1 and click on f2 , it should give me a list of values in f2 based on the value of f1. f1 and f2 are from different tables.
what i have done : i am able to populate values in f2 (based on the value of f1)
Problem::
1. Once i choose a value in the field f1, the value is not remaining in the field. Once i choose, the value blinks for a while and goes off ! ... ( my guess :: PBO is clearing it )
2. After i choose a value in f1 in the first row, the corresponding values in f2 are getting populated in all the rows.

Hi!
For your first problem: Try to handle normal field (without table control) first.
In PAI, you have to move value from dynpro field to your program field. In case of tables, you have to modify corresponding line of internal table.
Then next PBO will read updated value and screen display doesn't loose any longer changes.
In case of identical naming of screen fields / global fields in program, some movements are done automatically by system based on this naming. That's of course not possible with internal tables, so try a global field with a name different to field on screen to see the behavior.
For your second problem: I guess, your struggling with a global work area of your internal table, which is not correctly filled with screen values for each time -> once filled, all lines changed.
Regards,
Christian

Similar Messages

  • Poor performance when using drop down box on web report

    We are using dropdown box functionality in web reporting to allow easy selection of characteristics values. We have 4 dropdown boxes
    that represents Region, Area, Country and division.
    We need to use booked_values = 'Q' to show only relevant values for selection in the dropdown. However the issue is takes a long time for results to appear
    on the template. Read from Fact table is quick but process of deriving drop down values is very slow.
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="BORDER_STYLE" value="BORDER"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="IOBJNM" value="ZPC_ORG14"/>
             <param name="BOOKED_VALUES" value="Q"/>
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1"/>
             ITEM:            DROPDOWNBOX_1
    </object>
    Do you have any suggestions on how to improve performance on drop down?
    Thanks, Jay

    Dear Jayant Dixit,
    1) If the values in the drop down box....are NOT dependent on user selection...then webserver can send them along with the first page....and cache them on client m/c...for multiple client/server dialogs....
    2) If the values are changing based on what the user selected from a previous input......then...you need to do some research on how SAP Webserver could optimize the "network traffic"......For example: a) Apache webserver has a module that compresses the content on the webserver side and then send to the client...b)A Client browser plugin decompresses the received packet and displays appropriately....
    3) We may need to research the latest SAP webserver capabilities....
    Good luck, BB

  • Email submit button using drop down boxes, cc field and

    I have a form that I would like to have the employees use a drop down box that already exists on the form with names and email addresses and use those names in the to field of an email submit button.  Also, I do have a static cc: address in teh cc field and for the subject of the email to use  an existing field such as the name field as the subject of the email and attach the form to it.

    I tried that but it  does not seem to be working.  I am a JavaScript Novice.  I am trying  to use the mailto field based on email addresses in a dropdown box, a static cc field like cc: [email protected] and for the subject to be based on the company name field on the form.  But before all of that I want to make sure all the required fields are filled out.  help I have been working on this for over a year.  It may seem simple but it's not working.

  • Hi, im using ff 8.1, and when i use drop down boxes the options show but it doesnt change when i select an option.

    So im using this website, and im not sure if this problem occurs with other website because i havent come across any, but i select the drop down box menu, the options appear, i select an option, but it doesnt actually use my option it just goes back to default. This website is like a form filling interface so i need to save it at the end, but firefox doesnt allow me to do that either.
    It works on google chrome fine so i doubt its a problem with the website. I have only just installed firefox 8.1 and havent changed any settings or applied any addons.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 and later Safe mode disables extensions and disables hardware acceleration.
    *http://kb.mozillazine.org/Safe_mode
    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.

  • Drop Down in WDA4 in table control

    Hi All,
    I am facing Problems here ;-
    I have developed a table control in WDA4 application i have 3 dropdowns which are dependent on each other i.e. when i select the entry in the first one then corresponding to that entry the data should be shown in next drop down and same goes for the third one .I am using dropdown by index here .
    Thnks ,
    Sahil

    >Can you please let us know how to do this.
    Which part of what you describe and what exactly are you having problems with.  You can of course change the cell editor of your column to DDLB.  Is that where you are having problems.  Or are you trying to decied between DDLBByKey and DDLBByIndex.  For that I would suggest you read the following:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bb/69b441b0133531e10000000a155106/frameset.htm

  • How to use Page down functionality in BDC Table control

    Hi Guys,
    I am facing problem with populating data in the table control at item level. I am able to poulate upto 6 records, i need to populate n number of records.
    Pls help me with using P+ functionality for table control in BDC.
    Thanks in advance
    Satish

    Hi!
    Can you share how you got this solved?
    Thanks!

  • Drop down box in alv table

    How to add a dropdown box in an alv table ?
    this is what i did :
    DATA : list_field TYPE REF TO cl_salv_wd_uie_dropdown_by_key.
    CREATE OBJECT list_field
    EXPORTING selected_key_fieldname = 'COLUMN_ID'.
    ls_columns-r_column->set_cell_editor( list_field ).
    but how to populate the dropdown box ??

    Hi Mayaa,
    Please use this method.
    insert the value u wish to see in dropdown in this table itab_dropdown and call this method.
      wa_dropdown-handle = '3'.
      wa_dropdown-value = 'abc'.
      APPEND wa_dropdown TO itab_dropdown.
    CALL METHOD wa_grid->set_drop_down_table
        EXPORTING
          it_drop_down = itab_dropdown.
    Hope this helps........
    Regards,
    Kunjal

  • Having trouble w/ highlighting text (last character never shows it's highlighted), using drop down boxes, and my browser keeps crashing past few days.

    I clear my cache and cookies regularly (1-3 times per day), I have reset firefox, and I have uninstalled and re-installed.
    This is the only browser on my computer I am having an issue with.

    Could you test in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox including hardware acceleration of graphics. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • Showing an object name in a webtemplates using a drop down box

    Hi Experts,
    i have created a Web-Template which is showing a chart and a tabelle.
    I would like to print the webtemplates as a PDf version using differents views by using drop down Box gewählt .
    It it working.
    Problem:
    How can i show the name of the object selected in the drop down box als Titel?
    I would to display the name of the selected object als Titel.
    Thank you for your inputs.
    Cheers

    Your treating the object like it has a literal value.
    E.g. you can treat a varchar2 as a literal value as it contains exactly that:
    declare
    s varchar2(20) := 'Hello World';
    cmd varchar2(100);
    begin
    cmd := 'DBMS_OUTPUT.put_line('''||s||''');';
    DBMS_OUTPUT.put_line( cmd );
    end;
    Result: DBMS_OUTPUT.put_line('Hello World');
    Now what exactly do you expect the compiler to put as a literal value when you change variable s in this sample code to a complex type that does not contain just a single literal value?
    To fix your code, try the following approach:
    declare
    cmd varchar2(200);
    begin
    cmd :=
    'declare
    s TString;
    begin
    s := new TString( ''str1'', ''str2'' ):
    TestPackage.Process1( s );
    end;';
    DBMS_OUTPUT.put_line( s );
    end;
    Result:    declare
              s  TString;
         begin
              s := new TString( 'str1', 'str2' ):
              TestPackage.Process1( s );
         end;As for using dynamic SQL properly, consider using bind variables (which also support Oracle classes/advance data types). The following code illustrates:
    SQL> create or replace type TString is table of varchar2(4000);
    2 /
    Type created.
    SQL>
    SQL> create or replace procedure ShowString( s TString ) is
    2 begin
    3 for i in 1..s.Count
    4 loop
    5 DBMS_OUTPUT.put_line( s(i) );
    6 end loop;
    7 end;
    8 /
    Procedure created.
    SQL> exec ShowString( TString('1','2') )
    1
    2
    PL/SQL procedure successfully completed.
    SQL> declare
    2 cmd varchar2(200);
    3 s TString;
    4 begin
    5 s := new TString( 'Tom', 'Dick', 'Harry' );
    6 cmd := 'begin ShowString( :0 ); end;';
    7 execute immediate cmd using s;
    8 end;
    9 /
    Tom
    Dick
    Harry
    PL/SQL procedure successfully completed.
    SQL>

  • WAD - How to Minimize the Space Between Drop-Down Box and Table

    Hi all,
      I am trying to display a query in 'Table' with Web Application Designer (WAD). First, I have placed the 'Drop-down box' web-item and 'Table' web-item below it in the Web Template. There is an half-inch of space between the 'Drop-down box' and the 'Table' when it displays on the browser. It doesn't look good with this gap.
      How can I eliminate or minimize this gap, PLEASE ?.
    Thanks.

    Hi Ingo & Hari,
       Thanks a lot for your help. Now it reduced the gap between the drop-down box and table to 3mm on browser.
    But, there is no gap on web template. If we change some settings, we could still further reduce the gap while displaying it on browser.
      Any new suggestions, PLEASE.  Thanks again.
    <!--BW HTML data source object tags: -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="TESTWBOLAPQUERYUSER1"/>
             TEMPLATE PROPERTIES
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="QUERY" value="Z_BWSTAT_OLAP_PER_QUERY_USER"/>
             <param name="INFOCUBE" value="0BWTC_C10"/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <html>
      <head>
        <title>BW Web Application</title>
        <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
      </head>
      <body>
    <P align=left>
    <TABLE cellSpacing=1 cellPadding=1 width="75%" border=0>
      <TR>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="69"/>
             <param name="IOBJNM" value="0TCTUSERNM"/>
             ITEM:            DROPDOWNBOX_1
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="19"/>
             <param name="IOBJNM" value="0TCTIFCUBE"/>
             <param name="MAXVALUES" value="1"/>
             ITEM:            DROPDOWNBOX_2
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="34"/>
             <param name="IOBJNM" value="0CALDAY"/>
             ITEM:            DROPDOWNBOX_3
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="22"/>
             <param name="IOBJNM" value="0TCTQUERY"/>
             ITEM:            DROPDOWNBOX_4
    </object></TD></TR></TABLE>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="505"/>
             <param name="BORDER_STYLE" value="FORM"/>
             <param name="ALT_STYLES" value=""/>
             ITEM:            TABLE_1
    </object></P>
    <P align=left> </P>
    <P align=left> </P><FONT color=#0000ff size=2>
    <P align=center></FONT> </P>
    <P align=center> </P>
    <P align=center> </P>
      </body>
    </html>

  • Standalone Interactive Forms without ABAP Dynpro and Drop down boxes

    Friends,
    I need to create Adobe interactive form with drop down boxes. I have 2 questions:
    1) do i need to use abap dynpro to display the form or can i display the form using print program
    2) for using drop down box, should i use the one from standard library or Web Dynpro ActiveX or Web Dynpro Native library
    Points will be rewarded for helpful answers.
    Thanks.

    Hi,
    Its not necessary to have ABAP web Dynpro to create and display adobe forms. You can display it in programs in ABAP. Go to following link to know more:
    [https://www.sdn.sap.com/irj/sdn/adobe#section39]
    There is a sample application for Adobe form in ABAP and lot more.
    You can use web dynpro Native dropdown list.
    Hope it will help you.
    Regards,
    Vaibhav Tiwari.

  • Drop down boxes like the ones used for dates don't work and hav'nt work for quite a while. What's going on?

    Drop down boxes have not worked for the last few revisions of
    Firefox. I've tried eliminating all add ons etc. bit to no avail. It does
    not seem like this should be such a big problem to fix, since these
    objects used to work fine in the past. I really like Firefox otherwise
    and would hate to have to resort to another browser. The drop down box shown below does not work either, but that may be due to lack of content.

    Yes, I've disabled everything. Even changed Windows 7 Themes, but no luck.
    After sending this reply, it occurred to me that Actual Window Guard might be
    the problem. When I excluded the Firefox window from Actual Window Guard
    control the drop down boxes worked. Wish I would have thought of it sooner. Thanks to everyone who made suggestions and tried to help. I really do appreciate your time and effort.

  • I just bought a Dell Precision M3800 laptop - screen res 3840 x 2160  when I open photoshop the task bar and tools and layers etc are in 4pts size   I changed my % in my image in my control panel and if I go to open file the drop down boxes are in good pt

    I just bought a Dell Precision M3800 laptop - screen res 3840 x 2160  when I open photoshop the task bar and tools and layers etc are in 4pts size   I changed my % in my image in my control panel and if I go to open file the drop down boxes are in good pt sizes  how do I make the layers and tool bars bigger?  Please help@

    Windows will scale applications display or windows will not scale application display depending on how the application is coded.  Photoshop is coded in a way that its display is not scaled by windows.  Photoshop knows about your displays high pixel count not its resolution  so it uses its pixels  however it does not scale its UI to make it usable on your display.  Other application let Windows  scale their display output.   For example Microsoft default for is Surface Pro 3, 216 ppi display is to scale applications display up 150% so the surface pro 3 display which has 2160x1440 pixels a 216 ppi resolution look like at display with the user is using with 1440x960 pixels.  The Application works like the display is 1440x960 and Windows scale those pixels to the displays using the displays  2160x1440 pixels the effectively changing it resolution to 144ppi rather than the actual 216ppi.
    The reg update  and external manifest file  effectively tells photoshop its working on such a size display display some number of pixel wide and some number photoshop uses that as the display size  in turn Windows scale those pixels to use the displays 2160x1440 pixels efector lowing its 216ppi resolution.  Photoshop CC 2014 2X UI would be like using windows 200% option applications would be shown the are working on a display 1080x720 instead of the Surface Pro 3 2160x1440. Note that 1080x720 does not meet PS requirement of 1024x768.  Photoshop UI would not fit on the Surface Pro 3 display..
    Since you have a 4k display if you have CC 2014 you can use its 2x UI effectively Photoshop will be running on a 1920x1080 display and have half the resolution of you 4K display  3840x2160 pixels four native pixels are use as a single pixel.   1920x1080 pixels exceed PS requirement.

  • AppleScript how to use "get" for field information and drop-down boxes?

    Hi all,
    First post.
    Looking to use the "get" function or similar for getting information in a list or from a drop-down box or a field.
    Example, you open keychain, open the info. for a cert and want to read the currently selected trust setting for "When using this certificate" drop-down.
    Or, you want to check the Common Name field under details.
    How would I return these specific values?
    Thank you,
    -b

    The exact question being asked here: http://forum.soft32.com/mac/select-table-row-ftopict101735.html
    But, that doesn't work with the latest AppleScript.

  • When I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome the b

    when I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome this.

    Delete abd re-enter your Facebook account information jnder the accounts tab in the iPhoto preferences
    You may also want to take a look at the user tip for Facebook problems
    LN

Maybe you are looking for

  • Error in Using Aggregate Persistence

    Hi All, I created an aggregate file called NewScript.sql in C drive using aggregate persistence wizard. And am trying to run the file using command prompt using following command .. C:\OracleBI\server\Bin>nqcmd.exe -d AnalyticsWeb -u Administrator -p

  • How to generate field on UCM check-in form???

    Hi, How to generate field on UCM check-in form??? I mean in check-in new document form i have an option list metadata field (ex: Type) When i select Person like Type value, it generate me input text depended on it for exemple - Name (input text) - Ad

  • Older IPod and iH4 player

    I have an older 20gb ipod and just bought an IHome 4 player. Obviously none of the adapters are right for it, but it didn't seem to need one-I put the ipod on top and it played one song and then quit. The IHome is working fine with all the controls,

  • Drag and drop error in new acrobat pro 11

    I would be able to drag pages from a PDF opened in Internet explorer and drop the pages I wanted to a PDF opened in acrobat pro. In version 10 this worked but now in 11 it does not. How do i get this function to work again?

  • Convrting a Script data into excell sheet

    Hi Masters, A very good morning to all, This is kalyan. I have doubt on scripts. How will we convert a script  data into spreed sheet (or) Excel sheet or any other.if it possible how? please put a lights on this issue.kindly give a valuable solutions