Generating transport for report  to set it up on other system

hi friends,
how can i package a report i wrote with the corresponding ddic-tables that are needed in a convenient way so i can send it to somebody and it can be imported into their system and be executed easily ?
thanks,
clemens

There are two ways to do this:
1. Create a transport request for the report, copy the same from the \usr\sap\trans directory into a cd and send it across.
2. Download the report (Utlities > More utilities > Upload/Download > Download) into a txt file, send that across. The developer on the other system will need to upload the file into a new report and save it. Note: All includes in the report will need to be downloaded separately.
Sudha
Message was edited by:
        Sudha Mohan

Similar Messages

  • ORA-01489 Received Generating SQL for Report Region

    I am new to Apex and I am running into an issue with an report region I am puzzled by. Just a foreword, I'm sure this hack solution will get a good share of facepalms and chuckles from those with far more experience. I welcome suggestions and criticism that are helpful and edifying!
    I am on Apex 4.0.2.00.07 running on 10g, I believe R2.
    A little background, my customer has asked an Excel spreadsheet be converted into a database application. As part of the transition they would like an export from the database that is in the same format as the current spreadsheet. Because the column count in this export is dynmic based on the number of records in a specific table, I decided to create a temporary table for the export. The column names in this temp table are based on a "name" column from the same data table so I end up with columns named 'REC_NAME A', 'REC_NAME B', etc. (e.g. Alpha Record, Papa Record, Echo Record, X-Ray Record). The column count is currently ~350 for the spreadsheet version.
    Because the column count is so large and the column names are dynamic I've run into a host of challenges and errors creating this export. I am a contractor in a corporate environmentm, so making changes to the apex environment or installation is beyond my influence and really beyond what could be justified by this single requirement for this project. I have tried procedures and apex plug-ins for generating the file however the UTL_FILE package is not available to me. I am currently generating the SQL for the query in a function and returning it to the report region in a single column (the user will be doing a text-to-column conversion later). The data is successfully being generated, however, the sql for the headers is where I am stumped.
    At first I thought it was because I returned both queries as one and they were joined with a 'union all'. However, after looking closer, the SQL being returned for the headers is about +10K+ characters long. The SQL being returned for the data is about +14k+. As mentioned above, the data is being generated and exported, however when I generate the SQL for the headers I am receiving a report error with "ORA-01489: result of string concatenation is too long" in the file. I am puzzled why a shorter string is generating this message. I took the function from both pages and ran them in a SQL command prompt and both return their string values without errors.
    I'm hopeful that it's something obvious and noobish that I'm overlooking.
    here is the code:
    data SQL function:
    declare
      l_tbl varchar2(20);
      l_ret varchar2(32767);
      l_c number := 0;
      l_dlim varchar2(3) := '''|''';
    begin
      l_tbl := 'EXPORT_STEP';
      l_ret := 'select ';
      for rec in (select column_name from user_tab_columns where table_name = l_tbl order by column_id)
      loop
        if l_c = 1 then
            l_ret := l_ret || '||' || l_dlim || '|| to_char("'||rec.column_name||'")';
        else
            l_c := 1;
            l_ret := l_ret || ' to_char("' || rec.column_name || '")';
        end if;
      end loop;
        l_ret := l_ret || ' from ' || l_tbl;
      dbms_output.put_line(l_ret);
    end;header sql function:
    declare
      l_tbl varchar2(20);
      l_ret varchar2(32767);
      l_c number := 0;
      l_dlim varchar2(3) := '''|''';
    begin
      l_tbl := 'EXPORT_STEP';
      for rec in (select column_name from user_tab_columns where table_name = l_tbl order by column_id)
      loop
        if l_c = 1 then
            l_ret := l_ret || '||' || l_dlim || '||'''||rec.column_name||'''';
        else
            l_c := 1;
            l_ret := l_ret || '''' || rec.column_name || '''';
        end if;
      end loop;
        l_ret := l_ret || ' from dual';
      dbms_output.put_line(l_ret);
    end;-------
    EDIT: just a comment on the complexity of this export, each record in the back-end table adds 12 columns to my export table. Those 12 columns are coming from 5 different tables and are the product of a set of functions calculating or looking up their values. This is export is really a pivot table based on the records in another table.
    Edited by: nimda xinu on Mar 8, 2013 1:28 PM

    Thank you, Denes, for looking into my issue. I appreciate your time!
    It is unfortunately a business requirement. My customer has required that the data we are migrating to this app from a spreadsheet be exported in the same format, albeit temporarily. I still must meet the requirement. I'm working around the 350 columns by dumping everything into a single column, which is working for the data, however, the headers export is throwing the 01489 error. I did run into the error you posted in your reply. I attempted to work around it with the clob type but eneded up running into my string concatentation error again.
    I'm open to any suggestions at this point given that I have the data. I'm so close because the data is exporting, but because the columns are dynamic, the export does me little good without the headers to go along with it.

  • I need to print web generated pages for report cards, etc. How can I turn off headers and footers when printing? (Mac OS X 10.8)

    By "headers and footers" I mean the url that gets printed at the top/bottom of the page.

    You can do that from
    '''Firefox Menu''' > '''Print Setup''' (Press the right arrow button in the right end of print option) > '''Print setup''' > '''Margin & Header/Footer''' tab
    In Header/ Footer section select '''--blank--- for ''' from drop down for everything or which ever you don't want

  • Standard XML schema for Vendor data exchange between SAP and other system

    Is there a SAP standard way of XML schema that we exchange between SAP and other system? Please let me know.
    Thanks.

    See SAP Interface Repository (http://ifr.sap.com).
    My proposal is to leave old SAP connectors staff and use SAP Exchange Infrastructure. There is a support of industry XML standards in XI 3.0 like xCBL.

  • Transaction code for report

    Hi All,
    I am new to SAP area. I have created ABAP program (Report and variant) which generate list of materials. User would like to run whenever they want and have little knowledge of SAP. So I would like to provide Transaction code for this report to user. Can anyone let me know how to create transaction code for report. Also suggest, if any other option available to provide the same to user.

    Hi Yogesh,
    Just as an option, you necessarily dont need to create a transaction so that the user can run the report. You can include the report in the menu for the user within his role to which he is assigned.
    Hence on SAP easy access screen when he logs in, the user would be able to see the report  all he needs to do is double click.
    Just an option for you.
    Regards,
    Aditya
    p.s. Transaction for role maintenance is PFCG .... refer to your basis consultant for more information

  • How to generate WebServices for PL/SQL Packages

    I have the following issue trying to generate WS for a selected set of operations within a PL/SQL package
    If I use the option -sql PKG_TEST then I am getting all operations within a package.
    I just want to expose a certain number of procedures ( e.g. PROC1 and PROC2 )
    It works only if I specify
    -sql PKG_TEST(PROC1)
    when I use -sql PKG_TEST(PROC1, PROC2) it gives me errors.
    I have Oracle JDeveloper (10.1.3.2) (Build 4066) .
    I used wsa with an plsqlAssemble option
    java -jar wsa.jar -plsqlAssemble
    -appName myApp
    -packageName myPckg
    -sql PKG_TEST(PROC1)
    -dataSource jdbc/ds
    -dbConnection jdbc:oracle:thin:@zzzz:1521:mydb -dbUser user/passw
    -style rpc
    -use literal
    Thanks,
    Michael Hitrik

    Eric,
    Thanks a lot for your help.
    I was able to follow all of your recommendations
    I was able to produce the single ear file for multiple PL/SQL packages .
    Now I have the last step ( I hope :-) - WS-SECURITY
    What is your recomendation for Security - specifically for WebServices for PL/SQL Packages ?
    I would like to do the following:
    CLIENT CODE:
    * Create a XML element with user name, password, &
    * datasource as child elements.
    * Element will look like this:
    * <credetials>
    * <username>scott</username>
    * <password>tiger</password>
    * <datasource>jdbc/OracleCoreDS</datasource>
    * </credentials>
    Document doc = new XMLDocument();
    Element elAdd = doc.createElement( "credentials");
    Element elA = doc.createElement( "username");
    Element elB = doc.createElement("password");
    Element elC = doc.createElement("datasource");
    elA.appendChild(doc.createTextNode("scott"));
    elB.appendChild(doc.createTextNode("tiger"));
    elC.appendChild(doc.createTextNode("jdbc/OracleCoreDS"));;
    elAdd.appendChild(elA);
    elAdd.appendChild(elB);
    elAdd.appendChild(elC);
    doc.appendChild(elAdd);
    Element e = doc.getDocumentElement();
    // Create an intance of the proxy
    EmployeeProxy proxy = new EmployeeProxy();
    // Create a Header objecy
    Vector v = new Vector();
    v.add (e);
    Header hdr = new Header();
    hdr.setHeaderEntries(v);
    // Set the Header
    proxy._setSOAPRequestHeaders(hdr);
    SERVER CODE:
    public void processHeaders(Header header)
    throws java.io.IOException,
    oracle.xml.parser.v2.XSLException
    // Get all the Elements
    Vector entries = header.getHeaderEntries();
    Element e = (Element) entries.firstElement();
    System.out.println("Element received from SOAP header is: " );
    ((XMLElement)e).print(System.out);
    // Get independent nodes and retrieve node values.
    Node userNode;
    userNode = ((XMLNode)e).selectSingleNode("username");
    userName = ((XMLElement)userNode).getText();
    Node passwordNode;
    passwordNode = ((XMLNode)e).selectSingleNode("password");
    password = ((XMLElement)passwordNode).getText();
    Node dsNode;
    dsNode = ((XMLNode)e).selectSingleNode("datasource");
    datasourceName = ((XMLElement)dsNode).getText();
    System.out.println("User name is: " + userName);
    System.out.println("Password is: " + password);
    System.out.println("Datasource is: " + datasourceName);
    How can this be done with the generated code using wsa tool ?
    Any other suggestions ?
    Thanks,
    Michael

  • Error when creatiing transport for process chain

    Hi Experts,
    I am trying to create a transport for a process chain, but when i click on the red truck i get the following error:  Error in Object Editing: Edit objects seperately since they belong to different original systems.
    Can you please advise me on how to resolve this issue? Thanks in advance.

    Has this process chain or some components of it (for example IPAK) been brought from some other system?
    Try collecting all the objects in RSA1/Transport connection - and see the directory entries for each subobject (txnSE03 or TADIR table). You may have to either change the source system for some objects (in SE03) or split the transport objects manually into multiple transports.

  • PC - Generating a 'Dashboard' report on the status of the controls already planned for the 1st quarter of 2014, shows the control with status Submitted.

    Hi;
        I have a problem in GRC-PC I can't solve. My User is generating a 'Dashboard' report on the status of planned for the 1st quarter of 2014 (compliance controls), this controls not planned, but presented the control with status Submitted.
    I appreciate any help...
    Thanks all....
    Regards....

    kaeandcolesmon,
    If you open the recovery drive (partition) it should only have a single folder (Recovery).
    To make sure that your not saving restore points to that drive.
    See:
    Start, Control Panel, System, System Protection tab. Make sure the D drive partition is set to OFF so that it does not save there.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • Generating 2 test reports for the same test - XML and HTML

    Hi All,
    I have a special test requirement.
    Need to generate 2 test reports for the same test. One in HTML and the other in XML format.
    Is there any direct method for that?
    How it can be implemented?
    Thanks in advance.
    SajK

    Hi SajK,
    To accomplish this task, you will need to modify the process model. For example, if you are using the sequential process model, you can concentrate on the TestReport sequence call and the various report related steps in the Single Pass and Test UUTs sequences.
    The TestReport sequence (also a callback) relies on Parameters.ReportOptions.Format to decide which of the following sequences to use when generating the report:
    <TestStand>\Components\NI\Models\TestStandModels\reportgen_txt.seq
    <TestStand>\Components\NI\Models\TestStandModels\reportgen_html.seq
    <TestStand>\Components\NI\Models\TestStandModels\reportgen_xml.seq
    In your case, instead of choosing one of the sequences, you could hard code it to use both the html and xml sequences. Be aware that for this to work, you must also modify and/or duplicate most of the report related steps in the Single Pass and Test UUTs sequences. For instance, the Set Report Format step becomes unnecessary since you are hard-coding the report format. On the other hand, the Write UUT Report step needs to be duplicated, one step to write to an html file location, and another to write to the xml file location.
    Please note that modifying the process mode in this way will deprecate some of the settings in the report options dialog box (such as the report format). For more information on TestStand report generation, please refer to the following DevZone article:
    Report Generation Explained
    Regards,
    Message Edited by James M on 05-29-2007 03:08 PM

  • Auto-Generate mail for database performace reporting.

    Hello,
    i have many server to keep an eye on for maintenance but, now the number for it is growing day by day. Its difficult for me to keep a watch on each in detail. So I have an idea to implement.
    I want to make a script which will auto generate a mail from the server & send it to my email id with all the details of database. Basically performance related details.+
    Is it possible to do so ???? I know how to send a mail with attachment, the code i will use is given below.+
    please suggest me how can i attach my performance tuning queries  output & get those things in my mail on a daily basis......
    thanks in advance .....
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := 'mail.mycompany.com';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    ' name="excel.csv"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="excel.csv"'|| crlf ||
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    /

    I like your script idea.
    You can spool output to a file and mail the file to yourself.
    What OS are you running?
    On linux a simple starter script would look like this:
    #!/bin/bash
    echo `date`
    # Set the Environmental variable for TESTDB instance
    . /u01/app/oracle/dba_tool/env/TESTDB.env
    $ORACLE_HOME/bin/sqlplus -s system/<PASSWORD> <<EOF
    @/u01/app/oracle/dba_tool/TESTDB/quickaudit
    EOF
    echo `date`
    mailx -s "Check database on TESTDB" [email protected] < /tmp/quickaudit.lst
    ----------------------sample ENV file--------------------------------------
    ORACLE_BASE=/u01/app/oracle
    ULIMIT=unlimited
    ORACLE_SID=TESTDB
    export ORACLE_TERM=xterm
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    export ORACLE_HOME
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    export TNS_ADMIN
    export PATH
    --------------------Starter reporting script--------------------------------------------------
    SET ECHO OFF
    SET TERMOUT OFF
    REM Revisions:
    REM Date ID Version Description
    REM -------- -- ------- ----------------------------------------------------|
    REM 10/07/05 1.0 Script to check for database issues
    SPOOL /tmp/quickaudit.lst
    SELECT SYSDATE FROM DUAL;
    SHOW USER
    SET TERMOUT ON
    SET VERIFY OFF
    SET FEEDBACK ON
    PROMPT
    PROMPT Checking database name and archive mode
    PROMPT
    column NAME format A9
    column LOG_MODE format A12
    SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking database versions
    PROMPT
    column BANNER format A64
    select * from v$version;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking control file(s)
    PROMPT
    column STATUS format a7
    column NAME format a68
    column IS_RECOVERY_DEST_FILE format a3
    set linesize 110
    SELECT * FROM V$CONTROLFILE;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking redo logs and group(s)
    PROMPT
    column member format a70
    set linesize 110
    set pagesize 30
    SELECT group#, member FROM v$logfile;
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking freespace by tablespace
    PROMPT
    column dummy noprint
    column pct_used format 999.9 heading "%|Used"
    column name format a16 heading "Tablespace Name"
    column bytes format 9,999,999,999,999 heading "Total Bytes"
    column used format 99,999,999,999 heading "Used"
    column free format 999,999,999,999 heading "Free"
    break on report
    compute sum of bytes on report
    compute sum of free on report
    compute sum of used on report
    set termout off
    set pagesize 40
    select a.tablespace_name name,
    b.tablespace_name dummy,
    sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) bytes,
    sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
    sum(a.bytes)/count( distinct b.file_id ) used,
    sum(a.bytes)/count( distinct b.file_id ) free,
    100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
    (sum(a.bytes)/count( distinct b.file_id ) )) /
    (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
    from sys.dba_free_space a, sys.dba_data_files b
    where a.tablespace_name = b.tablespace_name
    group by a.tablespace_name, b.tablespace_name;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking for invalid objects
    PROMPT

  • XML publisher report not generating output for huge XML files

    Changed Depreciation Projections Report output type to XML.
    Defined a Data Definition and a new Data Template (RTF) for this report.
    Ran the Depreciation Projection Report to generate the XML output.
    Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
    Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
    Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
    The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
    The XML file size is approximately 33 MB.
    Please let me know if there is any way we can increase the memory size to see the output.
    Thanks,
    Ram.

    for publisher use Category: E-Business Suite

  • I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    Close ... before going for a specific Cisco app ... lets find out some details:
    Host we need more details:
    What is your server environment (Windows Server, or Mac OS X Server, or Linux)?
    What security is implemented in your environment - as what is restricted (RDP for all or specifc credentials on all machines? Are you part of local admin group to the server you wish to connect)?
    Does your environment Support CISCO IPSec connection? If so use Settings> VPN and IPSec tab to enter VPN details, if not then go with above suggestion. IF your restricted to RSA then either built in VPN settings or 3rd party app for RSA would suffice.
    Finally, there are many RDP applications out there I use "Mocha RDP Light" (free minimal ads when launched not when connecting).

  • How to create the Set ID for report writer

    Hi
    I am suppose to create the Set id . Please suggest me the t-code etc for creating set id.
    Thanks
    Shiv

    transaction for  creating the set ID GS01
    further, the menu path  in the application menu is
    information system->Ad Hoc Reports ->Report Painter ->Report Writer ->Set
    if helpful, plz assign point as way of thanks

  • How to dynamically set connection string for report in C# code?

    Hi,
    I have installed CRVS2010. I have created new Crystal Report WPF Application and new report. I would like to set connection string for report in code dynamically.
    Is this possible?
    Thanks
    Ivana

    Lots of posts in this forum on how to set database connections. WPF should not be a consideration as it's just a viewer. The report engine is still the same. Search these forums. Use the search box at the top right corner of this page. Look at samples here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Note that none of the samples above are using WPF, but like I said, the WPF is just a different viewer and will not impact how the report engine logs on to a database. (I think of it as a gray car vs. a red car. Same engine, just the color is different)
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Set style for reports

    Hello
    i need to find a way to give a format to objects inside my reports, in a way similar to css.
    Actually i export my reports in the code behind of my page, i wish to set the report sytle (font size and type, color, backgroung and so on). I've tried to use the setcssclass method in the code behind of the page that export the pdf without success :
    the page:
    <head id="Head1" runat="server">
    <title></title>
    <style type="text/css" runat="server" id="stile">
        h1
        background-color:Aqua;
        border-color:Black;
        color:Black;
        font-family:Arial;
        font-weight:bold;
        font-style:italic;
    </style>
    </head>
    the code behind
    report.SetCssClass(ObjectScope.PageHeaderSections,"h1")
    Dim oStream As System.IO.MemoryStream
    oStream = DirectCast(report.ExportToStream( _
    CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream)
    Response.Clear()
    Response.Buffer = True
    Response.ContentType = "application/pdf"
    Response.BinaryWrite(oStream.ToArray())
    I wish to remark i don't use crystalreportviewer and the above code print the file directly inside the browser.
    the questions are:
    1. does the above code should work and i'm doing something wrong or that approach is completly wrong and will never work? If it's a correct approach, why the stye doesn't get applied?
    2. if that's not the rigth way to do this thing what tool should i use? formatting formulas? do them allow me to format large pieces of report at the same time like css do in html ? Can you provide me links to examples or tutorial.
    i'd like to avoid to set font size,type , line thickness or colors for each item in the report, so any hint will be greatly appreciated
    thank you in advance
    Stefano

    Hello, Stefano;
    The code you are using is only formatting the HTML page and not affecting the report object.
    To do that you would need to use the Crystal Reports SDK and that would include formatting options.
    You are correct, you can use formatting formula for objects. You will want to test your results in the designer first. It will have to work the way you expect there.
    You may be able to do create some generic formula that will work on larger groups.
    e.g. @Format_Color
    You could use this formula for lines and fonts that you needed the same color and at runtime pass in the color needed:
    Report.DataDefinition.FormulaFields.Item("Format_Color").Text = crBlue
    Then use this formula when formatting all the fields you where you want blue options for Font or Underlines as an example.
    Another option is to actually add formatting at runtime using the Report Creation API properties of the Report Application Server SDK (RAS).
    You can look for more ideas in the [Developer's Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]. Look at "[New APIs for enhanced report customization|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_net_doc/doc/rassdk_net_doc/html/Whats_New_RAS2.html#1022964]".
    Once the changes are made in the report object it should export to .pdf as you expect.
    Elaine

Maybe you are looking for