2007 Jul 19 2:28 AM
hi,
the pushbutton i created doesnt works.help me in this issue.the codings are,
SELECTION-SCREEN PUSHBUTTON /1(10) EXECUTE USER-COMMAND EXEC.
INITIALIZATION.
EXECUTE = 'PUSH'.
IF SSCRFIELD-UCOMM = 'EXEC'.
even tried with sy-ucomm = 'exec' not working.
PERFORM PRINT.
ENDIF.
FORM PRINT.
WRITE:/ 'TEST PRINT'.
ENDFORM.
2007 Jul 19 2:30 AM
2007 Jul 19 2:35 AM
i tried this coding also but its still not working.can u try & reply me abt the issue,
Thank u
2007 Jul 19 2:39 AM
2007 Jul 19 2:43 AM
HI,
I EVEN TRIED AT USER-COMMAND BUT ITS STILL NOT WORKING...CAN U HELP ME IN THIS ISSUE....IAM STUCK UP WITH THIS....
THANKS
2007 Jul 19 2:52 AM
Ok, just tested this out. It appears that there is some issue when doing list processing from the pushbutton. Here is one solution.
REPORT zrich_001.
TABLES: sscrfields.
SELECTION-SCREEN PUSHBUTTON /1(10) execute USER-COMMAND exec.
INITIALIZATION.
execute = 'PUSH'.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'EXEC'.
sscrfields-ucomm = 'ONLI'.
ENDCASE.
START-OF-SELECTION.
PERFORM print.
*&---------------------------------------------------------------------*
*& Form PRINT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
FORM print.
WRITE:/ 'TEST PRINT'.
ENDFORM. "PRINT
Regards,
RIch Heilman
2007 Jul 19 3:13 AM
2007 Jul 19 3:14 AM
SSS IT WORKING NOW....NOW I COULD USE THIS IN MY MAIN PROG...
THANKS