2011 Oct 26 2:56 PM
Hi experts,
In a report I have a method get_pop(). this method check the values on selection screen when a field is empty then it shows a pop up fill the flelds and then I have the leave list processing. then skip the program in initialization and all the globel data is deleted. Can I declare a variable in which i note the value of a attribute and it is not deleted after leave list processing or is there any command that take exectly to the screen 1000(selection screen) without a los of data.
I have tried
MESSAGE text-021 TYPE 'E'.
set SCREEN 1000.
LEAVE TO SCREEN 1000.
CALL SELECTION-SCREEN 1000.
leave list-processing and return to screen 0.
leave list-processing and return to screen 1000.
leave screen.
Also make my attribute static but it always deleted after leave list processing.
thanks
best regards
rana
hi,
thanks for reply.
This radio button is on but still the same result.
best regards
rana
2011 Oct 26 3:15 PM
Hi
Sincerly I can't understand: if you go to inizialization again, it mean you're running the program again
Can you give us more information?
Max
2011 Oct 26 3:23 PM
hi,
Thank for the reply. I have a list box at selection screen. it gives guids. so when I come back to initialization after leave list processing I need the last guid selected in selection field. For this i need a globel attribute. I have also declared a attribute in top but it is always empty after leave list-processing. I hope you understand my point of view.
thanks
best regards
rana
2011 Oct 26 3:29 PM
If you turn on history, the guid may not be filled, but it will be easily available by pressing the space bar.
Rob
2011 Oct 26 3:36 PM
hi,
thanks for reply can you please explain space bar is there any FM for it or what do you mean.
thanks
best regards
rana
2011 Oct 26 3:45 PM
Press the "Customize local layout" button at the top right of the screen.
Select "Options"
Expand "Local Data"
Select "History"
Select the "On" Radio button
Rob
2011 Oct 26 3:57 PM
hi,
thanks for reply.
This radio button is on but still the same result.
best regards
rana
2011 Oct 26 3:59 PM
2011 Oct 26 4:05 PM
hi,
thanks for reply
how can I set the functioncode for a sapce bar within my code at event initialization
best regards
rana.
2011 Nov 03 9:57 AM
Thanks for all Replies I got the solution.
I use the abap memory.
at selection-screen output.
export p_prod = p_prod to memory id gc_my_prod.
gc_my_prod can be any name.
best regards
rana
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |