FM SO_NEW_DOCUMENT_ATT_SEND_API1 not working
I am working on ECC 6.0 I have requirement to send e-mail with PDF attachement to user.For sending e-mail I am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 in my Z-program .It return Exception DOCUMENT_NOT_SENT.
But same code is working in our old version of ECC 5.0.
What will be the reason???