2005 Aug 02 4:31 AM
Hello All,
I need to create a pushbutton on a selection screen of a logical database. Basically this pushbutton when clicked will either display or suppress some fields on the screen. I have tried to use the SSCRFIELDS option to create a pushbutton, however that never displays for me. Logical Database DDF has an example of a pushbutton that I am looking to create, however the functionality will be different. I am not sure what I am missing, can anyone help? Thanks.
John
2005 Aug 02 4:50 AM
Hi,
Check this link.It can help you.
http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
2005 Aug 02 4:50 AM
Hi,
Check this link.It can help you.
http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
2005 Aug 02 5:06 AM
2005 Aug 02 6:49 AM
Hi,
try that:
1) TABLES sscrfields.
2) SELECTION-SCREEN FUNCTION KEY 1.
3) initialization.
WRITE icon_tools TO sscrfields-functxt_01 AS ICON.
MOVE text-123 TO sscrfields-functxt_01+5.
4) AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'FC01'.
....
regards Andreas
2005 Aug 02 1:56 PM
Hello All,
Thanks for your replies. However, there is something that is causing these options not to work. For some reason when using SSCRFIELDS nothing displays. For the SELECTION-SCREEN PUSHBUTTON command, we see the push button however our code for some reason is not working. I have another developer working this with me and we are both stumped. We are mirroring that DDF Logical Database and are not having any luck so far. Does anyone have any further suggestions?
John
2005 Aug 02 2:06 PM
in which event you have the following code for handling the pushbutton action
<b>if sscrfields-ucomm eq 'FC01' .</b>
it should be in the <b>at selection-screen</b>.
Regards
Raja