07-20-2007 10:51 AM
i have created a PF-status and created a BACK button but it is not working do i need to code for it.............
07-23-2007 2:47 PM
07-20-2007 10:54 AM
hi
Yes you have to code for it. Check the value of sy-ucomm and if it equals the func code for the back button, then 'leave program' .
like
if sy-ucomm = ' <func code for the back button>'
leave program.
Hope this helps to solve ur problem....
<b>do reward if useful....</b>
regards
dinesh
07-20-2007 11:01 AM
hi,
check whther u have mentioned exact name as BACK ..
and check whther it is activated properly...
thanks
jaideep
*reward points if useful..
07-20-2007 11:11 AM
07-23-2007 2:47 PM
07-23-2007 3:19 PM
What is the ok_code for back button.. if OK_CODE = 'BACK" then write the code like this
if sy-ucomm = 'BACK'.
leave to screen 0.
endif.
Rgds,
SaiRam
07-24-2007 8:54 AM
hi ,
Definately you need to code for the PF status and the BACK button options .
In the PBO of your screen you can use the PF status .
And in the PAI of your screen you can use the BACK button checking the sy-ucomm values adn code accordingy .
Regards,
Ranjita