04-09-2008 11:52 AM
hi here is requirement need to display is display mode the table control save button remaining cancel should not be in the display mode
04-09-2008 12:00 PM
Hi Anil,
Try the following logic:
Loop At screen.
If screen-name is nt equal to <Button Name>.
Set screen-input as zero.
Modify Screen.
endif.
endloop.
This should help.
Regards,
Sonal
04-09-2008 12:00 PM
Hi Anil,
Try the following logic:
Loop At screen.
If screen-name is nt equal to <Button Name>.
Set screen-input as zero.
Modify Screen.
endif.
endloop.
This should help.
Regards,
Sonal
04-09-2008 2:56 PM
Hi,
Go for this logic.
Loop at screen.
if screen-name = <fieldname>.
screen-name-input = 0.
endif.
Do same for all fields in the table control.
endloop.
I will surely helps.
Regards,
Angi.
04-09-2008 3:25 PM
Hi Anil,
As you know in the PBO,the first module will contain
set pf-status 'XXXXX'...what we need to do is remove save from it for some particular case....
so here is what you do..in display mode you must be having a different tcode or some field to identify that it is a display mode
The PF status of the field should be excluded of "SAVE"
do the following.....
imagine we are having va01\va02\va03
so write the logic..imagine if XXXXX is your pf-status....
SAVE must be the function code you need to disable
DATA fcode TYPE TABLE OF sy-ucomm.
if sy-tcode = 'VA03'.
APPEND 'SAVE' TO fcode.
SET PF-STATUS 'XXXXX' EXCLUDING fcode.
endif.
now 'SAVE' will not be displayed on the screen..
Reward if helpful
Regards
Byju
.