2009 Aug 27 8:00 PM
Hi gems,
I need to make a table control visible based on a push button press.
For your information, initially i am hiding the table control using table control component INVISIBLE = 1.
While pressing the button, I am making INVISIBLE = 0. But not getting desired output.
can any1 help me on this?
Any help will be appreciated.
--thanks,
Surajit
Hi gems,
I need to make a table control visible based on a push button press.
For your information, initially i am hiding the table control using table control component INVISIBLE = 1.
While pressing the button, I am making INVISIBLE = 0. But not getting desired output.
can any1 help me on this?
Any help will be appreciated.
--thanks,
Surajit
2009 Aug 27 8:05 PM
Hi,
We have to do the unhiding in PBO of the screen so i hope you are doing the invisible = 0,input = 1 in the PBO of the screen on which you have the table control.
Also if it is not working can you share the code.
Regards,
Himanshu
2009 Aug 27 8:14 PM
Thanks for your reply.
I am doing it in PBO only.
Table control have a component called INVISIBLE but there is no component called ACTIVE or INPUT(these are screen component).
Right now i dont hav the code with me but i can give you a idea.
In PAI i am populating a flag.
In PBO, based on the flag I am calling a perform.
Code in the perform is as follows:
Form A.
*--
loop at screen.
.....
.....
endloop.
*----
TABC1-INVISIBLE = '1'.
ENDFORM.
Hope this will help you to understand.
2009 Aug 27 10:37 PM
Your algorithm seems correct. I guess there is just a little error somewhere in your code not linked to "invisible".
>
> But not getting desired output.
What are you getting, does something appear?
Did you check all the fields of the "controls" structure ([abap doc - table control|http://help.sap.com/abapdocu_70/en/ABAPCONTROLS_TABLEVIEW.htm])
2009 Aug 28 6:59 AM
guys...i got the sol.
It is not 1 or 0...it is X or space.
i.e. INVISIBLE = 'X' or INVISIBLE = space.
thanks all for ur effort.
2009 Aug 28 6:59 AM
guys...i got the sol.
It is not 1 or 0...it is X or space.
i.e. INVISIBLE = 'X' or INVISIBLE = space.
thanks all for ur effort.
2010 Dec 03 9:19 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |