Store z-table (during an report execution) in a BW system

Is there a way (and how- an example) to store z-table (during an report execution) in a BW system. We would not like Ztables to reside in R/3
Thank you in advance

Is there a way (and how- an example) to store z-table (during an report execution) in a BW system. We would not like Ztables to reside in R/3
Thank you in advance

Similar Messages

  • Export txt file with all parameter values during the report execution

    Hello,
    I've developed one report in Report Builder 3.0 , report server being  SRSS 2008 R2. This report has one report parameter named id_product. There are two data sets available. One data set  is for populating the report table.  In the second
    data set I'm trying to export the id_product. The below query works fine only for single valued parameter id_product, this query being used in the second data set   Report pops-up an error when trying to run the report for multiple products at the same
    time. I looked in SQL Profiler and it seems like inserting the parameter values in the global temporary table is not possible using the current code.
    I'm aware of the VB Expression named Join but in such case I'm not sure if I can use it. It would be great if I can use this kind of expression. This way I would not create the data set anymore.  
    Current query:
    drop table ##SelectedValuescreate table ##SelectedValues(id_product nvarchar(max))insert into ##SelectedValues(@id_product) exec xp_cmdshell 'bcp "select ''id_product'' union all select * from ##SelectedValues" queryout "G:\Report\sqloutput.csv" -c -T -t'
    Input: ProductId parameter values : 12, 16, 20
    Desired output in csv:
    id_product
    12
    16
    20

    Hi chopstix21,
    Just as you thought, we can use join function to insert the values from a multiple value parameter to a temp table with VB Expression. After testing it in my own environment, we can refer to the following steps:
    Create the second dataset using the query below:
    drop table ##SelectedValues
    create table ##SelectedValues(id_product nvarchar(max))
    insert into ##SelectedValues(‘1’)
    exec xp_cmdshell 'bcp "select ''id_product''
    union all select * from ##SelectedValues" queryout "G:\Report\sqloutput.csv" -c -T -t'
    Change the dataset using the expression like below:
    ="drop table ##SelectedValues"&
    "create table ##SelectedValues(id_product nvarchar(max))" &
    "insert into ##SelectedValues values (" & Join(Parameters! id_product.Value,"),(") &")" &
    "select * from ##SelectedValues"
    When we select 12, 16, 20 from parameter id_product, the second dataset will return 12, 16, 20 values as id_product field.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Oracle Apps - How to create a table before report execution?

    Hi,
    I'm new to oracle apps, I created a procedure to get some values for a report and created a query to get the remaining values. Now I need to populate those values into a temporary table and after the report execution I have to delete the table. In apps there is no before parameter form. If any one can help me, that will great.
    Thanks in advance.

    Hi,
    Do you really need to create a table INSIDE the report? It doesn't look like a good idea to me. For instance, what happens if 2 users try to execute the report at the same time? I would create a global temporary table before any execution of the report, and then I would just populate the data in the table in the 'Before Report' trigger. The data in a global temporary table is only visible at session level, so you wouldn't have any problems with multiple users executing the report at the same time and the data disappears once you finish your session, so you don't need to take care of deleting the data.
    Hope it helps.

  • Change Property of any field during report execution.

    Dear All,
    Can any one tell me that
    HOW CAN WE CHANGE THE PROPERTY OF ANY FIELD IN ANY FRAM / SECTION, DURING REPORT EXECUTION ( I MEAN ACCESSING THE PROPERTY OF ANY FIELD IN TRIGERS ).
    Please help ....

    Thank You Dear aguero ...
    You got my point but still it is not applicable. Don't worry, I have solved my problem by other way. The complete story is as under
    PROBLEM
    ========
    I have a field DT as a part of query and this field is in the group G_DT. I am using repeating frame based on the group G_DT. I have another TEXT ( not field ) B5 at the bottom margin of the page ( it is a stand alone text and not the part of G_DT ). I want that if DT >= '02-Oct-2007' then show B5 otherwise hide it.
    SOLUTION
    ========
    I have defined a user parameter P_Note as character. I have used this parameter in the triger BEFOREREPORT as under.
    function BeforeReport return boolean is
    begin
    if to_date('02-'||:DT,'DD-MON-YYYY') = '02-Oct-2007' then
    :P_Note := 'Y';
    else
    :P_Note := 'N';
    end if;
    return (TRUE);
    end;
    AND USED ANOTHER FORMAT TRIGER as under
    function B_5FormatTrigger return boolean is
    begin
    -- Automatically Generated from Report Builder.
    if (:P_Note = 'N')
    then
    return (FALSE);
    end if;
    return (TRUE);
    end;
    It works and my problem is solved ..
    Thanks for your attention ...... dear aguero

  • Data in Table Control vanishes after report execution

    Hi,
    I have created a report program with a table control on its selection screen (on a subscreen).
    The report executes perfectly, but, after the report execution, once the control comes back to the selection screen, the data entered in the table control gets cleared.
    Please let me know how can I retain the data entered in the table control even after the report execution.
    Regards,
    David.

    Hello,
    When control comes back to selection screen. PBO event executes and possibly internal table has got cleared somewhere before that.
    Debug you code to find the exact problem line. You can also add watchpoint for internal table with value initial. So code will break in debug mode whenever internal table is cleared.
    Hope this helps!
    Thanks,
    Augustin.

  • Is goldengate veridata report store in table

    Hi Expert,
    i need veridata report in table, is veridata report store under the veridata user's tables or any another. Or is there any parameter to enable to store this report in tables.... becuase veridata user by default create 37 tables but these are not getting update with the information....

    i find a lot and finally i conclude goldengate veridata don't store the information in the tables.... its read the information from the files.....

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • An error occurred during local report processing.The definition of the report '' is invalid.The definition of this report is not valid or supported by this version of Reporting Services. he report definition may have been created with a later version of R

    Hi,
    I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
    ' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
      m_fields = NewArrayList()
      Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
          m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
      Next i
      'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
      stream = File.OpenWrite("D:\MyTestReport2.rdlc")
      Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
      ' Causes child elements to be indented
      writer.Formatting = Formatting.Indented
      ' Report element
      writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
      writer.WriteStartElement("Report")
      writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
      writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
      writer.WriteStartElement("ReportSections")
      writer.WriteStartElement("ReportSection")
      writer.WriteElementString("Width", "11in")
      writer.WriteStartElement("Body")
      writer.WriteElementString("Height", "5in")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Tablix")
      writer.WriteAttributeString("Name", Nothing, "Tablix1")
      writer.WriteElementString("Top", ".5in")
      writer.WriteElementString("Left", ".5in")
      writer.WriteElementString("Height", ".5in")
      writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
      writer.WriteStartElement("TablixBody")
      ' Tablix Columns
      writer.WriteStartElement("TablixColumns")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixColumn")
          writer.WriteElementString("Width", "1.5in")
          writer.WriteEndElement() ' TableColumnNext fieldName
      writer.WriteEndElement() ' TablixColumns' Header Row
      writer.WriteStartElement("TablixRows")
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
          ' writer.WriteAttributeString("CanGrow",  True)' writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          writer.WriteElementString("Value", fieldName)
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows          Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows")         Since Rows tag in header is not closed not need to open fresh tag
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          '  writer.WriteAttributeString("CanGrow", True)'  writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          'writer.WriteElementString("Value", fieldName)
          writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow
      writer.WriteEndElement() ' TablixRows'End of Details Rows
      writer.WriteEndElement() ' TablixBody
      writer.WriteStartElement("TablixRowHierarchy")
      writer.WriteStartElement("TablixMembers")
      writer.WriteStartElement("TablixMember")
      ' Group
      writer.WriteElementString("KeepWithGroup", "After")
      writer.WriteEndElement() ' TablixMember' Detail Group
      writer.WriteStartElement("TablixMember")
      writer.WriteStartElement("Group")
      writer.WriteAttributeString("Name", Nothing, "Details")
      writer.WriteEndElement() ' Group
      writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixRowHierarchy
      writer.WriteStartElement("TablixColumnHierarchy")
      writer.WriteStartElement("TablixMembers")
      'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
          writer.WriteStartElement("TablixMember")
          writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixColumnHierarchy
      writer.WriteElementString("DataSetName", "tbdataset")
      writer.WriteEndElement() ' Tablix
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' Body
      writer.WriteStartElement("Page")
      ' Page Header Element
      writer.WriteStartElement("PageHeader")
      writer.WriteElementString("Height", "1.40cm")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Textbox")
      writer.WriteAttributeString("Name", Nothing, "Textbox1")
      writer.WriteStartElement("Paragraphs")
      writer.WriteStartElement("Paragraph")
      writer.WriteStartElement("TextRuns")
      writer.WriteStartElement("TextRun")
      writer.WriteElementString("Value", Nothing, "ABC CHS.")
      writer.WriteEndElement() ' TextRun
      writer.WriteEndElement() ' TextRuns
      writer.WriteEndElement() ' Paragraph
      writer.WriteEndElement() ' Paragraphs
      writer.WriteEndElement() ' TextBox
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' PageHeader
      writer.WriteEndElement() ' Page
      writer.WriteEndElement() ' ReportSection
      writer.WriteEndElement() ' ReportSections' DataSources
      writer.WriteStartElement("DataSources")
      writer.WriteStartElement("DataSource")
      writer.WriteAttributeString("Name", Nothing, "tbdata")
      writer.WriteStartElement("DataSourceReference")
      writer.WriteEndElement() ' DataSourceReference
      writer.WriteEndElement() ' DataSource
      writer.WriteEndElement() ' DataSources'DataSet
      writer.WriteStartElement("DataSets")
      writer.WriteStartElement("DataSet")
      writer.WriteAttributeString("Name", Nothing, "tbdataset")
      writer.WriteStartElement("Query")
      writer.WriteElementString("DataSourceName", Nothing, "tbdata")
      'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
      writer.WriteElementString("CommandText", Nothing, "TableDirect")
      writer.WriteEndElement() ' Query'Fields
      writer.WriteStartElement("Fields")
      ForEach fieldName In m_fields
          writer.WriteStartElement("Field")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          writer.WriteElementString("DataField", fieldName)
          writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
          writer.WriteEndElement() ' FieldNext
      writer.WriteEndElement() ' Fields' rd datasetinfo
      writer.WriteEndElement() ' DataSet
      writer.WriteEndElement() ' DataSets
      writer.WriteEndElement() ' Report' Flush the writer and close the stream
      writer.Flush()
      stream.Close()
      'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
      Dim ms AsNewMemoryStream(myByteArray)
      'Supply Stream to ReportViewer
      ReportViewer1.LocalReport.LoadReportDefinition(ms)
      ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
    An error occurred during local report processing.
    The definition of the report '' is invalid.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
    Details: Data at the root level is invalid. Line 1, position 1.
    Can anybody guide me?

    Hi Wendy Fu,
    Thanks for your feed back. I could see Microsoft.ReportViewer.ProcessingObjectModel.dll to add as reference to my project. Actually I can open generated rdlc in designer, at run time I get error. I could not make out where is the exact mistake out of three
    options flashed.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services
    or contain content that is not well-formed or not valid based on Reporting Services schemas
    Details: Data at the root level is invalid
    My web config has following references
    <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    May be I have to change these versions to 9 or 10.
    First I will try adding Microsoft.ReportViewer.ProcessingObjectModel.dll .
    Once thanks for your reply.
    Races

  • Need information on Reports execution Log..

    Hi All,
    Need help regarding SAP Report execution log. Here Client wants to develop a report, which displays the information about reports Usage (ABAP Report, ABAP Query and Report Painter).
    The report requires the following information.
    1. Users who has run the report
    2. T-codes of reports
    3. Type of report (ABAP Report, ABAP Query and Report Painter)
    4. Run times for each instance that the report was run
    5. Dates for each instance that the report was run.
    Requesting to share the information about the tables or function modules, where I can get the data.
    Thanks in advance.
    Chanda.

    Hi Chanda,
    The log can be seen using STAT transaction.
    TXN:STAT
    Give the date: The required date.
    Read Time: 23:59:59
    Start Time: 00:00:00 (or ur required time)
    User: username/      * (for all users)
    Transaction: SE38/      * (For all transactions)
    Program:      ztest/     
    In tools option:
    You have further options:
    there
    Wait time for collection of data (via RFC): 99999
    Maximum runtime: 23:59:59
    And Execute.
    It displays a log of all the details required.
    There are few sample programs in this link. Also check out them:
    http://www.kabai.com/abaps/q.htm
    Programs: 072, 065, 021, 015, 012
    http://www.kabai.com/abaps/z72.htm
    Best Regards,
    Anjali

  • Report Execution History

    Hi all,
    I have a requirement like, when the user executes a report; it has to show the previous execution history. Like last time execution date, time and number of times the report wad executed. How can I handle this and which event can I write the code.
    Thanks in advance.

    I think you have to create a Z table with the following fields.
    Mandt.
    program name (key field).
    Executed by (key field).
    Executed on (key field).
    Executed time (key field).
    YOu have to update this z table evry time you run this program.
    Then you have to get the records from this table to find out the report execution history.
    tables ztab.
    end-of-selection.
    ztab-mandt = sy-mandt.
    ztab-progname = sy-repid.
    ztab-exby = sy-uname.
    ztab-exdt = sy-datum.
    ztab-extm = sy-uzeit.
    modify ztab.

  • Does TotalPageCount affect report execution on production as well ?

    Hi... As part of the mass report generation process an employee report needs to be run on production every month. The process runs for almost 2000-3000 customers and generats report for each of them. The static copies of this report is any mailed to each of tehse customers. The repot design uses TotalPageCount in a formula in the Page header of the report. I know use of this formula affects performance during report viewing. But does the use of TotalPageCount affect the report execution time when the report is being generated in mass numbers on production and scenario of report viewing does not exist ?

    Thanks for your answers.
    In my case, yes, the PDF reports are generated and then seperately mailed/emailed to the customers. What are the ways you are referring to so that the report performance can be improved ?
    The java application calls the RAS with the required input parameters. The RAS execution code is abstracted and is not accessible to us. The PDF generated by RAS is stored at some physical location.
    For your reference, my main report uses many subreports. I have done a detailed analysis of the report and no way can i get away with these subreports
    There are some things I have noticed and would be glad if you could confirm the same :
    1. I notice that there are many print time and on demand formulas present in the subreports but are not used. Should I remove them ? Does there presence affect report performance ?
    2. Is there any way that performance of charts can be improved ?
    3. Does using a lot of shared variables affect report performance ?
    4. I have identified a few stored procs where the sorting can be transfered from report to stored procedure.
    5. Is there an alternative way i can create the same effect for Page(TotalPageCount) in the page header without affecting the look of the report and also improving the performance of the report ?
    Thanks in Advance !
    Edited by: Malvika_Sinha on Jan 25, 2012 5:31 PM

  • Read data from STATIC internal table during round trip in DO_PREPARE_OUTPUT

    Dear Gurus
    I have a requirement where I need to select some data from the database table BUT_HIER_NODE_D.
    After SELECTING this data to an internal table (say ITAB), I am displaying this data in a table view. I was able to achive this functionality by putting some code in the DO_PREPARE_OUTPUT method.
    Now according to my requirement, after the above data has been displayed on the screen initially, the user will click on any row. After clicking on a particular row, I need to capture the document number on that particular row and need to display all its child document numbers in a separate table. I am able to achive this functionality also.
    Initially I am not sure of how to READ the same internal table (ITAB) again and again by avoiding the SELECT query upon each round trip (between CRM and Web).
    After some research, I understand that I might have to use STATIC internal table to store the data during the
    initial SELECT. This way, upon each round trip, I can READ the data from the same internal table.
    My question: But now, when I tried to create a STATIC internal table in DO_PREPARE_OUTPUT, it is not allowing me to declare this table because DO_PREPARE_OUTPUT method is a INSTANCE method.
    I didn't find any STATIC methods in the IMPL class of the view.
    I would really appreciate if somebody can help me on how to proceed further.
    Thanks
    Raj

    Hi Bharathy / Adil / Masood
    Thank you very much for the replies. I declared a static method inside the IMPL class and I was calling this method inside the DO_PREPARE_OUTPUT method. Looks like it is working fine for me...will comeback if I had any further issues.
    Masood
    As per my requirement, I need to Select the data into the internal table during the very first step, then I need to continuosly read the data from this internal table upon every round trip. So I am not sure if I would be able to use the method DO_INIT_CONTEXT. Because I need a method which will trigger upon each round trip and will also hold the data of this internal table. So right now, the only option for me is DO_PREPARE_OUTPUT method.
    Plz let me know if am doing in the right way.
    Thanks
    Raj

  • Table used in report painter

    Hi,
    How to check what table is really used in a certain report painter.
    For my case, I want to a report 1KSL-001 under 1VK library, and I can see this 1VK library is using table "CCSS", but CCSS acctually is not a table, its just a structure.
    So, how to use what tables are used while running report 1KSL-001?
    Thanks.
    Cheers,
    Bernard Gunawan

    Yes, but how do you know and where to check that this report is a collection of fields of those tables?
    Could you please tell me what transaction code to check, and guide to what table behind a report painter?
    Bernard

  • Adding data into a custom table through a report transaction

    Is it possible to add data into a table through a report transaction. I have been asked to create a report in which when we add certain data in the selkection screen it updates thoses particular fields and the rest of the records can be fille dout in the output. Basically I have a customised allocation table called zalloc. I have to create a report with selection screen having receiving plant, material document of the original transfer psoting , issuning plant , line item number , batch, receiving and issuning storage location. I need to validate this against the mseg table and whatever entry I make in teh selection screen should update my zalloc table from here.
    Can anyone help me with this please.
    Thanks

    Hi Aarav,
    Yes, It is possible to add records to a table using a report transaction. You can use Update or Modify to insert records in a table.Convert the data fetched from the ZALLOC and convert it into an internal table of the same format as that of the ZALLOC table and simply do an
    loop at itab_zalloc into wa_zalloc.
    *INSERT INTO ZALLOC FROM WA_zalloc*.
    endloop.
    OR
    INSERT ZALLOC FROM TABLE ITAB_ZALLOC
    OR
    UPDATE ZALLOC FROM TABLE ITAB__ZALLOC .
      Update will modify if that record exist and returns sy-subrc as non zero if entry does not exist.
    OR
    MODIFY updates an existing DB entry or, in no matching entry exists, inserts a new entry into the DB table

  • S076 SOP table for SD report (Sales Forecast Report ).

    Hi
    We are using S076 SOP table for SD report (Sales Forecast Report ).  This has only material number as key at present , where as we want to know if flexible planning will give material/shipto as key for forecast.
    Thanks In advance .

    Hi
       These are the key figures I am seeing in OMOJ , As I am new to this functionality                                  I am not able to add new key figures , can I request you to explain it to me ......
    Key figure                     F D 
    Sales     
    Production                         
    Stock level                        
    Target stock level                 
    Days' supply                       
    Target days' supply                
        Thanks

Maybe you are looking for

  • Error while configuring logon load balancing

    Hi, I am trring to configure logon load balancing in cluster environment. I had created the logon group using T-Code SMLG and assigned the message server to logon group. I am using SAP GUI 720. In the front end system, i had added the host file entry

  • Total Result Value

    Hi, I have a issue with calculating total value in the Query which is used for other calculations. A   B   C 1   2    Total value of A * B2 1   3     Total value of A * B3 2   4      Total value of A * B4 I cannot use SUM GT as it is sensitive to the

  • Ref:How to find the IP address is already in USE

    I am trying to install the Oracle 10g RAC - 2 Node. When I am running vipca I am getting CRS-1006 saying that IP is already in use in the network. The vip IP address is giving issues. It is successfully installed the Cluster software and Database Sof

  • Error custom-installing 10.3.181.34

    For a while now, I've had 10.1.102.64 installing via GPO and using a .mst to place the mms.cfg and a trusts.cfg.  Today, I downloaded the .msi for 10.3.181.34 from http://www.adobe.com/products/flashplayer/fp_distribution3.html. Whenever I try to pus

  • Migration of embedded SQL's in PowerBuilder appn

    Hi all, Well I am relatively new to PowerBuilder and we are trying to establish a PoC on migrating a large Powerbuilder Application with a Sybase database to an Oracle Database. Specifically, I am looking for more info on the migration of the embedde