Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About
8 Sep 2011

SAP: ALV grid Field Catalog [ref_table] SAPLSKBH & [source code of program " "] error

I’ve came across a strange error that occurred while building an SAP ALV grid.  After calling the create_dynamic_table method of the CL_ALV_TABLE_CREATE object the program throws a hard error complaining about a blank program call in SAPLSKBH .

After spending some time debugging I’ve identified that based on custom reference table parameters the  source 4.6C SAP code attempts to generate a dynamic program using a GENERATE REPORT prog call.  When the attempt fails instead of returning a corresponding error message the algorithm throws an error about a blank program pointer that failed to be created.

Here’s the problematic code – while debugging examining the l_message parameter will identify the true cause of the failure.

  catch system-exceptions generate_subpool_dir_full = 9.
    generate subroutine pool lt_source name l_name
             message l_message line l_line word l_word.
  endcatch.
  case sy-subrc.
    when 0.
    when 9.
      raise generate_subpool_dir_full.
    when others.
      message x000(0k) with l_message l_line l_word.
  endcase.

This entry was posted on Thursday, September 8th, 2011 at 9:08 am and is filed under SAP/ABAP. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

« SAP: EDI: Conversion of External Tax Rate
SAP: IDES ECC6 [EHP5] – disable devaccess check »
  • Subscribe using FeedBurner
  • Cloud Data

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex function images interesting lesson new paypal Photography php problem problems program programmer programming review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).