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: 

FM to Popup a Internal table with only one option to continue

Former Member
0 Kudos

I'm looking for a POPUP FM that can Show a list of values from a Internal table and ask the user to continue.

I just need to inform the user that the values in the Internal table are being ignored and only give an option to continue for the user.

Thanks in advance..!

Message was edited by: RajS Koppolu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

POPUP_WITH_TABLE_DISPLAY

7 REPLIES 7

Former Member
0 Kudos

POPUP_WITH_TABLE_DISPLAY

0 Kudos

But I need only to show them that they can continue. I shouldn't give them an option to cancel.

Also I'm just informing them of the list that is being ignored.

0 Kudos

Hi

You can create one screen as dialog, and you can call this screen using CALL SCREEN. You can set buttons in this dialog screen as you wish. It will good option for your scenario i feel.

Bala

0 Kudos

There are other FMs that might work for you. Check SE37 for FM's starting with POPUP_*.

Maybe POPUP_SHOW_INTTAB will work for you. It displays an internal table.

0 Kudos

You can dispaly two lines of text with the function call

POPUP_WITH_WARNING.

Regards,

Suresh Datti

Former Member
0 Kudos

Hi,

This is ideal FM for ur requirement:

POPUP_TO_SHOW_DB_DATA_IN_TABLE.

Former Member
0 Kudos

Hai RajS

Check the following code

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ldf_tabname " Structure of VALUE_TAB

RETFIELD = LDF_FLDNAME "Name of return field in FIELD_TAB

  • PVALKEY = ' '

  • DYNPPROG = ' '

  • DYNPNR = ' '

  • DYNPROFIELD = ' '

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

VALUE_ORG = LCF_VAL "Value return

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

VALUE_TAB = TAB_TEMP " Table of Values

FIELD_TAB = LDT_FLDTAB " Fileds of the Hit list

RETURN_TAB = LDT_RETTAB " return the selected value

  • DYNPFLD_MAPPING =

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

READ TABLE LDT_RETTAB INDEX 1.

DATA: LDT_DFIES LIKE DFIES OCCURS 0 WITH HEADER LINE.

CLEAR LDT_DFIES.

CALL FUNCTION 'DDIF_FIELDINFO_GET'

EXPORTING

TABNAME = LDF_TABNANME

FIELDNAME = LDF_FLDNAME

  • LANGU = SY-LANGU

  • LFIELDNAME = ' '

  • ALL_TYPES = ' '

  • GROUP_NAMES = ' '

  • UCLEN =

  • IMPORTING

  • X030L_WA =

  • DDOBJTYPE =

  • DFIES_WA =

  • LINES_DESCR =

TABLES

DFIES_TAB = LDT_DFIES " Field List

  • FIXED_VALUES =

EXCEPTIONS

NOT_FOUND = 1

INTERNAL_ERROR = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Thanks & regards

Sreenivasulu P