We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-dev] Runtime Error While Trying to Retrieve Data from Data Dictionary in F4

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from TerryB on Apr 24 at 11:18 AM
This error is typically encountered when your program is trying to read MASSIVE amounts of data from the database. If all you are doing is populating a list for a selection dropdown then there is probably some problem with the way you are retrieving the data from the database, or, if it's a custom search help, it may be pointed to a table with way too many records to display in the dropdown.
Cheers,
Terry

---------------Original Message---------------
From: ramya
Sent: Tuesday, April 24, 2012 8:22 AM
Subject: Runtime Error While Trying to Retrieve Data from Data Dictionary in F4

I try to retrieve data from data dictionary but run time error appears
(The current program requested storage space from the SAP paging area,
but this request could not be fulfilled.
of this area in the SAP system profile.)
this is code
Data:progname TYPE sy-repid,
dynnum TYPE sy-dynnr.

TYPES: BEGIN of branch_line ,
BRNCH TYPE BNKA-BRNCH,
END OF branch_line.

TYPES: BEGIN of Wage_line ,
LGART TYPE T512T-LGART,
END OF wage_line.


DATA branch_list TYPE STANDARD TABLE OF branch_line WITH HEADER LINE.
DATA Wage_list TYPE STANDARD TABLE OF Wage_line .


****
* CALLING SCREEN.
*****

CALL SCREEN 100.
*&---------*
*& Module STATUS_0100 OUTPUT
*&---------*
* text
*-----------*

MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
* SET TITLEBAR 'xxx'.
progname = sy-repid.
dynnum = sy-dynnr.

CLEAR AMOT_WRD.

ENDMODULE. " STATUS_0100 OUTPUT




*&--------*
*& Module USER_COMMAND_0100 INPUT
*&---------*
* text
*-----------*
MODULE USER_COMMAND_0100 INPUT.
CASE sy-ucomm.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'RADIO'.
IF RADIO_1 = 'X'.

SAR_TOTAL = 'ka'.

ELSEIF RADIO_2 = 'X'.

SAR_TOTAL = 'kb'.

ELSEIF RADIO_3 = 'X'.

SAR_TOTAL = 'kc'.

ELSEIF RADIO_4 = 'X'.

SAR_TOTAL = 'kd'.

ENDIF.

ENDCASE.


TRANS_AMOT = AMOT_WRD.
SAR_TOTAL = BRNCH .

ENDMODULE. " USER_COMMAND_0100 INPUT
*&---------*
*& Module CREATE_DROPDOWN_BOX1 INPUT
*&----------*
* text
*

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
TerryB  
Senior SAP Developer
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language