on 2018 Mar 22 12:56 PM
I have one Ztransaction which displays multiple deliveries as an ALV. Now if I select any row of delivery and click on custom created menu button(send mail) then it should send one mail with delivery attachment to the user.
How to achieve it?
Problem: For different deliveries , there can be different sap scripts and program. So, I can not go to each program and from FM: close_form get OTF data?
Still need solution for it.
Finally, after calling two subroutines of report RSNAST00:
I sent output to spool and then I read output from spool by following ways:
First read spool no. generated by FM RSPO_FIND_SPOOL_REQUESTS:
Then read pdf data from spool using FM: CONVERT_OTFSPOOLJOB_2_PDF:
Now LT_BIN_DATA contains data in binary format. Just use it for attachment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
9 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.