11-21-2008 5:25 AM
HI,
I am writing the value request help for a field which is in the selection screen using the Function 'F4IF_INT_TABLE_VALUE_REQUEST'.
I am able to populate the Values in the help screen.
The problem is that the number of output values is limited to 5000 whereas the total number of entries is >5000.
Thus the entries beyond 5000 are not shown.
How do I fetch the entries beyond 5000 ?
Some change in the program can be done or is there another function module to be used.
Regards,
Amit
11-21-2008 5:26 AM
Hi
The maximum you can see is 5000 I suppose, beyond 5000 entries I dont think it is possible.
Regards,
Vishwa.
11-21-2008 5:38 AM
hi
please Check the following Code
TABLES : MARD.
DATA: BEGIN OF IT_MARD OCCURS 0,
WERKS LIKE MARD-WERKS,
END OF IT_MARD.
DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.
parameters : P_WERKS LIKE MARD-WERKS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WERKS.
SELECT WERKS FROM MARD UP TO 10 ROWS INTO table IT_MARD.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'WERKS'
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'P_WERKS'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_MARD
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
hope this helps
regards
Aakash Banga
11-21-2008 5:41 AM
Hi Amit,
Please check the number of hits after you get the pop up of F4 help, i think it is set to 5000 hits only.
just remove the 5000 and leave it blank.
or take the help of basis people.
regards
Ramchander Rao.K