Application Development 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: 

How get selected data tobe displayed in next screen

former_member1242340
Participant
0 Kudos

Hi,

i have in Plant Maintenance Notification creation.

i have created an addtional data screen called "y-y analysis" .

before there is Tab called "activities" in notification cretion

if i entered some activities like:

Activity 1

Activity 2

Activity 3

Activity 4 in this if i select activity 3 and click on next tab in that screen that selected activity

should displayed, but im getting the first entered activity(activity 1) is getting displayed in that

which ever activity ill select that should display on next screen

if ( cust_aktyp = 'V' or cust_aktyp = 'A' ) and text_i_4 is initial. "Notifn Change/Display

select single * from qmma into viqmma

where qmnum = viqmel-QMNUM and kzloesch = ''.

select single kurztext from qpct into text_i_4

where katalogart = 'A'

and codegruppe = viqmma-mngrp

and code = viqmma-mncod

and sprache = sy-langu.

if sy-subrc = 0.

else.

text_i_4 = viqmma-matxt.

endif.

this is the code where exactly my selection process is going i think

Help full answers will be rewarded,

Thanks,

Rajesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rajesh,

Evrytime you want to change the inout/oupt field 'text_i_4'.

If so, it will be done for the first time only.

Because you have a condition that this variable should be initial. I don't think that this field is cleared anywhere else.

But it is possible only at the first time you get into to this tab.

Either clear this field before this 'IF...ENDIF' executes or the condition 'text_i_4 is initial'.

Regards,

R.Nagarajan.

2 REPLIES 2

Former Member
0 Kudos

Hi Rajesh,

Evrytime you want to change the inout/oupt field 'text_i_4'.

If so, it will be done for the first time only.

Because you have a condition that this variable should be initial. I don't think that this field is cleared anywhere else.

But it is possible only at the first time you get into to this tab.

Either clear this field before this 'IF...ENDIF' executes or the condition 'text_i_4 is initial'.

Regards,

R.Nagarajan.

0 Kudos

hey thanks for reply

actually i want to display the selected activity in next screen