Headings in CY38

Hi,
While maintaining headings in CY38 if I have got many fields I could key in the headings of first few fields ( with separator I ) however
once I reach the end of the line , how do I enter the remaining headings ?
CY38...I have given my layout...& clicked on Pencil for change....then clicked on Sequence-Headings...how to give headings which are
going beyond the existing line being displayed with seperator I ?
Regards

Hi Nayab,
Use the concept of Events.
I am giving you one of my requirement to show date and title on the ALV report.
Here it is:
Add this event in your report.
*--- Add events for the List
  wa_event-name = 'TOP_OF_PAGE'.
  wa_event-form = 'SR52_TOP_OF_PAGE'.
  APPEND wa_event TO it_event.
After that use the 'TOP_OF_PAGE' event.
But make sure use the name of event as it is, otherwise it will give error to you.
*&      Form SR52_TOP_OF_PAGE
*     Top of page for ALV
FORM sr52_top_of_page.
  REFRESH it_header.
  CLEAR wa_header.
  DATA: lfl_date(10) TYPE c,
        lfl_title TYPE lvc_title VALUE 'PROJECT STATUS REPORT'.
* Title
  wa_header-typ  = 'H'.
  wa_header-info = lfl_title.
  APPEND wa_header TO it_header.
  CLEAR wa_header.
*mask date to dd-mm-yy format.
  WRITE sy-datum TO lfl_date USING EDIT MASK
  CONCATENATE 'RUN DATE :' lfl_date INTO wa_header-info.
  wa_header-typ  = 'H'.
  APPEND wa_header TO it_header.
*FM to display TOP_OF_PAGE
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
      it_list_commentary = it_header.
  CLEAR wa_header.
ENDFORM.                    "sr52_top_of_page
May it helps you.
Regards.
Deepak Sharma.

