Hi Dear All:
I write a report with PNP. In the main report I add some includes such as z_data, z_screen, z_form. Each of these include container data declaration, screen parameters,forms. The codes are:
REPORT zxxxxx.
INCLUDE zxxxxx_data.
INCLUDE zxxxxx_form.
INCLUDE zxxxxx_screen.
*---------------------------------------------------------------------*
INITIALIZATION.
*---------------------------------------------------------------------*
PERFORM initalize_paramteters.
*---------------------------------------------------------------------*
START-OF-SELECTION.
*---------------------------------------------------------------------*
GET pernr.
PERFORM fill_eeinfo. " USING so_inum.
*---------------------------------------------------------------------*
END-OF-SELECTION.
*---------------------------------------------------------------------*
PERFORM print_retroinfo.
In the include zxxxxx_screen. I put the codes:
SELECTION-SCREEN BEGIN OF BLOCK fr2 WITH FRAME TITLE text-fr2.
PARAMETERS: c_ztp AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK fr2.
But in the include zxxxxx_form. when I use c_ztp. SAP give the error that c_ztp does not exist! As you know parameters are components of a selection screen that are assigned a global elementary data object in the ABAP program. Can anyone tell me why. Thank you so much.