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

Rp_provide_from_last contains how many parameters ? : abap hr

1555


How do you populate data into a multiple line field?

1106


how 2 create the normal form by using functional module

2649


What is the maximum number of structures that can be included in a table or structure

1115


What is an interactive report?

1185


Difference between Insert, Update and Modify?

1217


How did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr

1079


What are the two ways for restricting the value range for a domain? : abap data dictionary

1035


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

2464


Does the call transaction method allow multiple transactions to be processed by sap?

1053


What is primary index?

1070


What is full form of bdc session? : abap bdc

1231


I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.

2369


What are the steps to execute session method?

1116


What is alv programming in abap?

1205