03-30-2007 5:05 PM
Hi Everyone,
I have a situation in which i am showing a button on ALV grid. When we click on that button it will show error log. which is shown by REUSE_ALV_POPUP_TO_SELECT. in this function i am passing table errorlog. this button is created by setting PF-STATUS.
Now the question is if errorlog table is blank i want to hide that button.
please help me out. its urgent.
thanks in advance.
Azad.
03-30-2007 5:20 PM
In the place where yu set the pf-status, put this condition.
if not it_errorlog[] is initial.
set pf-status 'STAT'.
else.
set pf-status 'STAT' excluding 'BUT'. "BUT is the function code for that button
endif.
Regards,
Ravi
03-30-2007 5:20 PM
In the place where yu set the pf-status, put this condition.
if not it_errorlog[] is initial.
set pf-status 'STAT'.
else.
set pf-status 'STAT' excluding 'BUT'. "BUT is the function code for that button
endif.
Regards,
Ravi
03-30-2007 5:39 PM
03-30-2007 5:22 PM
put if condition at pf-status...
if not it_errorlog[] is initial.
set pf-status 'STAT'.
else.
set pf-status 'STAT' excluding 'BUT'.
endif.