Printing Report Header Text

I have a link in a report that calls another report. The link information being passed to the report is :ename, :emp_id. I would like to print these values on the report header text.
Emp Name: bob Emp ID: 10000
field1 field2 field3
1
2
3

Hi,
You can do it in the additional plsql code section.
Say department is being passed to the report. Here is a sample code to print the deparment being passed.
for i in 1..p_arg_names.count
loop
if p_arg_names(i) = 'department' then
htp.p('Department :'||p_arg_values(i));
end if;
end loop;
Thanks,
Sharmila

Similar Messages

  • Table to print PO header text

    HI:
    I would like to do query to print PO header text.
    I have try STXH but no PO number to link to and no text line.
    Pls advise.
    Moderator message: Basic frequently asked question - Please search forum for answers and read the docu in help.sap.com 
    See as well our rules of engagement: http://scn.sap.com/docs/DOC-19331
    A good way to search the forum is with google. See this blog with details for a good search
    http://scn.sap.com/community/support/blog/2012/04/16/getting-the-most-out-of-google-optimizing-your-search-queries
    This blog describes how to use the SCN search: http://scn.sap.com/community/about/blog/2012/12/04/how-to-use-scn-search
    Thread locked
    Message was edited by: Jürgen L

    Hi,
       It wil be easy with an abap report using Function Module READ_TEXT.
    Regards,
    AKPT

  • Printing Form Header Text in Smartforms

    Hi,
    I have created smartform for SD module.I am printing Form header text in a window by using loop.I am getting the text with the help of READ_TEXT  function module.It comes as we type in Form header.But the problem is if they type more than 15 lines it is not printing.I want to print the rest of the lines in next page.How to do this?

    Hi,
    In smartforms, only the main window is a dynamically varying one.
    So give your include text concept in the main window..
    so that if your text increases more than a page, it will be printed in the next line..
    You can maintain your text in so10 transaction.. with text id and text name..
    using include text u can simply give the Id and text name in forms, you will get the enetered text.
    regards,
    vijay.R

  • Print Invoice Header Text In Main Window of Smartforms

    Helo Gurus !!!
    I want to print Invoice header text in main window of smartform.
    There are total 5 columns.
    Item    Quantity          Description          UnitPrice       Amount
    Now what I want is to print header text below Description column, there is a loop on the table in main window.
    This header text will be printed only once. This is a standard header text
    How to get this?
    Points are assured !!!

    Hi Anay Kulkarni,
           I understood that u need to print this header text
    Item Quantity Description UnitPrice Amount
    So please use TABLE instead of LOOP  in the table we can prin header, main area, footer.
    place the header text in header area in table...  i am sure this can resolve it.....
    feel free to contact me if issue is not resolved/.....
    dont forget to reward points....
    all the best...
    Regards,
    Sreeniasa Sarma K.

  • How to Print Sales header text at the end of last page of Main Window

    Dear All,
    I have a requirement to print Sales order header text at the end of Main of last page. I don't have footer window.When i use Bottom-End bottom.Only one line is printing.The header has 5 lines.
    Request you to provide <b>code</b>to handle this situation. Your response is highly appreciated
    Best Regards
    Praveen

    Hi,
    If u r using standard layout set RVORDER01.
    U can print that sales order header text in the following text element.
    /E SUPPLEMENT_TEXT.
    U can include ur text objects here.
    Then it gets printed.
    Regards,
    Veda Kumar

  • Issue with printing of header text

    hii frnds ,
    my problem is i am   getting the header text printed properly but the text is not getting displayed whenever the user enters a numeric value without any gaps ... i have seen while debuging that the text is properly getting fetched and the cursor is also passing through the text field but the text is not getting printed in my layout . i am using a script for this .
    thanking you
    rohit gupta

    Use Below code to get your text..
    data: begin of int_rtline occurs 0.
              include structure tline.
      data: end of int_rtline.
    data : rheat type string.
    data : itab_r  like swastrtab    occurs 0 with header line.
    Get the Heating and Cooking Instruction
    get material heating instructions from material master
      call function 'READ_TEXT'
           EXPORTING
                client                  = sy-mandt
                id                      = 'IVER'
                language                = sy-langu
                name                    = tdname
                object                  = 'MATERIAL'
           TABLES
                lines                   = int_rtline
           EXCEPTIONS
                id                      = 1
                language                = 2
                name                    = 3
                not_found               = 4
                object                  = 5
                reference_check         = 6
                wrong_access_to_archive = 7
                others                  = 8.
      loop at int_rtline.
        if rheat = space.
          concatenate 'COOKING INSTRUCTIONS: '
                      rheat int_rtline-tdline
                      into rheat.
        else.
          concatenate rheat int_rtline-tdline
              into rheat separated by space.
        endif.
      endloop.
    Depends on ur Layout Width for each line print number of charcter,here i mentioned 92 char.
      IF NOT rheat IS INITIAL.
        CALL FUNCTION 'SWA_STRING_SPLIT'
             EXPORTING
                  input_string                 = rheat
                  max_component_length         = 92
             TABLES
                  string_components            = itab_r
             EXCEPTIONS
                  max_component_length_invalid = 1
                  OTHERS                       = 2.
        IF sy-subrc <> 0.
        ENDIF.
    LOOP AT itab_r.
    Print ur data.
    Endloop.
    Reward Points if it is helpful
    Thanks
    Seshu

  • KE30 report header text change

    Hi All,
    Kindly note that we have requirement in KE30(profitability report) where the client wants to see the posting date  and period for which the report is ran in the header.Right now we can see the current data i.e the date on which report is generated.
    in brief:
    Currently
    header data: the date on which the report is ran.(report run date)
    Expected
    Header: posting period and date for which report is run.
    Please provide some information as to how do we move with the changes.
    Regards
    Pranay

    Hi
    Char PERIO is available in KE30 reports which is in the format MMM.YYYY
    In your header text, use "Selection Parameters" and insert PERIO... you can write the header text as below
    You have executed this report for period from "Per1" to "Per 2" for the company code "BUKRS1"
    Where Per1 and Per 2 and BUKRS1 are the variables taht you used in your report definition
    Regards
    Ajay M

  • Printing of  header text msgof billing doc in Invoice.

    Hello  Gurus,
    Goodevening,
    I have requirement from client.
    This is the requirement  ,
    He will give the text  in billing docment header in billing document but  when takes the invoice the header text to be printed  in invoice.
    Is it possible ? looking for your inputs
    Thanks & Regards
    Venkat.
    Edited by: K.Venkata Chalapathi on Jul 15, 2010 5:08 PM

    Hiii
    Billing Header text can be print in your billing document, If it is developed smartform then you can take the help the ABAPer to print the text. For the same you have to create the text ID whichever you want to print in smart form then ABAPer will mapped the ID in his smartfrom on required place.
    Regards
    Shambhu Sarkar

  • Set report header text.VI

    OFFICE TOOLKIT内VI(Set report header(footer) text.VIにてEXCELへヘッダーフッターを挿入したいのですが、フォントサイズが大きくなってしまいます。ヘッダーフッターに対するフォントサイズを制御する方法もしくは、上述VIの使用方法に何らかの制限があるのでしょうか。
    宜しくお願い致します。
    Attachments:
    ヘッダーサンプル.vi ‏37 KB

    平素より弊社製品を、ご使用いただきまして誠にありがとうございます。
    日本ナショナルインスツルメンツ技術部の荒瀬と申します。
    お問い合わせいただきましたレポート生成ツールキットに関しまして以下のようにお答えさせていただきます。
    Microsoftエクセルレポートのヘッダ・フッタのフォントは、エクセルレポート全体と同じもの(サイズを含む)が適用されます。
    Set report header(footer) text.VIにてヘッダ、フッタのフォントを変更することはできなくなっております。
    ただし、手動でSet report theader(footer) text.VIを編集していただくことによって、フォントを
    変更することができるようになります。
    ご参考までにフォント設定ができるようにSet report header (footer) text.VIを変更し、添付いたしました。
    フォント用のの制御器を作成し、サブVI入力端子として設定いたしました。
    お客様に添付していただきましたVIも、あわせて若干変更させていただきましたのでご参照下さい。
    以上の内容でご不明な点などございましたらご連絡下さい。
    今後ともよろしくお願い致します。
    日本ナショナルインスツルメンツ技術部
    荒瀬
    Attachments:
    Set Report Header Text2.vi ‏244 KB
    変更済みVI.vi ‏46 KB

  • Print report into TEXT file format

    How am I going to produce a text file report from report builder?
    -- I want all the layout header, page number, time as preview windows.
    -- I use charactor mode to build the report, then use option "generate to file - delimited".(but the layout was messy)
    -- After save the file, the layout is totally different from preview window.
    How can I overcome this problem. Thank you for helping.

    hello Tan Chin Chye,
    if you create your report in character mode, then if you pass/set parameter mode to character, then you can create text file by supplying values for parameters destype (file), desformat (selected printer file - you may customize some for yourself - number of characters per line, number of lines pre page, some control sequences ...) and desname (name of file to create). not sure about creating such file from previewer, but you can try print and then print to file option ... in character mode this should produce plain text ...
    hth
    petr valouch, brainbench mvp for oracle programming, http://www.brainbench.com

  • 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

  • Print the head text in a Smartforms - READ_TEXT Function

    Hello,
    I have a huge problem to print a MM document's. I need show the text head in the footer of the document. For this i use the READ_TEXT function. To use this function i enter to vl03n transaction, enter the document number, go to the text head, double click, and i see the parameters = Name (document number), language (ES), id (0001), object (VBBK)...
    In the smartform code I write this:
    <b>DATA: leng TYPE thead-tdspras,
          l_fname TYPE thead-tdname.
    DATA: il_tline LIKE tline OCCURS 0 WITH HEADER LINE.
    leng = 'ES'.
    l_fname = is_dlv_delnote-hd_gen-deliv_numb.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        client   = sy-mandt
        id       = '0001'
        language = leng
        name     = l_fname
        object   = 'VBBK'
      TABLES
        lines    = il_tline.
    comentario = ''.
    LOOP AT il_tline.
      CONCATENATE comentario il_tline-tdline INTO comentario SEPARATED BY space.
    ENDLOOP.</b>
    But to try print a document with number 0012345678 through to the IDCP transaction return me the follow error:
    Text 0012345678 ID 0001 language <b>EN</b> no exist
    why change the language?
    i see the STXH table, and i found this register:
    MANDT   TDOBJECT      TDNAME         TDID      TDSPRAS
    200             VBBK       0012345678           0001        S
    Where is my problem?
    Please, help me!!!
    Regards.

    Hi rudiRocket,
    Welcome to Numbers discussions.
    Yes I see what you're talking about, never noticed it. To remove the shadow I tried numerous fonts but, still the shadow. Let's hope someone else has a better answer. Be aware folks on these Discussion boards are, as yourself end users not Apple employees.
    In the mean time please read the below instructions:
    Send feedback directly to the Numbers team for enhancement requests: at the top of your screen to the right of the blue Apple please click "Numbers" > "Provide Numbers Feedback". Explain in detailed what you've found. This makes your request known to the Numbers team directly; don't expect to hear back from them. I've sent many as well.
    Let's hope the next version of iWork incorporates many of the requested enhancements.
    Thank you in advance for doing that.
    Again, welcome to Numbers Discussions, have fun here.
    Sincerely,
    RicD

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    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.

  • Smartforms - printing header text for a PO

    Hi,
    I need to print the header text from a PO. To do this I'm using the function Module READ_TEXT.
    While entering the header text if they make it bold or underlined then the Output is having html tags. How to get rid of these tags?? (Ex: <B> Header Text </>)
    Thank you,
    Renu

    Use REPLACE or TRANSLATE to replace the tags with spaces or to just remove them, i.e. "replace with nothing" (not sure about this option though - never tried it myself). You might need to do SHIFT or CONDENSE afterwards to get rid of extra spaces, if necesary.

  • Header text languages

    Hi,
        How can I print the header text language on the report that exist for a given sales order no.
    e.g. for a given 0005500001 sales oder , header text exists in which of the languages. how  can I print it on a report. How can I get that languages field  informantion.
    please do the needdful
    thanks.
    Hemant

    Hi,
    u can do that using read_text fumction module...
    by paasing the following
      data: v_text_id    like thead-tdid value 'ST' ,  "ID LIKE THEAD-TDID
            v_text_name  like thead-tdname,"NAME LIKE THEAD-TDNAME
            v_text_object like thead-tdobject 'TEXT',   "OBJECT LIKE THEAD-TDOBJECT
            v_language   like thead-tdspras.
    pass ur vblen to v_text_name.
      refresh: p_text_tab.
         call function 'READ_TEXT'
             exporting
                  id                      = v_text_id
                  language                = v_language
                  name                    = v_text_name
                  object                  = v_text_object
             tables
                  lines                   = p_text_tab
             exceptions
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  others                  = 8.
    Madhavi

Maybe you are looking for

  • GemXpresso JCard Manager session authentication problem

    Hello! First of all I am new in Java Card Technology and I am trying to explore the JCard Manager environment. I am using GemSafe Xpresso Cards. My problem is that I cant create a session between reader and card in one of my cards. The trace in this

  • JCA - Resource adapter information in ManagedConnectionFactory

    Hi, I am developing a Outbound Resource Adapter. Is there any way to get the Resource Adapter Object associated in ManagedConnectionFactory Implementation? Or is there a means by which we can pass on the configuration data (Like user name, password)

  • WSUS Contents on CM 2012R2

    We have been running CM 2012 R2 - CU2 for about 8 months and over the last 30 or so days, my WSUSContents is 70G which is almost 50% of my total drive space.  I have doubled checked everything I can think, WSUS is being configured via SCCM site SUP s

  • HT5858 Why cant I see any history sites in my history log

    Why can't I see any site histories in the history log?

  • Stange whitebalance problem with CR2 files

    Hello Ive been taking som underwaterphotos with my canon 50D. Now it seems there are some problems with ACR ability to interpreting the CR2 or DNG file. The pictures have green tint I am unable to get rid off. If I process the CR2 file in canons DPP