How i have to attach a report output(from server) as attachment

Hi ,
how i have to attach a report o/p as attachment.
Thanks in advance for helping

You could make use of a GLOBAL TEMPORARY TABLE and populate the data in this table in the BEFORE-REPORT trigger.
Then your report query would be based on this global temporary table which will make it very easy for you.

Similar Messages

  • Report output from memory to internal table (corresponding fields)

    How can we pick any standard report output such as
    RM07DOCS on to memory and from memory to an internal
    table.Here by internal table ,i do not mean of type c
    containing complete report but data should go from output to corresponding fields of internal table structure of whom is defined as same of the output.

    SUBMIT rfbila00 AND RETURN
         EXPORTING LIST TO MEMORY
        WITH sd_ktopl-low = ' '
         WITH sd_bukrs IN  s_bukrs
         WITH sd_prctr IN s_prctr
         WITH bilavers =  p_fsv
         WITH bilaspra =  'EN'
         WITH bilbjahr =   p_fyear
         WITH b-monate IN s_per
         WITH bilvjahr = v_cfyear
         WITH v-monate = l_per
         WITH bilagvar = P_LAYOUT
         WITH bilagrid = 'X'
         WITH bilabkon = '2'
         WITH bilagkon = '3'
         WITH bilasumm = '0'
         WITH bilavart = '1'
         WITH bilaskal = '3/0'.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = t_list
        EXCEPTIONS
          not_found  = 1.
      REFRESH t_ascii.
      CALL FUNCTION 'LIST_TO_ASCI'
        TABLES
          listasci           = t_ascii " list converted to ASCII
          listobject         = t_list
        EXCEPTIONS
          empty_list         = 1
          list_index_invalid = 2
          OTHERS             = 3.
    u will get the output in t_list...u have to split as per ur requir......
    this will help u.....
    Reward IF...........
    Regards
    Anbu

  • Changing the seeded rdf report output from text to PDF

    Hi All,
    I am trying to change the seeded report "Print Requisition Report" output from text to PDF. I changed the output format in the concurrent program definition from text to pdf. The report is now getting displayed in pdf format, but the alignment of the fields are changed. The output is not printing as it was printing while in the text output format. The output looks very sloppy, with uneven fonts and too much of text wrapping.
    I tried some formatting and fields are somehow getting displayed but doesnt look in proper format. I am not able to change the font style in the report builder 6i, even if i change it is printing in the same font style with uneven font size. I think reducing the font size might help, but i am unable to change.We are on 11.5.10.2. Please provide your valuable suggestions on how to go about.
    Thanks
    Sarvesh

    Hi Hussein,
    Thanks for the information. After the adjustments in the layout and the font change the report is now getting displayed without any clipping when clicked on view output. But when the same report is printed some characters on the left and and right side is getting clipped. Please help on how to solve this issue.
    Thanks,
    Sarvesh

  • Discoverer report - Output from Discoverer plus is not the same as Discoverer desktop

    As a part of Upgrade project we are migrating the discoverer reports from 11i (11.5.10.2) to R12 (12.1.3) .After migrating to R12, for a custom discoverer report the output given by discoverer desktop is correct (24 rows for a scenario). But the report output from Discoverer plus does not show the credit transactions (2 rows). The output from Discoverer plus shows only 22 rows (24 - 2), which is incorrect. The query is the same in Discoverer desktop and Discoverer plus.
    Please let me know why these transactions that are appearing when the report is run from discoverer desktop are not appearing in discoverer plus. Is there any setup in discoverer plus for this?
    Regards,
    Brajesh

    Pretty hard to answer a question like this.  Best bet would be to copy the existing discoverer plus book and start removing conditions, fields, etc until those two rows from desktop show up and see if you can work it out. 

  • HT5517 How can have full picture using mirrored image from iPad

    How can have full picture using mirrored image from iPad on my Apple TV airplay

    Welcome to the Apple Community.
    Mirroring won't fill the TV screen. The iPad has an aspect ratio of 4:3 and the iPhone 4S or prior an aspect ratio of 3:2, neither of these will fit exactly into a TV screen which as an aspect ratio of 16:9. The Apple TV will not zoom the mirrored image, because it may well cut off information which is situated at the top or bottom of the screen.
    You may wish to try each of the settings in ‘Settings > Audio & Video > Adjust for AirPlay overscan’ for the best setting that suits you.

  • How to have the Chat history without the Exchange server?

    How to have the Chat history without the Exchange server?

    Hi,
    You can try Archiving server. Archiving is the storing of IM and conferencing data in an SQL backend database. This data is not instantly readable / searchable. The Lync users are not able to read it directly. The admin can export the data using Lync powershell
    and then convert it into a readable format.
    Kent Huang
    TechNet Community Support

  • Unable to read output from server on a socket

    Hello everyone,
    I am trying to re-develop and application that traditionally is developed in VB.
    Traditional program does following: communicates with host using telnet; login, send some text, read the output from server, validates output and terminated telnet connection.
    I am trying to build same kind of application in Java using sockets, but I do not get any response from the server.
    Any Suggestions ?
    Thanks,
    Code below:
    String hostName="ip address here";
    int portNum=23; //Verified that server's telnet runs on port 23
    try
    socket=new Socket(hostName,portNum);
    out=new PrintWriter(socket.getOutputStream(),true);
    in=new BufferedReader(new InputStreamReader(socket.getInputStream()));
    }catch(UnknownHostException e){
    System.err.println ("Host not found: " + hostName);
    System.exit(1);
    }catch(IOException e){
    System.err.println("Could not get I/O for host: " + hostName + "on port: " + portNum);
    System.exit(1);
    BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
    String userInput;
    try{
    while ((userInput=stdin.readLine()) != null)
    out.println(userInput);
    while (in.readLine() != null){
    System.out.println("echo: "+in.readLine()); // I Expect server's output here but nothing happens.
    }catch(IOException e){
    System.err.println("User Input not read.");

    while (in.readLine() != null){
    System.out.println("echo: "+in.readLine()); // I Expect server's output here but nothing happens.I see two problems here:
    1) in.readLine() only returns null if the socket is closed. You will be forever in that loop.
    2) you are losing every second line of your input. If your telnet server sends only one line at the beginning, the readline() call in the while statement will swollow that.
    If you want to do this in a single thread, you will have to use a method which won't block until input is available, such as the read(char[], int, int) method of BufferedReader.
    You could also use two threads, of which one is printing the output and the other is taking user input. This has the advantage, that you are able to handle any connection errors immediatley instead of only when the user entered a command.
    Does telnet send information about the end of an input sequence (like the end of the welcome message and the end of the answer to any issued command? If not, I'd say that you should use two threads, as you would have to do polling all the time otherwise.
    Hope it helps.

  • How to configure notification emails for reports output or alerts for all users in r12

    Hi,
    I need to configure notification emails. I have provided settings in OAM-> Workflow and SMTP IP address in settings and only Outbound. I am able to test for my user ID.
    I want to know how to redirect emails or alerts for users like when a user runs a report he should get notification email in his outlook about the report output and details. In settings it only points for one replyto field. How do I mention all user ID's?
    Regards,
    Mohammed

    Hi Mohammed,
    You may check on XML bursting for XML based reports.
    In addition, also see links:
    http://oracle.anilpassi.com/email-output-of-concurrent-program-request.html
    Anil: Oracle Apps Concurrent program Output as Email
    Oracle ERP World: Email the output of a concurrent program as Attachment
    Also see:
    How to Redirect Output from Printer to Mail Message after Running Report (Doc ID 1036586.6)
    Thanks &
    Best Regards,

  • How to send report output from SUBMIT statement

    Hi,
    I need to develop one report whcih can be use to send any report output in mail as attachment in txt of execl format. So i will be using SUBMIT statement to execute the report in my new report and i need to convert the reportout in txt or excel format and need to send as attachment in mail. This new report can be use to execute any report which may have ALV GRid, Normal outout screen. So what could be the best way to develop this kind of report.
    Br,
    Piyush

    >
    piyush mathur wrote:
    > Hi Suhas,
    >
    > LIST_TO_ASCI will give me data in lines. and its difficult to separate the columns in another internal table for attachment file. As this report is going to use to send any report output so i can not fixed the delimiter. So i am looking some function which can split the data in columns when I am reading from List.
    > Br,
    > Piyush
    No need to seperate nothing additionally, this will come automatically in the attached file. Draft below
    DATA list_tab TYPE TABLE OF abaplist.
    SUBMIT your_report EXPORTING LIST TO MEMORY
                  AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    DATA string_tab TYPE list_string_table.
    "use table type appropriate for attchement
    DATA ascii_tab TYPE soli_tab.
    CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
       listasci                 = ascii_tab
       listobject               = list_tab.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename = 'C:\test.txt'
        filetype = 'ASC'
      TABLES
        data_tab = ascii_tab.
    DATA go_email_doc TYPE REF TO cl_document_bcs.
    go_email_doc = cl_document_bcs=>create_document(
                                          i_type = 'TXT'
    go_email_doc->add_attachment( i_attachment_type = 'TXT'
                                  i_attachment_subject = 'My Attachment'
                                  i_att_content_text = ascii_tab ).
    Regards
    Marcin

  • How do i save FSG xml report output to External Drive.

    We are implementing XML publisher to replace our ADI. How i save xml publisher report output to network drive also need to change report name dynamically.
    The answer from oracle is
    :There is no built-in functionality to do what is requested however,
    the output file exists at the O/S level and a printer DRIVER can be created and in the "Arguments" field, a copy command can be entered instead of the print command"
    how do i implement this. help please
    Thx

    Make sure the drive is formatted Mac OS Extended (Journaled)
    Do you want to merge these libraries into one? If so, then you'll need the paid version ($20) of  iPhoto Library Manager
    It's the only way to merge Libraries while preserving all metadata, versions and so on.
    Otherwise, simply rename one of the Libraries (so they don't overwite each other) and Copy the iPhoto Library from the Pictures Folder to the External Disk. in each case.
    To choose which library to open: holf down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location.
    Regards
    TD

  • How to have rownum in a report based on a view

    How to use rownum in a report or tabular form?
    I wanted to number the rows in a report. The most obvious way would be just stick
    rownum in there. There is a view in a database1. It is merely select a,b,c from various
    things joined together and order by pkey1.
    Apex is in database2 so I have to create a view there across the link
    like:
    create or replace view SOME_VIEW as
    select * from OTHER_VIEW@SOMELINK
    alter view SOME_VIEW add constraint PK_SOME_VIEW
    PRIMARY KEY (pkey1)
    DISABLE NOVALIDATE;
    The problem is if I try to include rownum in the query in the report I always get:
    failed to parse SQL query:
    ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
    There's no rowid, it knows that the primary key is Pkey1 so what is the problem?
    I know it's rownum that it hates. Maybe I can just number these things some other
    way. However it'd be good to figure out what it is griping about.
    Anyone know?
    Edited by: lake on Mar 12, 2011 9:36 AM

    thanks!
    Actually I made a mistake in testing. And it does work to do this:
    in database1:
    create or replace view VIEW1 as
    select
    rownum "SEQ", etc.
    in database2:
    create view VIEW2 as select * from VIEW1@mylink
    How I screwed up testing that I don't know. I was calling the column NUM before....
    this is good because you can create a report about the next so many of something, such as how many of
    the next batch of mailings have address problems? For that you need to know in what order it will be done and
    when to quit.
    But I'm sure I will use the report rownum thing also. thanks very much.

  • How to get xls report output from oracle application.

    Hi,
    Is it possible to get the report output in xls format.
    Please advise me if it is possible.
    Rgds,
    Naveen.

    One way is using XML Publisher,or alternatively you can check note 377424.1 from metalink : How To View / Open Concurrent Requests With The Excel Application
    HTH

  • How to Capture html tags in Report output

    Hi
    i'm working on a report in apex. the data i've captured has html tags in the column information. is there a way to capture those tags in the report output?
    Thanks in advance,
    Edited by: user13080645 on Feb 23, 2011 1:38 AM

    Hi,
    Go to report attribute page and select that column and "Standard Report Column" in "Display As".
    You can show the html tag in report.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • HOW TO ASSIGN F4_VALUE_HELP FOR A REPORT OUTPUT FIELD???

    Hi Gurus,
      Can you please help me out in assigning F4_VALUE_HELP for a report output field where it is taking value as the input parameter....... If possible please help me out with some sample code ....
    Regards,
    Santosh
    Intelligroup

    I don't think that you are get the F4 functionality by pressing F4, but maybe if you use a hotspot you could achieve it.  Check this sample.  When you click on a company code in the list, it fires the F4 help defined by the program. 
    report zrich_0001 .
    tables: t001.
    data: begin of it001 occurs 0,
          bukrs type t001-bukrs,
          butxt type t001-butxt,
          ort01 type t001-ort01,
          land1 type t001-land1,
          end of it001.
    start-of-selection.
      select bukrs butxt ort01 land1 into table it001 from t001.
      loop at it001.
        format hotspot on.
        write:/ it001-bukrs.
        hide it001-bukrs.
        format hotspot off.
        write: it001-butxt.
      endloop.
    at line-selection.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'BUKRS'
                dynprofield = 'BUKRS'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = it001.
    Regards,
    Rich Heilman

  • Is any one else have issues with interactive PDF output from InDesign CC (2014)

    I am currently trying to produce a document with a level of interactivity I have achieved many times before.
    The interactivity is just a web style menu, show/hide the menu shows button set one, clicking on those shows a second set of buttons, and clicking in one of those goes to destination page and hides all menu buttons once more.
    When output from ID CC 2014 the result is loads of missing buttons and no working menu.
    Its not a corrupt ID file. I tried a brand new empty file, recreated basic structure with simple one state buttons and achieved similarly useless results.
    If I back save using IDML and open in CS5, export from there, it works beautifully, so problem is not as many have been recently, to do with Acrobat browsers.
    If I back save and open in InDesign CC (not 2014), export from there, it doesn't work, so problem is shared there!
    Anybody any suggestions? Experienced similar and found a cure?
    SOLVED BY A COLLEAGUE:
    You can (no longer) use full stops/decimal points in button naming. Menu was hierarchically labelled as 1, (1.1, 1.2), (1.1.1, 1.1.2) etc.
    Renamed 1_1, 1_1_2 etc and all functionality has returned. Why you could and now you can't, who knows!
    Hope this helps you if you stumble across here with the same issue.

    Thank you for reporting this.
    I would consider this a bug in InDesign CC v9.x and v10.x and would report it:
    Adobe - Feature Request/Bug Report Form
    (Cannot test it right now.)
    Uwe

Maybe you are looking for

  • EDI to file conversion

    Please tell me how to convert EDI to File format.

  • Canon 100d photo review issue

    Hi, I got a new Canon 100d recently which was working fine until a week ago. I now have the problem of the photo review (set for 2 secs) not working. Also when I change setting on the dial, I don't see the options on the touch screen anymore, it's ju

  • Can iPad mini be used to have wi fi from BB 9380

    Hi All, I am new to the community. I am just owner of a IPad mini. My query is - I have a Blackberry 9380 at home with 3G Internet connectivity. Can it be used to generate wi fi connectivity to my iPad mini. Please inform. Thanks and regards.

  • Problems when updating WLC from Version 4.1 to 4.2

    Hi, we have a Problem when upgrading a WLC 4400. When booting the device with the 4.2 Software, there are errors in some lines like "Starting Virtual AP Services: Parse error at line 244: not well-formed (invalid token)" and the config gets deleted.

  • Restore OSX Lion

    I recently upgraded to Mountain Lion and unfortunately many of my programs are not working to well. I need to reinstall OSX Lion, how can I do that and i don't have a backup copy. My laptop is two months old.