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

Similar Messages

  • 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

  • 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

  • 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

  • Setting ALV Header text doesn't work

    I'm trying to set different titles on my headers of the ALV table. To do this I do the following during the WDDOINIT of the COMPONENTCONTROLLER.
      CALL METHOD WD_THIS->GO_ALV_EINSTELL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMNS
        RECEIVING
          VALUE  = lt_columns
      LOOP AT lt_columns INTO ls_column.
        CASE ls_column-ID.
          WHEN 'SETTING_ID'.
            CALL METHOD LS_COLUMN-R_COLUMN->SET_FIXED_POSITION
               EXPORTING
                 VALUE  = CL_WD_ABSTR_TABLE_COLUMN=>E_FIXED_POSITION-LEFT
            CALL METHOD LS_COLUMN-R_COLUMN->SET_POSITION
              EXPORTING
                VALUE  = '2'
            CALL METHOD LS_COLUMN-R_COLUMN->GET_HEADER
              RECEIVING
                VALUE  = lo_header
            IF NOT ( lo_header IS BOUND ).
              CALL METHOD LS_COLUMN-R_COLUMN->CREATE_HEADER
                RECEIVING
                  VALUE  = lo_header
            ENDIF.
            CALL METHOD LO_HEADER->SET_TEXT
              EXPORTING
                VALUE  = 'Einstellung'
          WHEN 'EVENT_TYPE'.
        ENDCASE.
      ENDLOOP.
    The debugger shows me that the different titles are updated but when it gets displayed I see the old DDIC titles. Any ideas on how to fix this?

    I hope you want to change the name of ALV column in the display.
    Try following code for the same:
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      l_ref_interfacecontroller =   wd_this->wd_cpifc_alv_table( ). " Value from the prop tab of the view
      DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
      DATA l_column TYPE REF TO cl_salv_wd_column.
      DATA l_header TYPE REF TO cl_salv_wd_column_header.
      l_column = l_value->if_salv_wd_column_settings~get_column( 'MATNR' ). " Name of column you want to change
      l_header = l_column->get_header( ).
      l_header->set_ddic_binding_field( ).
      l_header->set_text( `Material Nuber` ).  " Name that is to be displayed
    Regards,
    Saket.
    Edited by: Saket  Abhyankar on Jan 13, 2010 3:32 PM
    Edited by: Saket  Abhyankar on Jan 13, 2010 3:48 PM

  • How to set different header for different Standard report page

    How to set different header for different Standard report page

    Hi,
    A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ?

  • How to keep superscript in header text xref? It is OK in TOC.

    I am updating this generated book:http://www.crystalfontz.com/products/533/datasheets/1704/CFA533-YYH-KC_v1.0.pdf using FM 9, unstructured.
    As you can see on the title page, the product name has a superscript "2" in it. Unlike this post http://forums.adobe.com/message/1240012#1240012, I have no problem with keeping the superscript in the TOC.But I have a problem keeping the superscript "2" in the header text
    I set up the header text as a separate file.
    The "2" correctly appears as superscript in this header text file.
    In this header text file, the phrase of text with the superscript "2" is set up as a cross-reference with the cross-reference format definition as "<$paratext>".
    On the Master page for each file in the book where I want the header text to appear (for example, in the TOC, Body, Appendix files.), I have a marker for the cross-reference. I can change characters before or after the superscript "2" in the header text file, Update the book, and the header text cross-referenced  in the TOC, Body, Appendix files show the update.
    I have the superscript character tag in in the catalog of all the files.I am not using "As Is".
    Is this enough information to figure out what the problem is?
    If there is a dumb way to set up header text, please let me know. I've been using it this way successfuly for years but can change it, if needed.
    Thank you,
    Sylvia in Spokane,.WA

    Sylvia,
    If you need a superscript 2, why do you not just enter exactly that character and don’t both with extra character formats? With Western Windows you would enter the character using Alt+0178.
    ¹ = Alt+0185
    ² = Alt+0178
    ³ = Alt+0179
    Other fonts may have all digits available as super- and subscript characters, check with the Character Map utility.
    - Michael

  • Change or create header text in purchase requisition

    Hi to all experts,
    I have requirement to change *header note* label or create a another note in pr.

    Hi,
    If you want you can proceed using the BADI implementation for BADI ME_PROCESS_REQ_CUST in SE19.
    Goto Interface tab and code in method PROCESS_HEADER.
    To check the parameters for this method, double click on the interface name above. I guess that would be IF_EX_ME_PROCESS_REQ_CUST
    Click over PROCESS_HEADER and click parameters button above, for this method you have a parameter IM_HEADER whose assciated type is IF_PURCHASE_REQUISITION.
    Double click on this associated type and use method IF_LONGTEXTS_MM~SET_TEXT so set the header text.
    To pass the text refer the parameters of method IF_LONGTEXTS_MM~SET_TEXT.
    Call this method in coding as:-
    DATA: lv_tdid TYPE tdid.
    DATA: lt_text TYPE mmpur_t_textlines .
    DATA: wa_text TYPE mmpur_textlines.
    CALL METHOD im_header->if_longtexts_mm~set_text
      EXPORTING
        im_tdid      = lv_tdid
        im_textlines = lt_text.
    Hope this helps you.
    Regards,
    Tarun

  • Header text mandatory in Purchase requisition

    Hello,
    Ho do i make the header text mandatory in my Purchase Requisition ?
    Regards
    Kasi

    Not Possible in Standard SAP. You Cannot Set the Header text field Mandatory for PR.
    Use Enhancement on Purchase Requisition MEREQ001
    You Can check Enhancements in SMOD by Packages

  • Report header with images instead of text - sort is screwed up

    Hi all,
    I have a package which returns a given text in from of an image file - I adjusted my template to use the package etc. So far so good - no problems. Only if I enable the sorting for the columns I get a screwed up result !
    My Column Heading Template is
    <th class="t18ReportHeader" #ALIGNMENT# valign="Bottom" id="#COLUMN_HEADER_NAME#">
    <img src="IMAGE.GET?p_text=#COLUMN_HEADER#&p_attribute=BG:EFEFEF:FC:000000:ANGLE:70">
    </th>
    With sorting enabled this shows up as:
    <th class="t18ReportHeader" align="left" valign="Bottom" id="PERSON_ID">
    <img src="IMAGE.GET?p_text= *<a href="javascript:$a_report('2152526465901175',false,false,false,'fsp_sort_1_desc')" title="Sort by this column">* Employee Name *</a><img src="/i/arrow_up_gray_dark.gif" width="13" height="12" alt="" alt="Sort by this column" />* &p_attribute=BG:EFEFEF:FC:000000:ANGLE:70">
    </th>
    As you can see the procedure IMAGE.GET?p_text= is not called with the right parameter (should be "IMAGE.GET?p_text=Text&p_attribute=...")
    I also looked into the possibility to use PL/SQL heading and return the <IMG ...> code myself - but where would I store/manage the descriptions ? (Also this would break my Export functions)
    My question is: are there any other substitution variables available to define the header text- and maybe the sort ? Or has anybody else any other idea ?
    Thanks a lot
    Thomas

    Hi,
    That is an interesting problem... The easiest option I see is to remove the img tag from the template and add it to the column header itself (in the report definition). For instance, put this in the column header:
    &lt;img src="IMAGE.GET?p_text=Employee Name&p_attribute=BG:EFEFEF:FC:000000:ANGLE:70"/&gt;
    I think this would work for sorting, but probably not for CSV export. What you could do for the CSV export would be create copies of all columns, set the column titles to plain text, and set the conditional display of them based on CSV output or not. A bit of pain but would be bearable if not too many columns...
    I hope this helps...
    Luis

  • 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.

  • 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

  • Crystal Report with text(csv) data file, can we set it as input parameter?

    Hi,
    I am a new user of Crystal Reports 2008.
    I have created a report with charts in it. The input data comes from a csv text file.
    Can I set the name of this text file as an input parameter?
    as I need to generate 44 similar reports with different text filenames(and data)?
    Thank you.
    Regards

    Brian,
    Thanks much.
    I did exactly what you said.
    Just to see any change, I first gave a bad report file name just to see if I am accidentally pointing to a different file,
    but I got an error saying report not found.
    Then I renamed my original datafile name and generated a report and it still generated one without giving an error.
    Then I also gave a junk name to the logoninfo and printed that name, the new name was assigned to logoninfo, but the code did not error out.
    It ended up generating the report.
    Now here is what I think is happening,
    1) The save data in report option seems to be still on even though I have turned it off in 2 locations
    a) file -> Report Options
    b) file -> Options -> Reporting tab.
    2) For some reason the logoninfo is getting ignored as well.
    Since I did not see any answers yesterday I posted a link to this thread on the .Net forum
    Crystal Report with text(csv) data file, can we set it as input param? C#
    and Ludek Uher says that I am connecting to the text file via a DAO database engine and so need to use the same code for changing the text file as for changing an Access database.
    But the link he gave me tells me to try the same thing that we have been trying..
    Here is my plan,
    1) I will first try and find out why my save data with report option is still on ( but it shows off in Crystal ).
    2) why is LogonInfo getting ignored.
    Meanwhile any suggestions from anyone are welcome.

  • Crystal Report with text(csv) data file, can we set it as input param? C#

    Hi,
    I am new to the forums and posted a question which belonged to the .net - SAP Crystal reports group.
    Can someone help me with my problem? following is the thread that I have started.
    Crystal Report with text(csv) data file, can we set it as input parameter?
    Thank you in advance.

    Looking at the original thread, you are connecting to the text file via the DAO database engine:
    "I added the text file as follow, new connection -> Access/Excell (DAO) -> select the file and the database type as text"
    Thus I would use the same code for changing the text file as for changing an Access database. See Kbase [1218178 - Error: "Logon failed" when connecting to Access database in .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333133373338%7D.do] for more information. If that does not work, you may want to consider connecting via ODBC or feeding the data from the text file to and ADO .NET dataset and pointing the report at the dataset.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • 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

Maybe you are looking for