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 use of event AT SELECTION-SCREEN ON FIELD?

Answer Posted / ash

We can give F4 help to selection field or restrict the F4
help for specific values.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_vaplz-low.

SELECT werks arbpl ktext INTO TABLE it_vaplz FROM m_crama
CLIENT SPECIFIED
WHERE mandt = sy-
mandt
AND werks
= '4000'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = c_vaplz
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = c_so_vaplz_low
value_org = 'S'
TABLES
value_tab = it_vaplz
* FIELD_TAB =
* RETURN_TAB =
* DYNPFLD_MAPPING =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV


Note --Validation is not possible with AT SELECTION-SCREEN
ON FIELD, Because it comes before entering the value in
selection screen.
AT SELECTION-SCREEN event comes in picture after entering
value in selection screen, so validation is possible only
here.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an internal table?

1191


Does the table can have multiple foreign keys?

1045


What are the difference between pool tables and transparent tables?

1138


It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization

1279


What are the check tables and value tables?

1171


What are the uses of interactive reporting?

1091


What are aggregated objects

990


What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary

973


How to create a link between modified form and modified print program?

1000


What is an abap data dictionary? : abap data dictionary

1050


Which objects are independent transport objects?

1296


Can i Have Some Realtime Examples on Badi ?

8798


What are the disadvantages of using explicit enhancement?

2040


What are the function modules used in a sap script driver program?

1156


Define database layer?

1044