Skip to Content

PROVIDE or GET... which is faster?

Hi all,

Which syntax is faster to get employee data in terms of PROVIDE and GET?

PROVIDE or GET... which is faster?

Thanks

William Wilstroth

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 09:00 AM

    Hi..

    GET is faster

    GET:

    Use GET to handle two types of events after submitting executable programs: Get events and events at the end of a hierarchy level of a logical database. If during a GET event a list is written, previously an automatic line feed is created.

    Provide....

    The statements PROVIDE and ENDPROVIDE define a loop through a statement block. In this loop, any number of internal tables itab1 itab2 ... are processed together. A single table can appear several times. For every table itab you must specify a FIELDS clause. After FIELDS you must specify the character * for all components or a list comp1 comp2 ... for specific components of the relevant table. The names of the components comp1 comp2 ... can only be specified directly.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 10:09 AM

    GET loads up all the infotypes for a person with each loop pass & PROIVDE is used to loop at the infotype itab, inside the GET event..

    You shouldn't be comparing GET & PROVIDE..

    ~Suresh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 12:26 PM

    hi ,

    The purpose of using GET is totally different from the use of provide statements .

    Get fills all internal tables of declared infotypes with relevant master data and

    provide statements are used to process those internal tables within a GET and END-OF-SELECTION loop.

    Regards

    vinay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 11:54 PM

    Thanks all, now i understood the nature of GET and PROVIDE syntax.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.