on 12-07-2011 6:03 AM
Hi Workflow experts,
I need to get or flow rejection reason attachment into method from workflow.
Pls suggest me how to capture the attachment in method and send it to through CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
I don't need to attach the rejection reason through sent mail activity as I know it works.
Thanks & Regards
Srimanta
Hello,
There are a few ways to do this (search the forum for more) but one way is to call fm POPUP_GET_VALUES to get the comment and store it in the workflow, and then use fm SO_NEW_DOCUMENT_ATT_SEND_API1 in the next step to send it.
Give it a try and let us know if you have specific problems.
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rick,
Can you pls give other idea to get the attachment into method. As user want to press CREATE button to write reason for rejection message. After that they will press Rejection decision. Mail will be sent to requestor and approver for Rejection of document along with reason text.
Thanks & Regards
Srimanta
Hi,
As you mentioned when he clicks on CREATE button and then he would be including his comments in the textbox, is enduser using a webdynpro applicaiton of SAP GUI transaction?,
and once he clicks on the reject button read the text what ever entered by the enduser into a internal table of type SOLI_TAB and pass this internal table to the function module which you want to use for sending the rejection comments as the mail body..
Make sure you define the type of the mail as RAW.
Regards
Pavan
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.