‎2012 Jul 10 12:34 PM
Hi, Gurus.
I received an issue regarding an ABAP dump encountered on a customized program when trying to download the report thru an excel file. Error is LOAD PROGRAM NOT FOUND.
Runtime Errors LOAD_PROGRAM_NOT_FOUND
Exception CX_SY_PROGRAM_NOT_FOUND
Date and Time 06/28/2012 12:47:33
Short text
Program " " not found
What happened?
There are several possibilities:
Error in the ABAP Application Program
The current ABAP program "ZDXX0004" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
or
Error in the SAP kernel.
The current ABAP "ZDXX0004" program had to be terminated because the
ABAP processor detected an internal system error.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
caught in
procedure "F8000_CONVERT_TO_EXCEL_TABLE" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is 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 " ".
However, program " " does not exist in the library.
Possible reasons:
a) Wrong program name specified in an external PERFORM or
SUBMIT or, when defining a new transaction, a new
dialog module or a new function module.
b) Transport error
I hope you could help me on this issue. Thank you very much in advance.
Warm Regards,
Kricel Abrera-Dolorical
‎2012 Jul 10 12:40 PM
Hi Kricel,
Could you please download the dump and attach it here for more analysis?
Regards,
Manjesh.
‎2012 Jul 10 2:57 PM
Hi,
As for as it is an customized program it might be a program error. If it is happening all the time you need to debug the program with the help of ABAP consultant.
‎2012 Jul 10 3:09 PM
Hi,
first u need to show us the code issue in the dump log, so we can help u more, but i think that you made a copy of a standard program, is it correct? Check the name of the variable with the program name and assing the new Z program name. It should be sth like that.
Regards
‎2012 Jul 12 5:10 PM
Hi, everyone.
I attached the dump error encountered. Please help. Thank you.
Regards,
Kricel
‎2012 Jul 12 7:33 PM
Hi
Probably the line of code:
GENERATE SUBROUTINE POOL CODE NAME PROG.
fails
so the program is not really generated and the following line raises the dump:
PERFORM DYN1 IN PROGRAM (PROG) TABLES IT_DATA IT_FIELDNAMES.
You should check how the internal table CODE (with the abap code) is filled:
it can't see the lines before "Transfer entries to the table - end"
Max
‎2012 Jul 13 6:50 AM
Hi,
Check your program whethere you have appended 'LOAD-OF-PROGRAM' statement in the code internal table.
i.e. After the 'PROGRAM subpool.' statement and data definitions you must have 'LOAD-OF-PROGRAM.' statement before your form declaration for the dynamic program to get loaded in the internal session before you call the form of the prorgam.
Hope this solves your issue.
Regards,
Manjesh.