Similar Messages

  • Can no longer read text on browser itself--tabs, headings, etc.--after updating to v 4. How can I enlarge these fonts?

    I just updated to Firefox 4.0. I made NO changes to existing settings. After updating, font size of BROWSER headings, tabs, etc. appear so small that I am barely able to read them. (Note that I am NOT talking about font size on web pages--just on browser itself. ) Have used firefox for years--don't want to give it up--but will have to if can't find a solution for this.

    I don't know where it is going to look.  As I did all the Orthoptera, haing to go to the source of every page, andchanging the links to the moths to the Orthoptera, I had to do the same with other Oders.  Now I am on the Diptera, and went to the previously created Orthoptera gallery and changed the text and link from Orthoptera to Diptera.  But it still shows text and link, moth, instead.  So I continue to have to go to each pages source coded and change individually.
    Here is what I don't understand.  When I go to the folder that is at  C://program files/adobe/adobe photoshop cs4 (64 bit)/presets/web photo gallery,  the renamed, copied and modified folder, Diptera is there, and come up in the choices of templates.  But the text and link modifications don't occur when the gallery is run.  Where could it be going to get the moth stuff, when it goes to this folder for the template? 
    What you said about the 64 bit makes sense, but I don't know where it could be going to create the gallery when the folder named Diptera is ther.

  • Headings not saved correctly. Difficult to fix.

    I opened a saved draft. When the file was saved, all headings were styled Futura LT Medium. When I opened the file, they had all changed to Lucida Grande in the document, though the styles themselves are still Futura LT Medium.
    Further, I tried to correct it three different ways.
    Select all uses of <style>, Revert to Defined Style
    Failed because: Revert to Defined Style is greyed out when all uses are selected but works on individual headings.
    Select all uses of <style>, use font drop-down to specify correct font
    Failed because: font drop-down has no reflect (after selecting a font, it still displays empty and no fonts change).
    Select one heading at a time, Revert to Defined Style
    This works, but it's immensely time consuming. This is a 13 page report with many headings.
    Eventually, after fixing a couple headings and wanting to be sure that I can save and reopen it without it reverting these changes, I used "Save a Version" and then quit Pages entirely. I reopened the document. The headings all appear to have spontaneously fixed themselves, but when selected the style shows a red triangle down arrow and can be Reverted even though this doesn't appear to change the heading in any way. So somehow Pages has corrected the headings but still thinks they deviate from the style.
    What on earth is going on? Is this some kind of Pages/OS X Lion bug? Any advice or work-arounds?
    Edit: Corrected second to last paragraph because it was not accurate.

    Sounds to me like you have altered the template but haven't captured the changes to the master pages.
    When you are inserting new sections they are coming from the original master pages with the old style.e
    Learn how the styles and layouts in Pages work:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Peter

  • I am not getting the headings of the fields in ALV output.

    I am not getting ALV out put but  the headings of the fields in ALV output.
    Please see my below code .
    TYPES : BEGIN OF ty_zgxmit.
              INCLUDE STRUCTURE zgxmit.
    TYPES : END OF ty_zgxmit.
    DATA : gt_zgxmit TYPE TABLE OF ty_zgxmit.
    *&      Form  alv_display                                              *
    This subroutine is to display the out put in ALV.                    *
    FORM alv_display .
    Local data
      DATA: y_x          LIKE boole  VALUE 'X'.
    DATA: lt_fieldcat  TYPE slis_t_fieldcat_alv.
      DATA: lf_fieldcat  TYPE slis_fieldcat_alv.
      DATA: lh_index     LIKE lf_fieldcat-col_pos.
    For variant
    DATA: ws_repid LIKE sy-repid,
          g_save TYPE c VALUE 'A',
          g_exit TYPE c,
          g_variant LIKE disvariant,
          gx_variant LIKE disvariant.
      For 1st field.( RPT_LOC )
        CLEAR lf_fieldcat.
        lf_fieldcat-fieldname = 'RPT_LOC'.
        lf_fieldcat-tabname = 'GT_ZGXMIT'.
        lf_fieldcat-ref_tabname = 'RPT_LOC'.
        lf_fieldcat-ref_fieldname = 'ZGXMIT'.
        lh_index = lh_index + 1.
        lf_fieldcat-col_pos = lh_index.
        lf_fieldcat-key = y_x.
        lf_fieldcat-no_sum = y_x.
        APPEND lf_fieldcat TO lt_fieldcat.
    For 2nd field.( BAL_XMIT )
        CLEAR lf_fieldcat.
        lf_fieldcat-fieldname = 'BAL_XMIT'.
        lf_fieldcat-tabname = 'GT_ZGXMIT'.
        lf_fieldcat-ref_tabname = 'BAL_XMIT'.
        lf_fieldcat-ref_fieldname = 'ZGXMIT'.
        lh_index = lh_index + 1.
        lf_fieldcat-col_pos = lh_index.
        lf_fieldcat-key = y_x.
        lf_fieldcat-no_sum = y_x.
        APPEND lf_fieldcat TO lt_fieldcat.
    For 3rd field.( INC_XMIT )
        CLEAR lf_fieldcat.
        lf_fieldcat-fieldname = 'INC_XMIT'.
        lf_fieldcat-tabname = 'GT_ZGXMIT'.
        lf_fieldcat-ref_tabname = 'INC_XMIT'.
        lf_fieldcat-ref_fieldname = 'ZGXMIT'.
        lh_index = lh_index + 1.
        lf_fieldcat-col_pos = lh_index.
        lf_fieldcat-key = y_x.
        lf_fieldcat-no_sum = y_x.
        APPEND lf_fieldcat TO lt_fieldcat.
    For 4th field.( Z500_XMIT )
        CLEAR lf_fieldcat.
        lf_fieldcat-fieldname = 'Z500_XMIT'.
        lf_fieldcat-tabname = 'GT_ZGXMIT'.
        lf_fieldcat-ref_tabname = 'Z500_XMIT'.
        lf_fieldcat-ref_fieldname = 'ZGXMIT'.
        lh_index = lh_index + 1.
        lf_fieldcat-col_pos = lh_index.
        lf_fieldcat-key = y_x.
        lf_fieldcat-no_sum = y_x.
        APPEND lf_fieldcat TO lt_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program       = 'ZJV_2245'
                it_fieldcat              = lt_fieldcat
           TABLES
                t_outtab                 = gt_zgxmit
           EXCEPTIONS
                program_error            = 1
                OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " alv_display

    You can force the headings like so.
    CLEAR lf_fieldcat.
    lf_fieldcat-fieldname = 'RPT_LOC'.
    lf_fieldcat-tabname = 'GT_ZGXMIT'.
    lf_fieldcat-ref_tabname = 'RPT_LOC'.
    lf_fieldcat-ref_fieldname = 'ZGXMIT'.
    lf_fieldcat-reptext_ddic  = 'Whatever Heading'.    "<-  Right here
    lh_index = lh_index + 1.
    lf_fieldcat-col_pos = lh_index.
    lf_fieldcat-key = y_x.
    lf_fieldcat-no_sum = y_x.
    APPEND lf_fieldcat TO lt_fieldcat.
    Regards,
    Rich Heilman

  • Multiple Headings in a Report with Optional Sections

    I’m trying to create a BI publisher document that has a main section and two optional sections. The report is for an Oracle Apex 4.1 application so user responses regarding the sections they require is via an apex page. Apex allows session state variables to be included in the report data xml so the user responses are stored in the data xml. I’m using an RTF template. The problem is that the optional sections need to have different headings from the main report (and each other) and start on a new page. I just cannot get this report to work. I either end up with headings on blank pages or just blank pages when the user chooses not to have the optional sections.
    The queries for the optional sections have been structured in such way that they will only return rows if the user has selected the optional sections.
    This is what I’ve tried so far:
    Section breaks before the optional sections: The headers for the optional sections appear regardless of whether there’s any data to show. I have to use a section break that will produce a page break because we want the optional sections to start on their own page. Even if I surround the section break and the rowset for the optional section with an if statement I still get a heading on a blank page.
    Taking this a stage further if I try to suppress the header by completely surrounding it with an if statement with the appropriate report variable ie
    <?if:optional_section_1 = ‘Y’?>
    Heading text
    <?end if?>
    I just get a blank page instead.
    If I use the same header and footer throughout the document and use normal page breaks with the optional sections the report works fine.
    Templates: I’ve tried splitting the optional parts of the report into sub templates that have their own headings but these headings don’t show up at all in the final report.
    Start body/end body tags: That is placing the headers actually in the document text (rather than the actual headers and footers) but outside of these tags. I end up with both headers for the optional parts in my output document. The Oracle documentation “Creating Multiple or Complex Header and Footers” is rather sparse and the example doesn’t really cover what it purports to cover i.e. a document with multiple headings. I’ve done plenty of Google searches regarding this and cannot find any good examples.

    can you send me your template and xml to my email . I can try at my side : [email protected]

  • Webforms - Wrap Text/Word Wrap for Column Headings

    I have some member aliases that are set as my webform's column headings, but they are fairly long. Setting the column width to a custom value that fits most of the text in the heading makes the form very wide and ugly to work with. I don't see any option to Wrap Text or use Word Wrap in the column headings. Is there any way to do this?
    Thanks!

    Hi,
    I am not aware of any option which allows you to wrap the text, it may be possible customizing the [CSS |http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch12s03.html] though to be honest I am not even sure about that and even if it was possible it would apply to all apps.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • LOV of column names with a report's custom column headings?

    I have a list ov values definition that looks like this:
    select column_name d, column_name r from all_tab_columns where table_name = 'DATABASE_LIST'
    I'd like to list the custom column headings from a report as d, rather than repeating the column_name. How can I do this?

    As Anton said, the best thing is to store your custom headings in a table so that you can use the table for your LOV as well as for your report headings.
    To use dynamic report headings, you can use the 'PL/SQL function body returning colon-delimited headings' feature on the Report Attributes page.
    So, if your report headings are stored in table t that function body can be
    declare
    l_headings varchar2(4000)
    begin
    for rec in (select heading from t) loop
       l_headings := l_headings||':'||rec.heading;
    end loop;
    return ltrim(l_heading,':');
    end;Hope this helps.

  • FIeld headings in ALV Grid by label

    Hi
    I want disply the headings in alv grid display like this format.
    I want write my own label in the output. (not in Normal LIST DISPLAY)
    Sno |      Sname |    Marks
        |           |     M1 |  M2  | M3
    How it is possible?
    Edited by: Krishna Bommisetty on Sep 11, 2008 10:55 AM

    Hi,
      Check the below code.
    WA_FCAT-SELTEXT_M   = TEXT-073.
      WA_FCAT-DDICTXT      = 'M'.
    We can define the name of the field label as mentioned above, where texto073 is nothing but the field label you want to give to the particular field.
      DDICTXT you have to mention the length as small 'S', medium 'M' and large as 'L'.

  • PL/SQL based report headings throw ORA-06502

    I have a report that presents a view containing over 500 columns. This is data generated by an ETL process (for a data mining app), and the view's column names are dynamically defined each time the data are compiled. I've got scrolling set up within the region and the report works fine (all ~500 columns) with headings based on Column Names. However since column names change, I must use the Region Source option to 'Use Generic Column Names (parse query at runtime only)' and define Headings Type as PL/SQL. I've written a function to build the ':' delimited field list from the data dictionary and it all works just fine for a small number of columns (i.e., when the view is defined as only a few fields). When I try the complete data (~500 columns), the report region shows "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". I've confirmed (in sql*plus) that the function returning the ':' delimited field list works fine. Anyone know if there a limit to the number of columns that HTMLDB can handle for dynamic headings? Or a workaround??

    Thanks for the reply. Couple of follow up questions...
    1) Is there a workaround to generate dynamic (run-time) headings that exceed the 4000 char limit?
    2) Page 1 of my app runs an PL/SQL process. One of the results of the process is a redefinition of my view's column names. Page 2 reports the view (~500 fields). Instead of PL/SQL function-based column headings, can either Page 1 or Page 2 directly update Page 2's report "static" column headings behind the scenes as some sort of page process?

  • PL/SQL Report Headings Type question

    Hi,
    If I set a report to use a Heading Type of "PL/SQL", is there a way to get the region id of the report from within the PL/SQL function that I provide in the "Function returning colon delimited headings" section?
    #REGION_ID# (available in a report template) doesn't seem to work.
    Thanks,
    Eric

    Report region ids are not accessible to developers for use in the App Builder. You have to run the page, see what the generated region id is and then go back and hardcode it whereever you need.
    I understand that this is going to be improved in the next release, the region id is going to be a user-defined attribute.

  • Print headings using RSBTCHH0 on ALV grids

    Most reports I have developed use the list processing event top-of-page to print headings for the report listing by calling standard SAP subroutine BATCH-HEADING in program RSBTCHH0 when structure BHDGD has been populated. Field BHDGD-LINES contains the line size used for printing the report headings. When we use ABAP objects to print data in the ALV grid we can add the same processing to print page headings to event PRINT_TOP_OF_PAGE. It appears as if the heading data is printed until the position of last column of the grid before the text is wrapped, creating a new line. Is there anyway of controlling the default line-size when doing grid printing.
    Thanks in advance
    Colin

    Hi,
    Refer to this document for all your ALV queries:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf
    regards
    Aveek

  • Dynamic crystal report generation - issues with column headings

    Hi All,<br>
    I'm trying to generate a crystal report dynamically based on a "result set" data(Query: select REPORT_ID, REPORT_NAME, REPORT_DESC, RPT_FILE_NAME, LOCATION from IRS_REPORT_DETAILS). I'm able to generate the report run time, But the report is without columns heads. I would like to include the column headings as well. <br><br>
    I searched the API(RAS) and found that there is a 'add(java.lang.String fieldName, java.lang.String headingText) " method present in "ReportObjectController" using which we can add the headings.<br><br>
    ReportDefController reportDefController = clientDoc.getReportDefController();
    ReportObjectController reportObjectController = reportDefController.getReportObjectController();
    reportObjectController.add( "{Table.Field}", "FieldName" );
    <br><br>
    I'm facing problems in using this code. When trying to use this function for my fields(Ex: reportObjectController.add( "{ IRS_REPORT_DETAILS.REPORT_ID}", "Report ID" );) it is giving me the following error:<br><br>"com.crystaldecisions.sdk.occa.report.lib.ReportSDKGroupException: The field was not found.---- Error code:-2147213310 Error code name:fieldNotFound"<br><br>
    <b>The following is my dynamic crystal report generation code:</b><br><br>
    public ReportClientDocument execute(String repName, String query) {
              ReportClientDocument boReportClientDocument = null;
              try {
                   boReportClientDocument = new ReportClientDocument();
                   boReportClientDocument.newDocument();
                      // Add a table based on the given Resultset to the report.
                   dbConnResultSet mySampleResultSet = new dbConnResultSet();
                   //mySampleResultSet.execute(query);
                   boReportClientDocument.getDatabaseController().addDataSource(
                             mySampleResultSet.execute(query));
                   IReportSource test = boReportClientDocument.getReportSource();
                   // Access all the database fields
                   DatabaseController databaseController = boReportClientDocument
                             .getDatabaseController();
                   IDatabase database = databaseController.getDatabase();
                   Tables tables = database.getTables();
                   ITable table = (Table) tables.getTable(0);
                   int NO_OF_FIELDS = table.getDataFields().size();
                   int LEFT_POSITION = 200;
                   // Add all the database fields to the report document
                   for (int i = 0; i < NO_OF_FIELDS; i++) {
                        IField field = table.getDataFields().getField(i);
                        FieldObject fieldObject = new FieldObject();
                        fieldObject.setFieldValueType(field.getType());
                        fieldObject.setDataSource(field.getFormulaForm());
                        IReportObject rep = (IReportObject) fieldObject;
                        IObjectFormat objformat = rep.getFormat();
                        objformat.setEnableCanGrow(true);
                        objformat.setHorizontalAlignment(Alignment.from_int(1));
                        rep.setFormat(objformat);
                        rep.setLeft(LEFT_POSITION);
                        rep.setWidth(1000);
                        LEFT_POSITION = LEFT_POSITION + 1000 + 50;
                        ISection section = boReportClientDocument
                                  .getReportDefController().getReportDefinition()
                                  .getDetailArea().getSections().getSection(0);
                                   //***************** Data being added to the report here, But headings are not added*****************
                        boReportClientDocument.getReportDefController()
                                  .getReportObjectController().add(rep, section, i);
                   boReportClientDocument.createReport();
                   /*Some report saving code is present down*/
              } catch (ReportSDKException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              return boReportClientDocument;
    <br><br>
    appreciate your help.

    IField field = table.getDataFields().getField(i);
    Here you are getting the first field in the array.  This may not be the field you want to add since we aren't sure how the arrays are ordered when retrieving fields from the report.  It is better to retrieve the fields with the findObjectByName method, thus ensuring you are retrieving the field you want to add to your heading.

  • Dynamic Headings on Interactive Report

    Hi,
    I have an interactive report that I would like to use dynamic headings. I have looked at some of the posts here and have followed what I think is the correct way to do this, but I am still not seeing the headings I am expecting.
    I created items to hold the headings and have created a process to populate these items, that all seems to work fine, I can view the session state and see the headings.
    I added the items to the report on the Report Attributes page under "Heading". I used the substitution for the items as &P2_HEADING1.
    When I look at the report all I see for the substituted heading is &P2_HEADING1. and not the value I would expect.
    It seems I am missing a step? Any ideas?
    Thanks,
    Peter

    Hi,
    The process point should be ok.
    The only other things I can think of are either there is an error in the code (the "Session" link on the developer's toobar will show if the value is being set) or there is a space after the page item name (difficult to see on screen but can cause problems) which makes the item name different to what you expect.
    Andy

  • First group heading below displays below column headings using Template 23 Classic Report using Repeat Headings on Break

    Hello,
    I am migrating an application from APEX 3 to APEX 4.2 on one thing I notice with the classic reports when I bring them into Template 23 is that the first break section has the break row display below the column headers for that section while the remaining rows correctly have it display above the headers on subsequent group sections.
    When I look a the code in firebug I can seen that the all tables but the first, the break row is being included as the last row of the previous table so I can see how this would not work for the break since.
    I have tow questions.
    1. Is this really intentional because it doesn't seem  terribly elegant and my users zeroed in on it right away as a perceived bug.
    2. Is there a reasonable work around that still uses Repeat Headings on Break? I have multiple reports on the same page in places so changing over to interactive reports is not a silver bullet for me in this case.
    Example of issue can be seen at apex.oracle.com at  Home
    Thanks,
    Brad

    Roadling wrote:
    Hello,
    I am migrating an application from APEX 3 to APEX 4.2 on one thing I notice with the classic reports when I bring them into Template 23 is that the first break section has the break row display below the column headers for that section while the remaining rows correctly have it display above the headers on subsequent group sections.
    1. Is this really intentional because it doesn't seem  terribly elegant and my users zeroed in on it right away as a perceived bug.
    The Standard report template definition in theme 23 contains thead and tbody elements:
    Before Column Heading
    <thead>
    Column Heading Template
    <th #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>
    After Column Heading
    </thead>
    <tbody>
    After Rows
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    <tbody class="uReportPagination">
    #PAGINATION#
    </tbody>
    </table>
    <div class="uReportDownloadLinks">#EXTERNAL_LINK##CSV_LINK#</div>
    This is intentional, following best practice for marking up HTML tables. What is not intended is the problem that arises when this template is used with the Repeat Headings on Break break formatting option. The repeated headings result in the table consisting of tag soup containing multiple incorrectly constructed tbody and thead elements, which is invalid.
    2. Is there a reasonable work around that still uses Repeat Headings on Break? I have multiple reports on the same page in places so changing over to interactive reports is not a silver bullet for me in this case.
    Create a copy of the Standard report template as Standard (break formatting) for use with break reports, remove the thead and tbody tags from the template definitions, and change the break reports to use the new template. (Or, if you primarily have break reports using the Standard template, keep the tags in the copy and remove them from the original to minimize the number of reports you have to edit.)
    Personally I'd create a custom row report template for complex break reports in order to be able to have complete control over the structure and presentation.

  • Report Sorting with PL/SQL Headings

    Hi,
    I have PL/SQL Headings for my reports. Is there a way to use the sorting feature nevertheless?
    I tried to put the sorting syntax in my PL/SQL Headings, but it breaks at the first colon.
    BTW: How can I get the region_id? Is there a "hidden" substitution string like &APP_ID.?
    return 'Projekt' || ':' || to_char(sysdate,'WW/RR') || ':' || to_char(sysdate,'WW/RR') || ':' || 'Bericht'
    Regards, Juergen

    Hi Juergen,
    Column heading sorting does not work when using a PL/SQL function to determine the column headings in the current version. This issue has been resolved and it will be working in the next release. There is no substitution string to determine the region ID and I would not recommend hard-coding URLs in your headings PL/SQL function because the URL sort syntax used might change in future versions.
    Regards,
    Marc

Maybe you are looking for