Reg - dropdownlist  and Table

hi all
i have a requirement in my application
i have view with two UI element one is a Table i.e., a Nested Tree Table which is on top and a DropDownKey list below the table.  The Dropdown contains Student, Employee, Faculty and so on.  When  i select a particular key element in dropdown corresponding data should be displayed in the table above.
what i think for this i need to go for GridLayout Viewset
and my problem should i make 3 different tables for different keys or else one table with 3 different java classes i.e., whenever i select a key that corresponding data should be loaded dynamically into the table at runtime.
please guide me
Thanks and Regards
khaja

hi Shubhadip
thanks for your guidance but it did work out im getting Tab0 in my dropdown when i select Student and Tab1 in my dropdown when i select Employee but the tables are not changing accordingly . i will explain clearly what i did
first ive created a TabStrip in my topview of Gridlayout viewset.  in that tabstrip ive create 2 Tabs named Tab0 and Tab1 which are tables and in the context of TabStrip ive two values nodes Std and Emp.and in the properties of Tabstrip view i have option selectedTab with Tab0 and Tab1 as options
Next in the second view which is below the Tabstrip view
i created a dropdownkey ui with Select as context value attribute.then event handler go
could u please go through and find out what went wrong with me
implementation of Dropdownkey listview
public void onActiongo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActiongo(ServerEvent)
     String str1=wdContext.currentContextElement().getSelect();
               if     (str1.equalsIgnoreCase("Student"))
                    wdContext.currentContextElement().setSelect("Tab0");
               else
                    wdContext.currentContextElement().setSelect("Tab1");
regards

Similar Messages

  • Reg:field and table name

    Hi Guys,
    I am developing one report for knowing the recognised amount ,but i am not able to get the field and table name .In system it is showing that VBRAV51HD:RVAMT_REAL_G.But this is a structure,how to get a field name for recognised amount.Please help.
    Thanks & Regards,
    Sash.

    Hi sash,
    I think u need to some R n D upon it. First take the structure and open it in SE11. Then try to find out what all tables does the structure comprises of. Then try finding the relevant fieldname of the table( which is also existent in the structure) getting accessed when the field is triggered. That may solve your problem. try finding the objective of your structure being shown.
    Abhijit

  • How to design a smartform with below tables and table-fields??

    How to design a smartform  and driver program using this tables and table fields
    FIELD DESCRIPTION     TABLE-FIELD                                   
    Tax Invoice No:     vbrk-vbeln                    
    Code     vbpa-kunnr where parvw = RG                                   
    Ship To     vbpa-kunnr where parvw = WE                                   
    PAN No     J_1IMOCUST-J_1IPANNO for WE                              
    ECC     ,,                                   
    Range     ,,                                   
    Div     ,,                                   
    Excise Reg No     ,,                                   
    LST No     ,,                                   
    CST No     ,,                                   
    Invoice No:      vbrk-vbeln                                   
    Do No:     vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZDO'           
    Sales Doc Num:     vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZSO'                             
    PO:     vbkd-bstkd where vbeln = sales doc no                                   
    Delivery No:     select vbelv from vbfa where vbeln = inv no and vbtyp_v = J                             
    Goods Removal Dt&Time:     select vbeln from vbfa where vbelv = dlv no and vbtyp_v = R Put this vbeln in mkpf and get BUDAT and CPUTM     
    Selection screen parameter should be : vbrk-vbeln.

    Hi,
    First design your form interface, this is the set of fields that you need to display in your form and create this as a structure in SE11.  In your print program code the logic to extract the data into this structure, this is just regular ABAP, nothing special here.
    When you have your data call function module SSF_FUNCTION_MODULE_NAME to determine the name of the generated smartform function module.  Then call this function module, passing the data collected into your structure.  If necessary you will need to find the print parameters required and pass these too.
    In your smartform you will need to use the data structure you created in SE11 as the smartform interface and design the layout required to display these fields.
    Regards,
    Nick

  • Is XS Project right for Database Schema and tables

    Hi Friends
    1.As per OpenSAP video it is suggesting to use XS Project for Database objects.
    In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type.
    There is an option for General ->Project - would that be the right one.
    2. Also in my UI I am not able to see the Prefrences->SAP Hana Development ->Repository Access to set the regit.exe. I did see couple of post mentioned about it but the response was not very clear , hence asking the question again.
    regards
    Poonam

    Hi Poonam,
    Poonam Hemrajani wrote:
    1.As per OpenSAP video it is suggesting to use XS Project for Database objects.
    In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type.
    There is an option for General ->Project - would that be the right one.
    Project is used to group all the required development artifacts and the libraries required for them. So based on your requirement you can choose. I think "General" project would suffice your requirement if it is only to create schemas and tables.
    But on the other hand if you choose to build an application using XS related libraries you can either choose to import those libraries later or create using a XS project now.
    Will wait along with you to see  Thomas Jung comments on this.
    Poonam Hemrajani wrote:
    2. Also in my UI I am not able to see the Prefrences->SAP Hana Development ->Repository Access to set the regit.exe. I did see couple of post mentioned about it but the response was not very clear , hence asking the question again.
    Firstly from SP7, it is not required to setup regi.exe file. This file resides in hdbclient folder. So you need to check where you have installed hdbclient to see if you have that regi.exe file and configure it accordingly in the Path ( Preferences --> SAP HANA Development --> Repository Access ) you mentioned.
    Regards,
    Krishna Tangudu

  • How to find how name of view and table using in Discoverer report

    Hi all,
    Please help me, i have requirement, i need name of views and tables used in discoverer reports.
    plz help its urgent.
    regards,
    Vivek Gautam

    As per my knowledge goes, We can see from Administrator which Folder is associated with a Workbook. Else you may have to manually open each and every workbook and look for the objects.

  • Field and Table for Pension Plan

    Can anyone tell me what are the field name and table name in Pension plan

    Hi Harini,
    In Table VBUK you 3 different status related fields for  sales documents.
    Over all status field name GBSTK ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its complete open)
    B  Partially processed     ( This means the sales doc is partially processed)
    C  Completely processed  ( This means the sales doc is completly processed)
    Delivery status  and over all delivery status field name LFSTK and LFGSK respectively, these 2 fields will be same always ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its completly  open)
    B  Partially processed     ( This means the delivery doc is partially processed)
    C  Completely processed  ( This means the delivery doc is completly processed)
    So overall status can be  different then delivery or overall delivery status.
    If sales document has 100 quantity for 1 material, if delivery is done for 50 quantity.
    Then over all status field name GBSTK will be B  Partially processed and delivery and overall delivery will be C  Completely processed  .
    Regards
    vK

  • Field and Table for PGI status updation

    Hi All,
    I want to know in which field and table the PGI status will get updated.
    i.e. once we do the PGI for a delivery in which table will this PGI status gets updated.
    Thanks in advance for help.
    Harini

    Hi Harini,
    In Table VBUK you 3 different status related fields for  sales documents.
    Over all status field name GBSTK ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its complete open)
    B  Partially processed     ( This means the sales doc is partially processed)
    C  Completely processed  ( This means the sales doc is completly processed)
    Delivery status  and over all delivery status field name LFSTK and LFGSK respectively, these 2 fields will be same always ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its completly  open)
    B  Partially processed     ( This means the delivery doc is partially processed)
    C  Completely processed  ( This means the delivery doc is completly processed)
    So overall status can be  different then delivery or overall delivery status.
    If sales document has 100 quantity for 1 material, if delivery is done for 50 quantity.
    Then over all status field name GBSTK will be B  Partially processed and delivery and overall delivery will be C  Completely processed  .
    Regards
    vK

  • Field  and Table name for purchaser

    I want to know the field and table name for purchaser id and purchaser name.
    Plz help me.

    Dear
    Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
    Purchser Name EKKO-ERNAM
    Purchase I D  EKKO-EKGRP
    Regards
    Aamir

  • Field name and table

    Dear Friends ,
    I want to display discount , P&F , excise , tax , fright , octori , insurance  so what is the fiels name for all fields and table name .

    You have to create the report bu fetching the report from the table EKPO - Doc condition no KNUMV. Use this no in the table KONV to get all your requirements aginst the field KSCHL - Condition types.

  • Field NAme and Table Name

    Hi All,
    I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
    Is there any way i can do it.
    Points will be rewarded for all useful answers.
    Regards
    AB

    if you know the transaction code you use to post the uploaded data in SAP, you just need to do BDC recording in using transation SM35. Record the whole process and create a program from the recording... and you wont even need to know the tables and field names-- almost everything will be done for you....
    All you need to do is replace record data with upload data.
    You can also try to look for a standard Function Module / BAPI which can do the processing for you and provide it with a table containing the upload data ...
    Reward points if useful

  • Where can i get   SALES  ORGANIZATION    FIELD and TABLE

    Can anybody tell me   where can i get   FIELD  and   TABLE  Name   OF  " sales organization    "

    Dear Sandeep,
    u will find VKORG is the Sales Organisation .
    u will find this Field in every related SD Module Table...
    Like ...VBAP,BKPF ..etc..
    Hope it helps...!!!
    Pls reward if Helpful...!!!

  • Storage Location Wise Stock Value field and Table

    Hi ,
    Please let me know the storage location wise stock value field and table.
    Regards
    Suresh

    Hi Suresh,
    As per my understanding it is not possible in a single Table.
    If this is required for customized Z report then use this logic it may gives the correct information.
    In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
    It may usefull to u..in the mean time i will try for some other option.
    Please revert if u have any query.
    Regards
    Durga Sana

  • MIGO tr Serial number field and table?

    Hi guys,
                  can anybody tell me how to find the field name and table for Serial number in MIGO tr Code?
                     in MIGO the Serial number field and Structure are GOSERIAL-SERIALNO.but i was not able to find the Actucal Field name and table where i can get the values based on PO and Asset Number's?
    Thanks,
    Gopi.

    Hello,
    I'm looking at the same problem here. I found the table SER03 in which you can enter the the material document. This returns 1 line in this table and from this one you need the OBKNR element
    You can copy this data and paste it into table OBJK element OBKNR and this returns all serialnumbers for the relevant material document.
    My problem is that i can't get these items on the sapscript. (WESCHEINVERS 1,2 or 3)
    Greetings
    Edited by: Lode Vandecruys on Apr 9, 2008 11:04 AM
    Edited by: Lode Vandecruys on Apr 9, 2008 11:09 AM

  • Purchase Order released date field and table name

    Hi,
    Please tell me the  Purchase Order released date field and table name.
    Regards
    Deepak

    Hi,
    Table : EKKO.
    Fields : FRGKE,FRGZU.
    You can get release date of PO from CDHDR  table.
    give object value as your po number and check.dont forget to give leading zeros.
    The udate will be date field and transaction will be me29n for relaesed po.

  • How to add a field and table control to BP transaction.

    Hi,
    I have a requirement to add a field and table control to the 'Control data' tab of the Transaction BP.
    Can some on please help me if having a solution and with any relavant documents.
    Thanks in advance.
    Raj & Khader.

    Also explore with EEWB tcode.
    Refer this threads
    Re: EEWB
    Created New fields in Business Activity with EEWB
    Cheers
    Manohar

