Sending Smartform as an Email Attachment
After executing the FM SO_NEW_DOCUMENT_ATT_SEND_API1, I' m getting sy-subrc as 0.
However in receivers table I'm getting the return code 27.
Can anybody please suggest what might went wrong.
The return code 27 represents the error "receiver_not_exist". So check the entry passed into the "RECEIVERS" internal table into the FM. Mainly the values in "RECEIVER" and "REC_TYPE" field etc.