Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How get selected data tobe displayed in next screen

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

Former Member
Former Member replied

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 View this answer in context
Not what you were looking for? View more on this topic or Ask a question