2010 Dec 14 11:23 AM
Hi experts,
I'm trying to createa selection-screen in a dynpro, but i'm not capable.
I've followed the next steps:
1. I created a dynpro (100) Type: Normal
2. I created a subarea (Sub_area) inside the dynpro 100
3. I created the selection-screen in the top of my modulepool.
TABLES: pernr.
SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
SELECT-OPTIONS r_pernr FOR pernr-pernr.
SELECTION-SCREEN end of screen 101.
4. I defined the PBO y the PAI of the screen 100.
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN sub_area INCLUDING sy-cprog '0101'.
PROCESS AFTER INPUT.
CALL SUBSCREEN sub_area.
But the program returns the next error:
Dynpro 0100
Line 3 --> CALL SUBSCREEN sub_area INCLUDING sy-cprog '0101'.
"Include block not specified, not defined, or spelt incorrectly ."
What is the error????
Thanks anyway.
2010 Dec 14 9:47 PM
Hi Lydia,
your code seems to work in my system. This may be a typo with sub_area. Go to screen painter, copy the name and paste it in your statement.
Klaus Babl will try
Regards,
Clemens
Hi experts,
I'm trying to createa selection-screen in a dynpro, but i'm not capable.
I've followed the next steps:
1. I created a dynpro (100) Type: Normal
2. I created a subarea (Sub_area) inside the dynpro 100
3. I created the selection-screen in the top of my modulepool.
TABLES: pernr.
SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
SELECT-OPTIONS r_pernr FOR pernr-pernr.
SELECTION-SCREEN end of screen 101.
4. I defined the PBO y the PAI of the screen 100.
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN sub_area INCLUDING sy-cprog '0101'.
PROCESS AFTER INPUT.
CALL SUBSCREEN sub_area.
But the program returns the next error:
Dynpro 0100
Line 3 --> CALL SUBSCREEN sub_area INCLUDING sy-cprog '0101'.
"Include block not specified, not defined, or spelt incorrectly ."
What is the error????
Thanks anyway.
2010 Dec 14 11:35 AM
Hi,
i only know to call selection screens via CALL SELECTION-SCREEN but not as a subscreen of a dynpro.
I think, selection screens must be own dynpros but no subscreens.
Regards,
Klaus
2010 Dec 14 3:03 PM
Thanks Klaus..
can you explain me how i can use this sentence?
Thanks anyway!
2010 Dec 14 9:47 PM
Hi Lydia,
your code seems to work in my system. This may be a typo with sub_area. Go to screen painter, copy the name and paste it in your statement.
Klaus Babl will try
Regards,
Clemens
2010 Dec 15 8:05 AM
Hi Clemens,
Thanks for your help. My problem was I created a container in my dynpro instead of a subscreen.
Thanks anyway!
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |