To POP up table contents on the Screen the following function module can be used.
SAP ABAP function module to POP UP Table contents on the screen.
POPUP_WITH_TABLE_DISPLAY
___________________________________________
While developing a report if you wish to display some internal table contents on the screen it can easily be done with the above mentioned function module. While doing so you can define a hot spot or create a button the screen and pop up the internal table contents.
Find the code below.
The input parameters are as follows
ENDPOS_COL Make sure that you define a value that will accommodate the complete column length. ENDPOS_ROW Put a values to ensure that the rows in the internal table should fit in STARTPOS_COL Co-ordinates (X-Axis) of the starting position (Column)of the POP UP Table STARTPOS_ROW Co-ordinates (Y-Axis) of the starting position (Row)of the POP UP Table TITLETEXT Title to be given
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.
No comments:
Post a Comment