Skip to Content
0
Former Member
Aug 04, 2014 at 07:32 AM

F4 display upon value request - values to be selected

14 Views

Hello experts,

I have an issue here. When the function module F4IF_INT_TABLE_VALUE_REQUEST is used in my program for displaying the PSTYV field values on the selection screen upon value request. Now, when the popup opens there are 53 number of item categories, i.e., from VBRP table. If any one of them is selected and double clicked, they should be selected as per the conventional idea, but nothing is being selected after double clicking. How to achieve this ? The following is my code.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR SO_PSTYV-LOW.

SELECT DISTINCT PSTYV
FROM VBRP
INTO TABLE GT_PSTYV.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'PSTYV'
VALUE_ORG = 'S'
tables
value_tab = GT_PSTYV
RETURN_TAB = GT_RETURN
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-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Thanks and regards,

Ambareesh J.