Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Any popup function module for my requirement

abdulazeez12
Active Contributor
0 Likes
1,591

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

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,563

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.

Read only

0 Likes
1,563

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

Read only

0 Likes
1,563

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

Read only

Former Member
0 Likes
1,563

hi,

Check this FM REUSE_ALV_POPUP_TO_SELECT

Read only

Former Member
0 Likes
1,563

HI.

Refer this link ,get some idea about table conrol.

http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm

Regards.

jay

Read only

Former Member
0 Likes
1,563

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.

Read only

saumya_govil
Active Contributor
0 Likes
1,563

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

Read only

Former Member
0 Likes
1,563

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

Read only

0 Likes
1,563

Solved on my own