04-22-2007 2:10 PM
Hi all,
My name is SAI KUMAR.
I got struck when I was doing some exercises on Module Pool.
When I created the screen...I clicked the Layout Button...and I dragged the TabStrip button to the area....when I dragged it....i was presented with an initial screen with two tabs 'tab1 and tab2' and an area associated with them....I clicked the tab1 and gave some name to it.
I wanted to insert some fields in tab1....like name, year...so on...But the problem is....When I tried to insert them in the area....it was not inserting and it gave a message saying that 'Illegal operation performed'....How should i overcome this problem in order to insert fields in the tabs of the TabStip.
Please help me out by giving the process.
ID: saikumar325@gmail.com
Bye,
SAI KUMAR
04-23-2007 6:27 AM
HI Sai ,
While Tab strips in Module pools , you can not directly plaace fields as in screens . for your operation you should create subscreens for tab1 and tab 2 with the needed fields to be displayed , and use these subscreens in Tab1 and tab 2 . I am sure it will work.
Reward points if useful !
Thanks
Ranjita
04-23-2007 6:27 AM
HI Sai ,
While Tab strips in Module pools , you can not directly plaace fields as in screens . for your operation you should create subscreens for tab1 and tab 2 with the needed fields to be displayed , and use these subscreens in Tab1 and tab 2 . I am sure it will work.
Reward points if useful !
Thanks
Ranjita
04-23-2007 10:56 AM
Hi Sai,
U cant place fields on the tabstrip directly. In the Layout on a Tabstrip u can place only a subscreen.
U have to place a subscreen on each tab of the tabstrip and work.
For More details got to the following URL
http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm
Reward if useful,
Sudheer
Message was edited by:
Sudheer Kumar Vakkalagadda
04-24-2007 8:40 AM
hi...
to insert fields into the tab control you need to create subscreens and assign these to each tab.on each subscreen you can create fields.
1. first click layout .
2. put tab control and click graphical element.
3. in control elements under title strip u can declare tab names.
4. under reference subscr u should give the name of the sub screen u want to be displayed for that tab.
5.under type heading select p.
6. under subscreen heading declare the names of the subscreens.
after that u need to call those subscreens in the main screen on which you created the tab control.
***************************************************************************************
sample code.
PROCESS BEFORE OUTPUT.
MODULE status_0101.
CALL SUBSCREEN : headerdetails INCLUDING 'ZPURCR_71945' '1010',
lineitems INCLUDING 'ZPURCR_71945' '1011',
schedulelines INCLUDING 'ZPURCR_71945' '1012'.
PROCESS AFTER INPUT.
MODULE exit_0101 AT EXIT-COMMAND.
CALL SUBSCREEN: headerdetails ,
lineitems,
schedulelines.
MODULE user_command_0101.
*********************************************************************************************
here headerdetails , lineitems, schedulelines are subscreen names
'ZPURCR_71945' is the program name and '1010,1011,1012 are the subscreen no's.
this should help you.
<b>plz reward pts if helpful.</b>
regards
vijay
04-24-2007 4:55 PM