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.
I Created a TMG.
Whenever we want to add any custom button we need to add one event.
Give form routine name.
After changing the form routine. We need to change the function group as well. Go to SM30.
Here I already changed the Program(GUI). That is the reason it is showing SAPLZMR_FNGP.
Previously it was like SAPLSVIM.
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.
Here add the new icon that is ‘CC’. Double click on the CC.
Now the newly button is added.
Click on the Consistency check button. It will the details like this.
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.
Let’s Go to the coding.
Go to the table, click on TMG and click on the overview screen number.
Here I added the new Module( MODULE consistency_check.)
Go to SE80.
Click on screen 004. add select query to fetch the header data for displaying the data in table control.
Click on screen 005. add select query to fetch the item data for displaying the data in table control.
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.
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. I Created a TMG. Whenever we want to add any custom button we need to add one event. Give form routine name. After changing the form routine. We need to change the function group as well. Go to SM30. Here I already changed the Program(GUI). That is the reason it is showing SAPLZMR_FNGP. Previously it was like SAPLSVIM. 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. Here add the new icon that is ‘CC’. Double click on the CC. Now the newly button is added.Click on the Consistency check button. It will the details like this. 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. Let’s Go to the coding. Go to the table, click on TMG and click on the overview screen number. Here I added the new Module( MODULE consistency_check.) Go to SE80. Click on screen 004. add select query to fetch the header data for displaying the data in table control.Click on screen 005. add select query to fetch the item data for displaying the data in table control.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
#SAP
#SAPTechnologyblog