05-10-2006 10:30 PM
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
05-10-2006 10:32 PM
05-10-2006 10:32 PM
05-10-2006 10:35 PM
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.
05-10-2006 11:58 PM
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
05-11-2006 12:06 AM
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.
05-11-2006 12:41 AM
You can dispaly two lines of text with the function call
POPUP_WITH_WARNING.
Regards,
Suresh Datti
05-11-2006 6:53 AM
Hi,
This is ideal FM for ur requirement:
POPUP_TO_SHOW_DB_DATA_IN_TABLE.
05-11-2006 7:09 AM
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