Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 1.


REPORT ztest.

PARAMETERS: p_ebeln TYPE ekpo-ebeln.

TYPES: BEGIN OF x_ekpo,
END OF x_ekpo.

DATA: it_ekpo TYPE STANDARD TABLE OF x_ekpo,
wa_ekpo TYPE x_ekpo,
it_return TYPE STANDARD TABLE OF ddshretval,
wa_return LIKE LINE OF it_return.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ebeln.

SELECT * UP TO 2 ROWS
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE it_ekpo.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'EBELN'
window_title = 'EKPO Records'
value_org = 'S'
TABLES
value_tab = it_ekpo
return_tab = it_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.

READ TABLE it_return INTO wa_return INDEX 1.
    p_ebeln = wa_return-fieldval.


OUTPUT:




ALSO READ:

- ABAP EVENTS During Runtime Of A Report Program.

- INITIALIZATION Event - Introduction With A Sample Code.

- AT SELECTION-SCREEN Event - Introduction With A Sample Code.

- AT SELECTION-SCREEN OUTPUT Event - Introduction With A Sample Code.

- AT SELECTION-SCREEN ON VALUE REQUEST- Introduction With A Sample Code.

- AT SELECTION-SCREEN ON HELP REQUEST- Introduction With A Sample Code.

- AT SELECTION-SCREEN ON - Introduction With A Sample Code.


- Sample Program On AT SELECTION-SCREEN OUTPUT - 1.

- Sample Program On AT SELECTION-SCREEN OUTPUT - 2.

- Sample Program On AT SELECTION-SCREEN OUTPUT - 3.

- Sample Program On AT SELECTION-SCREEN OUTPUT - 4.

- Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 1.

- Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 2.

- Sample Program On AT SELECTION-SCREEN ON HELP REQUEST FOR field- 1.


Your suggestions and comments are welcome in this section.

Please mail all your contributions to administrator@abapmadeeasy.com We request you to mention your Name, Designation, Experience & Organization you are working for. Your posts will be verified and posted in this site with your name.