Google Search - Blog...........

ABAP - F4 (Value On Request) For Month On Selection Screen.

report ztest.
tables: t247 , DFIES.

parameters:p_month LIKE T247-MNR.

data: begin of itab occurs 0,
mnr like t247-mnr,
ktx like t247-ktx,
end of itab .

DATA : LT_FIELDS TYPE TABLE OF DFIES,
LS_FIELD TYPE DFIES.

at selection-screen on value-request for p_month.

select MNR
KTX
from t247 into corresponding fields of table itab
where spras = 'EN'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'P_MONTH'
DYNPPROG = sy-cprog
DYNPNR = sy-dynnr
DYNPROFIELD = 'MNR'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = itab
FIELD_TAB = LT_FIELDS .


ALSO READ:

- F4 (Value On Request) For Month On Selection Screen.

- ListBox From User Values In Selection Screen.

- F4 Help (Value On Request) For Month And Year.

- Printing The Selection Screen Data On The Report Program.

- Changing Selection Screen Design Through Tcode SE51.

No comments:

Post a Comment