How to get current PopUp Window

Dear All,
I am using NetWeaver 7.1 sp1 and facing a problem. Actually I want to show a view in popup window. The popup window works fine but i want to get currently popup window. How can i get it in View and controller ??
I found a solution : wdContext.currentPopupElement().getWindowInstacnce();
but in wdContext there is no method like .currentPopupElement(). plz help.

Hi
wdContext.currentPopupElement().getWindowInstacnce();
  Here PopupElement is a attribute of IWDWindow type where u have to put the window instances (say For close or life control of that popup)
For further plz go through these doc
1. [Dialog|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/903fed0d-7be4-2a10-cd96-9136707374e1&overridelayout=true]
2. [Popup Window|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3&overridelayout=true]
Best Regards
Satish Kumar

Similar Messages

  • How can get the console window name of the current form?

    How can get the console window name of the current form?

    Try the various get methods of the viewObject such as getQuery:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/

  • How to display a popup window (DialogMessage) via code behind c#?

    hi all,
    How to display a popup window (DialogMessage) via code behind c#?
    I use sp 2013, in else case I want show the DialogMessage:
    if(condition)
    else
      HttpContext.Current.Response.Redirect(SPContext.Current.Web.Url+"/_layouts/TestError/ErrorDueDate.aspx");
    the above Redirect work good but I want show the error in a DialogMessage its better because of Usability and not redirect the user to new page...
    if not via code behind is there a better way to do it?
    thanks in advance
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    thanks for you answer,
    And yes I includ them via CDN, like below:
    <script
    type="text/javascript"
    src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script
    src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js"
    type="text/javascript"></script>
    <link
    href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css"
    rel="stylesheet" type="text/css"
    />
    But I get still the above error in my previes post.
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • How to get pop up window in mobile application using jquery

    i am trying to implement jquery in my mobile application.iam not getting how to get a popup window

    Ram,
    Write ur code in event <b>AT USER-COMMAND.</b> Create ur own screen and call that screen for example call screen 100 at 10 10. And after entering the date call the secondary screen.
    AT USER-COMMAND.
    Effect
    Event in interactive reporting
    This event is executed whenever the user presses a function key in the list or makes an entry in the command field.
    Some functions are executed directly by the system and thus cannot be processed by programs. These include:
    PICK
    See variant AT LINE-SELECTION
    PFn
    See variant AT PFn
    System command
    System command
    PRI
    Print
    BACK
    Back
    RW
    Cancel
    P...
    Scroll function (e.g.: P+ , P- , PP+3, PS-- etc.)
    Instead of this functions, you can use the SCROLL statement in programs.
    Since many of these system functions begin with "P", you should avoid using this letter to start your own function codes.
    Otherwise, the effect is as for AT LINE-SELECTION; also, the current function code is stored in the system field SY-UCOMM.
    Regards,
    Prakash.

  • I am getting the popup window that says my startup disk  full even after deleting many files.

    I am getting the popup window that says my startup disk is almost full. I have transfered most of my photos to an external HD, deleted most of my iTunes library, and emptied the trash. The problem is that with these steps, the diskspace did not increase at all-not even a megabyte. Any ideas why or how to fix it?

    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    df -Hl
    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • I get a popup window on shutdown: abort installation?

    I get a popup window on shutdown asking if I want to abort installation. I don't know what program is trying to install. But that generally stops the shutdown from completing. How do I find what application is being installed, and eliminate it?
    Running 10.10.2 on Macbook pro

    This has been going on for a while, I have no idea what it might be. The window does not state what is trying to be installed. Aborting the installation sometimes results in a shutdown, but also can block the shutdown, so I get a blank screen with the cursor - no spinning wheel.
    I just looked at the activity monitor, but have no idea how to read that. The following is just an example of part of what it shows.
    Activity Monitor    4.0    1.16    9    2    2139    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Firefox    0.9    16:19.59    52    14    466    janstittleburg    70 KB    280 KB    70    216    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    FMCore    0.4    1:18.61    15    25    353    janstittleburg    13 KB    79 KB    716    717    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    distnoted    0.2    33.55    7    0    216    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Mail    0.2    2:07.01    14    7    621    janstittleburg    11 KB    39 KB    90    109    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Photoshop    0.1    6:56.10    22    2    1066    janstittleburg    40 KB    12 KB    317    317    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Logitech Control Center Daemon    0.0    1.00    3    0    335    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Suitcase Fusion 5    0.0    7.01    18    1    224    janstittleburg    39 KB    396 bytes    396    396    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    32 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    NETserver    0.0    1.29    2    0    382    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    32 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    AdobeCrashDaemon    0.0    0.19    1    0    1068    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    mdworker    0.0    1.00    4    0    2059    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Notification Center    0.0    1.36    3    0    337    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    mdworker    0.0    0.11    3    0    2062    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    DataDetectorsDynamicData    0.0    0.14    2    0    435    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Preview    0.0    4.30    3    0    1538    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    iCloud Photos    0.0    0.67    7    0    343    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    TabletDriver    0.0    0.10    3    0    392    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    CalNCService    0.0    0.56    2    0    297    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    storelegacy    0.0    0.04    2    0    441    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    com.apple.hiservices-xpcservice    0.0    0.01    2    0    1351    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    com.apple.BKAgentService    0.0    0.03    2    0    1541    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    accountsd    0.0    0.54    2    0    300    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    storedownloadd    0.0    0.05    2    0    444    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    diagnostics_agent    0.0    0.31    2    0    349    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    mdworker    0.0    0.15    3    0    1832    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    IMDPersistenceAgent    0.0    0.06    2    0    303    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    mdworker    0.0    14.86    4    0    447    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    com.apple.ColorSyncXPCAgent    0.0    0.01    2    0    1069    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    CoreServicesUIAgent    0.0    0.40    3    0    306    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    loginwindow    0.0    1.60    2    0    70    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    UserEventAgent    0.0    2.04    3    0    214    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    com.apple.audio.SandboxHelper    0.0    0.01    2    0    1602    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    tccd    0.0    0.77    2    0    263    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    ContainerMetadataExtractor    0.0    0.08    2    0    407    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    storeaccountd    0.0    0.30    4    0    312    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Alert Detector    0.0    0.32    3    0    410    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Adobe Acrobat Pro    0.0    0.00    1    0    220    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    32 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    com.apple.iCloudHelper    0.0    0.07    3    0    2135    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    secd    0.0    0.77    2    0    269    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    com.apple.wifi.proxy    0.0    0.26    2    0    318    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Calculator    0.0    0.65    3    0    223    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    helpd    0.0    0.02    2    0    1228    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    iconservicesagent    0.0    0.28    2    0    272    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    ScopedBookmarkAgent    0.0    0.42    2    0    560    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    CalendarAgent    0.0    6.77    4    0    275    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    SystemUIServer    0.0    7.08    4    0    229    janstittleburg    3 KB    0 bytes    719    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    lsuseractivityd    0.0    0.77    3    0    284    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    cloudd    0.0    5.44    9    0    293    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    Yes  
    No    -    0 bytes    0 bytes    0 bytes    No   
    Dock    0.0    3.29    7    0    228    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    nsurlstoraged    0.0    1.26    2    0    289    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    fontd    0.0    4.99    3    0    249    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    No    No  
    No    -    0 bytes    0 bytes    0 bytes    No   
    cfprefsd    0.0    4.97    5    0    218    janstittleburg    0 bytes    0 bytes    0    0    0 bytes    0 bytes  
    0 bytes    0 bytes    0 bytes    64 bit    Yes    No  
    No    -    0 bytes    0 bytes    0 bytes    No   

  • How to close a popup window in a used component?

    Hi Experts,
    I have two applications in the same project, and they each have one component controller. Let they be component A and B. They have similar functionalities and screens. There is a popup window in A that I would like to use in B instead of creating a new popup window in B, so I added a used component of A in B in order to share the popup window. I am able to click a button in B to get a popup window from A successfully, but I am unable to close the popup window since the event has been created in A.
    Can anyone suggest me how to fix this please? I would really appreciate your help.
    Thanks,
    -Napadol

    Hi,
    You can either use the approach above, which is having an Attribute, type IWDWindow in B's Component Context. When you open the popup you store the reference. When you click close you get that reference back and destroy the window.
    Note, I'd suggest you to have your "View" with no Close Button. Then in Component A you create another View that has an UIViewContainer with your Popup View. You can code the Close code in Component A.
    This way you can do the same and have a code in Component B to close your window.
    Other way would be having it as a Component variable and using the Component Interface on A (create a Method) that goes to Component A and destroy that instance.
    Regards,
    Daniel

  • How to get current view name on clicking device back button?

    Hi,
    iam wriing a function for handling device back button(in android) press in my app.controller.js .How to get current viewname when clicking device back button.
    code samples will be helpful.
    my app.controller.js looks like below
    sap.ui.controller("com.opensap.App", {
      onInit : function() {
      document.addEventListener("deviceready", onDeviceReady, false);
      onBeforeShow : function(evt) {
      navButtonTap : function(evt) { 
    function onBackKeyDown(){
      //alert("hai");
      //sap.ui.getCore().byId("SalesDetail").app.backToPage("ProductList");
      //sap.ui.getCore().byId("ProductList").app.backToPage("Dashboard");
      //sap.ui.getCore().byId("SupplierDetail").app.backToPage("Dashboard");
    function onDeviceReady(){
       document.addEventListener("backbutton", onBackKeyDown, false);

    I somehow managed to find the solution
    function onBackKeyDown(){
      var app = sap.ui.getCore().byId("LoginDetail").app;
      app.back();

  • How to get current row data in table control

    Hi , expert ,
       I am professional in oracle ,  but  now I am a new guy in SAP ABAP .
    I  have a question in UI
    How to get current row data and click pushbutton  in table control  to open next screen ?
    I want to get the current data and open next screen to carry out detail detail .
    Thansk for all your suggestion .

    GET CURSOR LINE SY-CUROW .
      READ TABLE internal_table index SY-CUROW.

  • Subject: How to get a rolling window  query of last 12 months?

    Subject: How to get a rolling window of last 12 months?
    I am developing a report on 0TCT_C21. I want to compare process chain execution time for every month for last twelve months to see a trending report.
    How can I determine this information dynamically, i.e., when report is run, let us say in Dec 2009, it will show me 12 columns: Jan to Dec 2009, but if report was run in Dec 2010, it will show   12 columns results from Jan to Dec 2010.
    Any information will be greatly appreciated.

    Hi,
    Keep offset value-1, -2, -3, ... -11 for 0Calmonth.

  • How to get the parent window in sub-child controller class in javafx?

    how to get the parent window in sub-child controller class in javafx?

    You can get the window in which a node is contained with
    Window window = node.getScene().getWindow();Depending when this is invoked, you might want to check the Scene is not null before calling getWindow().
    If the window is a stage that is owned by another window, you can get the "parent" or "owner" window with
    Window owner = null ;
    if (window instanceof Stage) {
      Stage stage = (Stage) window ;
      owner = stage.getOwner();
    }

  • I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' it won't go away-'delete' is greyed out-can't access calendar! Help!

    I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!

    I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!

  • How to get current version of safari. without having safari browser?

    how to get current version of safari. without having safari browser?

    I don't understand the question. Safari is a browser.
    Can you elaborate on what your are trying to do that initiated the question? People may be able to come up with some other option that gets you working the away you want.
    When you respond, please post the version of the Mac OS and the version of Safari you currently have. Otherwise, people are guessing and the quailty of help you get plummets.

  • How to get current rowindex of clicked object in cr2008 preview control

    hi
    i want to get selected raw data when user click on crystal report 2008 preview control.
    i can achieve using following code for particular row no.
    Dim repReport as new ReportDocument
    repReport.Rows(RowIndex).Item(ColumnIndex)
    how to get current rowindex ? 
    Thanks
    Sanjiv Sharma

    Only way I can think of is to use the rowset controller from the InProc RAS SDK. Here is a snippet of a sample code on how to:
    //Load the report
    if (clientDoc != null) {
    //create metadata structure
    RowsetMetaData rowSetMetaData = new RowsetMetaData();  rowSetMetaData.setDataFields
    (clientDoc.getDataDefinition().getResultFields());
           Fields fields = rowSetMetaData.getDataFields();
           String colName,colTypeName;
           int colType, len;
           Field field;
           HashMap colNames = new HashMap();
           HashMap colTypes = new HashMap();
           for (int i = 0; i < fields.size(); i++) {
                   field = (Field) fields.get(i);
                   colName =field.getDisplayName(FieldDisplayNameType.description, Locale
    .ENGLISH);
                   colNames.put("COL"+i,colName);
           colType = getColTypeFromVariant(field.getType().toVariantTypeString());
           len=field.getLength();
                  //Placeholder
            //add column metadata to data structure or XML
            Object colValue;
            int rowCount=0;
            if (getMaxRows() != 0) {
                   RowsetCursor rowsetCursor = clientDoc.getRowsetController(). createCursor
    (null, rowSetMetaData);
                  //Setting the batch size to make sure that you get back all the
                  //rows by setting the batch size.
                        clientDoc.getRowsetController().setRowsetBatchSize (rowsetCursor
    .getRowset().getTotalRecordCount());
               //Getting the Results back starting from the first row
               RowsetCursor resultCursor = clientDoc.getRowsetController(). createCursor(null,
    rowSetMetaData);
               resultCursor.moveTo(0);
                  while (!resultCursor.isEOF()) {
                      for (int i = 0; i < fields.size(); i++) {
                               colName=(String)colNames.get("COL"+i);
                               colTypeName=(String)colTypes.get("COL"+i);
    colValue=record.getValue(i);
                                //Placeholder
    //add row data to data structure or XML
    resultCursor.moveNext();
    For more details, consult the Report Application Server .NET SDK Developer Guide
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to get Current row of ViewObject in the DoDML methode

    Hi all
    I have two ViewObject EmplyesView and DeptView
    How to get Current row of ViewObject DeptView in the DoDML methode of EmplyesView

    OK, we can play this game on and on...
    I'll ask for a use case (http://en.wikipedia.org/wiki/Use_case) and you don't give any info we don't already know. After an other 10 posts we probably know what you real problem is and can give you the advice which you could have gotten in the fist place.
    So please take some time and describe the problem as if you would ask your mother for help. Tell us how the data model is build and how the VO are related. Is there any input from an user involved? Which information from the other view do you need? How do you get to the doDML method? Is there a button in the ui involved?
    Timo

Maybe you are looking for

  • HP LaserJet P3005

    Need help trying to diagnose why printer stopped working.  I'm on a LAN at home but diagnostic utility unable to find printer - any ideas or suggestions?  Many thanks ~ cynth

  • Satellite M70-360: CEekey.eke cannot run because its missing the dll

    I accidentally removed the ekecioctl.dll and now everytime I start my laptop (Satellite M70-360) I get an error message saying that de CEekey.eke cannot run because its missing the dll. Does anyone know where can I download the dll? Thanks

  • Recover after zpool add -f ? Is it possible?

    Hello. Recently I've upgraded one of my machines to OpenSolaris 2009.06; the box has a few HDD: 1) main with OS, etc and 2) archive and ... After installing I created users, environment, etc on HDD(1), and then wanted to mount the existing ZFS for th

  • LUT in compressor 4.0 (new)

    Hi everyone! Just wondering before I download the new Compressor 4.0 if there is a way to import some sort of Look Up Table (LUT) 3D or 2D to adjust the look of the input file? Forexample a LOG-C ProRes file from Alexa to a Linear curve like REC709.

  • Issues with Service Pack 2 for Xcelsius 2008

    I installed SP2 for Xcelsius 2008 and after completion I opened the xcelisius and found the Vertical Axis Labels are disabled under the Apperance tab -> Text  for the columnar chart components. But when I insert a new component they become visible. I