2008 Feb 04 2:58 PM
Hi All,
I have developed a normal report for some requirement. The menu bar buttons are sap standard buttons.
I executed the program. And gave input in the selection screen. On execution it displayed the output. Now when i clikced on the Cancel button (cross button) it was leaving to the selection screen. Should it not leave to the source code or the se38 intial screen depending on where i came from?
Hi All,
I have developed a normal report for some requirement. The menu bar buttons are sap standard buttons.
I executed the program. And gave input in the selection screen. On execution it displayed the output. Now when i clikced on the Cancel button (cross button) it was leaving to the selection screen. Should it not leave to the source code or the se38 intial screen depending on where i came from?
2008 Feb 04 3:04 PM
Hi,
Not necessarily. The cancel button usually performs the same function as the back button, but without any validation on the screen, which is a report would usually take you to the selection screen. The exit button should take you to the code or se38 screen.
Regards,
Nick
2008 Feb 04 3:05 PM
I am in ECC 6 and its working the same as you mentioned
Try to SET PF-STATUS and overwrite the standard functionality
in pf status give the FCODe as CANC
in
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'CANC'.
leave program.
ENDCASE.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |