Want  report output in HTML

Hi All!
is it possible to get the report output in HTML based output?
if yes,  can anyone send me the details?
thanks in advance
Alankaar

Hi,
Yes it is possible to do that.
You can go thru the program below. Hope it could help you.
REPORT  ZSS_CODE_2_HTML LINE-SIZE 300        .
TABLES: D010INC.      
Tabelle für die aufzunehmenden ABAP-Texte
DATA: BEGIN OF SOURCECODE OCCURS 0,
LINE(200),
END OF SOURCECODE.
Tabelle für den erzeugten HTMLCode
DATA: BEGIN OF HTMLCODE OCCURS 5000,
LINE(256),
END OF HTMLCODE.
DATA: BEGIN OF INCLUDETAB OCCURS 0,
NAME LIKE D010INC-INCLUDE,
END OF INCLUDETAB.
DATA: TEXTELEMENTETAB LIKE TEXTPOOL OCCURS 50 WITH HEADER LINE.
DATA: EINRUECK TYPE I,                 " Soweit im HTML einrücken
CHAR2(2).
Selektionsbild und Verarbeitung  -
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME.
PARAMETERS: PROGNAME LIKE D010SINF-PROG
         DEFAULT 'ZSS_CODE_2_HTML'.
PARAMETERS: HTMLFILE LIKE RLGRAP-FILENAME
         DEFAULT 'c:     emp     est.html'.
PARAMETERS: MITINCLD AS CHECKBOX DEFAULT 'X',
MITTEXTL AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK BL1.
SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME.
PARAMETERS: MITZEILE AS CHECKBOX DEFAULT 'X',
ONSCREEN AS CHECKBOX DEFAULT 'X',
SAPINCLD AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK BL2.
Ein subtrivialer Tests
AT SELECTION-SCREEN.
READ REPORT PROGNAME INTO SOURCECODE.
IF SY-SUBRC <> 0.
MESSAGE E159(AT) WITH 'Programm konnte nicht eingelesen werden'.
ENDIF.
Programmanfang -
END-OF-SELECTION.
In der Tabelle sourcecode sollte hier schon der Quelltext stehen.
PERFORM ERZEUGE_KOPF.
PERFORM WRITE_SOURCE.
Includes falls erwünscht
IF MITINCLD = 'X'.
PERFORM WRITE_INCLUDES.
ENDIF.
Textelemente falls erwünscht
Includes falls erwünscht
IF MITTEXTL = 'X'.
PERFORM WRITE_TEXTELEMENTE.
ENDIF.
Und abschließen des Files
PERFORM ERZEUGE_SCHWANZ.
PERFORM ABSPEICHERN TABLES HTMLCODE
          USING HTMLFILE.
Unterroutinen  -
INCLUDE ZCD_SS_DEBUGROUTINEN.
      FORM ABSPEICHERN                                              *
-->  FILENAME                                                      *
FORM ABSPEICHERN TABLES TEXT_ZU_SCHREIBEN
     USING FILENAME LIKE RLGRAP-FILENAME.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
CODEPAGE                = 'IBM'
FILENAME                = HTMLFILE
FILETYPE                = 'ASC'
          MODE                    = ' '
TABLES
DATA_TAB                = TEXT_ZU_SCHREIBEN
EXCEPTIONS
FILE_OPEN_ERROR         = 1
FILE_WRITE_ERROR        = 2
INVALID_FILESIZE        = 3
INVALID_TABLE_WIDTH     = 4
INVALID_TYPE            = 5
NO_BATCH                = 6
UNKNOWN_ERROR           = 7
GUI_REFUSE_FILETRANSFER = 8
OTHERS                  = 9.
IF ONSCREEN = 'X'.
LOOP AT TEXT_ZU_SCHREIBEN.
PERFORM SHOW_ANY_STRUC USING TEXT_ZU_SCHREIBEN.NEW-LINE.
ENDLOOP.
ENDIF.
ENDFORM.
*&      Form  ERZEUGE_KOPF
  Erzeugt einen HTML-Rumpf bis zum Body
FORM ERZEUGE_KOPF.
HTMLCODE-LINE = ''.APPEND HTMLCODE.
HTMLCODE-LINE = ' '.APPEND HTMLCODE.
HTMLCODE-LINE = '
CLEAR HTMLCODE-LINE.
HTMLCODE-LINE+3 = PROGNAME.APPEND HTMLCODE.
HTMLCODE-LINE = ' '.APPEND HTMLCODE.
HTMLCODE-LINE = ' '.APPEND HTMLCODE.
CLEAR HTMLCODE-LINE.APPEND HTMLCODE.
HTMLCODE-LINE = ''.APPEND HTMLCODE.
EINRUECK = 2.
ENDFORM.                               " ERZEUGE_KOPF
*&      Form  ERZEUGE_SCHWANZ
  Erzeugt die abschließenden HTML-Befehle
FORM ERZEUGE_SCHWANZ.
HTMLCODE-LINE = ' </body>'.APPEND HTMLCODE.
HTMLCODE-LINE = '</html>'.APPEND HTMLCODE.
ENDFORM.                               " ERZEUGE_SCHWANZ
*&      Form  WRITE_SOURCE
   Schreibt den Sourcecode
FORM WRITE_SOURCE.
DATA: ROT.
Erstmal die Überschrift hinstellen
PERFORM ADDZEILE USING '>+' '
PERFORM ZEILEUMB USING '' PROGNAME.
PERFORM ADDZEILE USING '->' '
CLEAR HTMLCODE-LINE.APPEND HTMLCODE.
Link auf Includes
IF MITINCLD = 'X'.
PERFORM ADDZEILE USING '>+' '
PERFORM ZEILEUMB USING '' '[Includes | #Includes]'.
PERFORM ADDZEILE USING '->' '
ENDIF.
Link auf Textelemente
IF MITTEXTL = 'X'.
PERFORM ADDZEILE USING '>+' '
PERFORM ZEILEUMB USING ''
'[Textelemente | #Textelemente]'.
PERFORM ADDZEILE USING '->' '
ENDIF.
Und Linie zum Trennen gegen den Quellcode
PERFORM ADDZEILE USING '>+' ''.
Und jetzt der Quellcode
PERFORM CODELINES.
ENDFORM.                               " WRITE_SOURCE
*&      Form  ADDZEILE
   Fügt eine Zeile in den HTML-Code ein und korrigiert Einrücktiefe
FORM ADDZEILE USING    VALUE(EINRUECKEN) LIKE CHAR2
           VALUE(TEXT).
DATA: ER.
ER = EINRUECKEN(1).
IF ER = '+'.
EINRUECK = EINRUECK + 1.
ELSEIF ER = '-'.
EINRUECK = EINRUECK - 1.
ENDIF.
CLEAR HTMLCODE.
HTMLCODE+EINRUECK = TEXT.
APPEND HTMLCODE.
ER = EINRUECKEN+1(1).
IF ER = '+'.
EINRUECK = EINRUECK + 1.
ELSEIF ER = '-'.
EINRUECK = EINRUECK - 1.
ENDIF.
ENDFORM.                               " ADDZEILE
*&      Form  SONDERZEICHEN
Sonderzeichen in HTML darstellen
FORM SONDERZEICHEN CHANGING ZEILE.
DATA: S LIKE SY-SUBRC,
LASTHIT LIKE SY-FDPOS,
DUMMY(256).
LASTHIT = 0.
DO.
DUMMY = ZEILE+LASTHIT.
IF DUMMY CA '&'.
REPLACE '&' WITH '&amp;' INTO DUMMY.
ZEILE+LASTHIT = DUMMY.
LASTHIT = SY-FDPOS + LASTHIT + 1.
ELSE.
EXIT.
ENDIF.
ENDDO.
ÄÖÜäöüß<>"
DO.
S = 1.
REPLACE 'Ä' WITH 'Ä'  INTO ZEILE.  S = S * SY-SUBRC / 4.
REPLACE 'Ö' WITH 'Ö'  INTO ZEILE.  S = S * SY-SUBRC / 4.
REPLACE 'Ü' WITH 'Ü'  INTO ZEILE.  S = S * SY-SUBRC / 4.
REPLACE 'ä' WITH 'ä'  INTO ZEILE.  S = S * SY-SUBRC / 4.
REPLACE 'ö' WITH 'ö'  INTO ZEILE.  S = S * SY-SUBRC / 4.
REPLACE 'ü' WITH 'ü'  INTO ZEILE.  S = S * SY-SUBRC / 4.
REPLACE 'ß' WITH 'ß' INTO ZEILE. S = S * SY-SUBRC / 4.
REPLACE '<' WITH '&lt;'    INTO ZEILE. S = S * SY-SUBRC / 4.
REPLACE '>' WITH '&gt;'    INTO ZEILE. S = S * SY-SUBRC / 4.
REPLACE '"' WITH '&quot;'  INTO ZEILE. S = S * SY-SUBRC / 4.
IF S = 1.EXIT.ENDIF.
ENDDO.
ENDFORM.                               " SONDERZEICHEN
*&      Form  ZEILEUMB
      text
