Text in header and text in footer in sap scipt ?

how to print header in ist page and footer in last page in sap script?

Hi,
you can do one thing dsiplay Header as it is in the first page and i think you will not have any problem with this. Coming to Footer check whether next-page is equal to 0, if so that page itself is the last page based on this condition then display the data.
Second thing is if you are using internal table to display the data then directly u can use 'at first' control  level and display footer data after displaying all the data of the internal table.
Reward if it is useful.
Regards,
Padmaja.

Similar Messages

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • My phone constantly turns it self on and off, it won't let my messages load I carnt text or receive and texts or calls, I have updated the new iso7, can anyone help?

    My phone constantly turns it self on and off, it won't let my messages load I carnt text or receive and texts or calls, I have updated the new iso7, can anyone help?

    Hello Bricky2013,
    The following article has some useful tips that can help stabilize your iPhone.
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Cheers,
    Allen

  • PDF Maker adding text in header and footer

    As I convert documents from MS Word to .pdf, I am experiencing a problem with what looks like additional text being placed in front of a field, which references a bookmark in my Word document.
    The additional code is showing up in header and footers only.
    When I place a reference field in the body of my document it converts properly. However, when it does convert properly in the body, it creates a hyperlink back to the referenced word - which is not my intention. My intent was to create a bookmarked area in my Word document that will propagate its contents throughout the document (in the header/footer etc...).
    The additional text seems to be the code Word uses to reference the Word bookmark.
    I recently updated from Professional 7 to 8 and installed the 8.1.2 update. This is the first time I have had this problem!
    Any advice would be greatly appreciated.
    Thanks,
    Bill

    I had this a long time ago and one of my students pointed out a setting in WORD. Unfortunately I do not remember the item that had to be fixed, but it was definitely a WORD problem.

  • Can't paste text nor paths and text

    What is wrong?
    I have a layer with some paths and lines of text.
    I copied some of the paths and text and tried to paste in another layer or document; the paths are not pasted and all the text becomes a single line.
    When I copied only the paths, it is pasted correctly.
    If I copied only the text and tried to paste in another layer or document, all the text becomes a single line.
    If I drag the selection from one layer to another using the panel, it works. If I drag the selection from the artboard to another document, it works.
    But these operations sometimes are not convenient.
    What I would like is to copy the items, target a layer in another document and paste there.
    With a large document with dozens of layers and a lot of text the drag and drop solution is not feasible.

    Monika
    You hit the nail on the head. The problem was the "FormatMatch" clipboard extension for Mac, that changes all copied text to plain text.
    Thanks.
    Furia

  • Running header and text variable help!

    I am trying to add a running header to a book I am creating but I cannot get the running header to work. I have read on the Adobe help pages and other sites online but still can't figure it out. I really just need a step by step on how to get this to work. I don't want to have to go through and edit the week number manually, but at this point I am getting frustrated. (Running CS5)
    The header is "Week X". (The week number changes every 5 pages.)
    This is what the running header should look like:
    This is what I get when I try: (Blank!)
    One time I got the "Week 1" to appear but it was in the large text style, not the smaller size. I forget what I did to get that, so now all I can make happen is the blank text field.
    What am I doing wrong?

    I haven't read the tutorial Prashant has mentioned twice, but it will probably help you. As he says, variables are basically pretty simple, though running head types are perhaps a bit more complex than some others.
    Basically, a variable is a marker, in the same way that an automatic page number is a marker, but in the case of the running head variables ID looks for text that matches a particular style (your choice, when you define the variable, of Paragraph Style or Character Style, and also whether it is the first instance or the last instance of that style on the page (again part of the definition) and ignores other matches that might also be present on your page. If no matching text is present on a particular page, ID searches backwards in the document to find a match on a previous page (which is why having  the matching text on only the first page of the section will work). Variables can pick up both visible and "invisible" or non-printing text which is handy if you need to have a match on a page, but don't want that text to appear in output except where it is displayed in the variable.
    Does that help?
    The advantage to using the variable here is that you can use the same master page (or two master pages or however many different masters are used in one complete section) for all of the sections instead of making separate masters with the new header or footer information for each section.

  • Email Vendor and PO text at header and Item level

    Hi,
    I am using SRM 3.0,ECS.
    1.I want to search all the vendor having email address mentioned(not having the blank in the std comm field in table ADR6).
    2.When I am creating SC with special character (in the line item description and SC name description,attachment description) and PO is created automatically but in the BIW because of these sp characters reports are not getting published.
    How can I restrict the special character entries in the SC and then POs.?(so that users can not put sp characters in the SC line itmes,Texts,Attachment descriptions)
    Brgds/Gopesh
    Edited by: Gopesh Pandey on Mar 6, 2008 10:53 AM

    Uday,
    UsE Function Module READ_TEXT or  try with Table STXH..
    Reward IF THIS HELPS..
    Regds
    MM

  • Table for text at header and item level.

    Hi gurus,
    I have typed some text at the item level (Texts TAB for the item). In which table can i find this data. The table STXL does not contain the data thats been entered. Please help me with some information.
    Regards,
    Udaynath.

    Uday,
    UsE Function Module READ_TEXT or  try with Table STXH..
    Reward IF THIS HELPS..
    Regds
    MM

  • Use of ABAP expression in the Send Mail Header and Text

    Hi Workflow Gurus,
    I have a requirement wherein I have to inform the Manager of a user that his/her request for leave availment has been approved. However, we need to show the users name for the Manager to easily identify the user.
    Now, I checked the send mail step and it is possible to insert an expression, but the available expressions are confined within the containers available. Hence, we only have the user id of the workflow initiator.
    Is there a way to place a code in the send mail expression which will determine the user's employee name given the user id as opposed to having to create an FM and a method to determine the users name? Or is the only recourse to develop and fm and a method to determine these details in the background and pass it to the containers for extraction?
    Regards,

    If you don't have for example the employee name in the available container elements, you need to add it and do the necessary coding/development for it. Classically employee or user data has been retrieved by using a certain standard background task to get the user/employee object based on the user ID. This will require an additional background step but no coding since the task includes the coding already.
    It is anyhow possible to try to get the data for example with functional methods by using container operations  in the workflow (or it is also possible to do this in binding too) - but then you need to develop a functional method(s). In other words you can use a functional method for example in your binding or in a container operation. Check for example Jocelyn Dart's blog about functional methods. Anyhow, how well the functional methods will work depends on the SAP system version.
    Regards,
    Karri

  • How Configure a Margin-Width Line at Bottom of Header and Top of Footer?

    Pages Mavens,
    Would you help?
    How can Pages (v5.5.2) be configured to draw a "margin-to-margin" line (aka, "border") at the bottom of the header region and top of the footer region?As shown in the image below, this function is irritatingly easy in MS-Word (darn it).
    Many thanks for the assist!
    Plane Wryter

    You are right. There is some extremely annoying bug in Pages 5.5.2.
    Tried inserting a tab in the Format Sidebar but it doesn't seem to take.
    Nothing new there! I really don't know why Apple implemented this awful divided Headers/Footers model.
    Menu > Pages > Provide Pages Feedback
    Btw here is Pages '09:
    Took a few seconds and just works.
    Peter

  • Split  text into  number and  text

    Hi ,
    My problem is something like this....." 5 feet 6 inch ". This
    is a single string(varchar). since i cannot calculate value (6*5)
    here .i need to make it taking from database separate. And later
    calculate value.Is there any possibility throught which i can do
    something like that.?
    Thanks in advance.

    I could do it for that particular record, but unless every
    record has the same structure, it will be tough if not impossible.
    How is the data getting into the db to start with? If you are
    accepting free text, you might get values like five ft seven, five
    and a half ft, etc.
    Is it too late to re-design the db so that you have a numeric
    field for that measurment?

  • Header and Footer for ALV Layout

    Hi All,
    I have used the following code to create the Header and Footer Areas for ALV Report.
      CLEAR: FS_EVENTCAT.
      FS_EVENTCAT-NAME = 'TOP_OF_PAGE'.
      FS_EVENTCAT-FORM = 'build_comment'.
      APPEND FS_EVENTCAT TO GT_EVENTS.
      CLEAR: FS_EVENTCAT.
      FS_EVENTCAT-NAME = 'END_OF_LIST'.
      FS_EVENTCAT-FORM = 'F_WRITE_SUMMARY'.
      APPEND FS_EVENTCAT TO GT_EVENTS.
    Now the space is available for both Header and Footer...
    But i would like to display the Text in Header and Footer areas...
    How to insert the Texts....????
    Can you help me please.....???
    Regards
    Pavan

    Hi,
    Try with following example program:
    REPORT  ZRJR02                                  .
    *Table declaration.
    TABLES:ZEMP_MST,ZDEPT_MST,ZDESG_MST,ZSL_TXN.
    *Varriable declaration.
    TYPE-POOLS SLIS.
    DATA : POS TYPE I.
    DATA  REPID  LIKE SY-REPID.
    DATA : F1 TYPE SLIS_T_FIELDCAT_ALV,
           F2 TYPE SLIS_FIELDCAT_ALV,
           L_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA  L_POS TYPE I VALUE 1.               "position of the column
    DATA  GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    *DATA  GT_SORT TYPE SLIS_T_SORTINFO_ALV.
    data:  GT_EVENTS    TYPE SLIS_T_EVENT,
           FS_EVENTCAT LIKE LINE OF GT_EVENTs.
    *Internal table declaration.
    *DATA  BEGIN OF IT_SORT OCCURS 5.
         INCLUDE TYPE SLIS_SORTINFO_ALV.
    *DATA  END OF IT_SORT.
    DATA:BEGIN OF ITAB OCCURS 0,
          ZEMPNO    LIKE ZEMP_MST-ZEMPNO,
          ZEMPNAME  LIKE ZEMP_MST-ZEMPNAME,
          ZDEPTCD   LIKE ZEMP_MST-ZDEPTCD,
          ZDEPTNAME LIKE ZDEPT_MST-ZDEPTNAME,
          ZDESGCD   LIKE ZEMP_MST-ZDESGCD,
          ZDESGNAME LIKE ZDESG_MST-ZDESGNAME,
         END OF ITAB.
    REFRESH ITAB.CLEAR ITAB.
    START-OF-SELECTION.
    SELECT AZEMPNO AZEMPNAME AZDEPTCD BZDEPTNAME AZDESGCD CZDESGNAME
           FROM ZEMP_MST AS A
             INNER JOIN ZDEPT_MST AS B
               ON AZDEPTCD EQ BZDEPTCD
             INNER JOIN ZDESG_MST AS C
               ON AZDESGCD EQ CZDESGCD
           INTO CORRESPONDING FIELDS OF TABLE ITAB.
    IF SY-SUBRC <> 0.
       MESSAGE E899(M3) WITH 'No records'.
    ENDIF.
    perform f_build_eventcat.
    PERFORM LAYOUT.
    END-OF-SELECTION.
    *&      Form  LAYOUT
    FORM LAYOUT .
      PERFORM FCAT USING 'ZEMPNO'    'ITAB' '' 'Emp.No.'   'ZEMPNO'    'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZEMPNAME'  'ITAB' '' 'Emp. Name' 'ZEMPNAME'  'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZDEPTCD'   'ITAB' '' 'Dept.Code' 'ZDEPTCD'   'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZDEPTNAME' 'ITAB' '' 'Dept.Name' 'ZDEPTNAME' 'ZDEPT_MST' ''.
      PERFORM FCAT USING 'ZDESGCD'   'ITAB' '' 'Desg.Code' 'ZDESGCD'   'ZEMP_MST'  ''.
      PERFORM FCAT USING 'ZDESGNAME' 'ITAB' '' 'Desg.Name' 'ZDESGNAME' 'ZDESG_MST' ''.
    PERFORM LSORT USING  'ZEMPNO' 'IDATA' ''.
    PERFORM LSORT USING  'ZEMPNAME' 'IDATA' ''.
    MOVE IT_SORT[] TO GT_SORT[].
      REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
             I_CALLBACK_PROGRAM       = REPID
             IT_FIELDCAT              = F1
            IT_SORT                  = GT_SORT
             I_SAVE                   = 'X'
             IT_EVENTS                = GT_EVENTS[]
         TABLES
              T_OUTTAB                 = ITAB.
      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.                    " LAYOUT
    *&      Form  FCAT
    FORM FCAT USING P_FIELD P_TABLE P_SUM P_TEXT P_RFIELD P_RTABLE P_DISP.
      ADD 1 TO POS.
      F2-COL_POS       = POS.
      F2-FIELDNAME     = P_FIELD.
      F2-TABNAME       = P_TABLE.
      F2-SELTEXT_L     = P_TEXT.
      F2-REF_FIELDNAME = P_RFIELD.
      F2-REF_TABNAME   = P_RTABLE.
      F2-DO_SUM        = P_SUM.
      F2-NO_OUT        = P_DISP.
      APPEND F2 TO F1.
      CLEAR F2.
    ENDFORM.                " FCAT
    *&      Form  LSORT
    *FORM LSORT USING P_FIELD P_TABLE P_UP.
    ADD 1 TO L_POS.
    IT_SORT-SPOS      = L_POS.
    IT_SORT-FIELDNAME = P_FIELD.
    IT_SORT-TABNAME   = P_TABLE.
    IT_SORT-UP        = P_UP.
    APPEND IT_SORT.
    *ENDFORM.                    " LSORT
    FORM F_BUILD_EVENTCAT .
    CLEAR: GT_EVENTS.  REFRESH: GT_EVENTS.
      CLEAR: FS_EVENTCAT.
      FS_EVENTCAT-NAME = 'TOP_OF_PAGE'.
      FS_EVENTCAT-FORM = 'F_REPORT_HEADER_ALV'.
      APPEND FS_EVENTCAT TO GT_EVENTS.
      CLEAR: FS_EVENTCAT.
      FS_EVENTCAT-NAME = 'END_OF_LIST'.
      FS_EVENTCAT-FORM = 'F_WRITE_SUMMARY'.
      APPEND FS_EVENTCAT TO GT_EVENTS.
    ENDFORM.                    " F_BUILD_EVENTCAT
    FORM F_REPORT_HEADER_ALV.
    CALL FUNCTION 'Z_YHEAD_PRINT'
    EXPORTING
       TITLE1        = 'XYZ Limited'
       TITLE2        = 'Employee Master'
       TITLE3        = 'Created on '
       COLOR         = 'X'
    ENDFORM.
    *&      Form  F_WRITE_SUMMARY
          Write summary before exit
    FORM F_WRITE_SUMMARY .
    write:/ 'Welcome to XYZ Limited'.
    write:/ 'This is a test program to display Report in ALV Format'.
    ENDFORM.
    Regards,
    Bhaskar

  • How can I change the appearance and text on 'Continue from where you stopped last time?' dialogue

    Hi,
    I would like to change the appearance (color, header and text) of the 'Continue from where you stopped last time?' dialogue
    Could you please help me where to find the files to be edited and how to do so.
    Thanks in advance for your help!!!
    Stephanie

    Hi Stephanie,
    Unfortunately there is no way to change the text or appearance of this dialog box. You are stuck with it as is.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • Header and Font Color

    I am writing a newsletter in Pages and love the way the templates are set up. However, when I go in and write my own text, the headers and text change colors! How can I keep them the same as the example templates or even change them (they keep turning gray)? Why can I not change the font color?

    Which template are you using?
    I tested with "The collector".
    I selected the header then I applied to it the red color and it worked flawlessly.
    Yvan KOENIG (from FRANCE mardi 22 juillet 2008 11:49:03)

  • Header and Footer Items in Adobe Muse? Also Menu text being cut off half way.

    How can I make the header and footer items load faster in Adobe Muse? I am hosting with Business Catalyst. Everything else loads almost immediatly on my web page, but my Header and Footer graphic- wood grain picture- take almost 10 seconds to load, and almost a minute to load on mobile devices.
    As well, my menu's are not loading correctly on other peoples devices. On my lap top everything looks fine, but on other peoples devices the text in my menus is only loading half way? -only shows half the text.
    Still working on my site, but to see what I am talking about you can visit the web page I am in the middle of building at www.bkskin.com
    Please give me some advice if any of you have some, thank you.
    Megan Burnett

    Hello,
    It seems to be an issue with the Font that you have used.
    You have used Bubble-one font and if you check this font in Google Chrome it is cut off and if you check in Firefox, it comes up fine.
    Please have a look at this link in Google Chrome and Firefox and you will see the difference : http://www.google.com/fonts/specimen/Bubbler+One
    I would suggest you to use some other font in order to fix it.
    Regards,
    Sachin

Maybe you are looking for

  • Looking for dv7-1130us ENE0100\3 for Windows 8

    I installed Win 8 x64 and in "Problem Devices" found device ACPI\ENE0100\3&2411E6FE&0 because ther was no driver found. Searching for driver via Windows 8 update and calling Microsoft provided no help. What is this device and is there a new or even o

  • Itunes - older version

    Does anybody know where I can get an older version of iTunes? Mine doesn't work after the most recent upgrade and it worked fine before. I have a second Mac, with an older version of iTunes and it works just fine, using the same files and drives that

  • How to run a script after resume from disk in pm-utils

    When I use pm-hibernate, I have a few scripts that I would like to run upon de-thawing. At the moment, all I want to do is module-related: I want to remove the pcskpr mod (which I have blacklisted in my rc.conf MODULES array, but HAL loads it upon th

  • Yahoo keeps disconnecting on ichat on lion 10.7

    I am trying to use yahoo on ichat and its been working fine for the past days but today it keeps disconnecting and i cannot use it. when i connect to yahoo thru Adium it owrks fine. any ideas?

  • How can I restrict for in app purchases for downloads

    How can I restrict for in app purchases for downloads So basically I don't want my kids to be able to downloads apps even if it's free because I want to be able to see what they are downloading