Re: Retrieving data from the check box group.....

Hi all,
I am new to webdynpro Java. I'm facing a problem while retrieving data from the check box group..
I've taken a simple type "Status" and Node with value attribute named status and set the property of that attribute as the simple type. This attribute is bound to the checkboxgroup.The cardinality of the Node is 0..n
But i am unable to read the checked items of the group.
Please help me out in solving my problem........

Hi,
Use the following
for (int x=0; x< wdContext.nodeTest().size(); x++)
     if( wdContext.nodeTest().isMultiSelected(x) )
                 // Selected Element
          IWDNodeElement nodeElement = wdContext.nodeTest().getElementAt(x);
           nodeElement.setAttributeValue("<Your Attribute> ", <Value>);
          //Ex setting value for attribute called Name
          nodeElement.setAttributeValue("Name", "Test");
Regards
Ayyapparaj

Similar Messages

  • Refreshing the 'Check Box Group' UI element

    Hi ,
    The requirement is the 'Check Box Group' UI element should be refreshed automatically . I am dynamically creating the 'Check Box Group' UI element and want to refresh it once I transfer the checked values from the Check Box group.
    How this can be realized !!!
    Best Regards
    Sid

    Hi Sid,
    CheckBoxGroup UI element`s content is done by binding property <i>texts</i> with appropriate attribute in context node. So, if you change data node and node elements, this will affect UI element immediately.
    Best regards, Maksim Rashchynski.

  • Crystal Reports - Failed to retrieve data from the database

    Hi There,
    I'm hoping that somebody can help me.
    I've developed a crystal report from a stored procedure which I wrote. I can execute the stored procedure within SQL Server and within the Crystal Reports designer without any errors. Furthermore, I have imported the report into sap and can run it within SAP from the server without any errors. SAP version 8.81 PL5
    The issue is that when it's run from a client machine, I get the following error: "Failed to retrieve data from the database. Details: Database Vendor Code: 156. Error in the File RCR10010 {tempfile location}
    Here's a list of things which I have tried, all to no avail:
    - Checked user permissions to ensure that they have proper authorizations
    - Re-set the datasource connection and re-imported the report to SAP.
    - Exported the report and reviewed the datasource connection and re-imported to SAP.
    - Tried to run the report on multiple machines to ensure that it's not machine specific
    - Tried to run the report using different users to ensure it's not user specific.
    - Tested other reports built from stored procedures on client machines to ensure that they work.
    Any assistance in this would be GREATLY appreciated.
    Thank you

    After further testing, we found that the report could be run within SAP on any work station which had the CR designer installed on it.
    As it turns out, the procedure which I wrote has temp tables in it.  The runtimes built into the SAP client install do not support creating temp tables when executing the report from within SAP.  Which is why the report could not retreive data.
    To work around this, I installed external runtimes which were the same version of the Crystal Report and now the report can be run within SAP from any workstation which has the external runtimes (and not just the runtimes within the SAP client).
    I hope this makes sense.

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • Failed to retrieve data from the database.DB Vendor Code 156

    Hi,
    We recently migrated our scheduled Crystal Reports from BO XI R2 platform to BO XI 3.1, and are having issues with select reports that pull from the same SQL database.  The tables and fields exist in the database - and I ran the SQL in a different tool and the syntax is correct.  When I try to run an on-demand or schedule one of these reports in 3.1 Infoview I receive the following error:
    Failed to retrieve data from the database. Details: [Database Vendor Code: 156 ]
    Running:
    CR 2008 SP2
    BO XI 3.1 SP2 (FP 2.7)
    Please advise!  Thanks!

    Hi LuAnn,
    Not really clear what he said but I believe this is correct. The BOE servers are typically running under the local System Account. So when it passed the report job from the BOE Server it is the Local System account that the database is getting. We only do single hop for security. Which means if you are logged into InfoView under your local domain account and try to run a report BOE will not, unless specified in the custom database connection options in the CMC, pass your credentials to the DB but will pass the local system account credentials which is likely why these reports are failing.
    As A TEST only Ask your Administrator to set up a user account in MS SQL Server that has rights to run all reports. Or when you create the report check on the option to use Trusted Authentication. Then when the reports are published to BOE your log on credentials should get passed to the DB server through BOE.
    You'll have to more testing to find a Use account that you can run BOE Servers under and still maintain DB security and report level security that works for you. I also suggest you post your security questions to the BOE Administrator forum to get help configuring all of this and what others are doing.
    Thank you
    Don

  • Report error "Failed to retrieve data from the database."

    Post Author: tknorst
    CA Forum: .NET
    I have an application using CR XI R2, and on certain users computers when they try to run a report they get the following error:
    Failed to retrieve data from the database.Details: &#91;Database Vendor Code: 229&#93;Failed to retrieve data from the database.Error in File C:\DOCUME1\turkj\LOCALS1\Temp\WhseEmpJobAndActivityByUserAndDate {22DA2F53-4391-4307-9F2A-0E3C3EBE2198A}.rpt
    The report uses SQLOLEDB (ADO) and integrated authentication - it runs fine on the development machine.
    I found very little info on this error on the web (google) - so I hope someone here has an idea.

    You need to make sure that those systems can get conneted to the database that is supposed to return data. To check that create a udl in clients machine.
    Also do not change the schema of he report.

  • Error retrieving data from the web server in Excel fo BPC

    Hello Everybody,
    I'm working with BPC v7.5 , i created some reports with the EVDRE formula and they were working perfectly.
    The problem started when i created new users, that in fact have the same access profile and task profile as my user.
    i started to test these new users in excel and every time i expand the report this legend appears: " EVDRE Retrying... EVDRE encountered an error retrieving data from the Web Server. Retrying in (X) Seconds...". After waiting a while a push cancel, then appears a window with the legend: Ev4excel Addin, Errors found retriening data.
    The funny thing is that when i login back to my user everything works fine again, any idea what could be the problem? the other user have the same permissions.
    Thanks a lot in advance!!
    Nidia Olguí

    very strange. Normally the member access profile must be diifferent. So it is not important the task profile but the member access profile. Can you please double check ?
    If you are doing a simple EVDRE with users having problems is it working or you still have problems?
    Regards
    Sorin Radulescu

  • TCP packet out of state: First packet isn't SYN & Outlook is trying to retrieve data from the Microsoft Exchange Server [CAS-ARray]

    We are transitioning from Exchange 2003 to Exchange 2010.  We found Outlook online mode (non-cached mode) have many warning "Outlook is trying to retrieve data from the Microsoft Exchange Server [CAS-ARray]", usually happen when users tried to open
    address book but sometimes even normal operation like click the Send button.  The problem does not affect OWA and extremely rare when Outlook is running in cached mode.  Check the firewall logs, we notice a lot of "TCP Packet Out of State" drops.
    We have a lot from the CAS/HT to DC/GC on TCP_3268 and LDAP.  And the errors are "TCP packet out of state: First packet isn't SYN" with tcp_flags FIN-ACK, PUSH-ACK.
    We also have a lot from CAS/HT to the Outlook Clients on the static RPC port (TCP_59933).   And the errors are "TCP packet out of state: First packet isn't SYN" with tcp_flags FIN-ACK, PUSH-ACK and RST-ACK, ACK.
    This happens even on Outlook 2010 which I though it has TCP Keep Alive implmented to keep the session active within 1 hour. 
    Can somebody tell me if these out-of-state are the cause of our problem?  And how to fix it?
    THANK 1,000,000

    Hello AndyHWC,
    I did some consulting with our CAS team and received the following feedback to your post:
    It is difficult to determine what is causing resets without seeing the captures first hand however, the concern is that you are seeing dropped packets on the firewall logs.  Where is this firewall located?
    Based on the description "Check the firewall logs, we notice a lot of "TCP Packet Out of State" drops." and "We have a lot from the CAS/HT to DC/GC on TCP_3268 and
    LDAP." indicates to me that the firewall is between CAS and GC.  This not supported under any circumstances and would explain the issue they are seeing with clients trying to "retrieve data from the GC".
    If there is not a firewall between the GC and CAS then a Microsoft support engineer would need to have concurrent Netmon Captures from client, CAS, GC during the
    issue to analyze.  If only one GC exists consider adding another GC to handle the client requests and for fault tolerance.
    Also verify that all NIC card drivers are updated to the latest driver version
    More information about firewalls with Exchange 2007/2010
    http://msexchangeteam.com/archive/2009/10/21/452929.aspx
    http://technet.microsoft.com/en-us/library/bb232184(EXCHG.80).aspx
    You can install the Client Access server role on an Exchange 2007 computer that is running any other server roles except for the Edge Transport server role. You
    cannot install the Client Access server role on a computer that is installed in a cluster. Installation of a Client Access server in a perimeter network is not supported.
    http://technet.microsoft.com/en-us/library/dd577077(EXCHG.80).aspx
    “The Installation of a Client Access Server in a Perimeter Network Is Not Supported
    Issue You may want to install an Exchange 2007 Client Access server in a perimeter network. However, this type of installation is not supported in Exchange
    2007.
    Cause The Exchange 2007 Client Access server role is not supported in any configuration in which a firewall is located between the Client Access server
    and a Mailbox server or a domain controller. This includes firewall devices, firewall programs, or any program or device that is designed to restrict traffic between two network locations.
    For correct operation, Client Access servers require typical domain connectivity to domain controllers and global catalog servers. Because any devices
    or programs that restrict or reduce access to domain controllers or global catalog servers may affect the correct operation of the Client Access server, we do not support this type of configuration.
    Resolution To resolve this issue, move the Client Access servers to the internal network. For more information about the ports that Exchange 2007 uses
    for various services, see Data Path Security Reference.”
    Thanks,
    Kevin Ca - MSFT
    Kevin Ca - MSFT

  • "evdre encountered a problem retrieving data from the webserver"

    Hi
    We are using a big report which takes very long time to expand and sometimes we get the error message "evdre encountered a problem retrieving data from the webserver" when expanding the report, but not very often for most of our users. But we have one user who gets this error message almost every second time he expands the report. This user have a computer with same capacity as the rest of us, can there be some setting on the computer or in the client installtion the cause this problem?
    We are using BPC 5.1 SP 5
    /Fredrik

    Hi,
    This error occurs usually if we have huge data in combination of our dimensions.
    Even, if the selection of your memberset is not apt to the combination of the data present in the back end, you may encounter a data retrival error.
    regards
    sashank

  • Failed to retrieve data from the database crystal reports 2008 in SAP  B1

    Hello friends,
                 I am using Crystal report 2008 with SAP B1 PL 8.8. When I run any report,  it runs correctly from Crystal Report. But whenever I try to open the same report through SAP ( Tools -> Preview External Crystal Report ), it prompts the parameters for that report and then open up the crystal report window and throws an Error message ("failed to retrieve data from the database. Details [Database Vendor Code: 156]").
               Please any one suggest me the corrective solution.
    Thanks in Advance,
    Keyur Raval.

    I had the same problem in SAP B1 2007. Report worked fine except when it was open from B1. Generally there may be different problems. In my case the same problem was caused by using some procedure which was in a specific schema. Changing the schema into "dbo" solved the problem.
    Radoslaw Blaniarz

  • Failed to Retrieve Data from the database.

    getting the following error message stating that
    Failed to retrieve data from the database.
    Details:4200:[Microsoft][ODBC SQL server Driver][SQL server] Incorrect syntax near 'Category ID', [Database Vendor Code: 102],
    i am not sure why I am getting above error message when running the report.
    I have a view linked to table. The Category ID is in View that I have created.
    need your help if you know what steps I should take to reslove the issue, thanks!
    mansoor

    Hi,
    Are all your data in the View or each time you run a query it update the View? Please try to update your View then run the Report again, much better if you delete the original View and replace with a new one,
    Regards,
    CLint

  • Failed to retrieve data from the database Error

    I had some reports setup in Crystal XI based on a Sql server but recently we had an upgrade, the database has been moved to IBM Informix.
    There is a certain table that seems to be causing the problem.
    The error: 
    "Failed to retrieve data from the database
    Details: 42000:[informix][informix ODBC Driver][informix]A syntax error has occured .[Database Vendor Code:-201]".
    I run the same query in MS Access and it seems to run fine.
    I even tried to do a simple dump of the table onto Crystal but no luck.
    Any help is appreciated.
    Thanks!
    Achett13

    Hi,
    It seems your ODBC Driver is not compatible, try to download a driver which supports Informix through CR XI.  I think you may have to download Data Direct Drivers 5.1 version to access Informix data tables through CR XI.
    You can google it for Data Direct Drivers 5.1
    Thanks,
    Sastry

  • Failed to retrieve data from the database Database Vendor Code: 2812

    Hi everyone
    Im using Sap Business One Version 2007A SP00 PL49, SQL 2005 and Crystal Reports Basic for Sap Business One (Add on 2.0.0.7). Whenever i try to generate a report from SBO the system displays the following message "Failed to retrieve data from the database DETAILS: [Database Vendor Code: 2812]"
    The scenario is that, according to the Colombia's product local expert, Is not possible to create Stored Procedures, Views, Functions or anything in the customer productive database, in order to improve the performance of the query i created other DB where i created an stored procedure, after that, i called it from Crystal where it's working ok. But when i try to generate it from SBO it show the message promted.
    Someone knows what could be happening
    I'll be thankful

    Hi Cesar,
    Please post your question to the Business One forum.
    I can't move this thread.
    Thank you
    Don

  • Failed to retrieve data from the database. Details: [Database Vendor .....

    Hello,
    I hope that is the right forum for this issue.
    We have the application 'Lodestar' for some years.
    The frond-end is ASP and the database is Oracle 9. Lodestar has its own backend language "Rules language". The crystal version is 10
    Now we have a new version of Lodestar with ASP and ASP.NET, Oracle 11g and Crystal 11.
    But when we run some reports with the new version we get the error "Failed to retrieve data from the database. Details: [Database Vendor Code: 1652 ] Failed to retrieve data from the database." When I google on this error then it seems that it has something todo with tablespace.
    We have changed the tablespace volume from 32Gb to 100Gb, but we still get this error.
    Has anybody an idea what the cause could be?
    Error
    <REPORT_ERROR>
    <REPORT_NAME>G_GV_DEALLIST</REPORT_NAME>
    <REPORT_TYPE>CRYSTAL</REPORT_TYPE>
    <MESSAGE>Failed to retrieve data from the database. Details: [Database Vendor Code: 1652 ] Failed to retrieve data from the database. Error in File G_GV_DEALLIST{54DEAA95-37B9-495B-B7E8-76BC575FA75F} {A3D1B090-322B-47D3-A84F-F003FF482C48}.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 1652 ]</MESSAGE>
    <STACK_TRACE>at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) at Lodestar.crComGen.crCrystalNet.crAppNet.crGenerateReport(String connectstr, String qualifier, String guid, String altconn, String login, String url, StreamWriter sw)</STACK_TRACE>
    </REPORT_ERROR>
    Thanks in advance.
    With regards,
    Nico

    Thanks all for you're reaction.
    Oke we have changed the temp space from 30 Gigs --> 200 Gigs, but still the problem occurs. To make the temp tablespace is not the good direction, this is what the dba'er told me.
    I'm not a guru with SQL/Oracle, but what for me hard to understand is" why does it work with the old version and not with the new version anymore?
    It is a very difficult view with unions (I'm not the developer of this view), and I think I'm gonna try to break-down this view in different small parts and try to find where it goes wrong. I don't see any other way to investigate this problem.
    (I see now the reaction of upul indika.)
    Edited by: user12054070 on 24-feb-2012 0:27

  • Failed to retrieve data from the database. 42000(Microsoft)(ODBC SQL Server

    Failed to retrieve data from the database. 42000(Microsoft)(ODBC SQL Server Driver)(SQL Server)Line 1: Incorrect syntax near 's'

    Hi Diptesh,
       What is your crystal reports version ? CRXI or higher?
    And does your filter bject consists of apostrophie s fields?
    If this is the case then this is a known issue try installing the latest service packs or fix packs to see if it resolves the issue?
    Regards,
    Vinay

Maybe you are looking for

  • How to replace the no data found key word in oracle

    HI all i have a table that contains employee id, employee name , so if i gave the correct employee id in where clause of select statement it will show employee name, in case if i give the employee id that does not exist in the table it will show 'Emp

  • In APP i need to send a check thourgh business area

    Dear Gurus, please tel me In APP F110 i need to send a check thourh business area please help me Regards, Shekar.

  • Not able to find out the path where i need to place the .plx file on server

    I have to make some changes in the PLL (library) file and compile it into it's .plx file and move the .plx to the server. I am not able to find out the path where i need to place the .plx file on the server. I have placed it in /iasapp01/app_name/lib

  • Error launching jboss

    While Launching the jboss..I am receiving the below error. though it was working fine yday. Any ideas? 2010-03-10 22:13:40,703 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected: javax.naming.NameNot

  • Can older verion of java run with new version ?

    I am new to java.I confuse with the version of java. I have buit system,like a website,with 1.1.8 version of java . Now, I will promote the JVM to the new version , like 1.2 version . What i will watch ? Is that ok ? Thanks everybody.