Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8902

Re: Not getting function module to display a popup screen with a input text field(PERNR)

$
0
0


Following code is working fine.By appending the fields we can pass more than one field to popup.Thanks Raymond .Thanks to all of you .

tables : pa0001.

 

 

*START-OF-SELECTION.

*— Prepare Parameters for FM ————-*

t_fields-tabname = 'PA0001'.

t_fields-fieldname = 'PERNR'.

APPEND t_fields.

 

*—- Function Module Call —————–*

 

CALL FUNCTION 'POPUP_GET_VALUES'

   EXPORTING

*   NO_VALUE_CHECK        = ' '

     POPUP_TITLE           = 'Test Popup'

*   START_COLUMN          = '5'

*   START_ROW             = '5'

* IMPORTING

*   RETURNCODE            =

   TABLES

     FIELDS                t_fields

* EXCEPTIONS

*   ERROR_IN_FIELDS       = 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.


Viewing all articles
Browse latest Browse all 8902

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>