CRVS2010 beta - Date field from database does not display in report

Hi there - can someone please help?!
I am getting a problem where a date field from the database does not display in the report viewer (It displays on my dev machine, but not on the client machines...details given below)
I upgraded to VS 2010
I am using the CRVS2010 Beta
My development machine is Windows 7 - and so is my fellow developer's
We are using Microsoft SQL Server 2000
We run the queries within VS and then we send the data table to VS using .SetDataSource
We have a few reports which display the date on our dev machines (whether we run the EXE or from within Visual Studio)
When we roll out to the client machines (running Windows XP SP3) then everything works, except that the date does not display (on quite a few reports)
This is the only real issue I have had - a show stopper for me
The rest works well - any input will be greatly appreciated
Regards,
Ridwan

Hi Ridwan,
After much testing I have it all working now using CRDB_adoplus.dll as a data source ( XML )
Alter your Config file to look like this:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
Then using the code below, and CR requires the Schema to be able to read the date format.
private void SetToXML_Click(object sender, EventArgs e)
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
ISCDReportClientDocument rcd;
rcd = rptClientDoc;
string connString = "Provider=SQLOLEDB;Data Source=dwcb12003;Database=xtreme;User ID=sb;Password=password";
string sqlString = "Select * From Orders";
OleDbConnection oleConn = new OleDbConnection(connString);
OleDbDataAdapter oleAdapter = new OleDbDataAdapter(sqlString, oleConn);
//OleDbDataAdapter oleAdapter2 = new OleDbDataAdapter(sqlString2, oleConn);
DataTable dt1 = new DataTable("Orders");
oleAdapter.Fill(dt1);
System.Data.DataSet ds = new System.Data.DataSet();
// We need the schema to get the data formats
ds.WriteXml("c:
sc.xml", XmlWriteMode.WriteSchema);
//Create a new Database Table to replace the reports current table.
CrystalDecisions.ReportAppServer.DataDefModel.Table boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
//boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
PropertyBag boMainPropertyBag = new PropertyBag();
//boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
//In the main property bag (boMainPropertyBag)
PropertyBag boInnerPropertyBag = new PropertyBag();
//Set the attributes for the boInnerPropertyBag
boInnerPropertyBag.Add("File Path ", @"C:\sc.xml");
boInnerPropertyBag.Add("Internal Connection ID", "{680eee31-a16e-4f48-8efa-8765193dccdd}");
//Set the attributes for the boMainPropertyBag
boMainPropertyBag.Add("Database DLL", "crdb_adoplus.dll");
boMainPropertyBag.Add("QE_DatabaseName", "");
boMainPropertyBag.Add("QE_DatabaseType", "");
//Add the QE_LogonProperties we set in the boInnerPropertyBag Object
boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
boMainPropertyBag.Add("QE_ServerDescription", "NewDataSet");
boMainPropertyBag.Add("QE_SQLDB", "False");
boMainPropertyBag.Add("SSO Enabled", "False");
//Create a new ConnectionInfo object
CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
//Pass the database properties to a connection info object
boConnectionInfo.Attributes = boMainPropertyBag;
//Set the connection kind
boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
//*EDIT* Set the User Name and Password if required.
boConnectionInfo.UserName = "";
boConnectionInfo.Password = "";
//Pass the connection information to the table
boTable.ConnectionInfo = boConnectionInfo;
//Get the Database Tables Collection for your report
CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
boTables = rptClientDoc.DatabaseController.Database.Tables;
//For each table in the report:
// - Set the Table Name properties.
// - Set the table location in the report to use the new modified table
boTable.Name = "Orders";
boTable.QualifiedName = "Orders";
boTable.Alias = "Orders";
rptClientDoc.DatabaseController.SetTableLocation(boTables[0], boTable);
//Verify the database after adding substituting the new table.
//To ensure that the table updates properly when adding Command tables or Stored Procedures.
rptClientDoc.VerifyDatabase();
MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
Thanks again
Don

Similar Messages

  • CRVS2010 beta -  date field not display in details section

    I use Visual stdio 2010 so i install crystal report 2010 for report.
    It work fine .
    but in report detail section there is date field then it will not be display.
    alos if we do group on date field it will give error when we try to open report.
    Plese geve me possible soluction for date field problem.
    Edited by: hitesh_tatva1 on Jun 22, 2010 11:35 AM
    Edited by: Don Williams on Jun 22, 2010 7:20 AM

    Solution Found
    Don't install sp2it sucksclassic case of the cure being worse than the disease.
    Downloading and installing the SP3 redisist fixed the issue.
    This link is probably appropriate:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Software Product->select Crystal Reports
    Version->select Crystal Reports 2008
    important part
    Software Type->Utility Click Search Download the redist install.
    Not very intuitive, but you'll need to do this so you download the runtime and not the full version.
    Hope that saves you the 5 hours it took me to figure this darn thing out...I hate unintuitive products--they aren't very professional.
    +
    SAP, where do I send the bill for supporting your own product?
    I too have the same problem. Hopefully we can get a solution to this soon as the delayed release of the 2010 runtime has us in a difficult place.
    The problem: I upgraded my project to Visual Studio 2010; therefore, I upgraded to the Crystal Reports for Studio 2010 beta.
    Everything worked fine until I modified the app.config so that I could deploy the application into our test environment. We do not have Visual Studio installed in this environment, so we needed to have a Crystal Reports Runtime. According to the SAP website deployment guide, currently the only way to deploy a 2010 app is to use the 2008 runtime by modifying the app.config file to redirect the bindings.
    __Now, none of my date fields appear on the reports.__
    Just to test, in my development environment, I commented out the redirects in the app.config and the dates appeared. I uncommented the redirects so that the 2008 runtime would be used and then my dates disappeared from the report.
    Here is the entry I put into the app.config:
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.Framework" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.InfoStore" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    Your help is much appreciated.
    Thanks,
    Michael
    Edited by: SaganDraxan on Jul 16, 2010 8:23 PM

  • MobileMe Gallery from A3 Does not Display Key Photo

    When I post from Aperture 3 to MobileMe, the Gallery preview pic does not display the key photo anymore. Skimming still works, but the preview pic as seen in the gallery is not displayed. Instead of the preview picture, an icon is displayed that is gray with two stacked pictures.
    If I go to me.com and manage the gallery from there, I do see a preview picture but not the key photo. Instead, I see the first photo from the project.
    In Aperture 2, I did not see these behaviors.
    Anyone else seeing this problem?

    Ron Kaplan wrote:
    When I post from Aperture 3 to MobileMe, the Gallery preview pic does not display the key photo anymore. Skimming still works, but the preview pic as seen in the gallery is not displayed. Instead of the preview picture, an icon is displayed that is gray with two stacked pictures.
    If I go to me.com and manage the gallery from there, I do see a preview picture but not the key photo. Instead, I see the first photo from the project.
    In Aperture 2, I did not see these behaviors.
    Anyone else seeing this problem?
    Yes, I noticed this too.
    I can skim the gallery (like an event) but then it just gives a generic thumbnail as the key photo.

  • Update Model from database does not update Nullable Property -- Possible bug?

    Hi,
    I don't know if this is the correct forum.
    When updating Model from database seems does not update the entity nullable property.
    and it will not update the Default Value from the Backend (MSSQL) also.
    I am using VS2008 SP1 3.5EF, XP64Bit Machine.
    Thanks
    vb.net GUI

    maybe related..
    today.. i changed the PK size.. from char(10) to char(36)
    got many problems.. easy to fix...
    but some query stop working:
    Table1Record.Table2Reference.Load(); //i'm trying to load table2 from table1..
    throw this error: A relationship multiplicity constraint violation occurred: An EntityReference expected at least one related object, but the query returned no related objects from the data store.
    i get this error only when PK is greater than char(10)...
    with SQL profiler.. i saw that PK was truncated to char(10) :
    exec sp_executesql N'SELECT [... some fields...]
    FROM  [dbo].[Table1] AS [Extent1]
    INNER JOIN [dbo].[Table2] AS [Extent2] ON [Extent1].[NoTable2] = [Extent2].[NoTable2]
    WHERE [Extent1].[NoTable1] = @EntityKeyValue1',N'@EntityKeyValue1 char(10)',@EntityKeyValue1='a2164b14-e'
    (NoTable1 is the PK changed from char(10) to char(36))
    i'm working with VS.NET 2008
    so, i looked at Model1.Edmx... in notepad
    CSDL was not changed when i did the "Update Model from Database" !!!
    here is SSDL part:
            <EntityType Name="Table1">
              <Key>
                <PropertyRef Name="NoTable1" />
              </Key>
              <Property Name="NoTable1" Type="char" Nullable="false" MaxLength="36" />
    here is CSDL part:
            <EntityType Name="Table1">
              <Key>
                <PropertyRef Name="NoTable1" />
              </Key>
              <Property Name="NoTable1" Type="String" Nullable="false" MaxLength="10" Unicode="false" FixedLength="true" />
    Cool.. i found the prob.... but why ? and how to correct this ? manually change Model1.Edmx in notepad ??
    why the maxlength property is readonly in Model Browser pane ??
    what about VS.NET 2010 ?! same prob ??
    is it a bug or by design ?
    I hope this can help someone.. I spent a few hours on this prob
    Patrick

  • New field catalog VOLEH does not display while creating a new table

    Dear Gurus,
    I added new field as VOLEH in field catalog. However while I am creating a new table, new field (VOLEH) does not showed in field catalog...
    How can I fix this error?
    Kind Regards,

    HI
    Check once again in IMG>SD>Basic func>Pricing >Pricing control>define condition table>conditions : allowed fields> go to new entries then press F4
    check here newly created field is there or not
    (or) when creation of condition table check properly next page button in menu bar
    still if its not found
    Note 21040 - Allowed Fields not appearing for condition table
    or check this link
    http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm
    Regards,
    Krishna.

  • Mail.app osx lion receive from hotmail does not display attachment

    mail.app 5.2 (1257) osx lion 10.7.3 receiving mail from people sending with hotmail do not display attachment
    the attachment counter says 2, in the message overview
    but I only see one, not the one I want to see, when I click that message, and try to save as
    the one I do see was mine, that returned because of reply to my message
    the attachment attached in hotmail by the other person is not viewable or downloadable
    in the message source the attachment is there...
    --_98d1a076-fcb8-4b8d-93de-5fa8b8e59460_
    Content-Type: multipart/alternative;
        boundary=_1ae32142-6165-4e42-b930-818ef81314da_
    and
    --_98d1a076-fcb8-4b8d-93de-5fa8b8e59460_
    Content-Disposition: attachment;
        filename=some.pdf
    Content-Type: application/pdf;
        name=some.pdf
    Content-Transfer-Encoding: base64
    JVBERi0xLjMKJcTl8uXrp/Og0MTGCjQgMCBvYmoKPDwgL0xlbmd0aCA1IDAgUiAvRmlsdGVyIC9G
    bGF0ZURlY29kZSA+PgpzdHJlYW0KeAG1WNtu20YQfddXTIGiSABjsxcuyU2emqAuegXSCOgzLa2k
    TSRS5pK2la/vWd5kq4q8BlobMGl7PGfmzNmZWd/SR7olkbKURM60MUaSznKWU6YTfK0t/U0lvfng
    BS088e7TL/A3nMmEh4/+h9N3iqeMK2MozTXLZ4sdvZ+T0L3Z+Jzv6M21YIIEzVf06rvXNP9MP827
    YL7lWCrFcgm/ijMhLzmWjA+Of3frTUPX29ZvYiAUMpea
    and so on

    how do you log into hotmail at work? via webmail interface? hotmail provides POP email access only when using an email clienet and you probably have Mail set to remove messages from server after downloading them. go to Mail preferences->account->advanced and check those settings. you can change them to leave messages on server or to remove them from server only when they are moved from the inbox.

  • Converted GIF Images Does Not Display In Report

    I have a wmf file that contains an image. I converted the wmf file into a gif using software A. This image displays correctly in Oracle Forms and Reports (9.0.4). I take the same wmf file and use software B to convert the file into a gif. Using the same form and report, the gif image displays in Oracle Forms but doesn't display in Oracle Reports. I don't see why a gif image coverted from software A works properly but not when converted from software B. They are both gif images as a result of the conversion from the same wmf source file.
    The reason I prefer software B is because it's a command line executable and the output is close to the original wmf file. When using the command line executabe from software A to convert the wmf file, the resulting gif file is 1/4 the original size and blocky when resized to the original wmf dimensions.
    Is this an Oracle Reports issue/setting or the converter I'm using?

    Thanks Clare!
    Yes I run IE as Administrator. please find screen shots.
    Also, SQL Server is running in SQL server and windows authentication mode. and when i connect data source in BIDS with windows authentication, test shows success but with another login id ReportServerLogin it does not connect. ReportServerLogin login has
    all rights given and is there as sysadmin.
    please find the screen shots.
    Adnan

  • Zip data posted from client does not show up correctely at Server

    The java client post GZip'd data to the Webserver. The webserver for some reason shows the first 10 bytes correctly. Not sure what I am overlooking
    Also get java.io.EOFException: Unexpected end of ZLIB input stream
    public class GetPost {
         public String line;
         public String inputLine;
    public static void main(String[] args) throws Exception {
              GetPost r = new GetPost();
                   r.postURL("User","pass");
    // public Reverse { }
    public static byte [] zip(String data)
    throws IOException
    byte[] incomingBytes = data.getBytes();
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    GZIPOutputStream zip = new GZIPOutputStream(baos);
    for (int i = 0; i < incomingBytes.length; i++)
    zip.write(incomingBytes[i] & 0xFF);
    zip.close();
    byte[] uncompressedBytes = baos.toByteArray();
    return uncompressedBytes;
    public static String unzip(byte [] dataBytes)
    throws IOException
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    ByteArrayInputStream bios = new ByteArrayInputStream(dataBytes);
    GZIPInputStream unzip = new GZIPInputStream(bios);
    int in = unzip.read();
    while (in != -1)
    baos.write(in);
    in = unzip.read();
    unzip.close();
    return new String(baos.toByteArray());
    public String postURL( String t1 , String t2 ){
    try {
              String data1="h";
    URL urlpost = new URL("http://192.168.15.4:8080/result.html");
         URLConnection conn = urlpost.openConnection();
         conn.setDoOutput(true);
         GZIPOutputStream gz = new GZIPOutputStream(conn.getOutputStream());
         byte [] kkkk=zip(data1);
         String uuu=unzip(kkkk);
         System.out.println("XXXXX" + uuu );
         for (int i=0; i< kkkk.length ; i++){
              Byte jj= new Byte(kkkk);
              System.out.println("LLLL " + " " + i + " " + jj );
         int t= kkkk.length;
         System.out.println("IIII" + t);
         int x= data1.getBytes().length;
         gz.write(kkkk);
         gz.finish();
         gz.close();
         // Get the response
         BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
         while ((line = rd.readLine()) != null) {
         // Process line...
         System.out.println ("The line is " + line );
         } catch (Exception e) {
              return line;
    The client output is
    LLLL 0 31
    LLLL 1 -117
    LLLL 2 8
    LLLL 3 0
    LLLL 4 0
    LLLL 5 0
    LLLL 6 0
    LLLL 7 0
    LLLL 8 0
    LLLL 9 0
    LLLL 10 -53
    LLLL 11 0
    LLLL 12 0
    LLLL 13 -25
    LLLL 14 6
    LLLL 15 107
    LLLL 16 -111
    LLLL 17 1
    LLLL 18 0
    LLLL 19 0
    LLLL 20 0
    Server output is correct only for the first 10 bytes
    LLLL 0 31
    LLLL 1 -117
    LLLL 2 8
    LLLL 3 0
    LLLL 4 0
    LLLL 5 0
    LLLL 6 0
    LLLL 7 0
    LLLL 8 0
    LLLL 9 0
    LLLL 10 -53
    LLLL 11 0
    LLLL 12 0
    LLLL 13 -25
    LLLL 14 6
    LLLL 15 107
    LLLL 16 -111
    LLLL 17 1
    LLLL 18 0
    LLLL 19 0
    LLLL 20 0

    FYI - I got it to work ... I was gzip it twice... here is what worked
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLEncoder;
    import java.util.zip.*;
    import java.io.OutputStreamWriter;
    public class WorkingCopyOfGetPost {
         public String line;
         public String inputLine;
    public static void main(String[] args) throws Exception {
              WorkingCopyOfGetPost r = new WorkingCopyOfGetPost();
                   r.postURL("User","pass");
    // public Reverse { }
    public static byte [] zip(String data) throws IOException {
         byte[] incomingBytes = data.getBytes();
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         GZIPOutputStream zip = new GZIPOutputStream(baos);
         for (int i = 0; i < incomingBytes.length; i++){
              zip.write(incomingBytes[i] & 0xFF);
         zip.close();
         byte[] uncompressedBytes = baos.toByteArray();
         return uncompressedBytes;
    public static String unzip(byte [] dataBytes) throws IOException {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         ByteArrayInputStream bios = new ByteArrayInputStream(dataBytes);
         GZIPInputStream unzip = new GZIPInputStream(bios);
         int in = unzip.read();
         while (in != -1){
              baos.write(in);
              in = unzip.read();
         unzip.close();
         return new String(baos.toByteArray());
    public static ByteArrayOutputStream zip1(String data) throws IOException {
              byte[] incomingBytes = data.getBytes();
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              GZIPOutputStream zip = new GZIPOutputStream(baos);
              for (int i = 0; i < incomingBytes.length; i++){
                   zip.write(incomingBytes[i] & 0xFF);
              zip.close();
              //byte[] uncompressedBytes = baos.toByteArray();
              return baos;
    public String postURL( String t1 , String t2 ){
         String data1="t";
         try {
              /* byte [] kkkk=zip(data1);
              for (int x=0;x<20;x++){
                   System.out.println("Byte Array Values " + x + kkkk[x] );
              ByteArrayOutputStream bo= zip1(data1);
              byte [] AAA=bo.toByteArray();
              for (int x=0;x<21;x++){
                   System.out.println("Byte Array Values " + x + " "+ AAA[x] );
              URL urlpost = new URL("http://192.168.15.4:8080/result.html");
         URLConnection conn = urlpost.openConnection();
         conn.setDoOutput(true);
         System.out.println( "The size of the byteArrayOutputstream " + bo.size() );
         bo.writeTo(conn.getOutputStream());
         // GZIPOutputStream gz = new GZIPOutputStream(conn.getOutputStream());
         // System.out.println("rrrr " + kkkk.length);
         // gz.write(kkkk);
         //gz.finish();
         //gz.flush();
         bo.flush();
         // String s=unzip(kkkk) ;
         //System.out.println("s " + s);
         // Get the response
         BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
         while ((line = rd.readLine()) != null) {
         // Process line...
         System.out.println ("The line is " + line );
         rd.close();
         bo.close();
         } catch (Exception e) {
              return line;
    }

  • From the Web application does not display the report...

    Hello,
    I have a Web application in VS 2010 (NET 4.0) running reports in VS 2003 (NET 1.1) and CR XI. What should I consider for the reports to run well? When setting up the basics of the folder where the reports are in IIS 7.5, item I keep in the Application Pool: NET 1.1, but when in the same IIS server I click on Browse *: 80, I generated the following error: HTTP Error 500.19 - Internal Server Error
    The requested page can not be accessed Because the related configuration data for the page is invalid.
    I can do, thanks.

    Reports are made in VS 2003 (. NET 1.1) and CR XI using a framework. This framework is placed in the web server (Windows 2008 Server R2) and called from VS 2010.
    Sorry, I'm still having problem understanding this.
    Only CRVS2010 will work with VS2010. The reports can be created in any version of CR you want, but to load the reports in VS2010, you need CRVS2010, create a project in VS2010, then deploy the project and the CRVS2010 runtime(?).
    E.g.;
    1) Create report using CR XI
    2) Install CRVS2010 on a computer that has VS2010
    3) Create a project using CRVS2010 in VS 2010 - can use any framework you want
    4) Deploy VS2010 project
    5) Install CRVS2010 runtime
    - Ludek

  • Form does not display all records from table

    Hi guys
    I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
    Any help will be appreciated.
    Thanks

    hi
    Set the block property of "Query All Records" to "YES"
    hope it will work.
    Faisal

  • The contained field name "ADTAGR" does not exist in any of the database tab

    hı all
    how can l  solved thıs problem
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
    not caught in
    procedure "PUT_QMFECAT" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    An Open SQL clause was specified dynamically. The contained field name
    "ADTAGR" does not exist in any of the database tables from the FROM clause.
    Information on where terminated
        Termination occurred in the ABAP program "SAPDBZQNQ" - in "PUT_QMFECAT".
        The main program was "ZQMR_BILDIRIM ".
        In the source code you have the termination point in line 732
        of the (Include) program "SAPDBZQNQ".
    Error occurred during batch input processing
        The termination is caused because exception "CX_SY_DYNAMIC_OSQL_SEMANTICS"
         occurred in
        procedure "PUT_QMFECAT" "(FORM)", but it was neither handled locally nor
         declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPDBZQNQ "; its source code begins in line
        715 of the (Include program "SAPDBZQNQ ".
    FORM put_qmfecat.
      DATA: l_tab_fields  TYPE  rsfs_tab_fields.
      DATA: l_ds_clauses  TYPE  rsds_where.
    Dynamische Feldselektion
      MOVE 'QMFECAT_C' TO l_tab_fields-tablename.
      READ TABLE select_fields WITH KEY l_tab_fields-tablename
                                    INTO l_tab_fields.
      IF sy-subrc <> c_rc00.
        CLEAR l_tab_fields.
      ENDIF.
    Dynamische Selektionskriterien
      MOVE 'QMFECAT' TO l_ds_clauses-tablename.
      READ TABLE dyn_sel-clauses WITH KEY l_ds_clauses-tablename
                                 INTO l_ds_clauses.
    DB-Zugriff
      >>>>> SELECT (l_tab_fields-fields) FROM qmfe
      INTO CORRESPONDING FIELDS OF TABLE qmfecat_tab
       WHERE qmnum  =  rqmqmel-qmnum
       AND kzloesch =  space
       AND (l_ds_clauses-where_tab)
       ORDER BY PRIMARY KEY.
    regard sinan
    Edited by: eyup_sinan on Jan 6, 2012 3:21 PM
    Edited by: eyup_sinan on Jan 6, 2012 3:30 PM

    You seem to have made a copy of the standard program. You'll have to make sure that you are handling this field correctly in your code.
    Rob

  • DATE type returned from function does not return the time component

    Hi,
    I'm dealing with a strange problem. I have a PL/SQL function (running on Oracle 8.1.4.7) which returns a DATE value. Like we all know the DATE datatype includes a date component and a time component.
    The function I used for testing is like this:
    FUNCTION ReturnDate return Date is
    dReturn Date;
    Begin
    select sysdate into dReturn from dual;
    return dReturn;
    end ReturnDate;
    When I call this function from .NET using ODP.NET the date value I get does not have the time component included only the day-month-year components.
    This is a code-snippet that calls the function :
    command.CommandText="Schema.ReturnDate";
    command.CommandType=CommandType.StoredProcedure;
    command.Parameters.Add("Return_Value",
    OracleDbType.Date,0,ParameterDirection.ReturnValue);
    command.ExecuteNonQuery();
    I use the OracleDbType.Date type which I think is the most logical choice, because the type in the Database is after all DATE.
    However this does not include the time componet. But if I change the OracleDbType.Date to OracleDbType.TimeStamp I get the time component. I'm not happy with this "hack" because I'm not sure what will happen when we upgrade our version of the Database to Oracle 9i which uses the new TimeStamp datatype.
    Is this a bug that the OracleDbType.Date does not include the time component??

    How do you examine the output Date value?
    If it is from the string, then the time components will
    not show because the NLS_DATE format in the client
    machine does not contain the time components.
    In American, the Date format is 'DD-MON-RR' by default whereas, the TimeStamp format is 'DD-MON-RR HH.MI.SSXFF AM' by default.
    Can you take a look at the time components from the OracleDate by accessing the time properties, eg. OracleDate.Hour, OracleDate.Minute..etc to see if the time values are there?
    Thanks
    Martha

  • Field BSEG-HKTID does not exist in the additional data Screen

    Hi
    We are facing a problem while posting the parked document. Field BSEG-HKTID does not exist in the screen SAPLF040 0331.
    As we want to avoid entering the field-data at the time of payment proposal run using T.code F110, we prefer to enter at the time of posting a parked document or at the time of parking.
    We had checked the field status (of Posting key and GL) and its not available.
    We refered note 953374 House bank details: Account ID in the document. It asks to activate the RE-FX component. However, we are not in the real estate business hence not logical to do so. How do we need to proceed?
    PP

    To do the same change with the transaccion FB02 y FB03, create an enhancemente point in the program: SAPMF05L dynpro: 1301, module: DYNPRO_MODIFIKATION, at the of perform open_fi_dynpro_mod and write:
    LOOP AT SCREEN.
      IF sy-tcode = 'FB02'.
        IF screen-name = 'BSEG-HKTID'.
          screen-input = 1.
          screen-invisible = 0.
          screen-active = 1.
          screen-output = 1.
          screen-group4 = ' '.
          MODIFY SCREEN.
          EXIT.
        ENDIF.
      elseif sy-tcode = 'FB03'.
          IF screen-name = 'BSEG-HKTID'.
          screen-input = 0.
          screen-invisible = 0.
          screen-active = 1.
          screen-output = 1.
          screen-group4 = ' '.
          MODIFY SCREEN.
          EXIT.
        ENDIF.
      endif.
      ENDLOOP.
    and, all ready.

  • CM14 BI Publisher - modifying an existing Data Model, the Graphic View in Query Builder does not display

    I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60,  there are not 60 tables referenced in any CM report.
    Does this Query builder view work at all on any report?
    (bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
    Thanks,
    Paul L

    Kurt, thanks for your replies.
    A couple of notes/clarifications.
    1.     You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE.  I would recommend using Firefox too.
    2.     You are correct about the way to get to the Query Builder to see a graphical view of data tables.  There are basically two issues with this that I mentioned, but will re-iterate:
    a.  If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder.  Query Builder works only to create a NEW query from scratch.
    b.  Query builder is limited to selecting 60 fields max in your query.  If you are creating a large report with many tables, you may find that 60 fields is not enough.  For that you will have to work in the SQL edit screen rather than using the query builder.
    I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports.  You should be able to find the tables and joins documentation in the knowledgebase.

  • DataGrid does not display XML data

    Hello, and thanks for reading this...
    I am having a problem displaying XMLList data in a DataGrid.
    The data is coming from a Tree control, which is receiving it
    from a database using HTTPService.
    The data is a list of "Job Orders" from a MySQL database,
    being formatted as XML by a PHP page.
    If it would be helpful to see the actual XML, a sample is
    here:
    http://www.anaheimwib.com/_login/get_all_orders_test2.php
    All is going well until I get to the DataGrid, which doesn't
    display the data, although I know it is there as I can see it in
    debug mode. I've checked the dataField property of the appropriate
    DataGrid column, and it appears correct.
    Following is a summary of the relevant code.
    ...An HTTPService named "get_all_job_orders" retrieves
    records from a MySQL database via PHP...
    ...Results are formatted as E4X:
    HTTPService resultFormat="e4x"
    ...An XMLListCollection's source property is set to the
    returned E4X XML results:
    ...The "order" node is what is being used as the top-level of
    the XML data.
    <mx:XMLListCollection id="jobOrdersReviewXMLList"
    source="{get_all_job_orders.lastResult.order}"/>
    ...The "jobOrdersReviewXMLList" collection is assigned to be
    the dataProvider property of a Tree list, using the @name syntax to
    display the nodes correctly, and a change event function is defined
    to add the records to a DataGrid on a separate Component for
    viewing the XML records:
    <mx:Tree dataProvider="{jobOrdersReviewXMLList}"
    labelField="@name"
    change="jobPosForm.addTreePositionsToDG(event)"/>
    ...Here is the relevant "jobPosForm" code (the Job Positions
    Form, a separate Component based on a Form) :
    ...A variable is declared:
    [Bindable]
    public var positionsArray:XMLList;
    ...The variable is initialized on CreationComplete event of
    the Form:
    positionsArray = new XMLList;
    ...The Tree's change event function is defined within the
    "jobPosForm" Component.
    ...Clicking on a Tree node fires the Change event.
    ...This passes an event object to the function.
    ...This event object contains the XML from the selected Tree
    node.
    ...The Tree node's XML data is passed into the positionsArray
    XMLList.
    ...This array is the dataProvider for the DataGrid, as you
    will see in the following block.
    public function addTreePositionsToDG(event:Event):void{
    this.positionsArray = selectedNode.positions.position;
    ...A datagrid has its dataProvider is bound to
    positionsArray.
    ...(I will only show one column defined here for brevity.)
    ...This column has its dataField property set to "POS_TITLE",
    a field in the returned XML record:
    <mx:DataGrid width="100%" variableRowHeight="true"
    height="75%" id="dgPositions"
    dataProvider="{positionsArray}" editable="false">
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Position Title"
    dataField="POS_TITLE"/>
    </mx:columns>
    </mx:DataGrid>
    In debug mode, I can examine the datagrid's dataProvider
    property, and see that the correct XML data from the Tree control
    is present. However, The datagrid does not display the data in any
    of its 6 columns.
    Does anyone have any advice?
    Thanks for your time.

    Hello again,
    I came up with a method of populating the DataGrid from the
    selected Item of a Tree Control which displays complex XML data and
    XML attributes. After the user clicks on a Tree branch, I call this
    function:
    public function addTreePositionsToDG(event:Event):void{
    //Retrieve all "position" nodes from tree.
    //Loop thru each Position.
    //Add Position data to the positionsArray Array Collection.
    //The DataGrid dataprovider is bound to this array, and will
    be updated.
    positionsArray = new ArrayCollection();
    var selectedNode:Object=event.target.selectedItem;//Contains
    entire branch.
    for each (var position:XML in
    selectedNode.positions.position){
    var posArray:Array = new Array();
    posArray.PK_POSITIONID = position.@PK_POSITIONID;
    posArray.FK_ORDERID = position.@FK_ORDERID;
    posArray.POS_TITLE = position.@POS_TITLE;
    posArray.NUM_YOUTH = position.@NUM_YOUTH;
    posArray.AGE_1617 = position.@AGE_1617;
    posArray.AGE_1821 = position.@AGE_1821;
    posArray.HOURS_WK = position.@HOURS_WK;
    posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
    posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
    posArray.JOB_DESCR = position.@JOB_DESCR;
    posArray.DES_SKILLS = position.@DES_SKILLS;
    positionsArray.addItem(posArray);
    So, I just had to manually go through the selected Tree node,
    copy each XML attribute into a simple Array, then ADD this Array to
    an ArrayCollection being used as the DataProvider for the DataGrid.
    It's not elegant, but it works and I don't have to use a Label
    Function, which was getting way too complicated. I still think that
    Flex should have an easier way of doing this. There probably is an
    easier way, but the Flex documentation doesn't provide an easy path
    to it.
    I want to thank you, Tracy, for the all the help. I checked
    out the examples you have at www.cflex.net and they are very
    helpful. I bookmarked the site and will be using it as a resource
    from now on.

Maybe you are looking for