Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

basics please

Former Member
0 Likes
393

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
373

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

3 REPLIES 3
Read only

Former Member
0 Likes
373

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.

Read only

Former Member
0 Likes
374

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

Read only

Former Member
0 Likes
373

sdfs