GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  SAP R/3
Go To First  |  Previous Question  |  Next Question 
 SAP R/3  |  Question 78 of 175    Print  
what is the function of Start-of-Selection?(give me a practical answers)

  
Total Answers and Comments: 2 Last Update: January 23, 2008     Asked by: Avik 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 26, 2007 06:54:53   
gunuputi_kiran Member Since: November 2007   Contribution: 8    

RE: what is the function of Start-of-Selection?(give me a practical answers)

hi fnd
Generally start-of-selection event is used to fetch the data from the database.
If we do not mention any event in ur report the default event that is triggered is START-OF-SELETION event. For example

START-OF-SELECTION.
SELECT VBELN
POSNR
NETPR
FROM VBAP
INTO TABLE ITAB
WHERE VBELN IN S_VBELN.

Regards
Kiran Kumar.G.A

Have a Nice Day..


 
Is this answer useful? Yes | No
January 23, 2008 05:01:35   
infoviewmohan Member Since: January 2008   Contribution: 27    

RE: what is the function of Start-of-Selection?(give me a practical answers)

This event occurs after the selection screen has been processed and before data is read using the logical database. You can use it to prepare for reading data and creating the list by for example setting values for internal fields and writing introductory notes on the output list.

In an executable program any non-declarative statements that occur between the REPORT or PROGRAM statement and the first processing block are also processed in the START-OF-SELECTION block as shown in the below example.

START-OF-SELECTION.

SELECT kunnr
land1
name1
FROM kna1 INTO TABLE ITAB WHERE kunnr IN s_kunnr.


or


In an executable program the corresponding event is processed after the selection screen has been displayed and before data is read using a logical database.


Note


The REPORT statement always executes a START-OF-SELECTION implcitly. Consequently all processing logic between the REPORT statement and the next event keyword is automatically processed in the START-OF-SELECTION event.
Immediately afterwards the system processes the statements that belong to an explicit START-OF-SELECTION block.





 
Is this answer useful? Yes | No

 Related Questions

HiPls Provide Step by Step procedure of creating bdc and also question and answers of interview Regards Mateen
Read Answers (1) | Asked by : Mateen

Latest Answer : LSMW is not a software. It is a transaction code in SAP. You can execute it if you are authorised to do so like any other transaction code in SAP. ...
Read Answers (1) | Asked by : RADHAKRISHNA MURTHY A

Hi all, Kindly let me know the list of responsibilities of a SAP MM consultant?Kindly let me know what are the resposibilities of a SAP MM consultant in the real time Project? And also help me out with the daily routine work for a SAP MM consultant during the project?Please give me some information about the works that has to be done by the MM consultant from the start till to the end in step by step manner?
View Question | Asked by : mujtaba

View Question | Asked by : arvapallikiran

Latest Answer : This event occurs after the selection screen has been processed and before data is read using the logical database. You can use it to prepare for reading data and creating the list by, for example, setting values for internal fields and writing introductory ...
Read Answers (2) | Asked by : Avik

What is the function of the special ledger in SAP? 
Latest Answer : Other than A/R and A/P all are called special ledger nothing but bills of exchange, int receivable,advance to customer. but for all special ledgers we need to maintain reconcialiation A/Cs. ...


 Sponsored Links

 
Related Articles

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

C++ Function Passing Types

C Function Passing Types In this C tutorial you will learn about function passing types two types of arguments passing in functions passed by value  and  passed by reference are discussed here mosgoogle center The arguments passed to a function can be performed in two ways Passed
 

What is DECODE function used for?

DECODE is used to decode a CHAR or VARCHAR2 or NUMBER into any of several different character strings or numbers based on value. That is DECODE does a value-by-value substitution. For every value that is given in the DECODE function it makes an if then check and matches the value. The general format
 

printf() Function Return Value

What is the return value from printf() function? printf function always returns the number of characters printed. Let us understand this with an example: main() { int a=10; printf("%d",printf("%d %d %d", a,a,a)); } In this above program the inner printf i
 

How is the main() function declared?

The declaration of main can be done as int main() One more declaration that can be taken by main is command line arguments form int main(int argc, char *argv[]) or this can also be written as int main(argc, argv) int argc; char *argv[]; NOTE: It is not possible for one to declare the main
 

How does the function call within function get evaluated?

Whenever we have more than one function which is called for a finite number of times then such a function gets evaluated from inside out. Let us understand this concept with an example. For instance consider a function sample called within it 4 times as given in program below: main() { int a=50;
 

What happens when a variable is not initialized in main function?

When a variable is not initialized in main function it contains garbage value. This can be well seen from the example below main() { int x; printf(“%d”,x); z= sample() } sample() { printf(“Testing program”); } Output is   &n
 

What is the default return value of a function?

The default return value from a function is int. In other words, unless explicitly specified the default return value by compiler would be integer value from function.   When a programmer wants other than integer values to be returned from function then it is essential that the pro
 

What happens when a variable is not declared in function definition?

Generally in C program the function definition and calling takes the form as given below: main() { int x,y,z; z=sample(x,y); printf(“%d”,z); } sample(x1,y1) int x1,y1; { int z1; z1= x1 - y1; return(z1); } Here what happens is the values x, y gets passed to x1,y1
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape