Application Development 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: 

Any popup function module for my requirement

abdulazeez12
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

hi,

Check this FM REUSE_ALV_POPUP_TO_SELECT

Former Member
0 Kudos

HI.

Refer this link ,get some idea about table conrol.

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

Regards.

jay

Former Member
0 Kudos

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.

saumya_govil
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Solved on my own