Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem With POV

Former Member
0 Kudos
128

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

3 REPLIES 3

former_member536879
Active Contributor
0 Kudos
89

Hi,

Check whether you are getting data in the internal table which are displaying.

With Regards,

Sumodh.P

0 Kudos
89

Hi Sumodh ,

I am getting data in internal table. no . of records are 65310 and they are distinct.

0 Kudos
89

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