05-06-2007 6:55 AM
Hi All,
Plz explain how to do coding for using Layout option on selection screen of
report. Also i should be able to save and create new layout on selection screen.
Thnaks in advance.
Aniket Dayama
05-07-2007 11:05 AM
selection-screen : begin of block blk1 with frame title text-001.
select-options : s_matnr for mara-matnr,
s_werks for marc-werks.
selection-screen : end of block blk1.
double click on text-001.that will give one window there u can declare the title as layout.so that it will be displayed on selection screen.
please reward with points if helpful.
05-07-2007 11:12 AM
Hi Aniket,
u go through his code. it will be help full for u.
selection-screen begin of block b1 with frame title text-t01.
select-options : field_name for table_name-field_name.
parameters : field_name like table_name-field_name.
selection-screen end of block b1.
double click on text-001.and then u Text symboles , selections texts ,list heading.
it will be displayed on selection screen.
please reward if this one is helpfull.
thank u
mayukh
05-07-2007 1:57 PM
hi,
creation of sub-screens.
selection-screen begin of tabbed block <name of the tab> for < height of the tab in no's> lines.
eg;
selection-screen tab(20) l1 <data element> user-comand <name of the funcion code>
selection-screen end of block <name of the tab strip>.
eg;
selection-screen begin of tabbed block mytab for 10 lines.
selection-screen tab(20) l1 user-command tab1.
selection-screen tab (20) l2 user-command tab2..
selection-screen end of block mytab.
Under initialization.
data element = text-01.
data element = text=02.
How to initialize the tab with default screen.
<name of the tab> - prog = sy-repid.
<name of the tab>- dynnr = '<subscreen no>'.
<nane of the tab>-activetab = '<user-command for the strip>
if this has solved ur problem then dont forget to reward with points.
with regards,
madhuri.