‎2011 Aug 04 8:26 AM
hi guru,
scenario ---
i have created a normal screen 100 in my module pool program
under screen 100 there are two controls
1-tab strip control
2-table control
under my tab strip control there are four tabs tab1 tab2 tab3 tab4 all have four different subscreen area sub1 sub2 sub3 sub4
i have created 4 subscreen 110 120 130 140
***********************************************************
flow logic of my main screen 100
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN: sub1 INCLUDING sy-repid '0110',
sub2 INCLUDING sy-repid '0120',
sub3 INCLUDING sy-repid '0130',
sub4 INCLUDING sy-repid '0140'.
PROCESS AFTER INPUT.
CALL SUBSCREEN: sub1,
sub2,
sub3,
sub4.
MODULE user_command_0100.
***********************************************************************
all the fields in all subscreen are related to my database table Z1
i have declared an internal table itab & work area WA for that..
problem--
when i enter some value into any of the fields in my subscreen and debug it then the value in debugger is blank...
so please tell me how to assign that value in my subscreen fields to my internal table and work area
i am not able to find it where exactly or in which PAI or PBO i should do it...
plz reply it, it's urgent..
thanks & regards.
‎2011 Aug 04 8:31 AM
Hi,
assign all subscreen fields as a work area field. now you debug you will get the field value.
Regards,
Dhina..
‎2011 Aug 04 8:38 AM
Try this: In sub1's PAI.. try if you are getting teh values during debugg.. If not , in PAI, write field sub1-fieldname 1.
field sub1-fieldname2.. and so on for all fields in teh screen.. Now check if you are getting the values
‎2011 Aug 04 10:32 AM
hi suzie,
i created an PAI in my subscreen 110 flow logic and wrote down following code for all subscreens into their corresponding PAI
**********************************8*
WA-FIELD1 = ZTABLE-FIELD1.
WA-FIELD1 is my work area field
ZTABLE-FIELD1 is my screen field name
****************************************
now i am getting values in both my workarea and screen fields,
but suppose for other subscreen i have assigned the values in similar way
like for subscreen 120
WA-FIELD2= ZTABLE-FIELD1.
like for subscreen 130
WA-FIELD2= ZTABLE-FIELD2.
WA-FIELD3= ZTABLE-FIELD3.
now, how can i assign all these values from different subscreens to one internal table itab ?
thanks.
‎2011 Aug 09 5:27 AM