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: 

Reg: FM 'POPUP_GET_VALUES'

Former Member
0 Kudos

Iam using the FM 'POPUP_GET_VALUES' as below to display a dailog box.

But , the field 'TEST_RUN' is displayed as a parameter (although ,its domain is XFELD). My requirement is to display it as a check box. Kindly suggest.

  • Popup for Rev Reason and test run flag

ls_ftab-tabname = 'TRIGS_POSITION_SELECTION'.

ls_ftab-fieldname = 'TEST_RUN'.

ls_ftab-value = tpmco_xtrue.

APPEND ls_ftab TO lt_ftab.

ls_ftab-tabname = 'VTBFHAZU'.

ls_ftab-field_obl = tpmco_xtrue.

ls_ftab-fieldname = 'SSTOGRD'.

ls_ftab-value = '01'.

APPEND ls_ftab TO lt_ftab.

CALL FUNCTION 'POPUP_GET_VALUES'

EXPORTING

popup_title = text-006

IMPORTING

returncode = ls_code

TABLES

fields = lt_ftab

EXCEPTIONS

OTHERS = 1.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

1 REPLY 1

varma_narayana
Active Contributor
0 Kudos

Hi Sri..

This FM will not Generate the Check boxes , Radio buttons.

It will give the Input fields only.

<b>reward if Helpful.</b>