10-27-2009 7:02 AM
Hi Experts,
i have created a screen(100) and in that i created sub screen area
and i created a subscreen(101)
i write the code i mentioned below
TABLES : EKKO , EKPO .
SELECTION-SCREEN BEGIN OF SCREEN 0101 AS SUBSCREEN.
PARAMETERS : P_BUKRS TYPE EKKO-BUKRS OBLIGATORY DEFAULT '1000'.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN ,
S_EBELP FOR EKPO-EBELP .
SELECTION-SCREEN END OF SCREEN 101 .
&----
*& Module USER_COMMAND_0100 INPUT
&----
text
----
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
for flow logic i write like this
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN SUB_SCREEN INCLUDING SY-REPID '0101'.
*
PROCESS AFTER INPUT.
CALL SUBSCREEN SUB_SCREEN.
MODULE USER_COMMAND_0100.
it shows an error like
Error when generating the selection screen "0101" of report '<report Name>'
10-27-2009 7:07 AM
Hi
Go to the Attributes of Screen 101 and Select SUBSCREEN Radio Button.
and Activate your program
Cheers
Ram
10-27-2009 7:10 AM
Hi Ramchander Krishnamraju ,
Thanks for ur reply
i did the same but still the same error
10-27-2009 8:21 AM
Hi
Take the Help of Program DEMO_SEL_SCREEN_AS_SUBSCREEN
Go throught ABAPDOCU For any example programs.
or from SE38 ---> Environment --> Examples --> proceed Further.
Cheers
Ram
10-27-2009 7:12 AM
hi,
remove the below lines in youe code
SELECTION-SCREEN BEGIN OF SCREEN 0101 AS SUBSCREEN.
PARAMETERS : P_BUKRS TYPE EKKO-BUKRS OBLIGATORY DEFAULT '1000'.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN ,
S_EBELP FOR EKPO-EBELP .
SELECTION-SCREEN END OF SCREEN 101 .
and create a screen with attributes as Subscreen.
Regards,
Srilatha
10-27-2009 7:13 AM
Hi Srilatha
Thanks for ur reply
ya i created a screen 101 with attributes as sub screen
10-27-2009 1:11 PM
04-08-2011 2:50 PM
I Understand that this question is resolved long back. I came across the same error. I found many threads in SDN here but could not find the answer. Anyway i resolved my issue myself.
This error comes when you have created the screen for your subscreen. Please do not create any screen for your subscreen. Just activate the program and it wil create it on its own.
Greetings
Rakesh
06-05-2012 11:25 AM
04-23-2016 6:40 PM