2009 Jan 23 4:28 AM
Hi Gurus,
How to create controls like input/output,Text dynamically in Module pool.
I dont want to create static controls using screen painter.
using report program we can use by select-option where we can able to create controls dynamically too,
but in module pool prog,can not able to use select-option.
Is there any option like Create Objet so i can able to create instance of the control.
please send code if possible.
Thanks and Regards
Vinayak Sapkal
Hi Gurus,
How to create controls like input/output,Text dynamically in Module pool.
I dont want to create static controls using screen painter.
using report program we can use by select-option where we can able to create controls dynamically too,
but in module pool prog,can not able to use select-option.
Is there any option like Create Objet so i can able to create instance of the control.
please send code if possible.
Thanks and Regards
Vinayak Sapkal
2009 Jan 23 5:16 AM
hi
I hope u can use selection screen as subscreen in module programs...
Check this link
[http://help.sap.com/saphelp_46c/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm]
Hope the content fullfills ur requirements and ensure that the thread is closed if ur issue is resolved...
regards
R@SAP
2009 Jan 23 5:27 AM
Hi,
This content is also good..
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab7c35c111d1829f0000e829fbfe/frameset.htm
Regards
Mudit
2009 Jan 23 5:47 AM
Hello Vinayak,
MODULE passdata OUTPUT.
READ TABLE it_revision INTO wa_rev INDEX tab_clc-current_line.
IF sy-subrc = 0.
LOOP AT SCREEN.
IF screen-group1 = '111'. " 111 IS THE GROUP NAME
screen-input = 1. " input mode
screen-active = 1. " input mode.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = '111'. "GROUP NAME
screen-input = 0. " display mode
screen-active = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
make a group for which field that you want to open for input mode.
Hope it will help you.
Thanks
Arun Kayal.
2009 Jan 23 6:32 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |