Script: footer text dynamically.

Hi Gurus,
               i want the footer text to be printed dynamically in scripts.from billing document. for eg: "goodssold for the month". using the header text 001.how to solve this problem.its very urgent.
Correct answers will be fully rewarded.
Thanks & Regards.
sirish.

Hi friend,
                Can u explain me in detail. i want that text to be dynamic.what ever i give the message in VF03 header text it should refelect in my footer window.
Reply me soon friend.
sirish

Similar Messages

  • How to make a condition check on footer text in adobe forms ?

    Hi all,
    I have a requirement where I need to change the existing footer text in the adobe form ( text is hardcoded in the layout ) .
    I need to put a condition where new text can be placed or the existing text . Is this possible in the layout only ?? Because the text is hardcoded . I dont want to do programming in the interface for such a small req . Its a urgent req . So please advise .
    Thanks
    Barun

    Hi Barun,
    Using Javascript in Adobe, we can hide the footer. Please find the document below.
    Using Java Script in SAP Adobe forms to dynamically select Logo / Image on the basis of a field value
    Regards
    Rajkumar Narasimman

  • Function in Javascript cannot be executed from Footer Text

    Hi all
    I created a shared component with name "xx.js" and in my page footer I called the function. When page is run, the function is not being called.
    *xx.js*
    function say_hello()
         document.write("Hello World");
    *Footer text*
    <script type="text/javascript" src="#WORKSPACE_IMAGES#xx.js">
    say_hello();
    </script> It works fine javascript is directly in the page footer (or) function is removed in xx.js and footer text is <script type="text/javascript" src="#WORKSPACE_IMAGES#xx.js"></script>
    xx.js is loaded to the page when seen using firebug.
    Please help me to create a single javascript file for my customizations rather than multiple js files.
    Thanks
    Kishore

    Kishore:
    Try changing what you have in the footer to be
    <script type="text/javascript" src="#WORKSPACE_IMAGES#xx.js"></script>
    <script>
    say_hello();
    </script> Varad

  • How to make the footer text to come only on the last page

    Hi,
    Iam just making an print forms using adobe forms,Iam havinga text and some variable in the end of the page.these things need to be printed only on the last page.
    if my output of the main window comes for 2 pages then it should print only in the second page not in the first page.
    if the data of my main item data comes to one page then this should be printed on the first page itself.
    how to put a condition on this type of footer windows.
    Thanks in advance.
    regards,
    Sasidhar

    try with the following formcalc Scripting on the subform which contains the footer text...
         var curpage  = $layout.page ( ref ( $ ) )
         var totpages = $layout.pageCount()
         if ( curpage ne totpages ) then
             $.presence = "hidden"
         endif

  • In Footer text elements are spliting in smartform

    Hi,
    In smartform, I am using text elements for printing gross / net totals in the Main window -> Table -> Footer. Now problem I am facing is all the set of elements are breaking from page to page. I want it print in one page with out any page break. How should I do that. Please suggest.
    Thanks
    Ram

    Hi,
    In the footer text , in the output options tab ..there is a check box "Page protection".. Check that..
    Documentation for "Page protection"
    In some cases you may want to avoid that text is divided by a page    
    break. Therefore, you can protect text sections with a page protection.
    Thanks,
    Naren

  • Can I set up a master page to show custom alternating footer text dependant on page number?

    Hi,
    Is it possible to set up a master page to show different messages in the footer of a brochure dependant on page number? For example;
    Page 1: Buy from us because...
    Page 2: Our website address is...
    Page 3: Here's a special offer...
    Page 4: Our website address is...
    Page 5: Buy from us because...
    Page 6: Our website address is...
    ...and so on, repeating until the end of the brochure. The intention is for the footers to update automatically if the pagination of the brochure in question needs moving around - or if the messages need changing.
    Thanks!

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • How to translate the text dynamically in the program?

    Hi All,
    I have a requirement where I need to translate the text dynamically in the program based on the Language Key retrieved.
    Let's say that the Login language is 'EN' and in the logic has retrieved the language 'IT'(based on some conditions). I have to transate the text(which is maintained using the text elements) to ITALIAN(IT) Language and send the same as an email.
    Could you please tell me if any Function Module is available in SAP which translates the text Dynamically in the program. or is there any other way to translate the text dynamically in the program.
    Could you please share your valuable inputs? Thank you in advance.
    Thanks & regards,
    Paddu.

    you could use SET LOCALE LANGUAGE myLanguage - so you can switch to the desired language and all texts will selected from that language.

  • I am working in Pages and am trying to have the same footer on every page ?I went into View/Layout and typed in footer text  in the space but it only appears on first page and not any subsequent pages? Thank you.

    I am working in Pages on a report and trying to have the same footer on each page. I went to View/Layout, followed instructions, but the footer text only appears on the first page and not any subsequent pages? What should I do differently please? Thank you., Elisabeth

    Help is in the Pages forum.

  • In a document with several sections, in section VIII and IX one cannot select the text of the page foot nor set the pointer in it; so, one cannot write nor change the page foot text. Please help!

    in a document with several sections, in section VIII and IX one cannot select the text of the page foot nor set the pointer in it; so, one cannot write nor change the page foot text. Please help!

    Question already asked and answered several times.
    It's a bug striking in long documents.
    Select a word somewhere higher in the page then use the arrows to reach the wanted insertion point.
    Yvan KOENIG (VALLAURIS, France) mardi 23 août 2011 15:44:24
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to change the select options selection text dynamically in webdynpro abap ?

    I am using standard interface WDR_SELECT_OPTIONS.... i want to change the Selection text dynamically in my select options.I.E. if the select option is for VBELN field than i want to change its description SALES ORDER Number through Code to some other text.
    If anyone can please help me in this.

    Hi,
    You can achieve your requirement as below
    Get the range table of your selection field as below
              data lt_range_table type ref to data.
              wd_this->m_handler->GET_RANGE_TABLE_OF_SEL_FIELD(
                        exporting
                        i_id = 'VBELN'
                        receiving
                        rt_range_table = lt_range_table ).
    Update the selection field with new description - 'Your New Text'
              wd_this->m_handler->UPD_SELECTION_FIELD(
                        exporting
                             I_ID = 'VBELN'
                             I_DESCRIPTION = 'Your New text'
                             I_IS_AUTO_DESCRIPTION = abap_false
                             IT_RESULT = lt_range_table ).
    You can also pass the other parameters as per your requirement
    Hope this helps you.
    Regards,
    Rama

  • How to get a Footer text in alv grid?

    Hi,
    am using RESUE_ALV_COMMENTARy_write... it is getting only on top of page..
    suggest me to get Footer text in ALV GRiD.
    Regards,
    sodanapalli
    Moderator message: please do more research before asking, all points removed (both replies were copy/pasted anyway)
    Edited by: Thomas Zloch on May 19, 2011 5:41 PM

    Step1: Populate the ALV event table with 'END_OF_LIST' event
    Step2: Populate the footer text in to an internal table which is of type
    slis_t_listheader.
    Step3: Create a subroutine with name 'END_OF_LIST' and with in this form we have to call the function module u2018REUSE_ALV_COMMENTARY_WRITEu2019.
    Step4: Now call the function module REUSE_ALV_GRID_DISPLAYu2019 to display the ALV report. Whenever u2018END_OF_LIST' event is get fired it executes the subroutine END_OF_LIST and displays the text into the footer of the ALV GRID.
    Code:
    *& Report Z_TEST_ALV
    REPORT z_test_alv.
    TYPE-POOLS: slis.
    DATA: i_mara TYPE STANDARD TABLE OF mara INITIAL SIZE 0,
                i_events TYPE slis_t_event,
                i_end_of_page TYPE slis_t_listheader,
                w_events TYPE slis_alv_event,
                v_repid LIKE sy-repid.
    START-OF-SELECTION.
    SELECT * FROM
    mara INTO TABLE i_mara
    UP TO 100 ROWS.
    CHECK sy-subrc = 0.
    PERFORM populate_alv_event.
    PERFORM comment_build USING i_end_of_page[].
    PERFORM display_grid.
    *& Form POPULATE_ALV_EVENT
    FORM populate_alv_event .
    Populate event table
    w_events-name = 'END_OF_LIST'.
    w_events-form = 'END_OF_LIST'.
    APPEND w_events TO i_events.
    ENDFORM. " POPULATE_ALV_EVENT
    *& Form COMMENT_BUILD
    FORM comment_build USING p_i_end_of_page TYPE slis_t_listheader.
    DATA: ls_line TYPE slis_listheader.
    REFRESH p_i_end_of_page.
    CLEAR ls_line.
    ls_line-typ = 'H'.
    ls_line-info = 'This is end of list'(001).
    APPEND ls_line TO p_i_end_of_page.
    ENDFORM. " COMMENT_BUILD
    *& Form end_of_list
    FORM end_of_list.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    it_list_commentary = i_end_of_page.
    ENDFORM. "end_of_list
    *& Form DISPLAY_GRID
    FORM display_grid .
    v_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = v_repid
    i_structure_name = 'MARA'
    it_events = i_events
    TABLES
    it_outtab = i_mara
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    ENDIF.
    ENDFORM. " DISPLAY_GRID
    Check the output  where footer will be displayed as 'THIS IS END OF LIST'

  • Change column header text dynamically

    Hi,
    I have requirement to change the column header text dynamically in sap gui programming. but couldn't see straight forward way to achieve this.
    i tried following link but no success:
    [Re: Dynamic header text in table control - Dialog programming;
    Please share your suggestions if it can be acheived.
    Thanks,
    Rahul
    Edited by: Rahul Yadav on Oct 25, 2010 7:29 PM

    >
    anmol112 wrote:
    > Hi,
    >   So you can try 1 thing,
    > * Dont use default Column Headings
    > * Create I/O and choose ouput only and fix them in place of Column headings.
    > * pass the values to these I/O accordingly.
    >
    >
    > Thanks,
    > Anmol.
    How is this different from the previous post?
    Rob

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • S_P00_07000134 Generic Withholding Tax Report, Sender Variant, Footer Text

    Hi Experts,
    I'm using the standard report form for withholding tax, our requirement is to display the names of the signatories in the form     IDWTCERT_PH_2307.  I'm exploring the "Sender Variant" in the selection parameters under "Forms" tab.  Would this solve our issue?  Is the form customizable using the sender variant?
    If this is so, kindly guide me on how to maintain or configure the text?  So far, I have found the menu path in FI => FI Global Settings => Withholding Tax => Extended Withholding Tax => Generic Withholding Tax Reporting => Printouts => Define Header and Footer Texts in Forms, but I'm lost on how to customize this, particularly on the Text part.
    Please help.  Thank you.
    Regards,
    Reiko

    Hi Expert,
    Just Do the below settings as mentioned below:
    Go To T-Code: SE71 and provide Form - J_1IEWT_CERT and copy this form to New Z Form and in that Z Form, Select Page Window Option from SE71 and Edit the Main Window and provide the New Signature and Save these Changes and Assign this Z-Form to the Company Code, Business Place and Withholding Tax Keys in T-Code: J1INCRT and Try the complete scenario.
    Regards,
    GK
    SAP

  • Multiple copies with different footer text --sapscripts

    Hello I have a requirement where in i need to print multiple copies( customer, company, etc). On each copy different footer text is to be printed. Can anyone help me out. Thankyou helpful posts will be rewarded.

    Hi,
    If you have a need wherein the samrtform has to have data differ for each copy of a printout
    eg. Different form title per every print copy.
    then the following code should work.
    case sfsy-copycount0.
    When 000.
    form_title  = 'Order confirmation'.
    when 001.
    form_title = 'Warehouse ticket'
    when 0002.
    form_title = 'Customer ticket'.
    endcase.
    Remember, display the element 'form_title' in a window of type 'copies window'.
    Reward if helpful.
    Regards
    Pavan.

Maybe you are looking for

  • 24" iMac refurb - kernal panic after apple logo

    I received a refurbished 24" C2D iMac on Friday and it seemed to be in perfect condition. Everything worked, and all of the updates were applied. Upon returning to the office on Monday, there was a kernal panic when awakening it. It also consistently

  • IBooks will not sync PDF collections with my IPhone. It syncs the collection title but not the content?

    My IBooks will not sync PDF content with my IPhone. It syncs the collection title but no content. Both devices are set to sync collections? Any ideas how to fix this?

  • Comment activer acrobat 9 Pro

    Je suis sou Win 8.1 64 b. J'utilise CS5 et Acrobat 9 Pro fournit en même temps. Quand je lance Acrobat, un message me dit qu'il faut l'activer..; par ex en lançant Photoshop... Ce que je fais mai je ne vois nulle part une commande d'activation et, qu

  • Problem in reading records

    Hi Gurus, I have to read the following data into my internal table by splitting at | into workarea. 800|ZIXBSVCREQ|47114711|L2|FB2FFF5916C299489D0613840D4ED507|ZIXDSVCREF|20080502|00000000|FAX|47114711|20070312|| 800|ZIXBSVCREQ|80004711|L2|7E9C316362

  • ESB to BPEL request creatin in jdev

    Hi, Situation: An external system sends a request to the ESB that I am going to create. This ESB transforms the incoming request to a different format and then sends the transformed request to the BPEL (need to create). The BPEL invokes an external s