Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

tabstrip control - subscreen data transfer

Former Member
0 Likes
570

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.

there is one input field called 'A' on my main screen 100 & one pushbutton 'GET' to retrieve data.

problem :

if i enter some value in my input field 'A' in my main screen & then press on pushbutton 'GET'

then accordingly i must get all the values in my subscreen fields..

i tried implementing logic in PBO & PAI of my subscreens & even main screen but this is not happening..

so plz help me out with this situation....it's urgent.

thanks & regards.

2 REPLIES 2
Read only

Former Member
0 Likes
413

Hi,

In your main screen try to use the FM DYNP_VALUES_READ:

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

DYNAME = REPID

DYNUMB = DYNNR

TABLES

DYNPFIELDS = FIELDS_STRUCTURE

EXCEPTIONS

INVALID_ABAPWORKAREA = 1

INVALID_DYNPROFIELD = 2

INVALID_DYNPRONAME = 3

INVALID_DYNPRONUMMER = 4

INVALID_REQUEST = 5

NO_FIELDDESCRIPTION = 6

INVALID_PARAMETER = 7

UNDEFIND_ERROR = 8

OTHERS = 9.

Read only

Former Member
0 Likes
413

have to use ok code of the main screen..it works