Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

button added in screen 1000 doesn't work

hello experts,

I added a button in the screen 1000 of a report, following the instructions below of one of the member:

Hi,

Please follow These steps,

First execute Your report, after that click on System -> status

copy the Program(GUi) and GUI status

Go to Se41

Click on Copy Status button

Provide the From program and status as as copied above and provide To Program (your program name) ans status (zstat).

Active it.

In your Report Provide the name for  I_CALLBACK_PF_STATUS_SET.

form STATUS USING i_extab TYPE slis_t_extab.

   set PF-STATUS 'ZSTAT'.

ENDFORM.

Write the code for Back Button in usercommand.

form user USING V1 TYPE sy-ucomm

                 V2 TYPE slis_selfield.

CASE V1.

WHEN 'BACK'.

       leave TO SCREEN 1000.

endcase.

endform.

So When I click on that button called DCLI, I hope to find that value on sy-ucomm but it doesn't appear.

I want to add some code after click in DCLI.

I haven't done  the last instruction about creating a form user......

I'm looking forward to hearing from you.

Thanks.

Not what you were looking for? View more on this topic or Ask a question