Skip to Content
author's profile photo Former Member
Former Member

SAP Short Dumps when generating BSP page

While generating my BSP page a short dump occurs saying that there is too much code basically. (more then 10,000 ABAP statments). This happens on my LAYOUT section of the screen and the weird thing is that I only have 2145 lines of code.

A little background is that we are displaying a tab strip with 8 tabs and many fields on each tab. The user has a few more rules for displaying data but I'm finding that I can't add anymore code. Has anyone found a way around this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 22, 2004 at 09:47 PM

    One great way around this is to use MVC. By breaking up a large page (like this) into smaller Views and Controllers (each with their own individual classes), not only do you get around this problem; it also makes things easier to maintain. All the code in your page (layout, and event handlers) all get generated into one ABAP Class. Also are you using includes for your tabs. I think page includes might get compiled inline as well.

    I have maintained systems as both MVC and Large pages with includes. It is way easier in the long run to go with the MVC. I personally alwasy break all my inner tabs on a tab strip up into different Views/Controllers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2004 at 09:46 PM

    It's not just your layout but the Event Handlers as well.

    One way you can try is with page fragments or turning your app into one using the MVC.

    I have a similiar app but I've never come close to the limit, I've inserted a few items by means of Methods to output data, BSP Elements (custom made) and page fragements but I will be changing things and using the MVC sooner or later (when I find the time)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.