Maybe you are looking for

  • Sync Calendars like "Calendar", "Home", and "Work" with Google Calendar

    When I go into the iCal program on my mac, I have three calendars that I assume iCloud/iCal creates automatically for you. The ones that are showing up for me include: "Calendar", "Home", and "Work". All of these three calendars are under the iCloud

  • Problem in Sending External Mail

    Hi all, I am facing a problem in sending message to the external mail server. My problem is i have created a workflow template and in that i have created a send mail step and in that i am giving a message and the recipient type is email address and t

  • I can't read the pdf documents with iBook in my MacBookPro. The documents can't be opened. Please, help me

    I have more than 2500 pdf documents in my MacBookPro, but I can't open them with iBooks. I don't know what happens. The iBooks worked properly until my upgrade to Yosemite. Is now a problem using Yosemite?

  • Remote: Albums sortet by album names and not by "Interpret"

    Hi, Why Remote sort the albums by album name? this is the second bug which is not "fixed" with the new version 2.0 of Remote. Again with the "Compilation" problem in my previous post I'm wondering why nobody is asking for that "bug"? The best solutio

  • Installation of Solaris 86

    Hi, I have an old dual boot windoze 98 /mandriva Linux machine, which I want to totally convert to solaris. I down loaded solaris 10, but my machine is 1998, so only supporting installation from floppy, and there is no floppy for solaris 10 - you can