Wat is the diff. between at first and top of page

pls let me know

<b>AT - itab </b>
Syntax
LOOP AT itab result ...
  [AT FIRST.
   ENDAT.]
    [AT NEW comp1.
     ENDAT.
       [AT NEW comp2.
       ENDAT.
       AT END OF comp2.
       ENDAT.]
     AT END OF comp1.
     ENDAT.]
  [AT LAST.
  ENDAT.]
ENDLOOP.
Extras:
1. ...  FIRST
2. ... |{END OF} comp
3. ...  LAST
Effect
The statement block of a LOOP loop can contain control structures for control level processing. The respective control statement is AT. The statements AT and ENDAT define statement blocks that are executed at control breaks. Within these statement blocks, the statement SUM can be specified to total numeric components of a group level. In the case of output behavior result, the same applies as for LOOP AT.
So that group level processing can be executed correctly, the following rules should be noted:
After LOOP there should be no limiting condition cond specified.
The internal table must not be modified within the LOOP loop.
The work area wa specified in the LOOP statement after the INTO addition must be compatible with the line type of the table.
The content of a work area wa specified in the LOOP statement after the INTO addition must not be modified.
The prerequisite for control level processing is that the internal table is sorted in exactly the same sequence as the component of its line type - that is, first in accordance with the first component, then in accordance with the second component, and so on. The line structure and the corresponding sorting sequence gives a group structure of the content of the internal table, whose levels can be evaluated using AT statements. The AT-ENDAT control structures must be aligned one after the other, in accordance with the group structure.
The statement blocks within the AT-ENDAT control structures are listed if an appropriate control break is made in the current table line. Statements in the LOOP-ENDLOOP control structure that are not executed within an AT-ENDAT control structure are executed each time the loop is run through.
If the INTO addition is used in the LOOP statement to assign the content of the current line to a work area wa, its content is changed upon entry into the AT-ENDAT control structure as follows:
The components of the current group key will remain unchanged.
All components with a character-type, flat data type to the right of the current group key are set to character "*" at that position.
All the other components to the right of the current group key are set to their initial value.
When the AT-ENDAT control structure is exited, the content of the current table line is assigned to the entire work area wa.
Note
If the INTO addition is used in the LOOP statement, a field symbol can be specified outside of the classes after AT |{END OF}. The appropriate component of the work area wa is assigned to this field symbol.
Addition 1
... FIRST
Effect
First line of the internal table.
Addition 2
... |{END OF} comp
Effect
Beginning or end of a group of lines with the same content in the component comp1 comp2 ... and in the components to the left of comp1 comp2 .... The components comp1 comp2 ... can be specified, as described in the section Specification of Components, with the limitation that access to object attributes is not possible here.
Addition 3
... LAST
Effect
The last line of the internal table.
<b>TOP-OF-PAGE </b>
Syntax
TOP-OF-PAGE [DURING LINE-SELECTION].
Addition:
... DURING LINE-SELECTION
Effect
This statement defines an event block whose event is triggered by the ABAP runtime environment during the creation of a list. This occurs when a new page is started - that is, immediately before the first line in a new page is to be output. All list outputs that take place in the event block are placed below the standard page header of the list. You cannot output more lines than are available in the page within the event block. The NEW-PAGE statement is ignored within this event block.
The entire output written to the list in the event block belongs to the page header of the current list page. The top page header cannot be moved when you scroll vertically in a list displayed on the screen.
Addition
... DURING LINE-SELECTION
Effect
If you do not use an addition, an event block is triggered for event TOP-OF-PAGE during the creation of a basic list. If you use the addition DURING LINE-SELECTION, an event block is triggered for the corresponding events during the creation of details lists. You have to use system fields like sy-lsind to distinguish between the individual details lists.
Regards,
Pavan

Similar Messages

  • What exactly is the diff between main window and variable window

    what exactly is the diff between main window and variable window in SAP script?

    hi,
    MAIN WINDOW :- In a main window you display text and data, which can cover several pages (flow text). As soon as a main window is completely filled with text and data, the system continues displaying the text in the main window of the next page. It automatically triggers the page break.
    You can define only have one window in a form as main window.
    The main window must have the same width on each page, but can differ in height.
    A page without main window must not call itself as next page, since this would trigger an endless loop. In such a case, the system automatically terminates after three pages.
    VARIABLE WINDOW :- The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the form.
    hope this will be useful.
    If useful then reward points.
    with regards,
    Syed

  • What exactly is the diff between client dependant and client independant te

    Hi gurus,
    What is the diff between client independant and client dependant term.. I initially had a confusion related to client independant and client dependant Transport requests, where else are these words applicable, do they apply to data as well, if so how? any links to help me understand the difference..
    regards,
    kishore

    Hi Kishore,
    Client Independant: These objects are not specific to any client. And it is universal which can be viewed,changed across the clients.
    Client Dependant: These are the objects can be viewed, changed for the client for which it has been assigned. Other clients do not have access on these objects.
    In SAP, all objects are finally stored as tables. "Mandt" is key field which determines whether the object is client dependant or not.
    Client Independant transport requests will make the transported objects available across the clients. and Client dependent transport request make the objects available only for the client mentioned by field "Mandt"
    Regards,
    Dinesh D

  • Wat is the different between AP set and ORI set?

    i fedup about wan buy AP set or ori set... because AP set is cheaper but i scared AP set spoil more easily, i also heard people say AP set camera and sound system is different with ori set.... guys kindly please tell me wat is the different between AP set and ori set and izit same to buy AP set and ori set?THX YA ^-^....
    Message Edited by geronimo on 24-Mar-2008 06:29 AM

    Thanks YuliaKlimov, I can reproduce this issue, but I cannot explain the different behaviors between SSAS 2008 and 2008R2. As a workaround,
    could you try to use dynamic set or create statics set but with fixed member for example:
    CREATE 
    SET CURRENTCUBE.[Prior Month] AS
    [Date].[Date Key].&[20050723].PrevMember
    , DISPLAY_FOLDER = 'Relative Period Sets';
    Personally, I think your set is dynamic set, because the currentmember is changed base on current selection. You can also submit this issue
    on below official link to get confirmation from Product Group:
     https://connect.microsoft.com/SQLServer/
    Thanks,
    Raymond
    Raymond Li - MSFT

  • Whats the diff between Transfered Records and Added Records

    Hi
    whats the diff between Transfered Records and Added Records in any data target Request Tab.
    Regards
    ll

    Hi.......
    Check this.......
    What's the difference between Transferred Records and Added Records?
    Manage ODS : Difference of Transferred Records and Added Records
    Regards,
    Debjani......

  • Can i use developer6 with Ora8i Lite? Whats the diff between 8i lite and personal8i

    Can anyone tell me if i can use Oracle8i Lite in conjunction with Developer6? I am running my computer on a Win98 operating system. Also, what are the differences between Oracle8i lite and Personal Oracle8i?
    i have only 64mb RAM and am therefore below the minimum requirements to install Peronal oracl8i (which requires 128mb of RAM), is there any way around this?
    Thank you in advance for your help in this matter

    There is a hope of Installing Personal Oracle on 64MB machine by increasing the Cache for the machine. I have done it for Oracle Server and it works
    Go to : Contron Panel
    then : System
    Select : Performance tab
    Specify Virtual Mem to 200 MB minimun for succesfully install the Database.
    I tried using Oralite for Personal Oracle but came to know that it is mostly ment for CE devices and other such things for having connectivity between PC Database and Oracle Server Database(I may be wrong).
    Using Personal Oracle with Developer6.0 will also give you some trouble in configuring the TNSNAMES for TCP/IP and Developer uses connect string and without that you probably will not be able to connect to database. Try it I tried but failed, take the help of ODBC.
    Good Luck
    null

  • The Diff Between Pre-Order and Reserved

    Pre-Order:
    You walk into the store between the 24th and the 1st of July and walk out with an iPhone 4.
    Reserved:
    You stand in line after all the pre-order people have gotten their iPhones (or if they don't show up, their phone is held for 7 days) and any extra phones are given to you, in a first come, first serve of the people who reserved. You are not guaranteed to get one.
    No Pre-Order or Reserve:
    You get dibs on the phone after all the reserve people have gotten their phone.
    End of story. Please stop asking.

    Sorry, that doesn't make any sense. I mean, I get that a lot of people don't know there's even a difference between "pre-order" and "reserve", but why would "reserve" people have to wait until after all the "pre-order" people get their phones? The Apple store employees know not to give away the pre-order phones, I'm assuming they're pulling from a different "pile".
    And there have been a few people on here who have said that Apple employees assure them there is an actual phone with their name on it. Difference is, their phone isn't programmed to their account yet and the reservation expires at the end of the day (as opposed to pre-ordered phones which expire after 7 days.) Not that the Apple store employees know all, they sure didn't today, but if it's a consistent answer like this, I'm inclined to believe them. Also, then, what's the point in telling the reservation people to come at 7AM if they're not even going to start giving them out then?

  • How can you make the iPod tell the diff between a movie and music video

    Greetings!
    How can you make iPod tell the difference between a Music Video and Movie? Everything I put up on the iPod falls into Movie. So is it something I have to do in iTunes?
    Thanks for the help!

    Rightclick the video in iTUnes, hit Get info then the "Options" tab. Beside kind you can set it to movie. music video. or TV show

  • Whats the diff between PS CS5 and PS Elements 12?

    I currently use PS CS5, but a friend of mine wants to get PS Elements 12.  Are there major differences?  Is E12 an add on to an existing CS, or can it be used by itself?  I'm unfamiliar with E12 so any help would be welcomed.
    Thank you

    BobZ30 wrote:
    BTW, Elements 13 was released yesterday, I believe.
    It was last week, if I recall. The OP should be able to upgrade to version 13 if they so choose to go through the proper Adobe channels since they didn't know.
    Photoshop Elements is like the little cousin of Photoshop. (It doesn't have some of Photoshop's adjustment masks like Curves, for example.) But it has lots of the core features like layers and masks (should one use Elements' "Expert" mode).
    The thing that burns my buns, though, are the elitist "photographers" who disparage the use of Photoshop (in any form, be it Elements or full-on Photoshop). Yes, I get it. You're just like Ansel Adams. No, I don't care. So somebody used the "Photomerge Compose" feature in Elements. Whooop-deee-doo. Doesn't mean one has to get his panties in a bunch over it.

  • Wat is the diff between

    ResultSet rs = qps.executeQuery(); and ResultSet rs = executeQuery(qps);

    While I can't tell with complete certaintly what you're asking, I do see a couple of differences.
    The "qps." in
    ResultSet rs = qps.executeQuery();suggests that you have created a PreparedStatement named qps for a SELECT that you are executing and whose results will be returned into a ResultSet named rs. There could have been bind variables applied to qps. PreparedStatements facilitate efficient statement reuse.
    The following seems syntactically incorrect unless executeQuery(qps) is a method in the current object. If this is the case, I have no way of knowing what it's doing other than by what's implied by the method and parameter names.
    ResultSet rs = executeQuery(qps);If what you really meant was the following, with sql being the SQL text of the query to be executed with results returned into rs
    ResultSet rs = qps.executeQuery(sql);then even though you may (or may not) be using a PreparedStatement, you're executing a static SQL statement that's being passed in text form as sql. This will not allow passage of bind variables as this method comes from Statement, not PreparedStatement. This could also prevent efficient statement reuse.
    Hope this helps, but may be irrelevant since I'm mostly guessing what you meant! :)
    -Rick

  • Diff between update queue and delta queue

    hi all
    can anyone tell me wats is the diff between update queue and delta queue? wats is delta queue and update queue?
    wats are the possible system generated errors and custom generated errors?
    Thanks,
    Shreya

    Hi Shreya,
       Update queue(LBWQ) comes into the picture when you choose Queued Delta for the Datasource. the data first comes to the Update queue and than goes to the Delta queue, however if you have choosen Direct Delta than the posted record will directly go to the Delta queue(RSA7).
    Here is the URLS for Roberto's weblog to understand the whole LO-Extraction process.
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    Hope it helps you!!!!
    Regards,
    Amit
    Pls do not forget to assign points, if helpful.

  • Diff between 4.7e and ecc 6.0

    hi abapers !
    can any tell me the diff, between 4.7e and ecc 6.0 ?
    cheers.
    rajesh.

    Hi.
    First of all I would like to ask you to have a look into our rules of engagement. One of the really important rules for our forums is that you should try to solve your question yourself first. One very usefull tool are search engines. Perhaps you heard about google or some other internet search. And there is a search function in the SDN too. Please use it before asking any question.
    Then I would like to ask you to give as much information as available regarding your question. My first intention was to answer 1.3. As Eric did that before me I refrain from this. But please understand: No one here in the forums knows in which kind of diff are you interested. And don't tell me you want to know all differences. I have seen such questions but then the only correct answer would be a source code diff. And that would be a little bit more than we allow for postings.
    And then: This is an ABAP forum. If you are asking which changes have been done to the programming language ABAP between this versions then you are in the right forum. If not -> ask somewhere else.
    Future postings as unspecific as this one might get locked or deleted without prior notice.
    Best regards,
    Jan Stallkamp

  • Diff between Thin client and Rich client

    Hi Everyone,
              Can someone give me a clear picture of the what is the diff between Thin client and Rich client.
    Thanks,
    Krishna

    Hi,
    thick client (rich client) has/stores all the data inside itself
    so it can do application processing without the server with data
    thin client uses resources from host computer (from server)
    and wihtout that you are not able to work with that kind of client
    does that answer your question ?
    Regards,
    michal

  • Diff between Seeburger Adapter and File Adapter

    Hi All,
             My company needs to interact with some banks and the banks are particular that they want SFTP, which is not supported by  File Adapter, so we have decided to go with Seeburger adapter.
    Now what are the differences between File adapter and seeburger adapter?
    I believe that Seeburger adapter does not support File Content Conversion, Archiving etc.
    Could you all pls put some light on the diff between file adapter and seeburger adapter when it comes to dealing with files?
    Xier

    Hi
    You are aware with working of File Adapter.
    The most direct way of using the Seeburger adaptors is to configure the BIC as a module. There is a software component from seeburger called bicmapper which will allow you to
    1. Define or import the inbound message metadefinition in various formats ( edifact, xml,...)
    2. Using a mapping create an xml variant as the output metadefinition or edifact in the other direction.
    3. Create a one to one mapping between input en output.
    4. Export the metadata in xsd or sda format for import in XI
    5. Generate an SDA which can be deployed in XI and used as a module.
    Have a look here,
    http://www.seeburger.com/fileadmin/com/pdf/SAP_Exchange_Infrastructure_Integratio_Strategy.pdf
    Some Seeburger related information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e2aeb02c-0601-0010-d680-c9be61ffa390
    Go through this threads:
    http://www.seeburger.com/fileadmin/com/pdf/SAP_Exchange_Infrastructure_Integratio_Strategy.pdf
    Need Material on Seeburger Adapters.
    Seeburger Adapter
    Installing seeburger adapter
    http://www.seeburger.com/xi-adapters/
    Thanks

  • Diff. between Tax Code and Condition Types

    Hi,
    What is the diff. between Tax Code and Condition Type???
    Why we maintain Tax Codes under Invoice Tab in PO, when Condition Types are available for Calculation Procedure...???
    Please guide..

    hi..
    Tax code : Tax code in some what more specific for calculating the tax...some material is having 2% tax..some having 3 % tax..etc..and these are input tax...so..these tax code will be of type input tax..
    now..based on the nature of tax type amount will be calculated....
    suppose tax code is calculation of 2 condtion type so ..we can do it in tax code conditon record fv11 also..
    so..tax code can be a combination of cond type...
    where as through cond type also we can also achieve this..by using one statistical cond type...
    Cond Type :  cond type is for the daily pricing configuration..how system will calculate the price for a centain material we can make define the rules here...
    Try this out..
    Thans

Maybe you are looking for

  • Can I use Flash with Flash catalyst?

    I was wondering, since Flash Catalyst apparently only uses "rudimentary animation", can I use Flash Professional with Flash catalyst? I would like to do more complex animations, and I was wondering if there was a way to import those animations into F

  • Responsablity Is not showing On Frontpage

    Hi experts, We are using R12.0.6 EBS in Win server 2003. we add one responsablity for the particular user,it added. But when we login as a user, its not showing the added responsablity.when we restart the server its showing. but every time we cant do

  • [Solved] Problems compiling a kernel on Archlinux

    Hi all, some days ago I wanted to compile a kernel on my system, and everything was fine but I have a simple problem. Compile the kernel in the traditional manner, but no logo create the ramdisk image. https://wiki.archlinux.org/index.php/Ke - raditi

  • How can i flip a certain bit in a bit stream?

    i have made a hamming encoder and decoder and i want to evaluate the whole performance of the system so i want to to flip a certain bit (representing the effect of noise ) so the the decoder detecte this error and correct it , i tried to use a subarr

  • EP Proof of Concept (POC)

    Aside from SAP Best Practices Baseline Package US V1.470, without having a sap r/3 backend, or non-sap backend (j2ee, etc.) what are our options in building a EP/SR2 proof-of-concept to show EP's functionality for a business case? Thanks. James