2010 Jan 22 10:24 AM
I have a subscreen whose main screen is in some different function group so i have to handle the fcodes that are assigned to push button.
Subscreen has table control
My problem is after i used push button (say Delete) and then want to scroll down in table control since sy-ucomm still has previous F-code i am not able to scroll down.
Any help is appreciated.
Thanks in advance.
Alok
2010 Jan 22 11:43 AM
Hi Alok,
define your own variable for user command and assign it to your subscreen in "Element list" tab. Than You will have separately an user command for screen and for subscreen. Also it is better to always clear a value of variable used for user command let's say in every PBO.
Regards,
Adrian
2010 Feb 03 11:22 AM
Hi Adrian/Shailaja ,
But in case of subscreen ok code can not be assigned to user specific variable
@Shailaja
since sy-ucomm itself has previous values,so no point in assigning it to other variable and use that one or clear
regards
Alok
Edited by: alok patel on Feb 3, 2010 12:22 PM
Edited by: alok patel on Feb 3, 2010 12:23 PM
2010 Jan 22 12:34 PM
You are looking for [this|http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dbaa1335c111d1829f0000e829fbfe/frameset.htm]
Regards
Marcin
2010 Jan 25 3:08 PM
Hi,
Declare a variable for sy-ucomm and assign that to ok_code of evry screen ......then you wil have the unique .....ok_code which gets triggered
Thanks,
Shailaja Ainala.
2010 Feb 03 11:29 AM
Hi,
What the others are trying to say I guess is that assign a OK_CODE to every screen and use the OK_CODE instead of the sy-ucomm.
And when you scroll down, the sy-ucomm is ' '. There is no designated sy-ucomm value for scrolling.
There should be some kinda bug in your code.
I would suggest you to debug thoroughly.
2011 Dec 16 12:56 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |