How get selected data tobe displayed in next screen
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 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.
text_i_4 = viqmma-matxt.
this is the code where exactly my selection process is going i think
Help full answers will be rewarded,
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'.