Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between select options and parameters

Answer Posted / jagadish

parameter : 1) parameter is a key word which is used to accept the single value at run time.
2).without input value we cannot execute the parameters.
3).name of the parameter should not exceed 8 characters.
syntax: Parameters : p_a type I.
to pass the default values to the parameter
parameters : p_a type I default value 10.

to make the parameter value as mandatory we have to use the obligatory keyword.
parameters : p_a type I obligatory.
NOTE: we cannot write floating type values under parameter.

DATA : A type I,
B type I,
C type I.
parameters :P_ A type I DEFAULT 100, * obligatory
P_B type I DEFAULT 200.*obligatory

A=P_A.
B=P_B.
C=A+B.
write C.

Select-option : select option is a keyword which is used to accept single value,multiple single values,ranges,multiple ranges at run time
syntax: DATA : L_VBELN TYPE VBELN_VA.
select-options: S_VBELN for L_VBELN.
whenever we create a select option sysytem will create a internal table with header line with 4 fields.it will used to select and deselect the ranges.
LOW,SIGN,HIGH,OPTION.
name of the select option doesnt increse 8 characters.

NOTE : with out input value we can select options and it will fetch the entire data of the table..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of subroutines? : abap data dictionary

1007


How do you process errors in session method ? : abap bdc

1135


What is the use of dequeue function module? : sap abap data dictionary

1147


Explain the advantages of logical databases?

1050


What is sap abap tables?

1082


what is abstract classes

1332


How we can retrieve data using secondary index. Explain with simple example?

1169


any 1 having notes on SAP-ABAP certification, or even if any 1 could provide the url for getting notes on SAP-ABAP certification, would be appreciated.

2385


why particularly lock object name starts with EZ OR EY?

2011


What will happen when we use single buffered selected?

1043


what is a text table ?

2335


How do you get the number of lines in an internal table? How to use a specific number occurs statement?

957


How can we access the correction and transport system? : abap data dictionary

1055


1 . how do u design technical documentation in abap ? 2 . what u currently devloped in sap abap ?

3061


What is its? : abap hr

1051