2011 May 09 9:51 PM
Hello experts!
I want to generate a popup window in sm30 before showing a table view. That popup window should ask for a field value, and, depending on that value, I want to show or hide a whole column in the table view. Can anyone help me with this?
Thanks in advance for your answers.
Best Regards,
Lameira
Hi. Thank you for your answer! It is almost it. In the popup I want to get a field value, and then show only the records in which the field has that value and plus not show a whole column of other field. I don't want to deactivate that column, I want to hide it. Any ideas?
Thanks again,
Lameira
2011 May 10 3:13 AM
Hi.,
Check this Article., [Dynamically Enable/Disable Fields in TMG|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80b077d7-5317-2e10-8db8-aaf6921ced4a?quicklink=index&overridelayout=true]
this will give you idea how to do this.,
hope this helps u.,
Thanks & Regards
Kiran
2011 May 10 12:02 PM
Hi. Thank you for your answer! It is almost it. In the popup I want to get a field value, and then show only the records in which the field has that value and plus not show a whole column of other field. I don't want to deactivate that column, I want to hide it. Any ideas?
Thanks again,
Lameira
2011 May 10 3:43 PM
Hi.,
instead of screen-input = 0., try using screen-active = 0 to hide the field.
hope this helps u.,
Thanks & Regards
Kiran
2011 May 12 3:50 PM
Hello! Thanks again for your answer. I really wanted the column to disappear. screen-active = 0, hides the content of the column, but the column remains in the table view. Is there a way to dynamically remove the column?
Best Regards,
Lameira
2011 May 12 4:13 PM
Why dont you go for a custom module pool program. There is a chance of TMG regeneration so better do it through a custom program.
You can also try with function module STC1_FULLSCREEN_TABLE_CONTROL wherein the table parameters FIELDDIF can be used for hiding the fields by passing NO_DISPLAY = 'X'. You can check function module WAF_VERSIONMANAGEMENT for example.
2011 May 18 1:27 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |