‎2010 Jul 27 2:27 PM
Hi,
I am creating a dynamic internal table in my Client 100. The code works fine in my sandpit system which is 110 however, when I run the same code in Client 120 it gives short dump.
During analysis I found the exception is thrown due to some runtime subroutine generation which could not gather the program name. I am using the cl_alv_table_create=>table_copy( EXPORTING it_outtab = i_detail[]
it_fieldcatalog = i_fcat[]
IMPORTING ep_table = i_finalref ) for creating teh dynamic table.
I get following error:
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_PROGRAM_NOT_FOUND', was
neither caught nor passed along using a RAISING clause, in the procedure
"FB_TABLE_CREATE_STRING" "(FORM)"
.
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely " ".
Please suggest.
Thanks,
-Sid
‎2010 Jul 28 9:14 AM
Guys, I have another finding.
Subroutine is being generated as subrc is 0, however it is not called with perform (l_form) in program (l_name);
l_form is populated but l_name is blank. I am assuming this could be the error.
if r_oo_class is initial.
perform (l_form) in program (l_name).
else.
perform (l_form) in program (l_name) using r_oo_class.
endif.
Any suggestions.
-Sid