‎2007 Jul 05 11:06 AM
what are events for Internal Table?
what are Events for interactive Report?
what are Events for Classical report?
What is class and methods?
Difference Between Joins and Views? Are they Same? Or NOt? If not Explain.
‎2007 Jul 05 11:29 AM
Hi Jagrut,
2.Events for Interactive Report:
1. AT LINE SELECTION,
2. AT USER COMMAND.
3.EVENTS FOR CLASSICAL REPORT:
1.INTILIZATION,
2. AT SELECTION SCREEN,
3.AT SELECTION-SCREEN ON<FIELD>,
4.START OF SELECTION,
5. TOP OF PAGE,
6. END OF PAGE,
7. END OF SELECTION.
4.CLASS:
Class is collection of objec, class does not contain memory and class contain methods.
5. METHOD:
Function is declared inside the class is called method.
6.Joins and Views is differ, both of them are used for show more than one table, if we use join we could not able to use any storage location, but if we use view we should use storage location
IF USEFULL REWARD
‎2007 Jul 05 11:17 AM
Events for Internal Table
AT for group change
Change of group when processing loops of extracts and internal tables.
Syntax
AT NEW <f>.
AT END OF <f>.
AT FIRST.
AT LAST.
AT <fg>.
Events for Interactive reporting
AT SELECTION-SCREEN...
AT LINE-SELECTION.
AT USER-COMMAND.
AT PFn.
END-OF-PAGE.
END-OF-SELECTION.
START-OF-SELECTION.
Classes and Methods.
Classes in ABAP Objects can be declared either globally or locally. You define global classes and interfaces in the Class Builder (Transaction SE24) in the ABAP Workbench
CLASS <class> DEFINITION.
...
ENDCLASS.
CLASS <class> IMPLEMENTATION.
...
ENDCLASS.
Methods
Methods are internal procedures in a class that define the behavior of an object. They can access all of the attributes of a class. This allows them to change the data content of an object. They also have a parameter interface, with which users can supply them with values when calling them, and receive values back from them The private attributes of a class can only be changed by methods in the same class.
The definition and parameter interface of a method is similar to that of function modules. You define a method <met> in the definition part of a class and implement it in the implementation part using the following processing block:
METHOD <meth>.
...
ENDMETHOD.
Joins& Views:
Joins are used to select data from two or more tables. We use joins when we develop a report.
Views are used at the dictionary level to have a view of different data from multiple tables.
Regards,
Pavan P.
‎2007 Jul 05 11:29 AM
Hi Jagrut,
2.Events for Interactive Report:
1. AT LINE SELECTION,
2. AT USER COMMAND.
3.EVENTS FOR CLASSICAL REPORT:
1.INTILIZATION,
2. AT SELECTION SCREEN,
3.AT SELECTION-SCREEN ON<FIELD>,
4.START OF SELECTION,
5. TOP OF PAGE,
6. END OF PAGE,
7. END OF SELECTION.
4.CLASS:
Class is collection of objec, class does not contain memory and class contain methods.
5. METHOD:
Function is declared inside the class is called method.
6.Joins and Views is differ, both of them are used for show more than one table, if we use join we could not able to use any storage location, but if we use view we should use storage location
IF USEFULL REWARD
‎2007 Jul 06 5:22 AM