I hv a layout having LIFNR, NAME1, ORT01.
next screen is 0.
and one push button display.
my requirment is if i will give some existing LIFNR, then it will show name1 & ort01
logic in PAI.
case sy-ucomm.
when 'display'.
select lifnr name1 ort01 from lfa1 into table itab where lifnr = lfa1~lifnr.
logic in PBO.
loop at itab.
move: itab-lifnr to lfa1-lifnr,
itab-name1 to lifnr-name1,
itab-ort01 to lfa1-ort01.
endloop.
when i am executing that user-defined t-code the layout is coming
but when i m pressing display it is coming to easy acess screen.
plz help me out.
i hv provided the complete logic.