‎2009 Nov 17 5:31 AM
Hi all,
I have req,need call table control in subscreen,but have done but when scroll bar value getting changed ,
please guide how to do it.if its possable send the code.
regards
santosh
‎2009 Nov 17 5:49 AM
Hi,
That's not a problem. Even if its a subscreen where you have the table control, the code is all the same. Please let us know the exact problem that you are facing.
‎2009 Nov 17 5:49 AM
Hi,
That's not a problem. Even if its a subscreen where you have the table control, the code is all the same. Please let us know the exact problem that you are facing.
‎2009 Nov 17 5:53 AM
Nitwick ,
Doing calcution in subsreen,when i have do scroll the bar value get changing ..
By putting /h debug the code cursor get into main screen by following that to follow to subscreen area that time value gets change..
regards
santosh
Edited by: santosh jajur on Nov 17, 2009 7:06 AM
‎2009 Nov 17 6:10 AM
Hi,
The navigation happens like this.
Consider you have a main screen and 2 subscreens.
When you click or do some event in the Subscreen 2 (lets say this is the one that has the table control), this will first trigger PAI of the Main Screen. In the flow logic of the Main screen, you would have written call subscreen <subscreen area1> and call subscreen <subscreen area2>.
Now the subscreens get triggered based on the order in which you have written in the flow logic.
So, here the modules before the first call subscreen statement in the Main Screen PAI is all executed. Now, it goes to the subscreen on which you have triggered an event and executes the modules in the subscreen.
This is how the execution goes when you have subscreens.
So there is no problem with the navigation. You only have to worry about the screen where you have the table control. Just debug and find where data is getting changed or duplicated.
‎2009 Nov 17 6:21 AM
Nitwick,
thanks for reply, can send any example code,am finding diffcult do it.
regards
santosh
Edited by: santosh jajur on Nov 17, 2009 7:22 AM
Edited by: santosh jajur on Nov 17, 2009 7:33 AM
‎2009 Nov 17 7:01 AM
Hi,
"Main Screen 0110
PROCESS BEFORE OUTPUT.
MODULE STATUS_0110.
CALL SUBSCREEN TAB1_REF1 INCLUDING 'ZCC0O_RCCC_DIALOG_ASS1' '0111'.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0110.
CALL SUBSCREEN TAB1_REF1.
"Subscreen 0112
PROCESS BEFORE OUTPUT.
MODULE STATUS_0112.
module display.
LOOP AT gt_itab1 WITH CONTROL tabcontrol.
MODULE check_control.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE initialize.
LOOP AT gt_itab1.
MODULE GT_ITAB1_MOD.
ENDLOOP.
MODULE initialize INPUT.
clear gt_tab1.
ENDMODULE.
MODULE GT_ITAB1_MOD INPUT.
if sy-ucomm eq 'F_XXX'. "On restricting, this does not get triggered for scrolling
"your code.
endif.
ENDMODULE.
‎2009 Nov 17 7:54 AM
nitwick,
when creating the table control,need to declare with options subscreen or normal or dialog box .
regards
santhu
‎2009 Nov 17 8:01 AM
Hi,
If you want your table control to be called onto some subscreen area, then you gotto place the table control in the Layout of a SUBSCREEN.
‎2010 Feb 19 10:03 AM
But the PAI of subscreen does not run??
What to do with that.