FORM ZEILEUMB USING    VALUE(EINRUECKEN) LIKE CHAR2
           VALUE(TEXT).
CONCATENATE TEXT '
' INTO TEXT.
PERFORM ADDZEILE USING EINRUECKEN TEXT.
ENDFORM.                               " ZEILEUMB
*&      Form  CODELINES
Schiebt die Zeilen aus sourcecode ins HTML-Format
FORM CODELINES.
DATA ZEILE(5).
PERFORM ADDZEILE USING '>+' '
LOOP AT SOURCECODE.
Erst mal die Sonderzeichen ersetzen
PERFORM SONDERZEICHEN CHANGING SOURCECODE-LINE.
Bei einem Kommentar diesen Rot und kursiv darstellen
IF SOURCECODE-LINE(1) = '*'.       " roter Kommentar
CONCATENATE '+'
SOURCECODE-LINE
'+'
INTO SOURCECODE-LINE.
ENDIF.
Bei Zeilennummerierung diese in dunkelblau dazustellen
IF MITZEILE = 'X'.
ZEILE = SY-TABIX.
SHIFT SOURCECODE-LINE RIGHT BY 35 PLACES.
CONCATENATE ''
ZEILE
INTO SOURCECODE-LINE(35).
ENDIF.
PERFORM ADDZEILE USING '' SOURCECODE-LINE.
ENDLOOP.
PERFORM ADDZEILE USING '->' '
ENDFORM.                               " CODELINES
*&      Form  WRITE_INCLUDES
      Die ganzen Includesources anfügen
FORM WRITE_INCLUDES.
DATA: FIRSTTIME.
FIRSTTIME = 'X'.
SELECT * FROM D010INC WHERE MASTER = PROGNAME.
IF    SAPINCLD = 'X'
AND D010INC-INCLUDE(1) = '<'.
CONTINUE.
ENDIF.
IF FIRSTTIME = 'X'.
PERFORM ADD_INCLUDES_HEADER.
CLEAR FIRSTTIME.
ENDIF.
Die Namen der Includes merken und nacher am Anfang in den Quellcode
als Navigationspunkte hinzufügen
APPEND D010INC-INCLUDE TO INCLUDETAB.
Namen und Quelltext schreiben
PERFORM ADD_INCLUDE_NAME USING D010INC.
READ REPORT D010INC-INCLUDE INTO SOURCECODE.
PERFORM CODELINES.
ENDSELECT.
ENDFORM.                               " WRITE_INCLUDES
*&      Form  ADD_INCLUDES_HEADER
   Für den 1. Include eine kleine Sonderbehandlung
FORM ADD_INCLUDES_HEADER.
HTMLCODE-LINE = ''. APPEND HTMLCODE.
ENDFORM.                               " ADD_INCLUDES_HEADER
      FORM ADD_INCLUDE_NAME                                         *
