Application Development and Automation 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: 
Read only

dump error

Former Member
0 Likes
2,162

Hi SDN's

vat does this statements mean

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.

Regards

Pratyusha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,520

Hi Pratyu Usha,

This error comes along with the dynamic internal table creation. How many times u r creating the dynamic internal table in one internal session?. When u use create_dynamic_table method, it internally creates the subroutine pool.

-SatyaPriya

13 REPLIES 13
Read only

Former Member
0 Likes
1,521

Hi Pratyu Usha,

This error comes along with the dynamic internal table creation. How many times u r creating the dynamic internal table in one internal session?. When u use create_dynamic_table method, it internally creates the subroutine pool.

-SatyaPriya

Read only

0 Likes
1,520

this is my part of code,

please help in resolving this

xfc-fieldname = 'BUKRS'.

xfc-datatype = 'CHAR'.

xfc-inttype = 'C'.

xfc-intlen = 4.

xfc-decimals = 0.

APPEND xfc TO ifc.

xfc-fieldname = 'ZUONR'.

xfc-datatype = 'CHAR'.

xfc-inttype = 'C'.

xfc-intlen = 18.

xfc-decimals = 0.

APPEND xfc TO ifc.

xfc-fieldname = 'KUNNR'.

xfc-datatype = 'CHAR'.

xfc-inttype = 'C'.

xfc-intlen = 10.

xfc-decimals = 0.

APPEND xfc TO ifc.

xfc-fieldname = 'NAME1'.

xfc-datatype = 'CHAR'.

xfc-inttype = 'C'.

xfc-intlen = 35.

xfc-decimals = 0.

APPEND xfc TO ifc.

LOOP AT it_sgtxt_f3.

CONCATENATE it_sgtxt_f3-sgtxt 'Amount' INTO l_str

SEPARATED BY space.

xfc-fieldname = l_str.

xfc-datatype = 'CURR'.

xfc-inttype = 'C'.

xfc-intlen = 13.

xfc-decimals = 2.

APPEND xfc TO ifc.

CLEAR : l_str, xfc, it_sgtxt_f3.

ENDLOOP.

IF NOT ifc[] IS INITIAL.

  • Create dynamic internal table and assign to FS

CALL METHOD cl_alv_table_create=>create_dynamic_table

EXPORTING

it_fieldcatalog = ifc

IMPORTING

ep_table = dy_table.

during calling this method i get that dump.....

but when i run a prog which i copied of Rich's example in one of his blog it does not give dump for me. that prog also calls the same method.

Regards

Pratyusha

Read only

Former Member
0 Likes
1,520

Hi Pratyu Usha,

Can u please post what exactly is coming in ur field catalogue that u r passing to create an internal table. Give one or two lines of this table it_sgtxt_f3. What is there in sgtxt field.

LOOP AT it_sgtxt_f3.

CONCATENATE it_sgtxt_f3-sgtxt 'Amount' INTO l_str

SEPARATED BY space.

xfc-fieldname = l_str.

xfc-datatype = 'CURR'.

xfc-inttype = 'C'.

xfc-intlen = 13.

xfc-decimals = 2.

APPEND xfc TO ifc.

CLEAR : l_str, xfc, it_sgtxt_f3.

ENDLOOP.

-SatyaPriya

Read only

0 Likes
1,520

sgtxt has the charge codes 301 302 303 304 etc... which i needed as columns..

i am able to see the correct format in the IFC table during debug

but gives dump at the std program SAPLSKBH include LSKBHF06 line 269

*>>> Y9CK026407
  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.
*<<< Y9CK026407

  if r_oo_class is initial.
    perform (l_form) in program (l_name). this is line 269
  else.
    perform (l_form) in program (l_name) using r_oo_class.
  endif.
endform.

the variable l_name is being initialised here instead shud be some temp name like this "%_TXYZ"XYZ Soem number.

Regards

Pratyusha

Read only

Former Member
0 Likes
1,520

Hi Pratyu Usha,

No what I mean to say is that, fieldnames of field catalogue should not start with number say like " 301 Amount ", so u better concatenate like this "Amount 301". Check this out in ur field catalogue....

-SatyaPriya

Read only

0 Likes
1,520

its still the same after changing to Amount 301.

but i dont think, that is the problem..coz i see that the field catalog is being filled and i cud notice it during debug.

Its very urgent

Regards

Pratyusha

Read only

Former Member
0 Likes
1,520

And also fieldnames cannot be duplicated in ur field catalogue.

-SatyaPriya

Read only

Former Member
0 Likes
1,520

Hi Pratyu USha,

Remove this <b>SEPARATED BY space.</b> in concatenate statement in ur field catalogue and check.

-SatyaPriya

Read only

Former Member
0 Likes
1,520

Please check that and let me know.

Read only

Former Member
0 Likes
1,520

Hi Pratyu Usha,

Is ur problem solved?. If yes, please close this thread.

-SatyaPriya

Read only

0 Likes
1,520

Thanks Satya

i was passing Type C to currency, that was the problem.. now its solved..

thanks for ur help

Read only

Former Member
0 Likes
1,520

Hi pratyusha,

but when i run a prog which i copied of Rich's example in one of his blog it does not give dump for me. that prog also calls the same method

Can u provide me that blog in which he has solved 36 dump limitaions in 4.7 server?.

regards,

Anuj

Read only

0 Likes
1,520

Hi Anuj,

I am facing same problem in creating dynemic internal table. my program is not working when it gets this dynemic internal table logic gets executed more than 36 times.

I am havin 4.6 ver. so if you have any alternative to resolve this problem thn please guide me.

I am stuk up at this point.

Thanks,

Maharshi