i have requirment in alv like.
i am displaying output using alv list display. after displaying i have my own pf status here. in this i have one button called 'POSITION'.when i click this button it will call one screen say 101. in this scren i have 3 fields like appln,appln number,partner number. when i enter any vale it will search the entry in the ouput and keep the cursor there. i wrote the logic here. because of this logic as follws.
after filling the vales in screen 101 when i press ok i wrote code as follws. my original internal table is it_secobjects. using this table i am displaying output.
my code as follows.
refresh : it_secobjects. <- this is my original internal table.
select single * from zuser_secobjects
where appln = w_apln and
appln_user = w_user and
appln_partner = w_partner and
partner_type = w_ptype.
if sy-subrc = 0.
append w_itab1 to it_secobjects.
set pf-status 'MAIN'.
message i000 with text-i16.
leave to screen 0.
what happend it will search that entry and displpay that entry in a separate screen not in current screen. so please tell me how to write the logic for this.
thanks in advance.