Powershell Script Not putting any data in output

I have a powershell script that matchs a text file with file names to a directory consisting of data files On the first match between these 2 it should copy the matched file in the directory to another directory.'
The text file consists of file names only    The directory consists of the text data for these file name
test1.txt                                                   test4
test2.txt                                                   test3
test3.txt                                                   test5
Inside test2 test3 and test3 are DB deployments scripts.
Since test3 is the first match the data file test3 should move to an output directory but its not 
Here is my script
$objFolder = "C:\Serena\ReleaseAutomationAgent\core\var\work\ABS_SQL\"  #(directory)
$objFile = "C:\Serena\ReleaseAutomationAgent\core\var\work\tmp\compare2.txt" #(File)
$outFile ="C:\Serena\ReleaseAutomationAgent\core\var\work\ABS_SQL\deploy\"  #Output Directory
Compare-Object -ReferenceObject (gc $objFile) -DifferenceObject (gci $objFolder|select -ExpandProperty Name) -ExcludeDifferent -IncludeEqual|select -first 1 -Expand InputObject | %{Copy-Item "objFolder\$_" -Dest $outFile}
Any help on this would be appreciated

That seems horribly convoluted.
I'd do something like this:
$objFolder = "C:\Serena\ReleaseAutomationAgent\core\var\work\ABS_SQL\" #(directory)
$objFile = "C:\Serena\ReleaseAutomationAgent\core\var\work\tmp\compare2.txt" #(File)
$outFile ="C:\Serena\ReleaseAutomationAgent\core\var\work\ABS_SQL\deploy\" #Output Directory
$compare = get-content $objFile
gci $objFolder | where {$compare -contains $_.name} |
%{Copy-Item "$objFolder\$_" -Dest $outFile}
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

Similar Messages

  • Popularity Trends not showing any data

    Hi,
    we are using SP 2013 RTM version and it is not showing any data in the usage statistics when we run the popularity trends reports. Is this a bug with SP 2013 RTM version? or am i missing something?
    Thanks
    techie

    Hi,
    Per my understanding, Popularity Trends report showing no data in your environment.
    For narrowing down the issue, I suggest you check whether the two timer jobs “Microsoft SharePoint Foundation Usage Data Import” and “Microsoft SharePoint Foundation Usage Data
    Processing” which are handling the usage report runs without issue.
    More information about how to deal with this issue for your reference:
    http://blog.fpweb.net/troubleshooting-sharepoint-2013-web-analytics/#.VQKMGHkfqwU
    http://snowburnt.blogspot.com/2014/12/how-to-troubleshoot-sharepoint-usage.html
    http://geekswithblogs.net/bjackett/archive/2013/08/26/powershell-script-to-workaround-no-data-in-sharepoint-2013-usage.aspx
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Adobe Media Encoder Could not write XMP data in output file.

    Hi there i have searched for this on the forums,
    if there is a Thread on it please Link:)
    This is my Encoding Log from Adobe Media ancoder,
    (se Below).
    im doing a projekt from Mts Files, in Premiere pro
    i have Checked the box that no Xmp Data needs to be added, to the left from the Queue button in the export window.
    Should i Delete all the Xmp in Bridge or somthing like that to Resolve this?
    Regards
    Jonas Dwight
    Encoding Log:
    - Source File: /Users/Blasuk/Library/Caches/TemporaryItems/Mogel_oe_2014_nyeste.prproj
    - Output File: /Users/Blasuk/Desktop/Video_Projekts/Fremkaldte/Moegeloe2014-hq.mp4
    - Preset Used: Custom
    - Video: 1920x1080 (1,0), 25 fps, Upper, 01:18:52:10
    - Audio: AAC, 320 kbps, 48 kHz, 5.1
    - Bitrate: VBR, 2 pass, Target 15.00 Mbps, Max 41.30 Mbps
    - Encoding Time: 11:05:14
    01/05/2015 07:35:01 PM : File Encoded with warning
    File importer detected an inconsistency in the file structure of Moegeloe2014-hq.mp4.  Reading and writing this file's metadata (XMP) has been disabled.
    Adobe Media Encoder
    Could not write XMP data in output file.

    Any help please?! Thank you!

  • CC 5.2 Alert Generation - Not extracting any data from SAP

    Hi there,
    We are trying to use the alert function for critical transactions in CC 5.2. We have set the relevant parameters in CC. The Alert_Log.txt is created successfully but it is not extracting any data from SAP. Is there any settings that I am missing here, both in R/3 and CC 5.2? I really appreciate your help. Below is the Alert_Log.txt for your review.
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob scheduleJob
    FINEST: Analysis Daemon started background Job ID:41 (Daemon ID D:\usr\sap\CC1\DVEBMGS00\j2ee\cluster\server0\. Thread ID 0)
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob scheduleJob
    INFO: -
    Scheduling Job =>41----
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob run
    INFO: --- Starting Job ID:41 (GENERATE_ALERT) - AlertGeneration_Testing
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob setStatus
    INFO: Job ID: 41 Status: Running
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob updateJobHistory
    FINEST: --- @@@@@@@@@@@ Updating the Job History -
    1@@Msg is AlertGeneration_Testing started
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.dao.BgJobHistoryDAO insert
    INFO:
    Background Job History: job id=41, status=1, message=AlertGeneration_Testing started
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob alertGen
    INFO: @@@ Alert Generation Started @@@
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob alertGen
    INFO: @@@ Conflict Risk Input has 1 records @@@
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob alertGen
    INFO: @@@ Critical Risk Input has 1 records @@@
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob alertGen
    INFO: @@@ Mitigation Monitor Control Input has 1 records @@@
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface alertGenerate
    INFO: @@@@@ Backend Access Interface execution has been started @@@@@
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface alertGenerate
    INFO: @@System=>R3
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface alertGenerate
    INFO:
    No of Records Inserted in ALTCDLOG =>0 For System =>R3
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface append_TcodeLogFile
    INFO: *********SOD Tcode Size=>0**************
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface append_TcodeLogFile
    INFO: *********Alert Tcode Log File=>D:\cc_alert_log\cc_alert_log1.txt is created**************
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface alertGenerate
    INFO:
    File Output Log File Size ==>0----
    For System =>R3
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface alertGenerate
    INFO: -
    Conf Last Run Date=>2007-12-12--Conf Last Run Time=>12:45:11--
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface alertGenerate
    INFO: ==$$$===Notif Current Date=>2007-12-20==$$$==Notif Current Time=>14:27:32===$$$===
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface send_AlertNotification
    INFO: ****************** send Notification Alert Type=>1
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface send_AlertNotification
    INFO: ******Alert Notification=>CONFALERTNOTIF==LastRunDate:=>2007-12-20==LastRunTime:=>00:00:00==Curr Date=>2007-12-20==Curr Time=>14:27:32*********
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface send_AlertNotification
    INFO: ****************** send Notification Alert Type=>2
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface send_AlertNotification
    INFO: ******Alert Notification=>CRITALERTNOTIF==LastRunDate:=>2007-12-20==LastRunTime:=>00:00:00==Curr Date=>2007-12-20==Curr Time=>14:27:32*********
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface send_AlertNotification
    INFO: ****************** send Notification Alert Type=>3
    Dec 20, 2007 2:27:32 PM com.virsa.cc.comp.BackendAccessInterface send_AlertNotification
    INFO: ******Alert Notification=>MITALERTNOTIF==LastRunDate:=>2007-12-20==LastRunTime:=>00:00:00==Curr Date=>2007-12-20==Curr Time=>14:27:32*********
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.mgmbground.dao.AlertStats execute
    INFO: Start AlertStats.............
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.mgmbground.dao.AlertStats execute
    INFO: start:Sat Dec 01 14:27:32 CST 2007
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.mgmbground.dao.AlertStats execute
    INFO: now:Thu Dec 20 14:27:32 CST 2007
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.mgmbground.dao.AlertStats execute
    INFO: end: Tue Jan 01 14:27:32 CST 2008
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.mgmbground.dao.AlertStats execute
    INFO: Month 2007/12
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob alertGen
    INFO: @@@=== Alert Generation Completed Successfully!===@@@
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob setStatus
    INFO: Job ID: 41 Status: Complete
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.BgJob updateJobHistory
    FINEST: --- @@@@@@@@@@@ Updating the Job History -
    0@@Msg is Job Completed successfully
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.bg.dao.BgJobHistoryDAO insert
    INFO:
    Background Job History: job id=41, status=0, message=Job Completed successfully
    Dec 20, 2007 2:27:32 PM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob scheduleJob
    INFO: -
    Complted Job =>41----

    Hi,
    we have ran into similar issue of alert log being not displayed accurately in CC 4.0 version and we implemented the Note 1044393 - CC5.1 Alerts, it did work for us, as you are using CC5.2, I would recommend you to check the code and then try this note. But iam still skeptical whether this note will be helpful to you or not.
    Thanks,
    Kavitha

  • ACS Report - User_Usage_Logon - not returing any data and the report never finishes

    Hi,
    i'm trying to run the User Usage report, but not getting any data output.
    i tried to open the report in the report builder to check the query,, but the query is in XML format and i'm not able to figure out the actual query that pulls out the data.
    i need help on the below :
    1. way to check , if the ACS database , does actually have any data.
    2. to pull out the actual query from the  XML data.
    thanks,
    Sameer

    Hi,
    As we only have one report experienced this timeout issue. Given this situation, we can try the following steps to narrow down the issue:
    1.Run the report directly through SSRS report manager URL to test if we still get this issue.
    2.If yes, increase the timeout limitation for this single report.
    3.As for further investigation, we can enable SSRS verbose logging by referring to the following steps:
    Enabling verbose log in Reporting Services Instance :
    To enable the verbose logging for the Reporting Services instance you have to follow below steps.
    Go to location
    C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
    Find the ReportingServicesService.exe.config
    file, make a copy first, and then open it in editor and change the below configuration.
    <system.diagnostics>
        <switches>
          <add name="DefaultTraceSwitch" value="4" />
        </switches>
      </system.diagnostics>
      <RStrace>
        <add name="FileName" value="ReportServerService_" />
        <add name="FileSizeLimitMb" value="32" />
        <add name="KeepFilesForDays" value="14" />
        <add name="Prefix" value="appdomain, tid, time" />
        <add name="TraceListeners" value="file" />
        <add name="TraceFileMode" value="unique" />
        <add name="HttpTraceFileName" value="ReportServerService_HTTP_" />
        <add name="HttpTraceSwitches" value="date,time, clientip,username,serverip,serverport,host,method,uristem,uriquery,protocolstatus,bytesreceived,timetaken,protocolversion,useragent,cookiereceived,cookiesent,referrer"
    />
        <add name="Components" value="all:4,reportrendering:4,http:4" />
      </RStrace>
    You have to restart the Reporting Services from Reporting Services configuration manager.
    4.After enable the verbose logging, reproduce this issue again by running the report, record the timestamp when we start the report, when the error popped up.
    5.Then check SSRS log files at the following path, in the file which contain the issue time, check if there is any error message.
    C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].

  • Sys_refcursor not fetching any data although query returns value

    hi!!!
    I am using sys_refcursor to return columns,and using below procedure to do so.Although data is there in table_1 and table_2.
    PROCEDURE test_pro(abc_date N DATE,
    cur_get_data OUT sys_refcursor
    OPEN cur_get_data
    for
    select A.col1,B.col2
    from table_1 A
    where A.dis_date=abc_date
    left outer join
    table_2 B
    on
    A.dis_date=B.dis_date;
    IF cur_get_data%rowcount=0
    then
         raise e_error;
    END if;
    EXCEPTION
         when e_error
         then
              ------no_data_found;
         when others
         then
    --------(giving SQL error with error code);
    END      test_pro;
    while running below sql in sql window of pl/sql developer fetching
    data
    select A.col1,B.col2
    from table_1 A
    where A.dis_date=abc_date
    left outer join
    table_2 B
    on
    A.dis_date=B.dis_date;
    but while testing the test_pro in test window of pl/sql developer it is
    not fetching any data and raising e_error each time
    is there any problem arising using IF cur_get_data%rowcount=0 as each time it is going to exception block..
    so can somebody please put some ideas what cud be the possible reason for this??

    Welcome to the forum!
    Unfortunatley you posted to the wrong forum. This question belongs in the SQL and PL/SQL forum.
    PL/SQL
    >
    sys_refcursor not fetching any data although query returns value
    but while testing the test_pro in test window of pl/sql developer it is
    not fetching any data and raising e_error each time
    is there any problem arising using IF cur_get_data%rowcount=0 as each time it is going to exception block..
    >
    A cursor doesn't fetch data - your code has to do that. The code you posted doesn't have any FETCH statements so no data will be fetched.
    There is no problem using 'IF cur_get_data%rowcount=0' but it will always be 0 in your code because you are not fetching any data.
    I'm guessing that you are trying to determine if there are any rows for the query. That isn't going to work since a cursor doesn't fetch rows.
    You just have to return the cursor to the caller and the caller will have to perform at least one fetch to see if there are any rows.
    If the above answers your question the just mark the question ANSWERED. Otherwise, since you have posted in the wrong forum
    1. repost the question in the SQL and PL/SQL forum
    2. Edit this post to add a link to the new thread in the other forum
    3. Mark this question ANSWERED so people will follow up in the other forum.
    Thanks.

  • 0fi_gl_4 init is not pulling any data

    Hi All,
      We have ofi_gl_4 installed and running fine with deltas. We thought of reinitializing the delta because of some business reasons. I deleted the delta initialization and started delta initialization with data transfer with Fiscal Year/Period selection. It is not pulling any records and it is saying there is no new delta since last extraction. I'm sure there is data as this extractor pulled the data so far for this period.
      Then I thought of testing this using RSA3. Even RSA3 is not pulling any data. But there is data in BKPF/BSEG for this periods.
    The extractor is putting the correct time stamps in BWOM2_TIMEST and all other entries in tables like TPS31, BWOM_SETTINGS are all okay.
    Did any body faced this problem? Is there any change in the FI extractors recently?
    Your help is greatly appreciated.
    Thanks,
    Trinadha

    Hello Trinadha,
    You may want to have a look at OSS note 640633. Following is the text from note.
    Hope it helps.
    Regards,
    Praveen
    Symptom
    Deleting the Init 0FI_GL_4 deletes all BWFI_AEDAT data
    Other terms
    0fi_gl_4, 0fi_ar_4, 0fi_ap_4, 0fi_tx_4, BWFI_AEDAT, BWFI
    Reason and Prerequisites
    The system was intentionally programmed like this.
    Solution
    The error is corrected in the standard system with PI 2004.1.
    The reset logic is changed with this note so that during the reset, the DataSources 0FI_4 only delete their own entries in the initial selection table (ROOSPRMSF) and in the time stamp table (BWOM2TIMEST). The data of the table BWFI_AEDAT is, however, only deleted if no more 0FI__4 DataSources are active.
    Proceed as follows for the advance correction:
    1. Install the code in function module BWFIT_RESET_TIMESTAMPS or include LBWFITTOP.
    2. Create an executable program ZFCORR_BW_02 with transaction /NSE38.
    Program title:        Change 0FI_*_4 DataSources.
    Selection texts:      Name Text
                           OBJVERS Version
                            OLTPSOUR DataSource
    Implement the source code of program ZFCORR_BW_02.
    Execute the program for the DataSources 0FI_AR_4, 0FI_AP_4 and 0FI_TX_4. The program uses the BWFIT_RESET_TIMESTAMPS function module as a reset module for these DataSources.

  • Delta Load is not pulling any data....Need to Run Full Repair EVERYTIME ? ?

    Dear Experts,
    Today again I need your help gurus.
    The Delta load is running everyday but its not getting any data to BW form CRM. But when the User raises an issue regarding the data , I pull the data by Repair Full load by some Selection ( Same selection of Delta + Transaction No ).
    The selection(For Full Repair Load ) is only the Transaction No and the Sales Organization.
    The selection for the normal Delta is Sales Organization ( 0CRM_SALORG ) 50000609.
    But I am confused about the issue.
    Kindly put some light on this issueu2026
    Thanks,
    Sanjana

    Hi Sanjana:
       Have you applied any SAP Note to fix this problem? Please check if the SAP Note below helps you in solving this issue.
    Note 788172 - "CRM BW adapter: No data in delta with parallel processing"
    Regards,
    Francisco Milán.

  • I cant drag musin off of my laptop into my itunes an red circle with an slanted in the middle line pops up im so very frustrated i can not put any music on my phone

    I cant drag musin off of my laptop into my itunes an red circle with an slanted in the middle line pops up im so very frustrated i can not put any music on my phone

    Hi Darray123,
    If you are having issues moving music to your iPhone, you may find the following articles helpful:
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/HT1386
    Apple Support: Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/HT1535
    Regards,
    - Brenden

  • Product Revenue Bookings and Backlog Dashboard does not display any data

    Product Revenue Bookings and Backlog Dashboard does not display any data even though the load completed successfully.
    They are able to see just the parameters.
    Not sure if the upgrade of the database from 9.2.0.6 to 10.2.0.3 is a factor.
    What can I check?
    Is there some table to verify that the data exists for display in the Product Revenue Bookings and Backlog Dashboard?
    Screenshot is at:
    https://gtcr.oracle.com/gtcr-dir/gtcr_5637/6415786.993/Product_Revenue_Bookings_Backlog_Dashboard.doc
    Support suggested to create a new request set and run the initial load with load all summaries option; but there was no change in the Product Revenue Bookings and Backlog Dashboard.
    Any ideas?

    hi
    We have faced the similar problem after the upgrade to 10G
    What we did was
    Ran the initial load of time dimension, Item setup request set, and the request set of all the dash board in the clear and initial load mode..
    we were able to get the data once the clear and load is completed successfully
    Regards
    Ramesh Kumar S

  • BI Publisher Word Template The report does not contain any data fields.

    I have OBIEE BI Publisher report (10.3.4) working fine using BIP but using MS Word 2003 I want to create new template and want to add charts etc.
    Step 1. In MS Word I successfully login Oracle BI Publisher as Administrator
    2. Oracle BI Publisher -> Open (I open the report)
    3. Go to Insert -> Table Wizard
    I get this error:
    The report does not contain any data fields. Please make sure that the reports generates data with the default settings or provide a valid XML file.
    Please help

    Hi
    How do I load XML data? Also why XML data load is required? Do I have to export XML data from BIP View screen and load from the same file from the word?
    Please clarify
    Thanks

  • When I tried to Mail Merge for Data is is not exporting any data.

    HI,
    EBS-12.1.3
    DB-11gR1
    OS - RHEL 5.6
    [With my Login User and SysAdmin Login User] When I enter into to the "People -> Enter and Maintain" Form and then I press the "Export Button", there is error Alert
    Function is not available to this responsibility. Change Responsibilities or Connect to the System Administrator
    I Added the Function "HR ADI Seeded Integrator Form Functions" into the "AE HRMS Manager" Responsiblity. It is also working and Export Data icon is enable.
    Problem:
    But Problem is when I tried to Mail Merge for Data is is not exporting any data.
    ====================================================================
    Steps
    1.Move to the "People -> Recruirment" and then "Request Recruitment Letter" .
    2. Enter the New Request. as
    Letter Name "App. Letter Contract Site",
    Automatic or Manual = Manual.
    Select the Name from the LOVs for the Request for Detail Block.
    3. Press the "Export Data" icon.
    4. Integrator Page Appear with my Custom Integrator Name as "Appointment Letter - Contact Site".
    5. Select the "Word 2003" from the View List. and Reporting is Checked.
    6. Review the Folowing Enteries as:
    Integrator Appointment Letter - Contact Site
    Viewer Word 2003
    Reporting Yes
    Layout App. Letter Contract Site
    Content XXHR_MBE_APP_LET_CONT_SITE_V
    Session Date 2011/08/02
    Mapping XXHR_MBE_APP_LET_CONT_SITE_V Mapping
    7. Press "Create Document" Button.
    8. It will open the Excel 2003 and then Word 2003. But no data down download from the Form.
    9. It open the Mail Merge Letter but no Data is Display.
    ===========================================================
    Note:
    a. I am following the Steps from the Link:"http://apps2fusion.com/at/38-ss/351-generate-recruitment-letters-web-adi".
    b. From the "Desktop Integrator Manager", "Oracle Web ADI", "HRMS Web ADI", it is working fine and Dowload the Data.
    ===========================================================
    Thanks
    Vishwa

    Please try the solution in ("Function not available to this responsibility" Error While Cliclking On Forms Personalisation [ID 1263970.1]) and see if it helps.
    Thanks,
    Hussein

  • ReportViewer control used with a remote report does not display any data.

    Hi there,
    I have this .rdl report that runs just fine on our reporting server (I can see that when I try to run the report by accessing its URL in a browser). However, when I run it in my Windows-based application, I do not see any data. My report has two input parameters
    and it needs to impersonate the caller's identity because the database uses Windows Authentication.
    Here is the code I use:
    var reportViewer = new ReportViewer();
    // Set Processing Mode
    reportViewer.ProcessingMode = ProcessingMode.Remote;
    // Set report server and report path
    reportViewer.ServerReport.ReportServerUrl = new Uri("http://MySsrsServer/reportserver");
    reportViewer.ServerReport.ReportPath = "/Reports/MyReport";
    // set the credentials
    reportViewer.ServerReport.ReportServerCredentials.ImpersonationUser = WindowsIdentity.GetCurrent();
    // create report parameters and set them in the report
    var param1 = new ReportParameter("First_Param", "Some string");
    var param2 = new ReportParameter("Second_Param", "Some other string");
    reportViewer.ServerReport.SetParameters(new ReportParameter[] { param1, param2 });
    using (var reportForm = new ReportForm(reportViewer))
    reportForm.ShowDialog();
    The ReportForm is just a regular Form that has a member of type ReportViewer. In the class' constructor, I assign the member:
    public ReportForm(ReportViewer reportViewer)
    InitializeComponent();
    try
    this.reportViewer = reportViewer;
    reportViewer.SetDisplayMode(DisplayMode.PrintLayout);
    reportViewer.Dock = DockStyle.Fill;
    reportViewer.ZoomMode = ZoomMode.Percent;
    reportViewer.ZoomPercent = 100;
    reportViewer.RefreshReport();
    catch (Exception exception)
    MessageBox.Show(exception.Message);
    Using database level tracing, we were able to confirm that the two Stored Procedures used by the report are called and they return correct and valid records. However, in the form nothing shows up:
    Any suggestions?
    TIA,
    Ed

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • File Screening Audit Report does not contain any data : report statistics is empty

    Hi ,
     I have enabled File screen audit and Record file screening activity in auditing database options in file server 2008. 
    I am getting details of file screen audit in Event log  , But incident report file screen audit report does not contain any value.
    Getting report for each incident of file screen audit  , But it does not contain any data in report statistics.
    Data available in scheduled report of file screen audit.. not available in incident report only..
    Please assist...
    Thanks,
    Vasanth.M
    Thanks, Vasanth.M.

    Please note that, If the Record file screening activity in the auditing database check box is cleared, the File Screening Audit Reports will not contain any information. To configure file screen audit, I would refer you on this informative
    technet library :
    https://technet.microsoft.com/en-us/library/cc754540.aspx
    Carlo

  • Event Management Datasources 0SCEM_1 ,2 ,3 not showing any data in RSA3.

    Hi Experts,
    I am trying to load SC Event Management data into BW.
    On the source system side , I did following thins, Still I'm not finding any data in RSA3. 
    a)  Use Tcode- /SAPTRX/BWGS and
    i) Set the BW upload mode to V1 u2013 Direct Delta Upload
    ii) Activate the BW upload for the extraction structures /SAPTRX/BWTFSEE, /SAPTRX/BWTFSEG, and /SAPTRX/BWTFSEH.
    iii) You must generate the DataSources for all the extraction structures (/SAPTRX/BWTFSEE, /SAPTRX/BWTFSEG, and /SAPTRX/BWTFSEH) for which appends have been changed or created. To generate the DataSources, in the dialog structure, choose DataSources Generation for the relevant extraction structure. If you use the standard appends without modifications, you do not have to generate the DataSources.
    b) Initialize set up tables for EM upload using Tcode- /SAPTRX/BWID
    c) The three setup tables must be filled with the relevant data for the respective event handlers. This enables the initial data upload to SAP NW BI. The parameter for the BW upload has been set to u2018 u2019 for the BW Upload Rule. This indicator specifies that an initial upload is carried out. This is executed Tcode- /SAPTRX/TSC0TR.
    d) Afterwards trigger the initial loading using Tcode- /SAPTRX/BWIU.This transaction sends the BWUPLOAD event to all the event handlers selected according to the
    specified selection criteria. Note that even inactive event handlers can be selected. The system collects all the relevant data (according to the rules in the BW profile) for the selected event handlers (those for which the BWUPLOAD event has been reported) and stores the data in the three setup tables.
    e) You must check if the parameter for the BW upload is set to delta upload using Tcode- /SAPTRX/TSC0TR
    Still I'm not seeing any data in RSA3. Can any one please help me to extract the data into BW side.
    Regards
    Akki.

    Hi,
    You can below link from extraction , It may help.
    http://wiki.sdn.sap.com/wiki/display/SCM/SAPEMIntegrationwithSAPNetWeaverBI
    Regards,
    Satya

Maybe you are looking for

  • So you want to change your primary mail but can't get past the password question?

    Claudius,either you didn't read my post, or you jumped to conclusions. I had a skype account that was created using a microsoft account (NOT THE ACCOUNT I AM USING NOW). PURE MICROSOFT ACCOUNT NO OTHER ACCOUNT LINKING.I had to change the primary mail

  • Standard menu bar and title bar

    Hi to all I am developing a module pool program in which I have defined set pf status in PBO event. But while running the program that standard tool bar not working. Plz guide me.... Thanks & Regards Anubhav

  • Problem Flash Builder and Blazeds

    Hi I'm trying to create a project in flash builder 4. I created it and set up this site as http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/. I am still in doubt of how to do that with Blazeds connect with my J2EE application.  When I c

  • Hide Column in Query

    Hello, I have one query that it contains 24 columns, necessary to create one variavel where the user will go to choose creaks, in accordance with the choice opens somesnte the columns referring that one creaks selected. Exists some How To? Ex: In cas

  • Result from measurement

    Where does Teststand put the result from the calling module ? I've written a number of steps in TS 3.1 using the LV7.1 prototype adapter. All my step valuations are 0 ! I assume when I create the "Specify a module step" I have to "wire" the resulting