‎2007 May 15 3:23 AM
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
‎2007 May 15 3:58 AM
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
‎2007 May 15 3:58 AM
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
‎2007 May 15 4:14 AM
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
‎2007 May 15 4:19 AM
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
‎2007 May 15 4:40 AM
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
‎2007 May 15 4:46 AM
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
‎2007 May 15 4:50 AM
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
‎2007 May 15 4:50 AM
And also fieldnames cannot be duplicated in ur field catalogue.
-SatyaPriya
‎2007 May 15 4:59 AM
Hi Pratyu USha,
Remove this <b>SEPARATED BY space.</b> in concatenate statement in ur field catalogue and check.
-SatyaPriya
‎2007 May 15 5:01 AM
‎2007 May 15 5:24 AM
Hi Pratyu Usha,
Is ur problem solved?. If yes, please close this thread.
-SatyaPriya
‎2007 May 15 5:39 AM
Thanks Satya
i was passing Type C to currency, that was the problem.. now its solved..
thanks for ur help
‎2008 Sep 02 11:10 AM
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
‎2009 Jul 02 6:55 AM
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