Displaying report params in Header text

I have built a number of reports that link to each other in a
drill down/master-detail style. These work great.
I want the child report to display the name of the parent object
in the header text as a title, i.e,
In the parent 'vehicles' report I click on 'cars' and the
child 'cars' report is called. A List of cars is displayed but I
want the custom Header text to display a title along the lines
of 'Selection: Cars'.
The 'cars' text gets passed as a parameter, so how can I refer
to it and display it in the Reports and Customization Form Text
tab?
Regards,
John

Ok, i tried the following in the advanced plsql code tab in
the 'After header' section.
begin
htp.p('Selected ROV: '||get_value('p_rovid'));
end;
and..
htp.p('Selected ROV: '||get_value('p_rovid'));
I get the error:
PLS-00201: identifier 'GET_VALUE' must be declared
Any ideas? Thank you!

Similar Messages

  • How to display field value in header text?

    Hi Experts,
    In va03, the client wants some number in the header text which is stored in vbak. Please tell me:
    1. Which method should I use in BADI?
    2. How to display in header text?
    Regards
    Mani

    Hi Kiran,
    Thanks for the prompt reply. How can I display some hard code like 'Test' in the header text in va03.
    Text name = 0000001252
    Language = EN
    Text ID = Z001
    Text object = VBBK
    READ_TEXT is used to get the values from the header text, but how to set the values?
    Regards
    Mani

  • Re:ALV Header Text

    Hi,
    i am using Reuse_alv_grid_display FM to display the output.I want my header-text in the following format.
                                     STORAGE LOCATION      
    Mat no                            L1      L2      L3                    Total Quantity.
    i am giving in the fieldcatalog 4 fields Mat no, L1,L2,L3,,Quantity as seltext_m.
    How can i give the storage location as text above three storage locations.
    is there any option to display two lines for header text fields.
    Please help me..its urgent.
    Thanks

    Hi,
    you can do this using top of page.
    see the following example.
    DATA : tevents TYPE slis_t_event,
             waevents TYPE slis_alv_event .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0   "simple list
        IMPORTING
          et_events       = tevents.
      READ TABLE tevents INTO waevents
           WITH KEY name = 'TOP_OF_PAGE'.
      IF sy-subrc EQ 0.
        waevents-form = 'PAGEHEADER'.
        MODIFY tevents FROM waevents INDEX sy-tabix.
      ENDIF.
    *&      Form  PAGEHEADER
       To display heading inoutbuy
    FORM pageheader .
      DATA : theader TYPE slis_t_listheader,
             waheader TYPE slis_listheader.
      waheader-typ = 'H'.
      waheader-info = 'Inoutbuy' .
      APPEND waheader TO theader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = theader.
    ENDFORM.                    "PAGEHEADER
    Regards,
    Ruchika
    Reward if useful...........

  • Restricted Key Figure Column heading text missing

    Hello,
    I created a restricted Key Figure in a BEX report and dragged this RKF into the columns tab. when i execute the report , the column header text for the restricted key figure is missing. The values are fine, but the header column text  for that KF is missing. any help?
    Thanks
    justin

    Hi Justine...
    I think u r doing something wrong..........Either u can create Global Restricted Key(Infoprovider level) or Local restricted ket figure(Query level)..........If u create Global........then  in the left pane............Right click on the Keyfigure >> New restricted Key figure...........to create in the Query level..........In the context menu>> choose Edit........... or select the heading of the Rows or Columns directory
    and use the right mouse button to choose New Structure..........In both the cases....there is a Description Field........u hav to write the description there............U can change the technical name also.........then save it........
    May be it is a temporary bug............just come out the query..and again reopen it......
    Regards,
    Debjani.....

  • Displaying Header Text in ALV report.

    HI Gurus,
    I have one sales order which has header Text.
    I am displaying that Header Text in my ALV report.
    But while displaying in the ALV grid, the text is not coming full.
    I have taken the datatype of the column of the ALV grid is string, Still the Header text is not come full.
    Please help me.
    Thanks in advance.

    Hi,
        If the header text is morethan 60 characters, you can't print with REUSE_ALV_COMMENTARY_WRITE. To overcome above limit we can use dynamic document, which can be implemented through the class CL_DD_DOCUMENT. As dynamic documents use HTML viewer control so instead of triggering the TOP_OF_PAGE event we should trigger event of HTML TOP_OF_PAGE.
    First create a subroutine for top of page in HTML format and send that name in I_CALLBACK_HTML_TOP_OF_PAGE parameter of ALV function module. The input parameter for this subroutine will be a variable of class CL_DD_DOCUMENT.
    *       FORM html_top_of_page                                     *
    FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
      data: l_text(255) type c.
    l_text = '*******************************Hellooooooooooooooooooo************************'.
      CALL METHOD top->add_text EXPORTING text = 'Hello world '
                                          sap_style = 'heading' .
      CALL METHOD top->add_gap EXPORTING width = 200.
      CALL METHOD top->add_picture EXPORTING picture_id = 'ENJOYSAP_LOGO'.
      CALL METHOD top->NEW_LINE( ).
      CALL METHOD top->add_text EXPORTING
      text = l_text.
    ENDFORM.
    * Display ALV grid
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'     " Use this event
              i_callback_program          = g_repid
              i_structure_name            = 'STRUCTURE'
         TABLES
              t_outtab                    = gt_outtab.
    Regards
    Bala Krishna

  • Re: Report output header text longuage change

    Hi Dear's,
    Ataually my issue is am unable to change report output header field text to user specific login longuage....
    I.e. if user login to ITALY/GERMANY then report output header text should be displayed on same  Longuage for this can any body give me some idea
    Thanks & Advance,
    srinivas.
    Edited by: SRINIVAS1234 on Jul 23, 2011 11:35 AM

    Hi SRINIVAS1234,
    you can close it as answered and add your personal solution just to let people know how it can be handled. You can also close questions as unanswered but this implies that your problem is still existing.
    Regards
    Clemens

  • FM to display full header text in a pop up window

    1 . I have a ALV report which displays first line of a headr text for a perticular sales doc.
    if i click on a header text  i should see the complete header text for that particular sales doc. in a pop up window.
    is there any FM to do so .
    please repond quickly . its urgent
    i will award full points to all attempters.

    Hi,
    For your reference-
    Re: How to create POPUP windows (from ALV report)
    You can have a look at a standard program where pop-up functionality is used.
    BCALV_GRID_AND_POPUP
    <b>Reward Points if Helpful!!</b>

  • Report painter header text with customize variable

    Hi All,
    Can we have a customize variable/ logic based on the selection parameter in the header text(not in the report's columns) in report painter? understand the standard sap provides a few standard options, gen, variables, sel. parameters, spec. variables and characteristics but non meet the requirement.
    Requirement:
    get the selection parameter fiscal year variable, display the value with a logic where if the posting period = 9 the fiscal year +1
    all idea welcome. Thanks
    Regards,
    John

    Hi Sarma tadikonda,
    Thanks for the reply, but the offset provides the output control format? and it only take in numeric.
    Regards,
    John

  • How to display Header Texts that you find in Sales Order and Billing Doc..

    Hi,
    I am having some problems accessing the text that is typed in the Header Texts area of the Sales Order and Billing. To access the Header Text you should first trigger the Sales Order (VA02) then once in the Sales Order Click Goto -> Header -> Texts. The same follows to the Billing.
    I need to extract what is typed here on to a report. First of all I can’t figure out which table is used to save this information. I am suspecting that this information is encoded and stored in a table. To display this I may need to decode it.
    Is there some one who could help me to archive this please!!!
    Many Thanks,
    Kishan

    Hi Kishan,
    The texts you find in all SAP Object, like orders, invoice, materials, ... can be extract with FM 'READ_TEXT'.
    To know the parameters of the FM, you 'll have to go to the text ( in plain page mode ), then you do "GOTO" -> "HEADER", and a pop-up window opens with the parameters you need ( Text name, language, text id, text object ).
    The table "t_tdline" contains the entire text .
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        id                            = w_id
        language                      = sy-langu
        name                          = w_name
        object                        = w_object
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
      tables
        lines                         = t_tdlines
    hope this helps.
    Erwan.

  • Report painter - Choosing column heading text

    Hi SDN
    I'm having a specific problem with getting the right column heading text into my G/L report painter report created in FGI2/FGI5. In the report painter form I have created the three texts for my column (short, medium and long text). In order for the heading to be meaningful I need the report to show the medium or long text. This is also the case when I run the report as object type Object list. Here the medium text is displayed. However, when I run the report as a Classic drilldown report or a Graphical report output the short column heading text is shown.
    Now, I know from running the standard report 0SAPBLNCE-01 in FGI0 that it is possible to have the long column header text shown in the report, so I'm not willing to give up. But can any of you guys help me on how to make the report show the correct text?
    Kind rgds
    Steen Koefoed

    Hi Anna and thanks for your suggestion. I have tried changing the header text length in the form as you suggested, but it does not seem to affect the display in neither of the three output types of the report. I assume that there must be a way to control the text header length specifically for each of the three output types. But how....

  • Adding an image from the web to the report in the header with other Text

    I am attempting to fix a Crystal Report where I have a Logo positioned in the upper left corner of the Report Header.  The Report Header also includes 2 text fields.  One is fixed data and the other is a date.  I have mastered the img src but I cannot get the two text fields to display to the right of the image.  They will always push to the line below.  I have tried putting them in different sections and underlying the next section, and all other settings that I can think of.  What I must have would be similar to this:
    |                . "UPDATE"
    Image
    |                . "DATE"
    I have even tried suppressing all headers and using multiple detail sections to no avail.  I am using Crystal Reports 2008

    I have found the answer or should I say the cause of my problem.  It is that Microsoft in their infinite wisdom have changed the way (or engine) their Outlook (post version 2003) handles html.  They now use the "engine" from their 'Word' program which cannot handle most compound formatting.  To handle this program, you have to build it all on one level.  To solve my Header problem, I was forced to recreate my graphic to include the Header text, place that graphic on the top of the page and build my form below,  an entire line at a time.  Multiple objects on the same line would look great in Outlook prior to '2007' but may be in any order or grouping in '2007' and after See this explanation...
    [http://blogs.sitepoint.com/2007/01/10/microsoft-breaks-html-email-rendering-in-outlook/]

  • REPORT OR TABLE TO CAPTURE SALE ORDER AND DELIVERY ORDER HEADER TEXTS

    HI GURUS,
    where are the sale order header text is stored?
    How to retrieve the same in the form of report.
    the same for Delivery order header text..
    Regards
    Sri

    Hi Sri,
    just goto sales order header text and click on text u will get Text name, Text ID,and Text object
    pass these values to function module READ_TEXT .
    Regards,
    sksk.

  • How to display text value in the header data (Header text) of credit memo

    Hi...
    I need to display the text value of the text field in the header text of the header data in credit memo.
    The text values are stored in a ztable and i need to display it based on the billing document stored in vbrk (zfield) that was inserted during the creation of credit request..
    Appreciate your help on how to do this...
    Thansk and will surely reward the points..
    Kanthi..

    Hi kanthi ,
                   Read the value from Z Table and during the creation of cedit memo check out for some exit where u the value from The zTABLE AND use function module SAVE_TEXT with object and id in the header text .
    Please award if useful.

  • Oracle Tag in Report Header Text

    I am trying to use the Oracle tag in the Report and Customization Form Text Header Section. I would like to show the current date/time as well issue a select statement. Does this not work?
    <ORACLE>
    htp.p(to_char(sysdate,'Day, Month DD YYYY HH:MI AM'));
    </ORACLE>

    Hi,
    You can only enter plain text or HTML tags here. If you want to use select statement or plsql you can use the
    additional plsql code sections to do this.
    Thanks,
    Sharmila

  • System is showing some Incorrect Header text in Display Bank account Pharse

    Dear all,
    I am having an issue with the client.
    The client says some incorrect text ( Header text ) is deternined for one billing delivery invoice number in VF03, the text type for this Invoice number is bank account phrase.
    But the text maintained in the system is different ( in Display Bank accnt phrase ). I think there is user exit in the text determination
    so i need to debug & find out which text id the system is determining.
    Plz guide me guys wat to do.
    Edited by: PI User on Nov 29, 2010 6:40 PM

    Dear all,
    I am having an issue with the client.
    The client says some incorrect text ( Header text ) is deternined for one billing delivery invoice number in VF03, the text type for this Invoice number is bank account phrase.
    But the text maintained in the system is different ( in Display Bank accnt phrase ). I think there is user exit in the text determination
    so i need to debug & find out which text id the system is determining.
    Plz guide me guys wat to do.
    Edited by: PI User on Nov 29, 2010 6:40 PM

Maybe you are looking for

  • OS 10.4.8 with PHOTOSHOP CS2 on a QUAD & halting delayed typing....

    this has happened lately. It definitely is the CS2! I am finally doing keywords and details iptc on my photos. I am typing in the file info page on photos that sit in an internal ATA drive which seems to have no bugs. Pshop CS2 is on my start up driv

  • The middle button on my iphone 4 doesn't work properly what can I do about it?

    the middle button on my iphone 4 doesn't work properly what can I do about it?

  • KVM for DVI?

    Now that I've gone and ordered a new Pro I will soon have 3 desktops and a laptop. I've been using one monitor (a Dell 21" 1600x1200) for the two desktops (one on the DVI and the other on the VGA inputs) and seperate keyboards and mice. The laptop ha

  • Relation between Purch Org & Sales Org

    Can any one tell me the relation between ekorg & vkorg? I know the direct relation is in TVKO but in my case that table dosent show an ekorg at all for any vkorg. Whats the way to link them indirectly? I know Sales org has a company code (bukrs) and

  • WD BusinessGraphics Image - Displaying it in Adobe Interactive Form

    Hi. We need to display some BusinessGraphics (runtime generated) in Adobe Interactive Form. So, we tried to solve it using two ways: 1 - Generate a URL to access the BusinessGraphics image, using web cached resource. But somehow, it doesn't works wel