‎2006 Jul 31 1:38 PM
Hi All,
I had copied one std report RCOPCA02 through se38 with name Z_RCOPCA02_1. Than activated the report as well as pf status but when i run the z report there is an error of pf status<b>Status STANDARD_GRID of the user interface SAPLRSTI missing</b>. How could i overcome this error?
Awards points are given to the satisfied answer
Regards,
Bharat Mistry.
‎2006 Jul 31 1:41 PM
Hello,
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_callback_program = <b>'RCOPCA02' << replace your prog name</b>
regards,
Naimesh
‎2006 Jul 31 1:41 PM
Hello,
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_callback_program = <b>'RCOPCA02' << replace your prog name</b>
regards,
Naimesh
‎2006 Aug 01 7:08 AM
Hi Niamesh,
I have changed the program name to z prog, the error is gone but the Pf-status is not shown yet. And when i double click the line items a short dump comes with following details:
Error Analysis:
-
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 "USER_COMMAND" "(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 "z_RCOPCA02_1 ".
However, program "z_RCOPCA02_1 " 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
b) Transport error
Please Guide.
Regards,
Bharat Mistry
‎2006 Aug 01 7:16 AM
Hello Bharat,
Pass your program name in UPPER CASE
or
data: w_cprog like sy-cprog.
w_cprog = sy-cprog.
regards,
Naimesh
‎2006 Aug 01 7:22 AM
Hi Naimesh,
Thanks again, the problem is solved.
Second time you have helped.
Thank you very much.
Best Regards,
Bharat Mistry.
‎2006 Jul 31 1:41 PM
Hi
In the call to the FM REUSE_ALV_GRID_DISPLAY in the program check the i_callback_program parameter. That should be set to your Z program name. I assume while copying you copied everything including the statuses.
Regards
Shounak
‎2006 Jul 31 1:42 PM
‎2006 Jul 31 1:46 PM
Hi Bharat,
check whether u have copied the PF-status(SELSCREEN,Standard and Standard_GRID) in SE41 of the
RCOPCA02 to u r Zprogram?
and also
Check whether u have given the new copied program
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_callback_program = <b>'Z_RCOPCA02_1'</b>
Regards,
Sridhar
‎2006 Jul 31 2:02 PM
Hi..
u didnt change the name of the program while copying the report. like in the FM REUSE_ALV_GRID_DISPLAY u need to give the new program name. I think at the line no 906 @ RCOPCA02.
‎2006 Jul 31 2:31 PM
hi
you should copy the PF Status as well while copying your program.
Cheers,
Abdul Hakim
‎2006 Aug 01 7:29 AM
Hi Bharath,
I got your problem, search for the statement
SET PF-STATUS 'SAPLRSTI', change the status <b>SAPLRSTI</b> to <b>ZSAPLRSTI</b> and create your own user interface, it will work.
Regards:-
Santosh.D