Timestamp as DataSource selection

Hi all,
I have created a generic data source with some timestamp fields as selection fields. I can see them in RSA3, and it works fine.
However after replication, I do NOT see these fields as selection fields in BW. I tried to flag another field in the data source as selectable, and this field can be seen in BW, but not the timestamps.
Is timestamp not possible to be used as selection field? But why can I see it in RSA3?
Thanks!!

HI Wang,
The reason for unable to see a delta specific feild in BW selection is that, the data source is already using this for selecting the delta records and hence we cannot again do a selection on the same feil.
So, its like this. Any feild can do only one among these, either selection for loading from BW or delta specific feild, where system on its own uses for delta identification.
Hope its clear.
Naveen.A

Similar Messages

  • How to incorporate File name and timestamp automatically into select and save file dialog box?

    Hello,
    i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
    Thanks
    Solved!
    Go to Solution.

    You can pass a default file name to the 'File Dialog' Express VI.
    Use the 'selected path' output to open the file.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    FileDialog.vi ‏21 KB

  • SSIS and timestamp comparison for selection

    Hi all.
    I have a situation I do not understand how to fix.
    I have two tables - one to store settings and another one the store some data.
    My SQL Server is of 2008 R2 version.
    My Visual Studio is of 2008 version (I tried to work in VS 2013 with SSDT of the latest version installed - all the same).
    The data table has a column of timestamp data type. 
    I'm using the timestamp column as determinator and I put max value of the timestamp column in the settings table after my process completes.
    Then I need to get that stored value and select from the data table only records which timestamp value is bigger than one stored in the settings table.
    What do I do to reproduce the situation.
    I created SSIS package.
    I added new variable of string data type, called it "LastTS".
    Then added new "Execute SQL Task", entered "SELECT CONVERT(VARCHAR(18), LastTimestamp) FROM Parameters", mapped result set to User::LastTS variable.
    Then I added new "Data Flow Task".
    In that task I added "OLE DB Source" and entered "SELECT c.ProtocolType, c.[Timestamp] AS StatusChangeTime FROM Command AS c WHERE c.[RowVersion] > cast(? as binary(8))" and mapped its resultset for next processing.
    Everything is ok.
    Now I start my package.
    My LastTS variable gets its right value.
    But my "OLE DB Source" fails with message as follows:
    [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E21  Description: "Invalid character value for cast specification".
    What is the problem?
    I found a lot of answers like "you can use string variable to work with timestamp data" but nothing helped.
    What should I do to resolve my problem?

    IT worked fine for me.  Here's a complete package:
    <?xml version="1.0"?>
    <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
    DTS:refId="Package"
    DTS:CreationDate="6/26/2014 8:50:47 AM"
    DTS:CreationName="SSIS.Package.3"
    DTS:CreatorComputerName="DBROWNE0"
    DTS:CreatorName="NORTHAMERICA\dbrowne"
    DTS:DTSID="{15A9F4FA-ACAD-499C-B899-D11762E85A0C}"
    DTS:ExecutableType="SSIS.Package.3"
    DTS:LastModifiedProductVersion="11.0.3369.0"
    DTS:LocaleID="1033"
    DTS:ObjectName="Package"
    DTS:PackageType="5"
    DTS:VersionBuild="2"
    DTS:VersionGUID="{0E4D9F45-5FAD-4706-89C0-0FF7260402E5}">
    <DTS:Property
    DTS:Name="PackageFormatVersion">6</DTS:Property>
    <DTS:ConnectionManagers>
    <DTS:ConnectionManager
    DTS:refId="Package.ConnectionManagers[LocalHost.tempdb]"
    DTS:CreationName="OLEDB"
    DTS:DTSID="{8B7A6B78-D657-43A7-9265-2DD88902E4EF}"
    DTS:ObjectName="LocalHost.tempdb">
    <DTS:ObjectData>
    <DTS:ConnectionManager
    DTS:ConnectionString="Data Source=.;Initial Catalog=tempdb;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;" />
    </DTS:ObjectData>
    </DTS:ConnectionManager>
    </DTS:ConnectionManagers>
    <DTS:Variables>
    <DTS:Variable
    DTS:CreationName=""
    DTS:DTSID="{6DDBC988-CB18-4A8B-94EA-7A30FC3D7FFB}"
    DTS:IncludeInDebugDump="6789"
    DTS:Namespace="User"
    DTS:ObjectName="data">
    <DTS:VariableValue
    DTS:DataSubType="ManagedSerializable"
    DTS:DataType="13">
    <SOAP-ENV:Envelope xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <xsd:anyType
    id="ref-1"></xsd:anyType>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    </DTS:VariableValue>
    </DTS:Variable>
    <DTS:Variable
    DTS:CreationName=""
    DTS:DTSID="{89546C68-259E-4263-8CAB-56A56DDBB3CB}"
    DTS:IncludeInDebugDump="2345"
    DTS:Namespace="User"
    DTS:ObjectName="LastTS">
    <DTS:VariableValue
    DTS:DataType="8">0x0000000000004FAA</DTS:VariableValue>
    </DTS:Variable>
    </DTS:Variables>
    <DTS:Executables>
    <DTS:Executable
    DTS:refId="Package\Data Flow Task"
    DTS:CreationName="{5918251B-2970-45A4-AB5F-01C3C588FE5A}"
    DTS:Description="Data Flow Task"
    DTS:DTSID="{6FCEFECD-F9CD-4383-A05B-D3AA5F6A1EBF}"
    DTS:ExecutableType="{5918251B-2970-45A4-AB5F-01C3C588FE5A}"
    DTS:LocaleID="-1"
    DTS:ObjectName="Data Flow Task">
    <DTS:Variables />
    <DTS:ObjectData>
    <pipeline
    version="1">
    <components>
    <component
    refId="Package\Data Flow Task\OLE DB Source"
    componentClassID="{165A526D-D5DE-47FF-96A6-F8274C19826B}"
    contactInfo="OLE DB Source;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;7"
    description="OLE DB Source"
    name="OLE DB Source"
    usesDispositions="true"
    version="7">
    <properties>
    <property
    dataType="System.Int32"
    description="The number of seconds before a command times out. A value of 0 indicates an infinite time-out."
    name="CommandTimeout">0</property>
    <property
    dataType="System.String"
    description="Specifies the name of the database object used to open a rowset."
    name="OpenRowset"></property>
    <property
    dataType="System.String"
    description="Specifies the variable that contains the name of the database object used to open a rowset."
    name="OpenRowsetVariable"></property>
    <property
    dataType="System.String"
    description="The SQL command to be executed."
    name="SqlCommand"
    UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT c.ProtocolType, c.[Timestamp] AS StatusChangeTime
    FROM dbo.Command c
    WHERE c.[RowVersion] &gt; convert( binary(8), cast(? as varchar(18)), 1 )</property>
    <property
    dataType="System.String"
    description="The variable that contains the SQL command to be executed."
    name="SqlCommandVariable"></property>
    <property
    dataType="System.Int32"
    description="Specifies the column code page to use when code page information is unavailable from the data source."
    name="DefaultCodePage">1252</property>
    <property
    dataType="System.Boolean"
    description="Forces the use of the DefaultCodePage property value when describing character data."
    name="AlwaysUseDefaultCodePage">false</property>
    <property
    dataType="System.Int32"
    description="Specifies the mode used to access the database."
    name="AccessMode"
    typeConverter="AccessMode">2</property>
    <property
    dataType="System.String"
    description="The mappings between the parameters in the SQL command and variables."
    name="ParameterMapping">"Parameter0:Input",{89546C68-259E-4263-8CAB-56A56DDBB3CB};</property>
    </properties>
    <connections>
    <connection
    refId="Package\Data Flow Task\OLE DB Source.Connections[OleDbConnection]"
    connectionManagerID="Package.ConnectionManagers[LocalHost.tempdb]"
    connectionManagerRefId="Package.ConnectionManagers[LocalHost.tempdb]"
    description="The OLE DB runtime connection used to access the database."
    name="OleDbConnection" />
    </connections>
    <outputs>
    <output
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output]"
    name="OLE DB Source Output">
    <outputColumns>
    <outputColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].Columns[ProtocolType]"
    codePage="1252"
    dataType="str"
    errorOrTruncationOperation="Conversion"
    errorRowDisposition="FailComponent"
    externalMetadataColumnId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].ExternalColumns[ProtocolType]"
    length="20"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].Columns[ProtocolType]"
    name="ProtocolType"
    truncationRowDisposition="FailComponent" />
    <outputColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].Columns[StatusChangeTime]"
    dataType="dbTimeStamp2"
    errorOrTruncationOperation="Conversion"
    errorRowDisposition="FailComponent"
    externalMetadataColumnId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].ExternalColumns[StatusChangeTime]"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].Columns[StatusChangeTime]"
    name="StatusChangeTime"
    scale="7"
    truncationRowDisposition="FailComponent" />
    </outputColumns>
    <externalMetadataColumns
    isUsed="True">
    <externalMetadataColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].ExternalColumns[ProtocolType]"
    codePage="1252"
    dataType="str"
    length="20"
    name="ProtocolType" />
    <externalMetadataColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].ExternalColumns[StatusChangeTime]"
    dataType="dbTimeStamp2"
    name="StatusChangeTime"
    scale="7" />
    </externalMetadataColumns>
    </output>
    <output
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output]"
    isErrorOut="true"
    name="OLE DB Source Error Output">
    <outputColumns>
    <outputColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[ProtocolType]"
    codePage="1252"
    dataType="str"
    length="20"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[ProtocolType]"
    name="ProtocolType" />
    <outputColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[StatusChangeTime]"
    dataType="dbTimeStamp2"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[StatusChangeTime]"
    name="StatusChangeTime"
    scale="7" />
    <outputColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[ErrorCode]"
    dataType="i4"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[ErrorCode]"
    name="ErrorCode"
    specialFlags="1" />
    <outputColumn
    refId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]"
    dataType="i4"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]"
    name="ErrorColumn"
    specialFlags="2" />
    </outputColumns>
    <externalMetadataColumns />
    </output>
    </outputs>
    </component>
    <component
    refId="Package\Data Flow Task\Recordset Destination"
    componentClassID="{C457FD7E-CE98-4C4B-AEFE-F3AE0044F181}"
    contactInfo="Recordset Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0"
    description="Creates and populates an in-memory ADO recordset that is available outside of the data flow. Scripts and other package elements can use the recordset. For example, use a recordset to store the names of files that will be loaded into the data warehouse."
    name="Recordset Destination">
    <properties>
    <property
    dataType="System.String"
    description="Specifies the variable that contains the recordset."
    name="VariableName">User::data</property>
    </properties>
    <inputs>
    <input
    refId="Package\Data Flow Task\Recordset Destination.Inputs[Recordset Destination Input]"
    hasSideEffects="true"
    name="Recordset Destination Input">
    <inputColumns>
    <inputColumn
    refId="Package\Data Flow Task\Recordset Destination.Inputs[Recordset Destination Input].Columns[ProtocolType]"
    cachedCodepage="1252"
    cachedDataType="str"
    cachedLength="20"
    cachedName="ProtocolType"
    lineageId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output].Columns[ProtocolType]" />
    </inputColumns>
    <externalMetadataColumns />
    </input>
    </inputs>
    </component>
    </components>
    <paths>
    <path
    refId="Package\Data Flow Task.Paths[OLE DB Source Output]"
    endId="Package\Data Flow Task\Recordset Destination.Inputs[Recordset Destination Input]"
    name="OLE DB Source Output"
    startId="Package\Data Flow Task\OLE DB Source.Outputs[OLE DB Source Output]" />
    </paths>
    </pipeline>
    </DTS:ObjectData>
    </DTS:Executable>
    <DTS:Executable
    DTS:refId="Package\Execute SQL Task"
    DTS:CreationName="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
    DTS:Description="Execute SQL Task"
    DTS:DTSID="{3F075D2C-CCCE-429E-A412-DF0777563EF7}"
    DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
    DTS:LocaleID="-1"
    DTS:ObjectName="Execute SQL Task"
    DTS:TaskContact="Execute SQL Task; Microsoft Corporation; SQL Server 2012; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
    DTS:ThreadHint="0">
    <DTS:Variables />
    <DTS:ObjectData>
    <SQLTask:SqlTaskData
    SQLTask:Connection="{8B7A6B78-D657-43A7-9265-2DD88902E4EF}"
    SQLTask:SqlStatementSource="if object_id('Command') is not null&#xA;begin&#xA; exec ('drop table Command')&#xA;end;&#xA;&#xA;create table Command(id int primary key , ProtocolType varchar(20), TimeStamp datetime2, RowVersion timestamp)&#xA;&#xA;insert into Command(id,ProtocolType,TimeStamp)&#xA;values (1,'a',GetDate());" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
    </DTS:ObjectData>
    </DTS:Executable>
    </DTS:Executables>
    <DTS:PrecedenceConstraints>
    <DTS:PrecedenceConstraint
    DTS:refId="Package.PrecedenceConstraints[Constraint]"
    DTS:CreationName=""
    DTS:DTSID="{F6FC0677-010B-411A-9E75-40A48490570D}"
    DTS:From="Package\Execute SQL Task"
    DTS:LogicalAnd="True"
    DTS:ObjectName="Constraint"
    DTS:To="Package\Data Flow Task" />
    </DTS:PrecedenceConstraints>
    <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
    <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
    <!--If you manually edit this section and make a mistake, you can delete it. -->
    <!--The package will still be able to load normally but the previous layout information will be lost and the designer will automatically re-arrange the elements on the design surface.-->
    <Objects
    Version="sql11">
    <!--Each node below will contain properties that do not affect runtime behavior.-->
    <Package
    design-time-name="Package">
    <LayoutInfo>
    <GraphLayout
    Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
    <NodeLayout
    Size="150.4,41.6"
    Id="Package\Data Flow Task"
    TopLeft="67.514286169374,110.529398667551" />
    <NodeLayout
    Size="163.2,41.6"
    Id="Package\Execute SQL Task"
    TopLeft="96.5714302160302,21.4117650061743" />
    <EdgeLayout
    Id="Package.PrecedenceConstraints[Constraint]"
    TopLeft="178.17143021603,63.0117650061743">
    <EdgeLayout.Curve>
    <mssgle:Curve
    StartConnector="{assembly:Null}"
    EndConnector="-35.4571440466562,47.5176336613764"
    Start="0,0"
    End="-35.4571440466562,40.0176336613764">
    <mssgle:Curve.Segments>
    <mssgle:SegmentCollection
    Capacity="5">
    <mssgle:LineSegment
    End="0,19.7588168306882" />
    <mssgle:CubicBezierSegment
    Point1="0,19.7588168306882"
    Point2="0,23.7588168306882"
    Point3="-4,23.7588168306882" />
    <mssgle:LineSegment
    End="-31.4571440466562,23.7588168306882" />
    <mssgle:CubicBezierSegment
    Point1="-31.4571440466562,23.7588168306882"
    Point2="-35.4571440466562,23.7588168306882"
    Point3="-35.4571440466562,27.7588168306882" />
    <mssgle:LineSegment
    End="-35.4571440466562,40.0176336613764" />
    </mssgle:SegmentCollection>
    </mssgle:Curve.Segments>
    </mssgle:Curve>
    </EdgeLayout.Curve>
    <EdgeLayout.Labels>
    <EdgeLabelCollection />
    </EdgeLayout.Labels>
    </EdgeLayout>
    </GraphLayout>
    </LayoutInfo>
    </Package>
    <TaskHost
    design-time-name="Package\Data Flow Task">
    <LayoutInfo>
    <GraphLayout
    Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
    <NodeLayout
    Size="150.4,41.6"
    Id="Package\Data Flow Task\OLE DB Source"
    TopLeft="6.26582146462022,8.71822610737986" />
    <NodeLayout
    Size="182.4,41.6"
    Id="Package\Data Flow Task\Recordset Destination"
    TopLeft="60.8,144.8" />
    <EdgeLayout
    Id="Package\Data Flow Task.Paths[OLE DB Source Output]"
    TopLeft="81.4658214646202,50.3182261073799">
    <EdgeLayout.Curve>
    <mssgle:Curve
    StartConnector="{assembly:Null}"
    EndConnector="70.5341785353798,94.4817738926202"
    Start="0,0"
    End="70.5341785353798,86.9817738926202">
    <mssgle:Curve.Segments>
    <mssgle:SegmentCollection
    Capacity="5">
    <mssgle:LineSegment
    End="0,43.2408869463101" />
    <mssgle:CubicBezierSegment
    Point1="0,43.2408869463101"
    Point2="0,47.2408869463101"
    Point3="4,47.2408869463101" />
    <mssgle:LineSegment
    End="66.5341785353798,47.2408869463101" />
    <mssgle:CubicBezierSegment
    Point1="66.5341785353798,47.2408869463101"
    Point2="70.5341785353798,47.2408869463101"
    Point3="70.5341785353798,51.2408869463101" />
    <mssgle:LineSegment
    End="70.5341785353798,86.9817738926202" />
    </mssgle:SegmentCollection>
    </mssgle:Curve.Segments>
    </mssgle:Curve>
    </EdgeLayout.Curve>
    <EdgeLayout.Labels>
    <EdgeLabelCollection />
    </EdgeLayout.Labels>
    </EdgeLayout>
    </GraphLayout>
    </LayoutInfo>
    </TaskHost>
    <PipelineComponentMetadata
    design-time-name="Package\Data Flow Task\OLE DB Source">
    <Properties>
    <Property>
    <Name>DataSourceViewID</Name>
    </Property>
    </Properties>
    </PipelineComponentMetadata>
    </Objects>]]></DTS:DesignTimeProperties>
    </DTS:Executable>
    David
    David http://blogs.msdn.com/b/dbrowne/

  • How to remove timestamp,when i select calendar date(input Controls)

    Hi everyone
    I am using webi 4.0
    My problem is when i select calendar date(input Controls) i am able to display time stamp along with date in input Controls(MM/dd/yyyy 12:00:00 AM)
    i want to change (MM/dd/yyyy 12:00:00 AM) to (yyyy-MM-dd ), when i select calendar date(input Controls)
    where is the calendar date(input Controls)' format setting??
    i dont want to show the time stamp in calendar date(input Controls) as my users dislike to see that timestamp .
    Thanks & regards

    Hello,
    Can you show us the declaration of the internal table rec?
    Vikranth

  • Time Lag using Timestamp - Generic Datasource

    Hello,
    I have a generic datasource running in production now.  It uses the timestamp for the delta.
    Currently the delta runs twice a day - once around 7 am and then again around 1 pm.
    I have the upper limit set at 1800 seconds (30 minutes) and no lower limit however when I looked today at the 1 pm pull, the last set of records was pulled up to 9 am.  I was surprised.  I thought it should have been closer to 12 noon.
    This data is constantly updated in ECC - for example.  In a 30 minute window, the record count started at 1,966,206 and jumped to 1,966,297.
    Has anyone else experienced this lag time?  If so, how did you handle it.
    I heard from one person that it could be because the application server time is different than the local time of entry.  If that is true, how could I resolve that?
    I would just like the deltas to bring in the data closer to the time of the pull.
    Thanks for any insight.
    Lynda

    seems to be working correctly in production.
    1800 seconds - 30 minute pulls via timestamp

  • ODBC data sources not showing up in datasource selection list

    when I go to change datasources for a report, newly created ODBC connections do not show up. I noticed they are all in the odbc.ini file and listed under ODBC in the machine directory/software folder in the registry but not under the current user/software/odbc registry folder. Where does Business Objects/Crystal reports cache this information?

    OK, then how do I set up a connection pool for a SQL Server database? At some point, I have to configure a connection pool. In the Call Interface dropdown, isn't ODBC the proper choice? Then, in the Data Source name dropdown, I should get some entries, right?

  • SharePoint DataSource selection

    In our development farm, after a content database migration, when I click on the '...' ellipsis button to browse for a
    Shared Data Source I get a rubbish error pop up and when I use the correlation ID to find the error in the ULS log, I find this load of nonsense...
    System.Web.Services.Protocols.SoapException: Report Server has encountered a SharePoint error. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: Report Server has encountered a SharePoint error. ---> System.NullReferenceException:
    Object reference not set to an instance of an object. ---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors   
     at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)    
     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)    
     at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.ListChildren(String ItemPath, Boolean Recursive)    
     at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)    
     at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()    
     at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListChildren(String itemPath, Boolean recursive)    
     at Microsoft.ReportingServices.RsProxy.RSConnection2010Impl.Microsoft.ReportingServices.RsProxy.IRSConnection.ListChildren(String itemPath)    
     at Microsoft.ReportingServices.RsProxy.SrvProxy.ListChildren(String item)    
     at Microsoft.ReportingServices.SharePoint.UI.RSItemPickerNavigator.ListChildren(String item)    
     at Microsoft.ReportingServices.SharePoint.UI.RSItemPickerNavigator.GetItems(String enumerableLocation)    
     at Microsoft.ReportingServices.SharePoint.UI.ItemSelectorDialogControl.OnPreRender(EventArgs e)    
     at System.Web.UI.Control.PreRenderRecursiveInternal()    
     at System.Web.UI.Control.PreRenderRecursiveInternal()    
     at System.Web.UI.Control.PreRenderRecursiveInternal()    
     at System.Web.UI.Control.PreRenderRecursiveInternal()    
     at System.Web.UI.Control.PreRenderRecursiveInternal()    
     at System.Web.UI.Control.PreRenderRecursiveInternal()    
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I'm usually pretty good at deciphering these but I can't fathom this one.
    Any thoughts or experience of this issue?
    I'm 99% certain that it's not a permissions issue but there's a niggling 1% doubt.
    SharePoint 2010, SP1 + April 2012 CU: SQL 2008R2 SP2: SSRS in SharePoint integrated mode.
    N03L. 

    Hi N03L,
    As per my understanding, I think this issue can be caused by the original account that was used to create the *.rdl files and the data connection library was removed from SharePoint. So we encounter the error message that “System.NullReferenceException:
    Object reference not set to an instance of an object.” In this scenario, we can download the *.rdl files and delete the existing ones. Then modify their data sources using Report Builder and upload them back through an existing user account in SharePoint site.
    Or we can add the original account to the Members group again.
    The following thread about the similar issue is for your reference:
    http://sharepoint.stackexchange.com/questions/32410/reporting-services-error-after-content-database-restoration
    If you have any more questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • F4 help for timestamp on selection screen

    Hi experts!
    I have this code in custom ALV report:
    selection-screen: begin of block b1 with frame title text-t01.
    DATA: w_aux_sc_created_at like ztable-sc_created_at.
    SELECT-OPTIONS s_sc_c02 for w_aux_sc_created_at.
    Ztable-sc_created_at is COMT_CREATED_AT_USR (data element)
    COMT_CREATED_AT_USR is standard data type (DEC, lenght 15) domain COM_TSTMP --> UTC Time Stamp Short Form (YYYYMMDDhhmmss) (Output sy-zonlo)
    Ok, I would like to show a calendar for select date in my SELECT-OPTIONS custom ALV report like MATCHCODE OBJECT.
    A lot of thanks in advance.
    Best regards.
    djlu
    Moderator message: please use more descriptive subject lines from now on, changed for you this time
    Edited by: Thomas Zloch on Nov 8, 2010 9:44 AM

    thanks you for your answer but I fixed it.
    I created a select-options in date form (with F4 help) and I convert it to timestamp for my select sentence.
    Regards

  • Select statement for export with timestamp

    Hi!
    Im planning on doing an export of a DB based on its date. But I only want to export tables that have a timestap and are newer then >31/12 2006 and all the other tables (that dont have a timestamp). But I lack the experience of PL/SQL.
    Can anyone help me in the rigth direction? Below are a small start
    BEGIN
    IF timestamp.EXISTS THEN
    select * from Regards
    PL/SQL newbie

    If you want to export in order to be able to import in a Oracle database:
    if your Oracle version is >= 10, then you should try to use Data Pump export (expdp) with QUERY parameter.
    if your Oracle version is <= 9, then you should try to use export (exp) with QUERY parameter.
    Message was edited by:
    Pierre Forstmann

  • If I want to order by dateAdded to I have to include it in the select statement like

    If I do this:
    <cfquery name="chart" datasource="#datasource#">
    select behaviourID,score, dateAdded2 = convert(varchar,
    dateAdded , 101)
    from staff_charts_data
    where userID =
    <cfqueryparam value="#arguments.userID#"
    cfsqltype="cf_sql_integer"> AND
    NOT score = 5
    </cfquery>
    If I want to order by dateAdded to I have to include it in
    the select statement like so:
    <cfquery name="chart" datasource="#datasource#">
    select behaviourID,score, dateAdded2 = convert(varchar,
    dateAdded , 101),dateAdded
    from staff_charts_data
    where userID =
    <cfqueryparam value="#arguments.userID#"
    cfsqltype="cf_sql_integer"> AND
    NOT score = 5
    </cfquery>

    you should be able to order by dateAdded without it being in
    the select clause. The only time the order by field has to be in
    the select clause is when your query has an aggregate and group by
    clause, like this:
    select field1, field2, max(field3) as youralias
    from sometables
    where whatever
    group by field1, field2
    order by ???
    You can only order field1, field2, max(field3) or youralias.
    You can't order by field4.

  • BW Metadata is incomplete error while generating datasources using CTBW

    The variant configuration datasources were created successfully in development system and BI side works fine in dev.
    We moved the VC datasources to our Quality system. Since our QA system client (500) is different from development (100) ECC system, I need to change the client number in QA ECC (as 500) and regenerate VC datasources using CTBW tcode [based on OSS note 588184].
    I used the following steps in QA ECC system
    go CTBW tcode in QA ECC
    Changed the client number from 100 to 500 for the VC datasource
    Selected the VC datasource row and then click on Characteristics
    Click on DataSource -- got the error "BW Metadata is incomplete"
    Not sure what is reason for that error message, Please advise if I am missing any steps.
    Thanks in advance

    Thanks for your quick response.
    We have same issue as mentioned by Sudheer.
    We don't have QA 500 client number in our Dev system, I can't generate the VC datasources in DEV.
    I can't change the tables in CLBW_SOURCES in DEV to include 500 as we don't have it.
    Let me know if this works for me
    I am asking BASIS to open QA 500 client so that I will make CLBW_SOURCES table entries change (from 100 to 500) and then re generate the QA VC datasources.
    Then load the data into SAP BI.
    My another question is even if we are successfully, we have another development box (similar to the first dev box) and another Quality box say Quality 2 (900 client, same as Quality 1), do I need to ask BASIS again to open Quality 2. Also what about production box..?
    It would be great if we can change it in first dev box so that we can move across these changes to different boxes.
    Thanks again

  • Adding a field in data selection tab of Info Package

    Hello,
    how can I add a field for selection in the data selection tab of the info-package in BW 3.5.
    Thanks,
    SD

    Hi,
    You need check Selection in RSO2 in ECC then that field is available for Selectgion in InfoPackage.
    Here I'm giving 0CUST_SALES_ATTR DataSource Example for Selection Change, so see the logic and accordingly you can change your DataSource Selections.
    See the properties of that field in RSA2 in ECC and you can also make it for selection, use the following program and see it.
    In ROOSFIELD table give the datasource 0CUST_SALES_ATTR and see , select only Active version Fields.
    For the following fields you can find FIELD = X, it indecates that it is abailable for selections, so in this way you try to do it by using following program and check.
    KUNNR
    SPART
    VKORG
    VTWEG
    REPORT ZBI_ROOSFIELD NO STANDARD PAGE HEADING .
    tables ROOSFIELD.
    Update ROOSFIELD set SELECTION = 'X' where
    OLTPSOURCE = '0CUST_SALES_ATTR' and
    FIELD = 'FAKSD '.
    Also see SAP Note : 1033847
    Re: Field Selection in Datasource 0CUST_SALES_ATTR
    Thanks
    Reddy

  • How to get count and other field in one select

    Hi,
    I am try to get total rows and some fields in two separate select:
    1. select count(id) into totalRows from mytable m where m.cat = 'CSV'
    2. select m.id, m.cat, m.updateTime from mytable m where m.cat = 'CSV'
    (all rows in mytable are distinct base on id field)
    How can I combine them into one query to make it faster so that no need to compare the m.cat field twice?
    Thanks.
    David

    Here's one solution :
    SQL> desc test;
    Name Null? Type
    ID NUMBER
    CAT VARCHAR2(10)
    UPDATE_TIME TIMESTAMP(6)
    SQL> select * from test;
    ID CAT UPDATE_TIME
    1 XYZ 09-JAN-04 09.04.17.000000 AM
    2 CSV 09-JAN-04 09.04.31.000000 AM
    4 ABCD 09-JAN-04 09.04.41.000000 AM
    5 CSV 09-JAN-04 09.04.53.000000 AM
    6 ABC 09-JAN-04 09.05.00.000000 AM
    7 CSV 09-JAN-04 09.05.06.000000 AM
    8 GGG 09-JAN-04 09.05.17.000000 AM
    7 rows selected.
    SQL> select id, cat, update_time
    2 ,Count(*) Over (Order By cat) As TotCnt
    3 from test
    4 Where cat = 'CSV'
    5 /
    ID CAT UPDATE_TIME TOTCNT
    2 CSV 09-JAN-04 09.04.31.000000 AM 3
    5 CSV 09-JAN-04 09.04.53.000000 AM 3
    7 CSV 09-JAN-04 09.05.06.000000 AM 3
    SQL>
    -- Shailender Mehta -

  • Unable to have field in selection screen of Infopackage

    Hello Gurus,
    I have a small problem,
    I am unable to bring on field in selection screen in Infopackage,
    even thou the object is ticket in DataSources selection option,
    I have noted that the object is of type DEC is it something to do with,
    Or is their any other way to have this object in selection screen of Infopackage,
    Please help me on this,
    Thanks & Regards,

    Bhanu its field type is DEC that’s why its not coming in selection screen in Infopackage .This is a big problem in our Development as this field is SPRIO(Procurement Priority) and we want to restrict this field with conduction SPRIO EQ 1.
    Our DataSource is based on Infoset , Bhanu is it possible to restrict this Field in Infoset writing some code. As their is option in Infoset for CODE we tried this but didn’t work.
    or any other way to restrict this field with 1.
    I really appreciate your reply.
    Thanks Once again.

  • Problem with Datasources

    I Guys I am new to BW, I activate a Datasource in RSA5, but when I try to replicate in BW I cannot see it, Do I have to create a Source System for R3 for this to work. I went to SM59 and create a RFC pointing to the Client I want to extract the data.
    Thanks You in Advance.

    Hello ,
    Please use the below procedure :
    1- Go to Transaction RSDS and enter your Data Source name and Source System ( you can check your source system if it is already available )
    If your source system is available, then goto datasource table and select replicate data source .
    Another Option :
    ,Go to  transaction SBIW in the source system choose Business Information Warehouse-- Business Content DataSources --Transfer Business Content DataSources
    Select the nodes in the application component hierarchy for which you want to transfer DataSources into the active version..
    Alternative you can  Go to Data Warehousing Workbench. Transaction RSA1
    Select the Datasource tab--select your application component --and right click --replicate meta data .
    Now if you have not connected with Source system  first ask your Basis Team to make connection between R/3 source and BW system .
    If this task you have to do then follow the instruction given in below link :
    http://help.sap.com/saphelp_nw70/helpdata/en/ac/4a4e38493e4774e10000009b38f889/content.htm
    hope this helps
    Regards
    Vikas Sharma
    Robert Bosch

Maybe you are looking for

  • Why does my imac start up in safe mode

    hi, imac starts up in safe mode. not every time,  only when progress bar appears at startup. I have had the Logic board replaced under warranty but it still started in safe mode. sometimes when it has started the wifi symbol is missing and no wifi, o

  • ITunes crashes everytime i open apple tv

    Since 2 days ago, itunes crashes whenever i try to access the itunes library via apple tv 2 Using an iMac with latest Lion OS, latest software on all apple apps, itunes 10.5.3 Have never had this issue before using 3 x Apple TVs Wireless network is h

  • Filter data from Powerpivot to Excel

    Hi Everyone Is there a way to filter data from Powerpivot to Excel so that you are only selecting a subset of records to pivot over in Excel? Paul

  • How get video's on Ipod?

    Hello I cant figure out how to get some video on my Ipod I have some on Itunes. If i go to ipod administrator options i cant select anyting. Click here to vieuw please help me!!

  • How do I disable check-in/check-out on a SP2013 query that is pulling from multiple document libraries

    Some of the document libraries I am using need to have publishing enabled and some do not. But the query (for most recently updated documents in the site) shouldn't let the user check-out any documents (only see them in read-only mode).