Difference between collect and move stmts

hi
anyone plz explain...
1. Difference between collect and move stmts
2. Badi and user exit.
gowri

Hi,
1.COLLECT:COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab .
If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields.
If, besides its default key fields, the internal table contains number fields,the contents of these number fields are added together if the internal table already contains an entry with the same key fields.
If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line.
If you specify wa INTO , the entry to be processed is taken from the explicitly specified work area wa . If not, it comes from the header line of the internal table itab .
After COLLECT , the system field SY-TABIX contains the index of the - existing or new - table entry with default key fields which match those of the entry to be processed.
COLLECT can create unique or compressed datasets and should be used precisely for this purpose. If uniqueness or compression are unimportant, or two values with identical default key field values could not possibly occur in your particular task, you should use APPEND instead. However, for a unique or compressed dataset which is also efficient, COLLECT is the statement to use.
If you process a table with COLLECT , you should also use COLLECT to fill it. Only by doing this can you guarantee that the internal table will actually be unique or compressed, as described above and COLLECT will run very efficiently.
If you use COLLECT with an explicitly specified work area, it must be compatible with the line type of the internal table.
In 'move' the actually data copies into another data field
2.
Difference between BADI and USER-EXIT.
i) BADI's can be used any number of times, where as USER-EXITS can be used only one time.
Ex:- if your assigning a USER-EXIT to a project in (CMOD), then you can not assign the same to other project.
ii) BADI's are oops based.
A. BAdI Definition
1. SE18
2. Enter the name for the BAdI to be created in customer namespace and press "Create".
3. Enter a definition for your BAdI and on the interface tab enter a name for the BAdI interface. SAP proposes a name and it is pretty good. Meanwhile a BAdI class is also created which is not in our concern.
e.g for "ZTEST", SAP proposes "ZIF_EX_TEST" for the interface and "ZCL_EX_TEST" for the class.
4. Save your BAdI.
5. Double-click on the interface name. It will pass to a Class Builder session to make you implement your interface. If you are not familiar to the Class Builder; it's a bit like Function Builder and it will be easy to discover its procedure.
6. Save and activate your interface.
B. Calling your BAdI from an application program
1. Declare a reference variable with reference to the Business Add-In interface.
e.g. DATA exit_ref TYPE REF TO zif_ex_test.
2. Call the static method GET_INSTANCE of the service class CL_EXITHANDLER. This returns an instance of the required object.
e.g.
CALL METHOD CL_EXITHANDLER=>GET_INSTANCE
CHANGING instance = exit_ref .
3. After those two steps, you can now call all of the methods of the BAdI where it is required in your program. Make sure you specify the method interfaces correctly.
C. BAdI Implementations
1. SE19
2. Enter the name for the BAdI implementation to be created in customer namespace and press "Create".
3. It will request the BAdI definition name to which this implementation will be tied.
4. Enter a definition for your implementation and on the interface tab enter a name for the implementing class. Again SAP proposes a name and it is pretty good.
e.g for "ZIMPTEST", SAP proposes "ZCL_IM_IMPTEST".
5. Save your implementation.
6. To implement a method, just double-click on the method name and you will be taken to the Class Builder to write the code for it. Here you redefine the BAdI interface methods.
7. You must activate your implementation to make it executable. You can only activate or deactivate an implementation in its original system without modification. The activation or deactivation must be transported into subsequent systems
Regards

Similar Messages

  • Difference between .qt and .mov

    Hi all
    Please tell me what is the difference between .qt and .mov formats and when and where they are used. Also if there are any more formats related to Quick Time please brief or any links to any reference sections...
    thanks

    No difference except the file extension. The .mov extension should be used as .qt is very old and may not be understood by Web servers.
    http://www.apple.com/quicktime/player/specs.html

  • What is the difference between avi and mov

    Hi FCP users,
    I am actually an audio guy, but I would like an answer on something.
    I work with Logic, and usually use quicktime movies when I am working to movies. But I am working with a client who is an Avid user and swears by avi files. Can someone explain to me the difference. My client explained to me that avi's are better than mov files. He claims their file sizes are bigger, so therefore there quality is better. He said there is some form of compression on quicktime movies which lessen the quality to avi, even if the mov is uncompressed apparently the quality is still less than an uncompressed avi. If this is not true, could someone give me the real big difference between the two.
    I thought is was more of a preference, like windows users prefer wav, and apple users like quicktime movies. Like with audio, there isnt a huge difference between aif and wav. Windows users prefer wav and apple users aif.
    Thanks in advance for any information.

    gazo wrote:
    The vid guy has sent me some files to work with. So I am working in Final Cut to edit some of the video, and then sending it back to him. He is working on PC with Avid. What is the best. Should I convert the avi files he has sent to me to mov files. Then pull these into FCP, and then export it out as avi for him. Or should I export out as mov, and then he converts them to avi when he pulls it into Avid on his PC? Very confusing which is the best procedure between Mac and PC.
    Thanks in advance for any help.
    This is a disaster in the making. You can avoid being part of the train wreck by either renting an Avid, going to live at his house, or telling him to get a Macintosh.
    You must find the lowest common denominator video format that will work on both of your systems. That could be conventional DV, dunno, never used Avid and never tried to edit anything on a PC. But I can tell you this with absolute certainty, it will be easier and, in the end, much less expensive for one of you to adopt the other's platform for the duration of this project. The time you waste transcoding, arguing, formatting your drives, buying secondary products, fitting round pegs into square holes, and trying to find a workable solution (that will keep changing as the project gets more complicated) will cost you much more in terms of money out of pocket and creative frustration than simply buying/renting another station.
    bogiesan

  • Quick question: what is the difference between graphic and movie clips?

    What is the difference between the two symbols: graphic and movie clips? They both contain frames..?

    movie clips can have
    instance names : so they can be controlled via actionscript
    filters applied : drop shadow, glow, blur, color adjust etc
    blend modes applied : difference, screen, lighten, darken, etc.
    3d transformations
    graphics:
    none of the above
    the only real practical reason to use a graphic is the reason jdehaan stated. a graphics internal animation can be scrubbed via the main timeline. graphics will only advance when the main timeline advances. when the main timeline stops.. graphics stops.
    movieclips on the otherhand are said to run independent of the main timeline. so you can have a MAIN timeline with one frame only and the movieclip's interior animation will run constantly.
    also via the properties panel you can tell a graphic to stay stuck on a certain frame or loop a set number of times.
    always use movieclips unless you have a reason not too. as kglad said it will save you and others a lot of hurt in the future.

  • What's the difference between "Collections" and "Bookmarks"?

    When I open Safari > Bookmarks > Open all bookmarks I get a panel on the left which has two "main headings": Collections and Bookmarks. Under the heading Collections there are 4 entries: History, Bookmarks Bar, Bookmarks Menu, and All RSS Feeds. Each of these lists the relevant content in the right panel.
    I don't understand why the content listed under "Collections/Bookmarks Menu" is different from the content listed under "Bookmarks". I'd appreciated to be enlightened as to the (conceptual) difference between these two. Thanks in advance. Cheers, Veit

    Thank you for this referral:
    Episode 802 https://itunes.apple.com/us/podcast/macmost-now-802-places-to/id220400371?i=1269 83070&mt=2
    it is nice, but it still doesn't solve my issue:
    My Mac Safari 6.0.2 Bookmars are not all Syncing with iPhone 4S + iPad 3, 4G, 64 GB, all latest iOS Version 6.1.2!
    AppleCare had me Sing Out of iCloud on Mac and iOS, then Sign in with Mac First, then iOS. Except, while we were singning in with iOS, there was iCloud Outage, just as 10.8.3 Update was released! Murphy's Law:)!
    I am close to my Limits with iCloud Bookmarks:
    iCloud: Limits for Contacts, Calendars, Reminders, and Bookmarks http://j.mp/11RA1P4  
    I got 23,815 Bookmarks = in iCloud, but there are a bunch of Duplicates, and Several Levels of Nested Folders!
    I am Suspecting that Nested Folders don't Sync very well from Mac (OS 10.8.2) into imy OS 6.1.2!!!
    The Reading List is a Mess Too! Among my Qs:
    Is there a Limit for Number of Items in the Reading List?
    Why is Reading List not searchable?
    My ReadingListArchives = 505 MB - in User Library/Safari  = is this Size too big for iOS??????
    Adding YouTube Videos to Reading List slows it down! Reminder to myself: User YouTube's Watch Later List! Too bad that one has Limits too...
    Thank you AGAIN for this referral:
    Episode 802 https://itunes.apple.com/us/podcast/macmost-now-802-places-to/id220400371?i=1269 83070&mt=2
    But the host there is going too fast, and Safari needs to SIMPLIFY that Bookmarks Management!
    There has to be a Duplicates Filtering to Delete Them! I shouldn't have to rely on - Safari Prairiefire http://j.mp/XYIM5i  or http://download.cnet.com/Safari-Prairiefire/3000-2356_4-47499.html?tag=mncol;1
    to Delete Duplicates!
    One should be able to Tag and Rename Bookmarks in easier way, and find them quickly from Spotlight!!!
    I am Holding Off with OS 10.8.3 and Safar 6.0.3 Update, untill this is Solved!
    TIA for any and all Suggestions!

  • Differences between ".m4v" and ".mov"

    iMovie can post straight to mobileme or export a movie as a quicktime file. In the first case iMovie creates a ".m4v" file while exporting a quicktime it creates a ".mov" file. I might be wrong but it seems to me that the ".mov" is bigger than the equivalent ".mov" and I wonder what are the differences. Is the "mov" better than "m4v"?

    I might be wrong but it seems to me that the ".mov" is bigger than the equivalent ".mov" and I wonder what are the differences. Is the "mov" better than "m4v"?
    M4V, MP4, and MOV are simply containers. The same compressed H.264/AAC data can be contained in each.
    M4V - The M4V file container is used exclusively for H.264/AAC content either protected or unprotected. Limited use of other data tracks can also be found in this container such as "Chapter" or "alternate audio" tracks. This container can also be associated with external graphic data as normally seen in iTunes when "Artwork" is added. By default, this container normally opens in iTunes when double-clicked.
    MP4 - The MP4 file is much like the MP4 file container but may additionally hold MPEG4/AAC data as the primary video/audio compression format. It too may contain supplemental data tracks or be associated with external "Artwork" but, by default, opens in the QT player.
    MOV - The MOV file container is a generic file container which may contain up to 99 tracks of any valid audio, video, text, "Chapter", "Tween", ""Timecode", "sprite", etc. form of data. It cannot be associated with external "Artwork" but, like M4V and MP4, can have a designated "poster" frame. Any valid file saved using the "Save As..." File option is automatically placed in the MOV file container by default regardless of its original compression format and file container type.
    While there are "internal" differences, all three containers have the same basic purpose. It is likely these differences which you see when comparing "file size" even when the actual compressed audio and video data is exactly the same within the container.

  • Difference between iMovie and Movies

    What is the differance between the 2

    Also, in iMovie terms, a Movie is a kind of a Project as distinguised from a Trailer.
    In a Trailer you add you clips to a pre-built template with graphic, title and music to simulate a Hollywood-style movie trailer.
    In a Movie you either add your clips to a pre-built Theme with titles and graphics or start with no Theme and build a movie from scratch just you your clips.
    Matt

  • What is difference between Iterator and Collection Wrapper?

    Hi all,
                  I dont understand the actual difference between Iterator and Collection Wrapper. I observed both are used for the same purpose. Could any one please let me know when to use Collection Wrapper and when to use Iterator??
    Thanks,
    Chinnu.

    L_Kiryl is right.
    Collections support global iteration (through collection->get_next( )) and local iteration (through iterator->get_next( )).
    Each collection has a focus object. Initially, the first object has the focus.
    Any global iteration moves the focus, which is published by the event FOCUS_CHANGED of the collection.
    If you want to iterate on the collection without moving the focus (and without triggering timeconsuming follow-up processes) you can use local iteration. To do so, request an iterator object from the collection and use this to iterate.
    And one more advantage of using iterator: it takes care of deleted entities. If you use global iteration then when you reach deleted entity it will be an exception. But there is no exception with iterator in the same situation.

  • Difference between folder and collection in Lightroom

    new to Lightroom  - - in organizing, trouble in figure use and difference between folders (and sub folders) and collections.

    Folders (and subfolders) represent actual, real folders on a hard drive. Collections are created only virtually within LR and can hold images from across multiple folders or even hard drives. An extension of Collections are Smart Collections that can be built using various metadata criteria and self populate based on the metadata criteria.
    So, two very different things, folders are reality, in a physical place, while collections are a LR feature allowing virtual groupings of images chosen by the user.

  • Difference between Mb1b 541 Mov type and ME2O

    Hi,
    I want to know difference between Mb1b 541 Mov type and ME2O.
    Thanks and regards
    Gitesh

    Hi,
    ME20 has 2 options one to directly transfer, that is without delivery.  And, anotehr is with delivery.
    Option 1 will create a material document in ME20 transaction.
    With option 2 it will create a delivery note.   you have issue the material in vl02n if delivery note is created and then material documetn will get generated.
    regards
    alexandro.

  • Difference between 122 and 161 movement type

    Hi,
    Can anyone explain me the difference between 122 and 161 movement type?
    How will be the finance postings?
    Can these movement types will be used in outbound delivery? If so,what kind of scenarios this can be used?
    Thanks
    Srini

    Hi
    Both are belongs to vendor return
    1. 122 - return to vendor -total  consignment - return total received gr qty
         Migo - return delivery with 122- j1is - credit memo
    2. 161 - here you have to crate the return po. return to vendor for partial qty.
         after po- gr - j1is-credit memo
    Laxman

  • Difference between paste and add to movie

    What's the difference between paste and add to movie?

    So more than one track can exist in the same location. A very confusing (to me) editing process.
    Yes, the MOV file con contain up to 99 tracks of data. For instance, if two or more video tracks coexist over the same time interval, they may be layered, masked and/or blended for various effects such as a framed movie, a movie-in-a-movie, movies with grapic logos, movies with watermarks, etc. In a similar manner, multiple audio tracks can be blended together. (E.g., a narration can be added over background music to a base move that already has its own audio track.)
    Here is an a example of a "mulitple" track MOV file created from many a background/Xmas card foreground image and many scaled PNG photo images of family members:
    http://idisk.me.com/jrwalker4-Public/ChristmasCard.mov
    NOTE: Plays in QT 7 Player app or a browser but not the QT X Player.

  • What is the difference between 651 and 653 movement types

    Hi
    What is the difference between 651 and 653 movement types
    Points will be rewarded
    Regards
    Suddu

    Hi,
    Whenever goods movment happens following things are going on in the background:
    A material document is generated, which is used as proof of the movement and as a source of information for any other applications involved.
    If the movement is relevant for Financial Accounting, one or more accounting documents are generated.
    The stock quantities of the material are updated.
    The stock values in the material master record are updated, as are the stock and consumption accounts.
    651 - two steps - with a transfer posting using 453
    653 - one steps - direct post to unrestricted used
    *Using movement type 651, you post returns from a customer with a return delivery in Shipping to blocked stock returns.
    Using 653 movement type, you post returns from the customer with returns delivery via Shipping directly to the valuated stock.
    <b>Reward if helpful.</b>
    Thanks

  • Difference between itunes and others like vudu for downloading bought movies

    when buying & downloading movies, what the difference between Itunes and others like VUDU, Netflix, etc

    Vudu and Netflix are streaming services.  Netflix is a subscription service, Vudu is a rental service.
    Itunes sells and rents content that you download to your computer.

  • Which is difference between Pipeline and Consignment..

    Hello  All...
    I need your help... Can you help me to understand the difference between Pipeline and Consignment?
    Many thanks and I appreciate your Help and comments!

    A pipeline material is a material that flows directly into the production process from a pipeline (for example, oil), from a pipe (for example, tap water), or from another similar source (for example, electricity).
    A material from the pipeline is always available; i.e. it can be withdrawn from the pipeline at any time and in any quantity.
    Depending on the system configuration, a material can be withdrawn only from the pipeline or, in addition to the pipeline, normal stocks of the material can also be managed.
    STEPS TO MAINTAIN PIPELINE MATERIAL
    1. You can create a material with PIPE material type or else you can use any material type but that should allow pipeline process.
    2. You should have Inforecord for the material with valid conditions, price will pick only from inforecord.
    3. If requied you can maintains ource list or else you can select during goods issue.
    4. From the Inventory Management menu, choose Goods movement ® Goods issue.
    Maintain the data on the initial screen. Choose Movement type ® Consumption ® To cost center (or To order, To network, All account assignments) ® From pipeline (Movement types : 201 P, 261 P, 281 P, or 291 P)
    5. On the collective entry screen, enter the account assignment. Enter the items.
    You do not have to enter the vendor as this will be found automatically by the system.
    If more than one vendor is possible, a pop-up window appears with a list of pipeline vendors, from which you can select the vendor you require.
    Post the goods movement.
    we can not stock pipeline material. It is readily available. directlly it is avilable at cost center. you need to pay for that consumption

Maybe you are looking for

  • I have 2 apple ID accounts how can I merge

    my original apple account set up by my husband is different from the one he set up for my Iphone so my MAC, Iphone and Ipad do not match , is there a way to merge the accounts?

  • Problem in opening a view on Portal

    Hi, I'm working with SAP BI 7.0 integrated with SRM Portal and I'm facing the following issue: when I launch a report via Portal, in the "Data Analysis" tab there is the button "Save view", that allows me to save a view with specific technical name a

  • Syncing iPad to iTunes is getting stuck and frozen

    I am running into a problem when trying to sync my iPad 1 to iTunes. It backs up of but gets stuck on the last stage, "Waiting for changes to be applied". I had been able to sync fine until loading iOS5. Does anyone have any idea how to clear this up

  • Button To Delete Multiple Buttons?

    Greetings all.  I have a form which has a hidden button to spawn multiple pages based upon the initial page.  With help from MVP George Johnson, he showed me how to create a user prompt to ask how many pages the user needs to spawn.  Since most of th

  • "Valuation" field in requirement class

    Hi Experts, Could you please explain the difference between 1) "Valuation" field in requirement class        and 2) "Consumption" field in account assignment category field (assigned in requirement class) Thanks, GAN Edited by: DSK on Feb 8, 2012 3:2