Display information message based on user selection in output screen

Dec 22, 2014 at 04:58 AM|3 Views

Hi all,

My requirement is to display an alv list report and in the report output i have placed a checkbox column and when i select the required document number and hit the preview button which i have placed in the report that should get exported to a text file.

Now everything is working fine, and now i have to set a message type that when the user selects the same checkbox for the second time and hit preview button it should display a message saying that already printed. How can i achieve this.

In order to achieve the required functionality, the program needs to check form the back end whether the particular record has been printed or not for which it's necessary to store the same in some 'Z' table. whenever a user is checking the checkbox, the validation is made from the particular Z table which will help in identifying the status of printing and issue a suitable message.

Add comment

Take a flag column in your Final Output Internal Table (but don't display in ALV).

As per your logic, when your are storing the information first time, after the logic you update the selected record flag value with 'X' and then if the same records is user next time, based on the flag column value, you can check the selected records is already proceed or not