![]() ![]() The example simply displays or hides the field Puname based on which radio button the user. See code below or just copy it into an new ABAP program and execute it to see how it works. We receive the message but still the selection-screen appears enabling the user to provide a correct value. In-order for the Radiobutton selection process to initiate the 'AT selection-screen' event you need to add the 'USER-COMMAND' option to the parameter declaration. In the validation change the message type and put the statement ‘Leave list-processing’. The selection screen is normally generated from the SELECT-OPTIONS and PARAMETERS statements in. AT SELECTION-SCREEN ON VALUE REQUEST FOR: At Selection screen on value request for event is triggered when the user press F4 button. SELECTION-SCREEN is a keyword used in SAP ABAP programming. ![]() Well the raised error disappears the selection-screen. What is Clear, Refresh and Free statements of SAP ABAP Clear: Clear statement is used to clear the variable, work area and inter table with header line. Crate the below report and have an error message. In such a situation Leave List-Processing can be used. As soon as the error message is raised then the selection screen disappears. ![]() Then the user perspective the selection-screen should appear again where he can specify the correct value but this is not the case. Suppose a user provides any value in the selection-screen parameter and once press F8, then in the START-OF-SELECTION event let’s we validate the value and raise an error message if it is not a valid one. Let’s take one case where it can be sued. ![]() This statement can be used in various purposes. LEAVE LIST-PROCESSING: This statement immediately exits the list processor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |