How to add Information popup with above 73 characters length
Share

How to add Information popup with above 73 characters length and how to add custom button in Table maintenance generator. 

Requirement 

Let’s take a scenario I created a custom button in TMG screen. After clicking on custom button I need to show tabstrip with table control. Inside the table control, I added a push button. If I click on More Info push button it will show message pop_up with above 73 character length. 


Screenshot (721).png

Created a TMG. 

Screenshot (722).png

Whenever we want to add any custom button we need to add one event. 

Mohanreddy_0-1772081137579.png

Give form routine name. 
Screenshot (723).png
After changing the form routine. We need to change the function group as well. Go to SM30.  

Mohanreddy_1-1772081244341.png

Mohanreddy_2-1772081257746.png

Here I already changed the Program(GUI). That is the reason it is showing SAPLZMR_FNGP. 

Previously it was like SAPLSVIM. 

Mohanreddy_3-1772081308691.png

Now let’s see how Program(GUI) is changed. Go to SE41. Click on User Interface. Give From  program as SAPLSVIM and in to program give the form routine name which you added in events. 

Screenshot (724).png

Here add the new icon that is ‘CC’. Double click on the CC. 
Screenshot (725).png
Screenshot (726).png

Now the newly button is added.

Mohanreddy_5-1772081566718.png

Click on the Consistency check button. It will the details like this. 
Screenshot (727).png
If the customer wants to know the details of header and items details. I introduced new button called MORE_INFO. If the customer click on more info it will display the information with pop_up. 
Screenshot (728).png

Let’s Go to the coding. 

Go to the table, click on TMG and click on the overview screen number. 

Mohanreddy_6-1772081727390.png

Here I added the new Module( MODULE consistency_check.) 
Screenshot (729).png

Mohanreddy_7-1772081853918.png

Go to SE80. 
Screenshot (730).png

 

Screenshot (731).png

Screenshot (732).png

 

Screenshot (734).png

Screenshot (735).png
Screenshot (736).png
Screenshot (739).pngScreenshot (737).pngScreenshot (738).png

Screenshot (740).pngScreenshot (741).pngScreenshot (742).png
Click on screen 004. add select query to fetch the header data for displaying the data in table control.
Screenshot (743).png
Click on screen 005. add select query to fetch the item data for displaying the data in table control.
Screenshot (744).png
Screenshot (745).png

Conclusion: By using this pop_up if we want to create pop_up with above 1000 characters it is possible. we can display the message to the customers. so by using this pop_up they will get the idea about the requirement.

 

  Read More Technology Blog Posts by Members articles 

#abap

By ali