cancel
Showing results for 
Search instead for 
Did you mean: 

Result page hangs

Former Member
0 Kudos

Dear all,

I have a BSP application that displays results based on the following 2 selection criteria :

1)Date (Range) & 2) Plant (Single value).

When I execute the above application for a date range of 15 days(1st - 15 th of a month),the results are displayed immediately.There are approx. 900 records for display.

When the same application is executed for a period of 20 days or more,the result page hangs.There are approx.1200 records for display in this case.

Please suggest .

Thanks,

Pravat.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear all,

I found that in the Layout while looping at internal table,lot of html coding was being done.I have simplified my html coding.

After that I am getting the required display for the selection criteria but when executing it for huge number of records(approx.10,000 records for display),I am getting the following error :

HTTP_OUT_OF_MEMORY & termination type 'RABAX_STATE'.

I checked ST22 also and got the following :-

"The termination occurred in the ABAP program "CL_HTTP_ENTITY================CP"

in "IF_HTTP_ENTITY~APPEND_CDATA2".

The main program was "SAPMHTTP ".

Do I need to change any of my icm parameters ?

Please help.

Thanks,

Pravat.

former_member181879
Active Contributor
0 Kudos

>Do I need to change any of my icm parameters ?

Probably there might be a parameter that controls memory buffers. Look in the documentation for keywords "icm" and "buffer" or "pipe" or "memory". I do not have access to any system at the moment.

However, I would seriously consider to change the program. Do you really want to render out 10K records? Does somebody want to read tem all? What not render out only the first 10-100, with a pager. You could use the <htmlb:tableView> for this. See <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>.

Former Member
0 Kudos

I would agree with Brian...

The tableView using a Iterator would work out a lot better for so many records. I have on BSP that renders out about 6000 records and straight coding with HTML was a resource hog and very slow. Changed it to the tableView with an Iterator and it not only looked better but rendered faster.

<a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>

former_member181879
Active Contributor
0 Kudos

> Please suggest

Personally, I would spend a few creative hours with the debugger to see where the program keeps running around. You can later tell us what you found.

++bcm

Former Member
0 Kudos

Dear Brain & Craig,

Thanks a lot.Using htmlb tableview iterator has worked wonders for my application.

The performance has improved tremendously.

Thanks,

Pravat .

Former Member
0 Kudos

Please be sure to mark your question as solved in order for others to find "solutions" quicker during searches!!