Application Development and Automation 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: 
Read only

ISSUE REGARDING FUNCTION MODULE

Former Member
0 Likes
563

Hi all,

is there any Function module which displays a pop up screen with internal table data along with confirmation buttons ( Yes, NO and Cancel).

If there is no such Function Module please provide me the steps to create a function module for the above scenario.

As I need to call this pop up window in a BADI.

urgent ,

thanking you in advance

5 REPLIES 5
Read only

Former Member
0 Likes
526

Ramesh,

Not very sure about whether any function module for this requirement.

But you can create your own screen with table as internal table and call this in yoru BADI, after passing the data to the table.

Regards,

Amey

Read only

0 Likes
526

Take a look at POPUP_WITH_TABLE_DISPLAY & create a custom function along the same lines if it isn't suitable.

~Suresh

Read only

Former Member
0 Likes
526

Hi,

You can use the Function module POPUP_WITH_TABLE_DISPLAY to display a table contents in a Popup

AT SELECTION-SCREEN ON VALUE-REQUEST FOR SEL_NBA-LOW.

PERFORM ZNEW_VALUE_HELP_NBA.

FORM ZNEW_VALUE_HELP_NBA.

SELECT DISTINCT ZBAREA FROM ZDIVNBABU INTO TABLE ITAB_NBA.

CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'

EXPORTING

ENDPOS_COL = 30

ENDPOS_ROW = 40

STARTPOS_COL = 20

STARTPOS_ROW = 30

TITLETEXT = 'Please Choose Your Entry'

IMPORTING

CHOISE = COUNTS

TABLES

VALUETAB = ITAB_NBA

EXCEPTIONS

BREAK_OFF = 1

OTHERS = 2.

IF COUNTS NE 0.

READ TABLE ITAB_NBA INDEX COUNTS.

SEL_NBA-LOW = ITAB_NBA-ZBAREA.

ENDIF.

CLEAR :ITAB_NBA,COUNTS.REFRESH:ITAB_NBA.

ENDFORM. " ZNEW_VALUE_HELP_NBA

Regards

Sudheer

Read only

Former Member
0 Likes
526

Hi,

You can use FMs: POPUP_WITH_TABLE_DISPLAY or F4IF_INT_TABLE_VALUE_REQUEST

Regards,

Bhaskar

Read only

Former Member
0 Likes
526

Please see if this will work for you: POPUP_WITH_TABLE_DISPLAY_OK

I hope this helps.

- April King