-->  UEBERGABE                                                     *
FORM ADD_INCLUDE_NAME USING UEBERGABE LIKE D010INC.
HTMLCODE-LINE = ' '. APPEND HTMLCODE.
ENDFORM.                               " ADD_INCLUDE_NAME
*&      Form  WRITE_TEXTELEMENTE
Textelemente des Hauptprogramms auch noch ausgeben
FORM WRITE_TEXTELEMENTE.
PERFORM TEXTELEMENTE_HEADER.
READ TEXTPOOL PROGNAME INTO TEXTELEMENTETAB.
PERFORM HTML_TEXTELEMENTE USING 'im Hauptprogramm'.
LOOP AT INCLUDETAB.
READ TEXTPOOL INCLUDETAB-NAME INTO TEXTELEMENTETAB.
CHECK SY-SUBRC = 0.
PERFORM HTML_TEXTELEMENTE USING INCLUDETAB-NAME.
ENDLOOP.
ENDFORM.                               " WRITE_TEXTELEMENTE
*&      Form  TEXTELEMENTE_HEADER
FORM TEXTELEMENTE_HEADER.
HTMLCODE-LINE = ''. APPEND HTMLCODE.
ENDFORM.                               " TEXTELEMENTE_HEADER
*&      Form  HTML_TEXTELEMENTE
      text
FORM HTML_TEXTELEMENTE USING WOHER.
DATA: WOHERNAME(80),
TID(80),
TKEY(80),
TENTRY(80).
WOHERNAME = WOHER.
PERFORM SONDERZEICHEN CHANGING WOHERNAME.
Das Ganze als Tabelle rauswerfen
HTMLCODE-LINE = '
'.APPEND HTMLCODE.
CONCATENATE '
' WOHERNAME '' INTO HTMLCODE-LINE.APPEND HTMLCODE.
HTMLCODE-LINE = '
'.APPEND HTMLCODE.
LOOP AT TEXTELEMENTETAB.
TID    = TEXTELEMENTETAB-ID.
TKEY   = TEXTELEMENTETAB-KEY.
TENTRY = TEXTELEMENTETAB-ENTRY.
und HTML-Sonderzeichen ersetzen
PERFORM SONDERZEICHEN CHANGING TID.
PERFORM SONDERZEICHEN CHANGING TKEY.
PERFORM SONDERZEICHEN CHANGING TENTRY.
HTMLCODE-LINE = ''.APPEND HTMLCODE.
CONCATENATE '' INTO HTMLCODE-LINE.
APPEND HTMLCODE.
CONCATENATE '' INTO HTMLCODE-LINE.
APPEND HTMLCODE.
CONCATENATE '' INTO HTMLCODE-LINE.
APPEND HTMLCODE.
HTMLCODE-LINE = ''.APPEND HTMLCODE.
ENDLOOP.
HTMLCODE-LINE = '
' TID '
' TKEY '
' TENTRY '
'.APPEND HTMLCODE.
HTMLCODE-LINE = '
'.APPEND HTMLCODE.
ENDFORM.                               " HTML_TEXTELEMENTE
Regards
Rakesh

Similar Messages

  • How to retrieve complete report output in HTML format

    Hi,
    I'm looking for how to retrieve complete report output in HTML format.
    I have tried the following and it only give me first page of the report output where in the actual report output should be 5 pages. Is there something I'm missing.
    CallbackOption[] boCallOpt = new CallbackOption[1];
    ImageManagement boImgMan = new ImageManagement();
    boImgMan.setCallbackScript("getImage.jsp");
    boImgMan.setImageManagementHolder("imageName");
    boImgMan.setDocumentReferenceHolder("docRef");
    boCallOpt[0] = boImgMan;
    RetrieveData oRetrieveData = new RetrieveData();
    RetrieveView oRetrieveView = new RetrieveView();
    oRetrieveView.setCallbackOption(boCallOpt);
    oRetrieveData.setRetrieveView(oRetrieveView);
    Action[] oActions;
    oActions = new Action[1];
    oActions[0] = fillPrompts;
    oReportEngine.getDocumentInformation(boDocInfo.getDocumentReference(), null, oActions, null,oRetrieveData);
    Testing this on BOE XI 3.0
    Thanks,

    For Web Intelligence, HTML is an interactive viewing format and not an export format such as PDF.
    Note that the HTML will be embedded with postback URLs to the application for images and drill downs.
    Closest you'd get is to be able to specify HTML output of an entire REPORT rather than REPORT_PAGE in the ViewSupport.setViewMode method.  But this brings back just one report in the document, and will have postback URLs mentioned above.
    Sincerely,
    Ted Ueda

  • Report Output In HTML Format

    Hi,
    i have my report output of 4 paes. when i tried to save them in HTML format , it saves all pages all together in 1 html. i want to save each page in different html.
    like i have 4 pages in report output .. i want 4 html for each different page .
    Can anybody help me ..its urgent

    Hi,
    You can do in this way ...
    CALL FUNCTION 'WWW_ITAB_TO_HTML'
         TABLES
              HTML   = F_HTML
              FIELDS = FLDS
              ITABLE = ITAB.
    IF SY-SUBRC NE 0.
      WRITE: / 'Error in generating the html format'.
      EXIT.
    ENDIF.
    CALL FUNCTION 'WS_DOWNLOAD'
         EXPORTING
              FILENAME         = 'c:test.html'
              MODE             = 'BIN'
         TABLES
              DATA_TAB         = F_HTML
         EXCEPTIONS
              FILE_OPEN_ERROR  = 1
              FILE_WRITE_ERROR = 2
              OTHERS           = 9.
    call these 2 Fucntion modules for every page. so each page it wil downlaod a HTML page
    Regards
    Sudheer

  • Report output in HTML not as in PDF

    I have developed a report in Report builder 10g when i get its output in HTML in browser from application, it does not show its format as like in PDF for example heading background colors, fields background colors and frame lines not showing in HTML format but in PDF there is no problem.
    Thanks in Advance.

    Unfortunately those are HTML restrictions.
    From the Reports Builder Online Help you can see the following for HTML output
    - The only drawn object supported in HTML is a solid, black, horizontal line. The line width specified in the report may be honored depending upon the browser. All other drawn objects (for example, rectangles or circles) in the report layout will not show up in the HTML output. Space for these drawn objects is reserved, but there is no visible representation in the HTML output.
    - Background (fill) and border (line) colors/patterns for text are not available in HTML. Bold, italic, underline, and foreground (text) color are supported if the browser supports them
    ====
    Hope it helps

  • How to automatically maximize report output on HTML page

    Hi,
    I am using Oracle Database 10g and Oracle Developer Suite 10.1.2
    on Windows XP.
    I am using Run_Report_Object() and Web.Show_Document() respectively to call the Report from Oracle Form.
    Well, it showed normally.
    However, the Window is not maximized automatically when showed.
    I had to maximize it manually.
    I would like to know, how can I maximize the report output which is showed in new Window on HTML format automatically?
    Is there anyway to do so?
    BTW, I also use the Report to call another Report by providing the hyperlink using SRW.Set_Hyperlink
    Can I do the same, maximize the Window?
    Many thanks,
    Buntoro

    hi,
    u'll have to set the second argument in your function to '_blank'
    i.e, web.show_document(url,'_blank');

  • Report Output format Html & Html Style Sheet

    Hi ,
    How i can difference between Html & Html Style Sheet
    when system parameter destformat to a report ?
    for html destformat = Html
    What about Html Style Sheet destformat ?

    hi
    what do u mean by html style?
    did u use HTMLCSS?
    sarah

  • Reports output in Html format.

    Hi,
    My reports are in character mode.
    I am running those reports in command line with all parameters like desname ,desformat,destype...
    If mode is character we can't set desformat as Html.If I change that mode into default,then trancation will occur.How can I avoid this.Is there any possiblity to reduce
    fontsize?
    I don't want to modify each report.
    Thanks,
    viji.

    hello,
    unfortunatly the varying destination types are only valid for bitmap reports.
    regards,
    the oracle reports team

  • Can i get the report output in HTML format?

    Hello everybody,
    I have developed a report whose output needs to be printed in HTML format.
    Can anybody suugest how this can be accomplished by coding in program itself using any function modules if necesary?
    Helpful answers will surely be rewarded.
    Thanx in advance,
    Sanghamitra.

    refer the below code
    Generate an HTML file from a Report in ABAP
    data: begin of itab occurs 0,
          matnr type mara-matnr,
          mtart type mara-mtart,
          matkl type mara-matkl,
          groes type mara-groes,
          end of itab.
    data: ifields type table of w3fields with header line.
    data: ihtml   type table of w3html   with header line.
    select * into corresponding fields of table itab
              from mara up to 100 rows.
    call function 'WWW_ITAB_TO_HTML'
    EXPORTING
      TABLE_ATTRIBUTES       = 'BORDER=1'
      TABLE_HEADER           =
        ALL_FIELDS             = 'X'
      tables
        html                   = ihtml
        fields                 = ifields
      ROW_HEADER             =
        itable                 = itab
    check sy-subrc = 0.
    call function 'GUI_DOWNLOAD'
         exporting          filename = 'c:\test.html'
         tables          data_tab = ihtml
    or for conerting internal table data into html
    See below simple report to convert the internal table data to a HTML format data and stores in a internal table and then pass that internal table as an attachment to the external email using function module SO_NEW_DOCUMENT_ATT_SEND_API1.
    You need for create a spool also.
    REPORT Z_HTML .
    include <icon>.
    types: begin of msg,
    type like icon-id,
    text(140) type c,
    end of msg.
    constants: gc_marked type c value 'X',
    gc_ok like icon-id value '@5B@'.
    data:
    gt_msg type standard table of msg,
    gs_msg like line of gt_msg,
    gv_msg(138) type c,
    *-- html
    html_container type ref to cl_gui_custom_container,
    html_control type ref to cl_gui_html_viewer,
    my_row_header like w3head occurs 10 with header line,
    my_fields like w3fields occurs 10 with header line,
    my_header like w3head,
    my_html type standard table of w3html ,
    ok_code like sy-ucomm.
    Start of Selection *
    start-of-selection.
    clear gv_msg.
    gv_msg = 'MESSAGES for HTML'.
    do 3 times.
    perform message using gc_ok gv_msg .
    enddo.
    End of Selection *
    end-of-selection.
    set screen 0100.
    *& Form message
    form message using p_type
    p_text.
    clear gs_msg.
    gs_msg-type = p_type.
    gs_msg-text = p_text.
    append gs_msg to gt_msg.
    endform. " MESSAGE
    *& Module STATUS_0100 OUTPUT
    module status_0100 output.
    perform convert_itab_html.
    set titlebar '100' .
    set pf-status 'MAIN100'.
    create object html_container
    exporting
    container_name = 'CONTAINER'.
    create object html_control
    exporting
    parent = html_container
    saphtmlp = gc_marked .
    data: assigned_url type url.
    call method html_control->load_data
    EXPORTING
    URL = url
    TYPE = 'text'
    SUBTYPE = 'html'
    SIZE = 0
    ENCODING =
    CHARSET =
    importing
    assigned_url = assigned_url
    changing
    data_table = my_html
    EXCEPTIONS
    DP_INVALID_PARAMETER = 1
    DP_ERROR_GENERAL = 2
    CNTL_ERROR = 3
    others = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call method html_control->show_url
    exporting
    url = assigned_url
    FRAME =
    IN_PLACE = ' X'
    EXCEPTIONS
    CNTL_ERROR = 1
    CNHT_ERROR_NOT_ALLOWED = 2
    CNHT_ERROR_PARAMETER = 3
    DP_ERROR_GENERAL = 4
    others = 5
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endmodule. " STATUS_0100 OUTPUT
    *& Module exit INPUT
    module exit input.
    leave program.
    endmodule. " exit INPUT
    *& Module user_command_0100 INPUT
    text
    module user_command_0100 input.
    case ok_code.
    when 'EXIT' or 'BACK'.
    leave program.
    when others.
    call method cl_gui_cfw=>dispatch.
    endcase.
    endmodule. " user_command_0100 INPUT
    *& Form convert_itab_html
    form convert_itab_html.
    data: lv_tabix like sy-tabix.
    *-- table header
    call function 'WWW_ITAB_TO_HTML_HEADERS'
    exporting
    field_nr = 1
    text = 'Type'
    fgcolor = 'navy'
    bgcolor = 'red'
    font = 'Arial'
    tables
    header = my_row_header.
    call function 'WWW_ITAB_TO_HTML_HEADERS'
    exporting
    field_nr = 2
    text = 'Message'
    fgcolor = 'navy'
    bgcolor = 'red'
    font = 'Arial'
    tables
    header = my_row_header.
    *-- table rows
    clear lv_tabix.
    loop at gt_msg into gs_msg.
    lv_tabix = sy-tabix.
    call function 'WWW_ITAB_TO_HTML_LAYOUT'
    exporting
    field_nr = 1
    line_nr = lv_tabix
    icon = gc_marked
    tables
    fields = my_fields.
    call function 'WWW_ITAB_TO_HTML_LAYOUT'
    exporting
    field_nr = 2
    line_nr = lv_tabix
    fgcolor = 'red'
    bgcolor = 'black'
    font = 'Arial'
    size = '2'
    tables
    fields = my_fields.
    endloop.
    *-- header
    move 'Messages during program run' to my_header-text.
    move 'Arial' to my_header-font.
    move '2' to my_header-size.
    move 'Centered' to my_header-just.
    move 'red' to my_header-bg_color.
    move 'blue' to my_header-fg_color.
    refresh my_html.
    call function 'WWW_ITAB_TO_HTML'
    exporting
    table_header = my_header
    all_fields = ' '
    tables
    html = my_html
    fields = my_fields
    row_header = my_row_header
    itable = gt_msg.
    endform. "convert_itab_html
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Scrollbar for reports output in html format

    We are creating reports with fairly large amounts of data being directed to the screen in HTML format. We were expecting to see a scrollbar along the right hand edge of the report window that allows us to see all of our data. Is this possible?
    Alternatively, how would we split this data up into multiple pages? There isn't really anything to break on. We do want our totals on this last page.
    Thanks.

    hello,
    unfortunatly the varying destination types are only valid for bitmap reports.
    regards,
    the oracle reports team

  • Oracle Applications Alert: Want message output in HTML format

    Hi,
    My question is regarding Oracle Application Alerts. Currently, we get output of message in plain text.
    How can i provide/setup Oracle Alert in such a way that message send through Alert are HTML formatted text?
    I have referred Oracle Alerts 11i User Manual and ran google search on this topic but have not found any answer so far.
    Hope this forum will help me find the solution.
    Thanks in advance,
    Saurabh

    Hi Saurabh
    How can i provide/setup Oracle Alert in such a way that message send through Alert are HTML formatted text? I belive you cant use html for alert. You can use workflow or plsql to send html mails.
    I have referred Oracle Alerts 11i User Manual and ran google search on this topic but have not found any answer so far. For more information Please also check below and see its helpful:
    Subject: HOW TO CONFIGURE ORACLE*MAIL FOR USE WITH ORACLE ALERT Doc ID: 1005013.6
    Subject: Using Oracle Alert with Workflow Mailer Doc ID: 395128.1
    Subject: How to determine what email system is being utilized for Oracle Alert processing? Doc ID: 428193.1
    Subject: Which electronic mail facilities does Alert use/support? Doc ID: 211840.1
    Subject: Configuring the Oracle Workflow 2.6 Java-based Notification Mailer with Oracle Applications 11i Doc ID: 231286.1
    Subject: FAQ: Using Oracle Alert to Send MAPI Mail on Windows NT Doc ID: 75011.1
    Subject: How to setup Email Notification from Microsoft Exchange with Oracle Alerts Doc ID: 163249.1
    Regard
    Helios

  • Reports 6i and html generation

    I am rendering report output in html via the web from reports server 6i on the NT platform. When viewing the report in a browser there is a bold letter "t" in the upper left hand corner of the screen. I also get duplicate ")" and "-" characters in various places. This does not happen if I render the report in PDF format or if the report is run locally in Reports Designer. Any help would be greatly appreciated...

    I've had the same symptom. Try uninstalling Adobe and reinstalling the latest version. This seems to reset the required setup items. Also, I have experienced trouble when using a reports parameter form-- the parameter form comes up fine but then the report doesn't open properly. Again, reinstalling the latest version of Adobe cures the problem. I have talked to some people who switched to Netscape to cure this. Be careful with Netscape 6 though, it seems quite slow.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Santanu Chaudhuri ([email protected]):
    Is there a specific setting in IE 5.5 or Acrobat Reader. I am running reports using Reports 6i. When I am selecting pdf as the output, it doesn't work in some machines but work in others. I get messages like
    " There is no viewer available for the type of object you are trying to open. Do you want to download a viewer for this type of object?" or "An error occured while trying to open the document". I do have Acrobat Reader in all the PCs I am testing in. This is really frustrating and I could not find a way to solve it. Anyone had the same problem??? Please let the forum know.
    Thanks
    Santanu Chaudhuri<HR></BLOCKQUOTE>
    null

  • Report output delimited all fields by semicolon.

    Hi friends,
    I want report output in a text file delimited all fields by ;.
    Thankx
    Nishit
    null

    Hi,
    There might be some mistake in your layout. the print direction should be down.
    Look at the below link for more information:
    http://oracleapps4u.blogspot.com/2011/03/layout-mode-print-direction.html
    Some guide lines in developing the report layout:
    http://oracleapps4u.blogspot.com/2011/03/layout-guidelines-to-increase-report.html
    If this didnt help you. detail more about your problem

  • Overlay Creator interactivity to output into HTML, PDF, EPUB

    Need the interactive options introduced in Overlay Creator to be Output to HTML, PDF, EPUB etc. Right now you can only use them in the Digital Publishing Suite.

    Hi D.,
    using desformat=html you'll get the report-output in html.
    What do you mean with "not get same results"? Did you get an report with other data? Or an error message?
    Regards
    Rainer

  • How to Generate HTML Report Output in Excel

    Dear Experts,
    How to convert HTML report output in Excel.
    I have reports which output is coming in HTML format & the same I want to use in Excel.
    So tell me how I can covert the same in Excel.
    Thanks
    Sudhir

    hello,
    in your case, you might want to make the following :
    a) use DESFORMAT=HTML
    b) use MIMETYPE=application/vnd.msexcell (or whatever mimetype your excel application is bound to)
    i am nor sure if excel will understeand our HTMLCSS (which is actually HTML4.0 using layers for best possible rendering of the paper page in the browser).
    regards,
    the oracle reports team

  • Reports 3/6i HTML Output Print problem

    Hi!
    I am using Reports 3 to generate HTML output but when I print this HTML output, it does not break at Oracle Reports Page break. It looks like the browser takes its default settings for margins. I am using IE 5.5.
    I tried the following options
    1. Using { page-break-after: always } option in 'After Page Value' of Report Escapes property (Report)
    2. Changing margin settings of browser, but was not able to change them to 0.
    I want to print the HTML report with page breaks where Oracle marks as Page Break.
    If possible, Please do write me at [email protected]
    Thanks,
    Praveen Kumar

    Praveen,
    When you generate a HTML page in Reports, you are generating a single page document that is then intepretted by the browser. You are correct that when you then print this page from the browser then it will not necessarily break at the same point as the reports page breaks.
    The only way to guarantee that you will get the same breaks is to use a different format. Most commonly people use PDF format when they want the printed page to match exactly what's on the screen. Alternatively you could include a link on the HTML rendition of the report that resubmits the report to the server but instructs the server to print the report directly.
    Hope this helps,
    Danny

Maybe you are looking for

  • Delete email lists more than just one at a time. In groups or blocks.

    I want to delete a lot of old emails. Instead of doing it one at a time can I do a group all at one time?

  • How to use decode function

    Hello Friends, I have a query that has different columns and I am not sure what the data type of each column is ... I want to use decode function which displays the following if the value of the column is like this .. if the value of column is -714E

  • Connect 2 BW to the same client in R3?

    Hi,     Is it possible to connect 2 BW to the same client of R/3 as a source system? Will this mess up the delta queue like in RSA7? Or, the R3 system has separate queue for each BW? Please advise. Thanks, Jeff

  • Delivery Addresses

    Hi Friends, We have a requirement in our project. We have different Ship To Party codes which are entered in sales order. But these Ship to parties have different Delivery Addresses on which in the invoice will be printed. When Ship to party is enter

  • ITunes sign in "Unknown Error" on my Mac only.

    I get the "Unknown Error" in iTunes only. My password works on all other devices. Then when I try to sign in iTunes more than 3 times, I end up having to reset password again. This is only a problem with iTunes on my Mac, not iphone or ipad.