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

regarding popup window.

0 Likes
489

hello,

can any one provide a <b>function module name for a popup window</b> in which <b>two editable fields</b> should be there for <b>user to enter numaric values</b>.as my requirement needed to<b> seek two numaric values in a popup window in one user exit and save these values in at perticular external memory so as i call call these values in another program</b> where i need some usefull confegaration.

Please provide me answer as quic as possible as requirement is very urgent.

thanking u all.

Hareesh TADEPALLI

1 ACCEPTED SOLUTION
Read only

dev_parbutteea
Active Contributor
0 Likes
470

Hi,

use FM: POPUP_GET_VALUES for popup screen:

Here is a sample about how to use it:

data: wa_fields like SVAL,

li_fields TYPE STANDARD TABLE OF SVAL.

move 'KONA' to wa_fields-TABNAME.

move 'KNUMA' to wa_fields-FIELDNAME.

append wa_fields to li_fields.

move 'BSEG' to wa_fields-TABNAME.

move 'BUKRS' to wa_fields-FIELDNAME.

append wa_fields to li_fields. " add more fields if required

CALL FUNCTION 'POPUP_GET_VALUES'

EXPORTING

  • NO_VALUE_CHECK = ' '

popup_title = 'Test title'

  • START_COLUMN = '5'

  • START_ROW = '5'

  • IMPORTING

  • RETURNCODE =

tables

fields = li_fields

  • EXCEPTIONS

  • ERROR_IN_FIELDS = 1

  • OTHERS = 2

.

IF sy-subrc <> 0.

loop at li_fields into wa_fields.

" use values of field VALUE

ENDLOOP.

endif.

Regards.

hello,

can any one provide a <b>function module name for a popup window</b> in which <b>two editable fields</b> should be there for <b>user to enter numaric values</b>.as my requirement needed to<b> seek two numaric values in a popup window in one user exit and save these values in at perticular external memory so as i call call these values in another program</b> where i need some usefull confegaration.

Please provide me answer as quic as possible as requirement is very urgent.

thanking u all.

Hareesh TADEPALLI

2 REPLIES 2
Read only

Former Member
0 Likes
470

Hi,

I dont think you can get function module to satisfy your requirement. Try to create a module pool .

Cheers

Phani.

Read only

dev_parbutteea
Active Contributor
0 Likes
471

Hi,

use FM: POPUP_GET_VALUES for popup screen:

Here is a sample about how to use it:

data: wa_fields like SVAL,

li_fields TYPE STANDARD TABLE OF SVAL.

move 'KONA' to wa_fields-TABNAME.

move 'KNUMA' to wa_fields-FIELDNAME.

append wa_fields to li_fields.

move 'BSEG' to wa_fields-TABNAME.

move 'BUKRS' to wa_fields-FIELDNAME.

append wa_fields to li_fields. " add more fields if required

CALL FUNCTION 'POPUP_GET_VALUES'

EXPORTING

  • NO_VALUE_CHECK = ' '

popup_title = 'Test title'

  • START_COLUMN = '5'

  • START_ROW = '5'

  • IMPORTING

  • RETURNCODE =

tables

fields = li_fields

  • EXCEPTIONS

  • ERROR_IN_FIELDS = 1

  • OTHERS = 2

.

IF sy-subrc <> 0.

loop at li_fields into wa_fields.

" use values of field VALUE

ENDLOOP.

endif.

Regards.