Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

POP UP or Info message with List of values

Hi,

I have some values in an one field Internal Table.

I need to output them onto a Pop-Up or a message with all the records.

Eg: several KUNNR in ITAB.

How can i message all the values in the ITAB as an Info message or an POP-UP.

Thanks in advance.

Tags:
Former Member
replied

popup_with_table_display.

Usage:

CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'

EXPORTING ENDPOS_COL = 41

ENDPOS_ROW = 10

STARTPOS_COL = 1

STARTPOS_ROW = 1

TITLETEXT = TEXT-202

IMPORTING CHOISE = SEL_ROW

TABLES VALUETAB = ITAB

EXCEPTIONS OTHERS = 99.

IF SY-SUBRC EQ 0 AND SEL_ROW > 0.

READ TABLE ITAB INDEX SEL_ROW.

REF_NAME = ITAB-TABNAME.

ELSE.

REF_NAME = SPACE.

ENDIF.

REgards,

Ravi

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question