Dynamic Labels/Headings/Titles in report

I have a situation, we have one table containing these columns.
CREATE TABLE REP_LABELS ( LBL_ID NUMBER, LBL_DESC_EN VARCHAR2(200), LBL_DESC_AR VARCHAR2(200) );
It contains data for Report Labels/Headings/Titles in English and Arabic so we can use one report to manipulate both languages at a time. Our data for Report is also coming dynamically according to current selected language. only issue we are facing is headings and labels for items in the report.
now my report contains 20 labels, and i don't want to create 20 formula items in report to use them in boiler_text or text_field, is there any other way i can dynamically display the headings according to the report language (i already have parameter for language and also have function which returns the label through language_parameter and lbl_id).

Hi
Have you solved this issue?
I have the same problem.
Can you help me?
Thanks in advanced

Similar Messages

  • Creating Dynamic Column Headings in Interactive Reports

    Hi,
    any ideas how I can alter the name of a column in an interactive report.?
    I have columns whose usage is defined by the end user and consequently want to have their own meaningful column header displayed whenever this column is referenced.
    I can get column headers to change in standard reports by using PL/Sql to return the column headers. In Forms, I use shortcuts (these don't seem to work for reports, I wish they did) but I'm at a loss on how to achieve this with IR's.
    Thanks
    Mike

    I wrote a script(application process) that updated the table that holds column name. I changed the display name, not the column name. I cant remember the actual table, but i found it by looking at the code that create the "APEX Application Page Ir Col" View.
    I dont know if this is best practice, but it works for me.
    Edited by: Adrian3000 on Dec 26, 2008 9:38 AM

  • How to add the double headings in Alv Report.

    Hi All,
    Plz suggest me how to add the double headings in ALv Report.
    Ram

    Hi,
    Try out this program....
    REPORT  ypm_historycard_rep.
    TYPE-POOLS : slis.
    DATA : it_cbm TYPE STANDARD TABLE OF mara.
    DATA : it_layout TYPE STANDARD TABLE OF slis_layout_alv WITH HEADER LINE,
           wa_fcat TYPE slis_fieldcat_alv,
           it_fcat TYPE slis_t_fieldcat_alv.
    START-OF-SELECTION.
      SELECT  *
      FROM  mara
      INTO CORRESPONDING FIELDS OF TABLE  it_cbm
      where matnr = 'D80K7'.
    END-OF-SELECTION.
      it_layout-zebra = 'X'.
      it_layout-colwidth_optimize = 'X'.
      it_layout-f2code = '&ETA'.
      APPEND it_layout.
      DEFINE macro4fcat.
        wa_fcat-col_pos = &1.
        wa_fcat-fieldname = &2.
        wa_fcat-tabname = &3.
        wa_fcat-seltext_l = &4.
        append wa_fcat to it_fcat.
        clear wa_fcat.
      END-OF-DEFINITION.
      macro4fcat    '1'  'MATNR'         'IT_CBM'   'MATERIAL NO'    .
      DESCRIBE TABLE it_cbm.
      IF sy-ucomm = '&F03'.
        MESSAGE 'hi hello good morning "press enter button" this is quiz' TYPE 'S'.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
      i_callback_program                = sy-repid
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'
      is_layout                         = it_layout
      it_fieldcat                       = it_fcat
       i_save                            = 'A'
      TABLES
      t_outtab                          = it_cbm
      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.
    *&      Form  html_top_of_page
    *       text
    *      -->TOP        text
    FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
      DATA: l_text(255) TYPE c.
      DATA: text1(255)  TYPE c.
      DATA: t_header TYPE REF TO cl_dd_table_element ,
            wa_header TYPE REF TO cl_dd_table_area.
      CALL METHOD top->add_gap
        EXPORTING
          width = 10.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'hello'
        sap_style     = 'HEADING'
    CALL METHOD top->add_gap
        EXPORTING
          width = 20.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'HOW ARE YOU'
        sap_style     = 'HEADING'.
        CALL METHOD TOP->new_line
    *      EXPORTING
    *        repeat =
        CALL METHOD top->add_gap
        EXPORTING
          width = 50.
      CALL METHOD top->add_text
      EXPORTING
        text          = '____________________________________________________________'
        sap_style     = 'HEADING'.
        CALL METHOD TOP->new_line
    *      EXPORTING
    *        repeat =
        CALL METHOD top->add_gap
        EXPORTING
          width = 90.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'YOU CAN TRY LIKE THIS'
        sap_style     = 'HEADING'.
    ENDFORM.                    "html_top_of_page
    Regards
    Debarshi

  • How to use Dynamic cascading parameter in crystal Report XI ?

    Hi,
    I want to use Dynamic cascading parameter in crystal Report XI which is to be viewed through the infoview without using the Business View.Is it possible?
    I could implemented Dynamic cascading parameter using the CR XI developer without using Business View, but cannot view the report when uploaded it to BOXI, through infoview.
    Please suggest..
    Thanks in advance..
    Rajneesh

    In the crystal reports field explorer>right click on parameter field>create new-->name the parameter field and select the type as dynamic. Now in the value field click the row and add the database field also add another field below that by clicking on the next row so..on. The order should be like this parent field first and then child field next...... Also click on the last column to add parmater for each level.
    Regards,
    Raghavendra

  • Dynamic selections for the FBL5N report

    Hi Experts,
    Can any body help how to add the account assignment group field in dynamic selections for the FBL5N report.
    rgds / Srini

    Hi Alex,
    Thanks for your quick response, here for the report FBL5N the logical database is DDF and the field which should be add in dynamic selection is (KTGRD) account assignment group is available in KNVV table but this table is not available in DDF logival database.
    Please suggest us how we can pickup this field into the report FBL5N for dynamic selections.
    regards / Srini

  • Column Headings in the report and adding an extra field to the report

    Hi All.
    I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
    The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
    Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
    How to add an extra field  to the existing report?
    Any pointers will be very much helpful.
    Regards,
    SSR.

    Hi,
    you can get this done in 2 ways:
    1 - Change the query to add another column and the re-generate the report
    2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
    thnx,
    ags.
    Edited by: Agasti Kale on Jun 12, 2008 6:26 PM

  • Dynamic where clause for generated reports (designer 6.0)

    Hi,
    I'd like to include dynamic where clause into my reports. It's easy with report builder by using bind parameter in a query where clause (&param where param is a parameter in which you fill a VARACHAR2 to complete default where clause).
    Problem with designer 6.0 report generator is that he failed while trying to parse the query statement he contructs if there is a bind parameter within.
    How can I manage this problem ?
    Thanks for answers
    Romain

    Hi Divya,
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no P_WHERE_CLAUSE= '||Where_Clause);Instead of using SET_REPORT_OBJECT_PROPERTY built in try using ADD_PARAMETER built in which
    adds parameters to a parameter list. Each parameter consists of a key, its type, and an associated value.
    v_rep := RUN_REPORT_OBJECT(repid); and instead of using RUN_REPORT_OBJECT try using RUN_PRODUCT.
    DECLARE
         repid REPORT_OBJECT;
         v_rep  VARCHAR2(100);
         Where_Clause Varchar2(4000) := null ;
            *Pl_Id        ParamList;*
            *Pl_Name      VARCHAR2(10) := 'param_list';*
    BEGIN
         Where_Clause := 'Where '||Create_Where_Clause();
         message(Where_Clause);
         message(' ');
            pl_id := Get_Parameter_List(pl_name);
            IF not Id_Null(pl_id) THEN
               Destroy_Parameter_List(pl_id);
            END IF;
            pl_id := Create_Parameter_List(pl_name);
            Add_Parameter(pl_id,'P_WHERE_CLAUSE', TEXT_PARAMETER, WHERE_CLAUSE);
            Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    --      Add_Parameter(pl_id,'ANY_OTHER_PARAMETER', TEXT_PARAMETER, 'VALUE FOR OTHER PARAMETER');
            RUN_PRODUCT(REPORTS,'REPORT_NAME', ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END;Also you can add as many User created or System parameters as you want using add_parameter. Updated the code to add PARAMFORM parameter.
    Best Regards
    Arif Khadas
    Edited by: Arif Khadas on Mar 15, 2011 9:31 AM

  • Dynamically assign column heading to Report columns

    I need to assign values to column headings of various Report Columns of my Report region based on current value of one of my application items. How can I do it?

    Never mind, there was another post like this. Duplicate. Just in case someone is looking for the answer, here is what worked for me:
    Assume the Application item is called app_item_My_dynamic_head_col1.
    Add a page computation before the page loads to set the value of the application item based on whatever condition.
    Edit the report column.
    In place of hard coded column heading "Project Name" (that was my column heading), replace it with
    &app_item_My_dynamic_head_col1.
    The key here is the period after &app_item_My_dynamic_head_col1.
    As the page loads, the column heading will be value of the app_item_My_dynamic_head_col1 (as assigned by the computation).

  • Report Profile Use & fields in dynamic selection in RE-FX reports..

    I have two requirements:
    1. Some of the SAP delivered fields in RE master data of BE,PR,BU and RO are not required by our client. Thus we have hidden them using field status transaction. However they are still available in RE info system in Dynamic selection as well as in output screen. How can we remove these fields from information system as well.
    2. Some fields were added to the master data using BDT, they are visisble in the report however, they are not available in Dynamic Selections. How can we add them in dynamic selection as well during report execution.
    The transaction codes for reports are e.g. REISBE, REISBU, REISPR, REISRO, RECN, etc.
    Can ReportProfile be of some use?? If yes, how can we configure the same.
    Regards
    Rohit

    I am aware of this, however, creating a variant still keeps the fields in hidden list in change variant section and any user maygo and bring the same to viewable list.
    I am willing if we can simply remove those fields from the display screen to avoid any confusion in future.
    Regards
    Rohit

  • Dynamic label in qml

    How to add  dynamic label in qml 

    I am not familar with this , but I think you might want to take a look in the developer forums.  I see some stuff on this subject..
    http://supportforums.blackberry.com/t5/10K-Developer-Commitment/dynamically-change-label-text-QML/td...

  • How to provide dynamic labels for calculated columns in HANA calc views

    Hi all,
    we have the requirement to provide dynamic labels for some calculated columns in our calculation view - how to do that?
    Thanks and kind regards,
    Alexander

    Calculated Columns can only generate a value from fields of the current item. And only some types of fields (for example, it can't use a lookup column).
    Consider using a workflow to accomplish your goal.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Remove Subsequence Headings From XML Report

    I've modified the default stylesheet to remove a lot of the fluff added in the test report. However, I'm stuck trying to remove the subsequence headings from the report. Can anyone with stylesheet experience give me some advice?
    I can't modify TestStand reporting at all, only the stylesheet.
    I've attached a picure which hopefully should help expain the problem.
    Thanks,
    -Jeremy
    Attachments:
    FormattingExample.png ‏22 KB

    Hello Jeremy, 
    This white paper discusses how to exclude results from reports using filtering. I imagine you could create a filter based on the step values. 
    Haley N
    Applications Engineer
    National Instruments

  • Dynamic Labels with Datepicker..

    Hiya folks,
    I need to have a dynamic label for a page item, and am coming up lacking....
    Here is the situation:
    APEX 4.0, running on Oracle 10g..
    I have a datepicker control (item is a due date). I am using a hidden item to store the label and I setup the value of this item when it is displayed via a simple sql select.
    If the due date is PAST the system date, then I set the label to Item Is Past Due.
    If the item due date is within 7 days of the system date I change the label to Item Due within 7 Days.
    If none of these are true then I set the label to Due Date.
    However, if the user changes the date via the datepicker, I need to have the label updated (and the the hidden item) to show the change (or not).
    I tried a dynamic action on the datepicker, but it did not seem to fire on a change event always, and would NOT refresh the label with the new value.
    Do I need to submit the page to get the label to update?
    Thank you,
    Tony Miller
    LuvMuffin Software

    Hello Tony,
    >> I am using a hidden item to store the label and I setup the value of this item when it is displayed via a simple sql select.
    If you need to refresh a page item, without submitting the page, based on a result of a SQL query, it seems that your only option is to use AJAX (as the SQL can only run on the server side, and you don’t want to submit the page).
    The old, but still good, fashion way is to define an onchange event on the Datepicker item. This event is fired every time a changed value is passed from the Datepicker into the input field of the item. Simple and effective.
    I’m no expert in Dynamic Actions but I can tell you that if you set the When Event to Change it is fired when the Datepicker changes the current date. With the Action option of Execute JavaScript Code you can probably also trigger an AJAX process.
    >> Do I need to submit the page to get the label to update?
    No. You can use AJAX, either directly or through DA.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Can I dynamically display Page title over a static header image?

    Is there a way to Dynamically Display Page Title Text Over my static site Header Image? here is a link so you can see what I am talking about. http://www.bridgestoprosperity.org/See-Our-Work/afghanistan/afghanistan.htm where Afghanistan would be the text to be replaced automatically on each page.  Please note, currently, I must create individual headers, insert the page title in photoshop, etc. I am hoping to figure out a way for all this to happen dynamically perhaps by calling the text from the page title info.
    Thank you,
    Allan

    Hi, Allan,
    I realize my suggestion is off your point, and you probably have already thought of some of this, hence your question... But, rather than going the dynamic route, Why not create a Header Image without a title on it and use it as a div background image? Replace this
    <img src="/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg" name="topnavbar_r1_c1" width="779" height="114" border="0" alt="bridges to prosperity: afghanistan">
    with the styled div, for instance:
    <div id="header"><h2>Afghanistan</h2><h3>Bridges to Prosperity: USA</h3><div>
    At this point, you can use a more generic image for the background, one that does not have "Afghanistan" embedded in it, and you may style the #header thus:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
         background-image: url(/See-Our-Work/Images/header/header.jpg;)/* for instance */ 
    and the header Headline styles thus:
    #header h2, #header h3 {
         color: white;
         text-align: right;
         font-family: Arial, Helvetica, sans-serif;
    Then you can place your html (<h2>, <h3> etc.) in the same div, only on the "surface".
    Using the tags <h2> and <h3> will maintain their usefulness to Search Engines; as hiding them in images does not.
    If you still wished to vary the header image, depending on the contents of the page, you can actually control all of this from the CSS file, if you add an id attribute to the <body> of each page.
    For instance, for your example page, if you did this:
    <body id="afghanistan">
    You could then do this in your CSS file:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
    body#afghanistan #header {
         background-image: url(/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg);
    You could then proceed to have a different background image for each page. (Not your original intention, but now possible).
    <body id="pakistan"> would use a CSS style declaration like:
    body#pakistan #header {
         background-image: url(...pakistan-header.jpg...etc.);
    I am not aware of being able to pass content (other than background images) using CSS, so I would go into each page and put the Headline in html.
    But if you were using multiple background images in the header div (one image for afghanistan, another for pakistan, in my example), you can use the same <body id="afghanistan"> for ALL pages about Afghanistan, and thus have the continuity of the same image for all. Likewise, you could id all pages about Pakistan <body id="pakistan">.
    I hope this gives you some ideas...
    Z

  • Retain call info using dynamic label

    Hi
    Im using dynamic labels together with vxml app so depending on what e164 number the fromExtvxml variables is populated with the dynamic label diales to these extensions. Only problem with this as you all may know is that after label node in a dynamic label the script cannot continue. As i also need to have queuing if the dialed out phones do not answer. How could this be accomplished? Is there any way to use last label to be a dialednumber plan pattern or something else? I could for some smaller customers use a separate dnis / script for queuing but it will not fit all needs in the long run.
    Sent from Cisco Technical Support Android App

    I solved it. It works perfectly fine to do queuing after a dynamic label. Dont know why others says it does not work
    Sent from Cisco Technical Support Android App

Maybe you are looking for

  • Image instead of Java

    Hi Folks, Im hoping that one of you guys can give me a bit of help on a project im doing. I have created a HTML page which at the moment simply consists of an image (logo.gif) which when rolled over animates with a water ripple effect. Its a java app

  • How do I import mailboxes into Mail v.3.5 from v.2.1.3?

    Every time I try to import even a single mailbox from my PowerBook G4 (OS X 10.4) into my iMac (OS X 10.5) using the 'mbox files' setting the new version of Mail seizes up. I'm following the onscreen instructions for mbox and accessing the mailbox fi

  • Scop problem

    Hi , I having a problem communicating with loaded swf inside main file. Im using that script to have a transition between external swf : http://www.kirupa.com/developer/mx2004/transitions.htm most of it working fine but im having problem communicatin

  • Imp full db successful without warnings

    I am doing research to imp full db during my migration from 8i/Solaris db to 10g/windows Here is the command i come up with , make me right if i am not..... imp system/ora2000sys full=yes ignore=no statistics=none log=clin_full_import.log FILE= D:\yo

  • Script keeps asking for permission to access contacts

    I have an Applescript that I've saved as an app. I have it run automatically every night. It goes through my contacts and does some cleanup work for me. However, the script has started asking for permission to access my contacts on every single run.