2010 Dec 06 7:59 AM
Hi,
when i am applying f4 search help I am getting error like SAP paging Overflow When Storing Data in ABAP /4 Memory.
here is code..
TOP.
PROGRAM SAPMZTEST1.
TABLES : MSEG.
CONTROLS : TBC1 TYPE TABLEVIEW USING SCREEN '0100'.
TYPES :
BEGIN OF TY_TEMP,
MBLNR TYPE MBLNR,
END OF TY_TEMP.
DATA :
IT_TEMP TYPE TABLE OF TY_TEMP WITH HEADER LINE.
DATA : P_MBLNR TYPE MBLNR.
"FLOW LOGIC.
PROCESS BEFORE OUTPUT.
LOOP WITH CONTROL TBC1.
MODULE PROCESS_DATA.
ENDLOOP.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP WITH CONTROL TBC1.
MODULE MODIFY_DATA.
ENDLOOP.
PROCESS ON VALUE-REQUEST.
FIELD P_MBLNR MODULE GET_VALUE.
IN PAI.
MODULE GET_VALUE INPUT.
CLEAR :IT_TEMP[] , IT_TEMP.
SELECT MBLNR FROM MSEG INTO TABLE IT_TEMP.
SORT IT_TEMP BY MBLNR.
DELETE ADJACENT DUPLICATES FROM IT_TEMP.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'MBLNR'
PVA
2010 Dec 06 9:08 AM
Hi,
Check whether you are getting data in the internal table which are displaying.
With Regards,
Sumodh.P
2010 Dec 06 9:19 AM
Hi Sumodh ,
I am getting data in internal table. no . of records are 65310 and they are distinct.
2010 Dec 06 9:29 AM
Hi,
In the Function module you need to pass the below mentioned values,
in the Exporting fields,
retfield = Which field needs to be selected.
value_org = 'S'.
display = 'X'.
and in tables you need to give
value_tab = internal table
return _tab = here you get the selected field.
With Regards,
Sumodh.P