Report Layout Service in 2005

Hi
I'm trying to use the report layout service to delete a layout, but it is always giving a error. I'm most probably doing something silly,here is the code. Please let me know if you see a problem
Try
Dim oReportLayout As SAPbobsCOM.ReportLayout
Dim oReportParam As SAPbobsCOM.ReportLayoutParams
'get report params
oReportParam = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutParams)
oReportParam.LayoutCode = "QUT20006"
'get the default layout of the specific document
oReportLayout = oReportLayoutService.GetReportLayout(oReportParam)
oReportLayout.Author = "manager"
oReportLayout.Name = "Sales Quotation_Test"
oReportLayoutService.DeleteReportLayout(oReportLayout)
sErrMsg = oCompany.GetLastErrorDescription()
If sErrMsg = Nothing Then
MsgBox("Completed succesffully")
Else
MsgBox("Error:" & sErrMsg)
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
Thanks in advance

Hi Marco Antonio Blanco Freja 
Thank you for answering my thread. Really appreciate it. I did declare them, here is a insert again, ive moved it to a place where you can see it.
'Global Variable
Public oCompanyService As SAPbobsCOM.CompanyService
Dim oReportLayoutService As SAPbobsCOM.ReportLayoutsService
'in procedure
try
Dim oReportLayout As SAPbobsCOM.ReportLayout
Dim oReportParam As SAPbobsCOM.ReportLayoutParams
oCompanyService = oCompany.GetCompanyService
'get report service
oReportLayoutService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.ReportLayoutsService)
            'get report params
oReportParam = oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutParams)
oReportParam.LayoutCode = "QUT20006"
'get the default layout of the specific document
oReportLayout = oReportLayoutService.GetReportLayout(oReportParam)
oReportLayout.Author = "manager"
oReportLayout.Name = "Sales Quotation_Test"
oReportLayoutService.DeleteReportLayout(oReportLayout)
sErrMsg = oCompany.GetLastErrorDescription()
If sErrMsg = Nothing Then
MsgBox("Completed succesffully")
Else
MsgBox("Error:" & sErrMsg)
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
It gives an error by oReportLayoutService.DeleteReportLayout(oReportLayout) and the error is "Specified cast is not valid". We usually get this error when something was not done correctly...i can't spot the problem. Can You???
Thanks again

Similar Messages

  • Use Report Layout Service

    Hi All:
    I want to change the default report layout for a delivery note. How can i do it?
    I use report layout service but i don´t know how to set my new report layout by default. Can you help me?
    thanks
    Ricardo

    ok thanks
    This solved my problem.
    But now i have a new question is possible print one document line many times. For example i have a delivery with 1 line and i have a numeric user field(value = 2) and i want to print the line 2 times (user´s field value). Is it possible?
    How can i do it??

  • Custom Report Layout with mutliple child tables

    I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
    for example:
    Table hierarchy:
    Jobs table
    Job Stops
    Job Days
    Job Day Service Providers
    Job Day Crew
    Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
    Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
    JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
    JobDayProviders.row3
    Thanks,
    Linda
    First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?

    Helen,
    The best way for your case is to use a content folder and customize it whichever way you like.
    however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
    anyway. something similar but not exactly the same as what you wanted do is the following.
    use a query like the following: (with a union in between)
    SELECT COLUMN1,NULL , NULL ,NULL ,NULL
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    UNION
    SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    ---------- Now, have the following codes in the layout segments:
    <!--- header --->
    <table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
    <!--- body --->
    <tr align="center">
    <td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
    <tr align="center">
    <TH><#COLUMN1.FIELD#></TH>
    </tr>
    </table>
    </td>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
    </tr>
    <!--- footer --->
    <TR><TD></TD></TR>
    this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
    with kind regards,
    naqvi

  • Custom Report Layout in APEX 3.0 PDF

    How much freedom do we have when developing a custom report layout using BI Publisher when we create the template file using the Word XML add-on?
    Why I am asking is, I am trying to replicate several Crystal based reports that use multiple lines of for data. They group on several columns and display the grouped data on separate lines in the report.
    Grouping 1 Line one has customer detail information
    Next grouping 1 or more lines are provider of service line information
    Last Line count of detail lines for customer
    Or would I be better off porting these reports to Oracle Reports?
    Thank you!
    Tony Miller
    UTMB/EHN

    Marc, I was able to create reports based on a layout and a report query...Is it possible to let the end user (not apex developers) download the report layout, make modifications and load it again. They will only be changing the text and very rarely will modify the fields..
    Thanks
    Ashlee
    update: i found the following logic in the f4000 app on page 1405 for download
    declare
    l_report_document blob;
    l_file_ext varchar2(255);
    l_mime_type varchar2(255);
    begin
    for c1 in (
    select *
    from wwv_flow_report_layouts
    where id = :P1405_ID
    ) loop
    if c1.report_layout_type = 'RTF_FILE' then
    l_mime_type := 'application/rtf';
    l_file_ext := 'rtf';
    else
    l_mime_type := 'application/xml';
    l_file_ext := 'xml';
    end if;
    l_report_document := wwv_flow_utilities.clob_to_blob(c1.page_template,wwv_flow_lang.get_db_charset);
    sys.owa_util.mime_header (l_mime_type ,false);
    sys.htp.p('Content-Disposition: attachment; filename='||lower(replace(c1.report_layout_name,' ','_'))||'.'||l_file_ext);
    wpg_docload.download_file( l_report_document );
    end loop;
    end;
    and 1406 for upload
    declare
    l_report_layout clob;
    l_report_layout_id number;
    begin
    for c1 in (
    select blob_content from wwv_flow_files
    where name = :P1406_LAYOUT_FILE
    ) loop
    l_report_layout_id := wwv_flow_id.next_val;
    l_report_layout := wwv_flow_utilities.blob_to_clob(c1.blob_content);
    insert into wwv_flow_report_layouts (
    id,
    flow_id,
    report_layout_name,
    report_layout_type,
    page_template
    ) values (
    l_report_layout_id,
    :FB_FLOW_ID,
    :P1406_REPORT_LAYOUT_NAME,
    'RTF_FILE',
    l_report_layout
    end loop;
    end;
    are these the tables/apis i could use ?

  • Report Layout

    Hi Gurus,
    I have a reporting scenario. I would like to have a report layout with the following.  In my columns, I would like to have 4 KFs of 1 Year and 4 KFs of prior Yr.  On top of the first 4 columns, I would like to have a title that says CurrYr and on top of other columns (5-8 columns) I would like to say PriorYr.  So basically 8 columns, but the header needs to be Year specific.  Can someone share their thoughts on this and suggest a best possible solution or recommend any other better layout for reporting.  I'm just kinda stuck on the header for the columns.  Getting the KFs is not an issue.
    Thanks for any feedback.

    Hi BBM,
    You can look up the following links from the SAP help if you have not seen them earlier:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5632e09411d2acb90000e829fbfe/content.htm
    You might also find some interesting How To's in the InfoIndex on www.service.sap.com/bi
    Post back in case you need any other specific information.
    Hope this helps...

  • Microsoft Reporting Web Service

    I am trying to call the new Microsoft Reporting web service from
    weblogic 8.1sp2. I've run the clientgen utility against the microsoft
    reporting server's wsdl.
    Using the generated stup classes, I keep getting an error about a
    snapshotID parameter, which is not a parameter passed in the stub API.
    I've attached the wsdl, java program and the soap xml with the error in
    it.
    Any help would be greatly appreciated.
    Thanks,
    Eddie
    [ReportingService.wsdl]
    import java.io.*;
    import weblogic.webservice.context.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.serializer.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.serializer.holders.*;
    public class TestClient1
    public static void main(String args[])
    FileOutputStream out_stream= null;
    PrintWriter writer = null;
    try
    //out_stream =
    // new FileOutputStream("C:/mystuff/JavaProjects8.1/java/Test/webservices/MSReportService/StackDump");
    //writer = new PrintWriter(out_stream);
    ReportingService_Impl rpt_srv_impl =
    new ReportingService_Impl();
    ReportingServiceSoap rpt_srv =
    //rpt_srv_impl.getReportingServiceSoap();
    rpt_srv_impl.getReportingServiceSoap("user", "password");
    String reportPath = "/Chapter04/Invoice-Batch Number Report";
    //String reportPath = "/Chapter04/Customer-Invoice Report";
    //The rendering format for the report.
    String format = "HTML4.0";
    // The devInfo string tells the report viewer how to display with the report.
    String devInfo =
    "<DeviceInfo>" +
    "<Toolbar>False</Toolbar>" +
    "<Parameters>False</Parameters>" +
    "<DocMap>True</DocMap>" +
    "<Zoom>100</Zoom>" +
    "</DeviceInfo>";
    // Create an array of the values for the report parameters
    ParameterValue parameters[] = new ParameterValue[2];
    ParameterValue paramValue = new ParameterValue();
    paramValue.setName("StartDate");
    paramValue.setValue("01/01/2001");
    parameters[0] = paramValue;
    paramValue = new ParameterValue();
    paramValue.setName("EndDate");
    paramValue.setValue("01/06/2005");
    parameters[1] = paramValue;
    ParameterValue paramValue = new ParameterValue();
    paramValue.setName("snapshotID");
    paramValue.setValue("1/7/2005 10:38:21 AM");
    parameters[0] = paramValue;
    // Create variables for the remainder of the parameters
    String historyID = null;
    DataSourceCredentials credentials[] = null;
    String showHideToggle = null;
    String encoding;
    String mimeType;
    Warning warnings[] = null;
    ParameterValue reportHistoryParameters[] = null;
    String streamIDs[] = null;
    SessionHeader sh = new SessionHeader();
    SessionHeaderHolder shh = new SessionHeaderHolder();
    sh.setIsNewExecution(true);
    shh.setValue(sh);
    ServerInfoHeaderHolder server_info_hd_hldr = new ServerInfoHeaderHolder();
    Render param = new Render(reportPath, format, historyID, devInfo, parameters,
    credentials, showHideToggle); //, encoding, mimeType,
    //reportHistoryParameters, warnings, streamIDs);
    //ServerInfoHeader server_info_header = new ServerInfoHeaderHolder(;
    RenderResponse response = rpt_srv.Render(param, shh, server_info_hd_hldr);
    byte report[] = response.getResult();
    System.out.println(report);
    catch (Exception e)
    e.printStackTrace();
    //if (writer != null)
    // e.printStackTrace(writer);
    --------------------Configuration: MSQLReportService - j2sdk1.4.1_07 WebService - <Default>--------------------
    Command : "C:\j2sdk1.4.1_07\bin\java.exe" -Dweblogic.webservice.verbose=true -classpath "C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\MSQLReportService;C:\mystuff\JavaProjects8.1\lib\CR121728_81sp2.jar;C:\mystuff\JavaProjects8.1\lib\CR120224_81sp1.jar;C:\mystuff\JavaProjects8.1\lib\weblogic.jar;C:\mystuff\JavaProjects8.1\lib\webservices.jar;C:\mystuff\JavaProjects8.1\lib\webserviceclient+ssl.jar;C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\weblogicbuild;C:\j2sdk1.4.1_07\jre\lib\rt.jar;C:\j2sdk1.4.1_07\lib\dt.jar;C:\j2sdk1.4.1_07\lib\tools.jar;C:\j2sdk1.4.1_07\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1_07\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1_07\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1_07\jre\lib\ext\sunjce_provider.jar" TestClient1
    Directory : C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\MSQLReportService
    <!-------------------- REQUEST ---------------->
    URL : http://wteadapadr01/ReportServer/ReportService.asmx
    Headers :
    SOAPAction: ["http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render"]
    Content-Type: [text/xml]
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header><n2:SessionHeader xmlns:n2="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"><n2:IsNewExecution>true</n2:IsNewExecution></n2:SessionHeader></env:Header><env:Body><n1:Render xmlns:n1="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"><n1:Report>/Chapter04/Invoice-Batch Number Report</n1:Report><n1:Format>HTML4.0</n1:Format><n1:HistoryID xsi:nil="true"/><n1:DeviceInfo><DeviceInfo><Toolbar>False</Toolbar><Parameters>False</Parameters><DocMap>True</DocMap><Zoom>100</Zoom></DeviceInfo></n1:DeviceInfo><n1:Parameters xsi:type="n1:ArrayOfParameterValue"><n1:ParameterValue xsi:type="n1:ParameterValue"><n1:Name>StartDate</n1:Name><n1:Value>01/01/2001</n1:Value></n1:ParameterValue><n1:ParameterValue xsi:type="n1:ParameterValue"><n1:Name>EndDate</n1:Name><n1:Value>01/06/2005</n1:Value></n1:ParameterValue></n1:Parameters><n1:Credentials xsi:nil="true"/><n1:ShowHideToggle xsi:nil="true"/></n1:Render></env:Body></env:Envelope>
    <!-------------------- END REQUEST ------------>
    <!-------------------- RESPONSE --------------->
    URL : http://wteadapadr01/ReportServer/ReportService.asmx
    Response Code :500
    Headers :
    Date=Thu, 13 Jan 2005 21:59:37 GMT
    Server=Microsoft-IIS/6.0
    X-Powered-By=ASP.NET
    X-AspNet-Version=1.1.4322
    Cache-Control=private
    Content-Type=text/xml; charset=utf-8
    Content-Length=2882
    Envelope :
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.</faultstring>
    <faultactor>http://wteadapadr01/ReportServer/ReportService.asmx</faultactor>
    <detail>
    <ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsParameterTypeMismatch</ErrorCode>
    <HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
    <Message xmlns="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00</HelpLink>
    <ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName>
    <ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">8.00.743.00</ProductVersion>
    <ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
    <OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem>
    <CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId>
    <MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>Microsoft.ReportingServices.Diagnostics</Source>
    <Message msrs:ErrorCode="rsParameterTypeMismatch" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00" xmlns:msrs="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <MoreInformation>
    <Source>mscorlib</Source>
    <Message>String was not recognized as a valid DateTime.</Message>
    </MoreInformation>
    </MoreInformation>
    <Warnings xmlns="http://www.microsoft.com/sql/reportingservices" />
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    <!-------------------- END RESPONSE ----------->
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    Detail:
    <detail>
    <ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsParameterTypeMismatch</ErrorCode>
    <HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
    <Message xmlns="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00</HelpLink>
    <ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName>
    <ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">8.00.743.00</ProductVersion>
    <ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
    <OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem>
    <CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId>
    <MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>Microsoft.ReportingServices.Diagnostics</Source>
    <Message xmlns:msrs="http://www.microsoft.com/sql/reportingservices"
    msrs:ErrorCode="rsParameterTypeMismatch"
    msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <MoreInformation>
    <Source>mscorlib</Source>
    <Message>String was not recognized as a valid DateTime.</Message>
    </MoreInformation>
    </MoreInformation>
    <Warnings xmlns="http://www.microsoft.com/sql/reportingservices">
    </Warnings>
    </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    at bny.adr.common.webservice.MSQLReportingService.weblogicgen.ReportingServiceSoap_Stub.Render(ReportingServiceSoap_Stub.java:1266)
    at TestClient1.main(TestClient1.java:97)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at bny.adr.common.webservice.MSQLReportingService.weblogicgen.ReportingServiceSoap_Stub.Render(ReportingServiceSoap_Stub.java:1261)
    ... 1 more
    Process completed.

    This is a little late, I know. but I just spent the day
    struggling with this very issue. Hopefully this can help someone
    else in the future. Here's my solution...
    on MX:Operation -- result="fillXML()"
    then
    private function fillXML(): void {
    var x:XML = new
    XML(wsProps.GetDatasetData.lastResult.toString());
    ...do what you need with your xml...
    I use an XMLList node of the result as the source property
    for an XMLListCollection bound to a datagrid. Let me know if you
    need more help to get it working. It works like a charm now that I
    figured that out. I don't know if it's a slimy hack, or not, but it
    gets the job done.

  • CR Reports Layout

    Hi All,
    I just go through the CR Reports Layout and Report on Service market place and downloaded the generic layouts. I found that only document s like Sales quotation, Sales Order, Purchase Order only are available in it.
    Do anybody know SAP's plan to release standard layout for the Reports like Ledger,Trial Balance,Balance sheet,Profit & Loss, Cash Flow,Sales Analysis,Purchase Analysis etc ?
    BR
    Samir Gandhi

    Hi Samir Gandhi,
    Those reports need more times for SAP R&D team.  You may not get them very soon.  Check the same link often to find any updates.
    Thanks,
    Gordon

  • Merging Report Layouts.

    H,
    I have a question relating managing modifications in report layout files.
    Is there any successful way to  to merge two report layouts? (as in merging source code).
    Typical example  . merging a two modified versions of the same layout, as we would do in any other source code?
    Any tooling suggestions? Any ways to do the merge semantically that changes get reflected and .RDL and the end result is a valid working .RDL?
    Regards
    Asitha Weerasinghe.

    Hi Asitha,
    According to your description, you want to find a tool to merge RDL files, right?
    In Reporting Services, there is no tool can merge two RDL files directly. In your scenario, if you want to get expected results based on the two reports’ layout, I would like to suggest you design a new report with the same settings as those two reports.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Help building report layout

    Hello, 
    I have to alter a report layout on Reporting Services 2008 and after 2 and a half days trying I simply give up!
    It's impossible to make this layout in RS2008. It simply does not accept what I need to do. See layout bellow:
    Consumption Location X
    MU A | PartNo x | Part Description | Qty
             | PartNo y | Part Description | Qty
    MU B | PartNo q | Part Description | Qty
    MU C | PartNo n | Part Description | Qty
             | PartNo z | Part Description | Qty
             | PartNo s | Part Description | Qty
    --------------------Skip line-----------------
    Consumption Location Z
    MU G | PartNo t | Part Description | Qty
    --------------------Skip line-----------------
    This "Consumption Location" must be over the pieces of information and they are data from my query, so are the other columns. The 4 other columns must be grouped, so they can look as the first image, otherwise won't have the layout needed.
    Now I ask you: How can I do such thing?!
    I appreciate the help, and I'm sorry that I sounded mad. I'm really pissed off 'cause of this.
    Tks!

    I believe I have reproduced the layout you are looking for.
    I created a static dataset using sample data similar to what you have:
    I then added a table and the dataset to the above sample dataset. I added a parent group to the detail group (MU) and a parent group to MU (Consumption Location). These each added a group column. I deleted both of the new group columns without deleting the
    groups. I deleted the existing header row then added a Total row to the MU group > Before. I right-clicked the new total row and Inserted a row > Inside Group - Above. I added a 4th detail cell by right-clicking the middle column and choosing Insert
    Column (either left or right). Now I merged the 4 cells of the top total row together and did the same for the bottom total row.
    I populated the data as follows... bottom total row I added [Consumption Location]. In the 4 data cells from left to right... [MU], [PartNo], [Description], [Qty]. Last step is to edit the expression in the first detail cel. Instead of just displaying [MU]
    you want that for only the first record of the group so use the following expression instead: =IIf(Previous(Fields!MU.Value) = Fields!MU.Value, "", Fields!MU.Value)
    Add a little formatting to make it pretty and...
    The empty total row at the top I set the top, left and right border style to None. This gives you the empty line.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Sales quote layout rows doubled in crystal report layout

    Dear All,
    Sales quote layout rows doubled in crystal report layout.
    In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
    It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
    Regards,
    Siva

    Hi Siva,
    If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
    -Abhilash

  • Huge delay in Printing Crystal Report Layout

    Good Day Experts,
    I am experiencing big delays when printing a document that makes use of a Crystal Report Layout Design.
    For example,
    The Sales Quote is set to automatically print when added by the user.
    When clicking 'Add', SAP freezes up and only about 30 seconds later does the printer finally print the document.
    During that time, the user cannot use SAP at all.
    The layout does have a lot of fields and a few formulas here and there.
    Logically, I am thinking that that is the reason for the delay, as SAP needs to calculate and populate those fields.
    Is there any other way that I could speed up this process? Or if you know what might be causing this speed issue?
    Your assistance will be appreciated,
    Thanks
    Regards
    Dario

    Hi Dario,
    Pl Try the Below Threads and Ref SAP Notes Provided by NagaRajan.
    http://scn.sap.com/message/13419121#13419121
    http://scn.sap.com/thread/2024941
    Regards,
    Vamsi

  • Report Layout in report Painter

    I created a Report in reportPainter. In the report layout, lead column section..I select Group Name to display the group name (set's id) in the report's lead column but not all the set's keys appear. It only appears children's ids but not the father's ids.
    I also need the father's ids....why do I do to have the father's ids too?
    Thanks...
    Example
    father set:
    A    Inventories
    chidren sets:
    A1 Raw Materials
    A2 Obsolete Materials
    In the report I only see the A1 and A2 ids and its descriptions. I also see the Inventories word. But I dont see the A key next to the Inventories description....why?

    Hi,
    Check whether the field in the internal table used for displaying ID is getting pouplated or not

  • 156" width Crystal Report with Visual Studio 2005

    Post Author: kunchesm
    CA Forum: .NET
    Hi,
    I have a requirement to design a 156" width report (for exporting to Excel). And naturally i dont have printers to support this huge width reports (as these reports are not used for printing but just for exporting to Excel).
    One of the option which i have tried to design these reports is -
    - Installed MIcrosoft XPS Document writer and
    - Created a new server form (in Printers&Faxes>File>Server Properties) and assigned my custom width & Height for the paper size as per my requirement
    - Used this printer and form in my crystal report
    Now, my question... is there any better alternative or option to design huge width Crystal reports in Visual studio 2005? Any help in this regard is highly appreciated!
    Thanks & Regards
    ksm

    Hi Ganesh,
    So it all depends on how you created your WEB Project. If it was a CR Web App then no issues, if it was a WEB Form app then no issues except you need to copy the whole folder: C:\inetpub\wwwroot\VS2013WebsiteCR\aspnet_client
    to your app folder, maybe...
    If it was an empty WEB app then it may be an issue with permissions ( more on this soon once we do some testing, R&D may have provided a work around to get IIS Express to work, not sure about using IIS directly.
    Also search on Sessions and PostBacks, to get the second page you need to keep the session open/active. If not you may get nothing ot the same page everytime.
    Don

  • How to link PDF document in Report Layout??

    I need to display the contents of PDF document after the form letter report. I tried OLE object but at the runtime it does not display the content. Does any one knows how to attach PDF document in reports layout?
    Thanks
    Ravindra

    you will have to concatinate your report output with the static PDF document. in reprots 10g you can create a cusotm destination that could implement this functionality.
    out of the box, reports does not provide the ability to add static content in PDF to reports' generated PDF output.
    thanks,
    philipp

  • Oracle bi publisher report for apex - Report Layout

    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to.
    I have 3 tables in my RTF template 1) Header 2) Details 3) Summary. Details section has a group. This runs fine.
    Now if I just combine all the above 3 tables into one by adding row above and row below to the "2) details" table and moving the table 1 and table 3 into those rows, makes the data in the group in table 2 disappear when run on the apex application.
    However it works fine when data is loaded on the RTF template and Preview --> PDF is seen.
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    Krishna
    Edited by: Krishna on Aug 9, 2010 10:08 AM

    Hi, I think you need to provide more information.
    user452458 wrote:
    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to. What modification? added extra fields? Are those fields in the corresponding report query? change to the design of the document? did you delete the old template and re-upload after making the changes?
    Moreover the preview on the RTF template works fine with the same data.Preview from where?
    >
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    KrishnaAlso, you should change your display name to something better than user452458 ;)
    Trent

Maybe you are looking for