How to get handle to a MST bean for a particular row in an advanced table

Hi
Requirement:
My advanced table has 2 columns, the 1st one has a LOV and the 2nd one is a switcher which toggles from LOV to MST depending on the value in the 1st column.
Implementation Steps:
1) Trap LOV event in 1st column and pass row index to the AM
2) Get the VO row from the row index (EVENT_SOURCE_ROW_REFERENCE), set the switcher attribute to MST/LOV depending on Business Logic
3) Get the view attribute value of the 2nd column (to which LOV/MST is mapped).
My LOV/MST gets rendered correctly on the page. However, when the LOV renders in the 2nd column, the view attribute is correctly populated in the LOV. But the MST renders with no value.
I understand that the MST loses value on form submission and that this value needs to be set in the PR of the CO. For that how do I get a handle to the MST bean of the particular row?
This is urgent!!
Thanks
Ritu

Pointers?
Anyway I can make the MST in the row return the correct view attribute?

Similar Messages

  • How to get the list of collaboration rooms for a particular user??

    Hello Experts,
    I have a requirement to get the list of all the collaboration rooms for a given user. I have started developing the Web Dynpro application by reusing necessary jars required to the web dynpro application.
    on some action I am trying to execute the below code:
    IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    which I have got from help.sap.com
    But, there's some exception being raised and not able to retrieve the list of rooms.
    Could somebody tell me what am I doing wrong.
    Regards,
    Raghu.

    Hi,
    the below is the code that I have used to get the list of rooms. But I'm getting into the NullPointerException .
    I have added the catch block for time being, but could you please let me know the reason for NullPointerException?
    public void onActiongetRooms(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongetRooms(ServerEvent)
         IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
         try{
              IService service = PortalRuntime.getRuntimeResources().getService(IRooms.KM_SERVICE_ID);
              IRooms roomsAPI = (IRooms) service;
              String roomID = "00bd6231-fdca-2c10-919c-97bf74054b7d";
              IRoom room = roomsAPI.getRoom(roomID);
              String roomname = room.getName();
              msgMgr.reportSuccess(roomname);
         } catch (NullPointerException e) {
              // TODO: handle exception
              msgMgr.reportException("Null Error:"+e.getMessage(), true);
         catch (RoomInstantiationException e) {
              // TODO: handle exception
              msgMgr.reportException("Error :"+e.getMessage(), true);
        //@@end
    Any thoughts are much appreciated.
    Thanks in advance.
    Raghu

  • How to get handle of a button that i created through Customisation?

    How to get handle of a button that i created through Customisation?
    I tried this in processformrequest ..failed :(
    String str2 = paramOAPageContext.getParameter("AutoDialler");
    if (str2 != null) {
    System.out.println("Inside AutoDialler Hurray");
    }

    this works well
    but can you give documentation support of whatever you are saying?
    public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    OASubmitButtonBean oasb= (OASubmitButtonBean)paramOAPageContext.getWebBeanFactory().createWebBean(paramOAPageContext,"BUTTON_SUBMIT");
    oasb.setID("xxSubmitAutoDialler");
    oasb.setUINodeName("xxSubmitAutoDialler");
    oasb.setEvent("xxSubmitAutoDialler");
    oasb.setText("xxSubmitAutoDialler");
    paramOAWebBean.addIndexedChild(oasb);
    public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    if ( strEvent.equals("xxSubmitAutoDialler"))
    //IMPORTANT Get this by calling the Function that loops for records.
    System.out.println("Inside processFormRequest Hurray");
    }

  • How can get a database like ****.SQL file for test in sqlplus in oracle8i

    How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks

    I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
    Are you trying to run a SQL file? From SQL*plus you can do either of these:
    SQL> start my_file
    or
    SQL> @my_file
    N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
    SQL> @myfile.run
    Here is the page Vijay referred to:
    Re: Physical storage Checks & adding disk on server. I hope you find it useful.
    You will more helpful links (including links to the Oracle on-line manuals at this page:
    Re: How to attach a java bean in forms6i
    good luck, APC

  • How to get the data from pcl2 cluster for TCRT table.

    Hi frndz,
    How to get the data from pcl2 cluster for tcrt table for us payroll.
    Thanks in advance.
    Harisumanth.Ch

    PL take a look at the sample Program EXAMPLE_PNP_GET_PAYROLL in your system. There are numerous other ways to read payroll results.. Pl use the search forum option & you sure will get a lot of hits..
    ~Suresh

  • How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "?

    Hello SAP Guru's,
    How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "? We have implemented SAP ECC 6.0 EHP4 version in the organization. If anybody have any idea, need help .
    Thanks in Advance.
    Prashant Kunjir

    Have a look at the following note:-
    Note 1573200 - How to restructure the statistic data of the sales information system (SIS)
    But before trying to carry out the process as detailed in the above note, first check with other SIS reports like MCTA etc., and no reports are showing correctly, then you can proceed.  Otherwise, you need to raise an OSS message with SAP.
    G. Lakshmipathi

  • Since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    Unfortunately, I have a very similar problem. Since I upgraded to os 5.1 on my new iPhone 4S the reminders screen will not add new reminders or scroll up and down. What's more strange is the screen will still scroll side to side allowing access to the Completed list, and both the Completed list and Date functions work normally so this must be an upgrades glitch.

  • I have lost all my notes saved on my iphone after syncing it. and my default mailbox is gmail. notes were very important. and now i dont know how to get them back. can anyone help me out please? thanks in advance.

    i have lost all my notes saved on my iphone after syncing it. and my default mailbox is gmail. notes were very important. and now i dont know how to get them back. can anyone help me out please? thanks in advance.

    Try this ..
    On your Mac open System Preferences > iCloud
    Deselect the box next to:  Notes
    Then reselect it.
    Give iCloud a few minutes to re sync the data.
    Other than that, try Time Machine >  http://pondini.org/TM/15m.html

  • How to get the file size (in bytes) for all files in a directory?

    How to get the file size (in bytes) for all files in a directory?
    The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
    Furthermore the size is not retrieved correctly.
    How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
    Thank you
    Peter
    java.io.File f = new java.io.File("D:/todo/");
    files = f.list();
    for (int i = 0; i < files.length; i++) {
    System.out.println("fn=" + files);
    if (new File(files[i]).isFile())
         System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }

    pstein wrote:
    ...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
    Here is an SSCCE.
    import java.io.File;
    class ListFiles {
        public static void main(String[] args) {
            java.io.File f = new java.io.File("/media/disk");
            // provides only the file names, not the path/name!
            //String[] files = f.list();
            File[] files = f.listFiles();
            for (int i = 0; i < files.length; i++) {
                System.out.println("fn=" + files);
    if (files[i].isFile()) {
    System.out.println(
    "file[" +
    i +
    "]=" +
    files[i] +
    " size=" +
    (files[i]).length() );
    }Edit 1:
    Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting.   To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.  It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
    Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get purchase organization,  PAYMENT_TERMS and INCO_TERMS for vendor?

    Dear friends,
    How to get purchase organization,  PAYMENT_TERMS and INCO_TERMS for a vendor(LIFNR)? I couldn't fine these data in LFA1 table.
    Thanks a lot!

    Hi,
    You can find ZTERM(Terms of Payment) in LFB1 table for a particular vendor (LIFNR) and company code.
    and Incoterms INCO1 in LFM1 table for a particular vendor (LIFNR) and purchase organisation.
    Hope this answers your query.
    Regards,
    Brajvir

  • How to get the elements out of a for loop simultaneously during the loop execution

    Hi, 
    I am student. I would like to know how to get the counter values outside the For loop parallely while the loop runs rather that getting the finally value outside the For loop. Looking forward for answers.
    Thanks,
    Athira
    Solved!
    Go to Solution.

    You could use a notifier (since it is a single value) or a reference (with a property node) to a control that gets the value elsewhere in another VI.
    If it is within the same VI, you could use a property node (right click > create > property node > value) from the control within the same VI located outside the loop.
    If you promiss NOT to abuse the use of Local Variables, you could use that to only write from ONE location within the For Loop to a control outside the loop, similar to the property node mentionned earlier.  (Of course, I will be struct by lightening for mentionning that and scolded by other LabVIEW coders for having a change of heart on the use of Locals....  Shivers are already crawling up my spine).
    You could use a queue, but that might be an overkill, unless:  the count is generated faster than it is being read elsewhere...
    As crossrulz mentionned, can you describe what you will be doing with the count?  Because synchronizing data (fresh / stale / etc) is very important within LabVIEW as it executes based on dataflow rather than a sequential order.
    Hope this helps. 
    EDIT: 
    You have not fully provided the answer.  We figured that much of your code from your description, but what is reading the value of the count?  Is it in a separate loop?  If not, it may only deal with the first value, which is likely 0.  The proper advice depends on how you process the received data (count).

  • New document alert: How to get PDF documents into Adobe Reader for iOS

    Opening PDF Files in Reader for iOS (iPhone and iPad) has been very helpful to many users of Adobe Reader for iOS.  However, Apple has drastically changed the user interface in iOS 7, which made the original document obsolete. 
    According to Apple Developer Support's App Store Distribution page, 89% of devices connected to the App Store are using iOS 7 during a 7‑day period ending June 29, 2014.
    Because of the exceptionally high iOS 7 adoption rate, Adobe Reader for iOS version 11.3 now supports iOS 7 only.
    Here are the new How-To documents for iOS 7.
    How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
    How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
    (It had to be split into two separate documents because each contains way too many screenshots.)
    Hope these documents are as helpful as the original one.
    Please let us know if you have any feedback or suggestions on the topics for other help documents/tutorials.

    Dennis (or any Adobe rep),
    Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
    Thanks,
    Cam

  • I accidentally deleted my iMovie off my mac, anyone know how to get it back because it came for free and is now 15 dollars to buy back??? pls help

    i accidentally deleted my iMovie off my mac, anyone know how to get it back because it came for free and is now 15 dollars to buy back??? pls help

    If you mean you accidentally removed the icon for iMovie from the Dock (the array of icons at the bottom of the window), you can add it back easily.
    Open the Applications folder (if you open it from the Dock you may then need to click the Open in Finder icon), locate the iMovie program.
    Drag the icon for iMovie down to the Dock, somewhere between the icon for Finder and the dashed line toward the right.
    Wait for the icons at that spot to move aside, then drop it in.

  • How to get text lables in x axis for xcelsius bubble chart

    Hi
    How to get text values in x axis for xcelsius bubble chart
    I have data as follows
    x axis: closed/qualification/lost
    y axis: deal age
    z axis: amount(bubble size)
    Thanks

    If you are using Xcelsius 2008 SP3 you will be able to do this.

  • How to get Dealership of Adobe Photoshop Elements for Mumbai, Maharastra, India

    Hello,
    i am doing wedding Album designing in india Using Adobe Photoshop Elements8 Licence Version.
    Also Developing Plugin for Adobe Premiere in Flex.
    How to get Dealership of Adobe Photoshop Elements for Mumbai, Maharastra, India
    any one have idea please help.
    thanks
    Dhiraj

    Hi,
    Thanks Barbara B. sure i will try.
    Thanks
    Dhiraj

Maybe you are looking for

  • How do I reformat my Seagate Expansion external hard drive so I can use it for Mac

    I recently purchased a 3TB Seagate® Expansion® external hard drive for PC. My plan is too reformat it so that I can use it, but it has been acting wierd on me. It says on Disk Utility that it is 4 gbs but I have a 3TB one. Im on OSX mavericks by the

  • Aggregation at Query level

    Hi, Does the aggregation at query level will not work in BI7. As i have a key figure with aggregation type summation in backend,there were some similar records when tried to set aggregation at query level it is not working summing the key figures. An

  • Stdio - file descriptor limits - Solaris 10

    Hi New to Solaris from HP-UX and we are porting an application. I run into a problem whereby we run out of file descriptors - application is TCP/IP and file I/O intensive. Sometimes it happens, sometimes not. It manifests itself as an error when call

  • Is It Possible To Copy Files To Multiple DVDs/CD-Rs In One Shot?

    Hi... I want to copy a complete set of files I have to make a backup of them onto DVD. However, the total amount of disk space is larger than a standard dvd... Is it possible for someone to copy them so they span several DVDs by splitting up the data

  • X301 and Win7 - some functions not working 100%

    Hi My x301 (2777-CTO) shipped 1 day AFTER the Win 7 launch, but had Vista on it (how much do I wish I'd waited to order, I didn't pay any attention to launch dates)  Anyway I had a legit copy of Win 7 business so I did a fresh install. I then went th