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

PF Status

Former Member
0 Likes
1,184

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.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
1,127

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

10 REPLIES 10
Read only

naimesh_patel
Active Contributor
0 Likes
1,128

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

Read only

0 Likes
1,127

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

Read only

0 Likes
1,127

Hello Bharat,

Pass your program name in UPPER CASE

or

data: w_cprog like sy-cprog.

w_cprog = sy-cprog.

regards,

Naimesh

Read only

0 Likes
1,127

Hi Naimesh,

Thanks again, the problem is solved.

Second time you have helped.

Thank you very much.

Best Regards,

Bharat Mistry.

Read only

Former Member
0 Likes
1,127

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,127

Did you copy the specific status from the other program into your program as well? You can do this in many ways, simpliest way is to go to transaction SE41 and copy the status.

Regards

Rich Heilman

Read only

sridharreddy_kondam
Active Contributor
0 Likes
1,127

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

Read only

Former Member
0 Likes
1,127

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.

Read only

abdul_hakim
Active Contributor
0 Likes
1,127

hi

you should copy the PF Status as well while copying your program.

Cheers,

Abdul Hakim

Read only

Former Member
0 Likes
1,127

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