2008 Dec 30 9:53 AM
Hi All
I want to display a popup with either internal table or database table entries with some of the columns (fields of table) editable and some not editable. Its like I need the values for some of the fields and these fields should be shown as blank and input enabled. For those fields with values present, shoudl be shown in display mode. Any idea?
Thanks
M A
2008 Dec 30 9:57 AM
Create a screen and use the table control to show the contents and making input enabled or disabled.
Now call this screen using "call screen starting at ending at" statement.
2008 Dec 30 10:00 AM
Thanks a lot shafiullah.
I dont know table control. Can you please give me some code snippet for this requirement.
Thanks a lot again
M A
2008 Dec 30 10:05 AM
Hi,
U can do without table control also by using normal ALV_GRID function module..
In the PBO u try to populate the output and then what ever changes u do u can get them and u can do in PAI module..
if u want to do with table control then u have lots of demo programs in sap..
Use search word ->DEMO_DYNPRO_TAB* in SE38.. U will get.
Regards,
Nagaraj
2008 Dec 30 10:19 AM
2008 Dec 30 10:26 AM
HI.
Refer this link ,get some idea about table conrol.
http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
Regards.
jay
2008 Dec 30 10:32 AM
Hi,
Please check this link will surely help you.
http://www.erpgenie.com/component/content/article/851
If this site is not supported please delete it.
2008 Dec 30 10:41 AM
Hi Shakir,
Check if the following FMs are useful to you:
POPUP_GET_VALUES
POPUP_GET_VALUES_DB_CHECKED
POPUP_GET_VALUES_USER_BUTTONS
POPUP_GET_VALUES_USER_CHECKED
You can also search for all Pop-up FMs in SE37 by doing search POPUP*.
Hope this helps!
Regards,
Saumya
2008 Dec 30 10:58 AM
hi,
check the function module POPUP_WITH_TABLE_DISPLAY
data: begin of itab occurs 0,
kunnr like kna1-kunnr,
end of itab.
select kunnr from kna1 into corresponding fields of table itab.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY' EXPORTING
endpos_col = 45
endpos_row = 25
startpos_col = 10
startpos_row = 1
titletext = 'text'
IMPORTING
CHOISE = c
tables
valuetab = itab
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2
.
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
HOPE THIS HELPS,
Regards
Md.MahaboobKhan
2009 Jan 15 5:37 AM