‎2009 Feb 02 10:27 AM
HI Experts,
I have to hide the below screen in my codfe but i am unable to do it.I hvae used loop at screen and modifying its charcteristic but it is not working.
begin_of_screen 2.
PARAMETERS:
bilabkon LIKE rfpdo-bilabkon OBLIGATORY
DEFAULT '1',
bilagkon LIKE rfpdo-bilagkon OBLIGATORY
DEFAULT '2',
bilasumm LIKE rfpdo-bilasumm DEFAULT space,
bilavart LIKE rfpdo-bilavtyp DEFAULT '1',
bilaskal LIKE rfpdo-bilaskal DEFAULT '0/0',
allglsep LIKE rfpdo-allglsep DEFAULT space,
mikfiche LIKE rfpdo-bilamikf DEFAULT space,
allgline LIKE rfpdo-allgline DEFAULT space.
PARAMETERS: bilapage LIKE rfpdo3-bilapagno DEFAULT 1.
INCLUDE bilai00_2. "SCRIPT
end_of_screen 2.
SELECTION-SCREEN BEGIN OF SCREEN 0030 AS SUBSCREEN.
PARAMETERS:
bilabtyp LIKE rfpdo-bilabtyp DEFAULT '1',
allgaltk LIKE rfpdo1-allgaltk DEFAULT space,
hochrech LIKE rfpdo-bilahoch DEFAULT space,
bilanull LIKE rfpdo-bilanull DEFAULT space,
loe-vorm LIKE rfpdo-bilalovm DEFAULT space,
repwaers LIKE rfpdo-bilawaer DEFAULT space,
stichtag LIKE rfpdo-bilastid DEFAULT sy-datum,
kurs_typ LIKE tcurr-kurst DEFAULT 'M ',
kalzeitr LIKE rfpdo-bilakalz DEFAULT space.
SELECT-OPTIONS:
kalzeitb FOR rfsdo-bilakalb NO-EXTENSION,
kalzeitv FOR rfsdo-bilakalv NO-EXTENSION.
PARAMETERS:
fi_lc_ex LIKE rfpdo-bilafilc DEFAULT space,
bila_eis LIKE rfpdo-bila_eis DEFAULT space.
PARAMETER: bilainfl LIKE j_1asinff-compperiod DEFAULT space.
SELECTION-SCREEN END OF SCREEN 0030.
please give reply.
Thanks in Advace
Thasneem
‎2009 Feb 02 10:31 AM
hi.
you can do it using two methods:
1. loop at screen and then modifying screen characterstics. it should work.
2. create a transaction for your report and then create a transaction variant, where you can hide sub screens.
if 1 is not working, then make use of 2
regards,
dheeraj
‎2009 Feb 02 10:38 AM
Hi,
You can first gropu your subscreen like this.
selection-screen begin of block B1 WITH FRAME.
parameter : p_name group grp1 MODIF ID A1,
selection-screen end of block B1.
AT selection-screen output.
LOOP AT SCREEN.
IF screen-group1 = 'A1.
screen-invisible = '1'.
MODIFY screen.
ENDIF.
ENDLOOP.
Hope it will help you.
regrds,
Lokesh
Edited by: Lokesh Tripathi on Feb 2, 2009 11:38 AM
‎2009 Feb 02 10:40 AM