‎2007 Jan 22 8:28 AM
Hi ,
I have 4 push butons with 4 okcode , If first time i click one ok code the screen moves to corresponding PBO , When i come back from that PBO and click other Push Button The screen again moves to same PBO first Displayed .
I want to solve this How To solve ?
‎2007 Jan 22 8:30 AM
Hello Kumar,
Move the OK Code to another variable in the User Command in the PAI of the screen and clear the original OK Code. Use the second variable for operations.
e.g:
ok_code_sav = ok_code.
clear ok_code.
case ok_code_sav.
...
endcase.
Manoj
‎2007 Jan 22 8:32 AM
Hi,
You need to write the code as like this ...
CASE SY-UCOMM.
When 'First'.
Do this .
when 'SECOND'
Do this
ENDCASE.
the above code will be in the PAI, so the PBO will be trigger for every click, so you do not want that then take a flag in the TOP include and write the accordingly.
Regards
Sudheer