2 weeks ago
Hi,
I am wondering a cleaner and better way of sending the list report output as attachment in email in SAP RAP. The problem is that user can filter out the result of list report from the filters in selection screen. So, suppose the BO returns 1000 material records without filter. If I filter with material, I get 20. So, I need a button - 'Send Email' upon clicking which, those 20 records must be sent in attachment of the email.
Below are the approaches I have in my mind, but none of them feel clean to me -
What else can we do? Why there is no way to get filters in a custom action the way we get in custom query provider class through IO_REQUEST?
There's an option named #CHANGE_SET. When you activate it, you can select multiple lines at a time and process them all together in one single execution. I'm thinking that maybe, in the action method, you can get the information from all lines selected, and add them all together to the e-mail.
Please check following post created by Abishek Sharma:
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @DiegoValdivia, I think you misunderstood my need. With the first approach I mentioned i.e., Instance based action, I will have to use CHANGE_SET, but I also would have to select records and click on Send Email button.
No customer would want to select n number of records everytime they send a report. So, I am looking for a way to send list report output in email without selecting any row.
Hi @rammel_sapdev, no, I haven't found any better solution.
User | Count |
---|---|
70 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.