cancel
Showing results for 
Search instead for 
Did you mean: 

Add attachment to offline approval mail when visible internally flag is set

Former Member
0 Kudos

Hello All,

Our requirement is that if the requestor attaches a document to a shopping cart, while going for approval to the approver the attachment/s should go along with the mail.

Well as of now the attachment goes to the approver when the requestor does not check the 'Visible Internally' checkbox in the portal but in turn; once the shopping cart is approved and turns into a PO the attachment goes to the supplier as well.

When the 'Visible internally' flag is checked then the attachment does not go to the approver in the offline mail, rather he needs to login into portal to view the attachment.

So is there anyway that when the visible internally flag is set the attachment should go to the approver in the offline mail but not to the supplier when the shopping cart becomes a PO.

Thanks in advance.

Regards,

Pranitha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pranitha,

Since note 1606781 internal attachments are not sent anymore. As Internal attachments  are intended to be shown to the purchaser only.

If you want to change the standard design, you can remove the condition "internal_ind NE abap_true" from the report.

Cheers,

Melina

Former Member
0 Kudos

Hi Melina,

Thanks for the reply.

Since the report /SAPSRM/OFFLINEAPPROVALSEND/ is a standard report (that is scheduled a job) how could we make changes in that?

Thanks,

Pranitha.

Former Member
0 Kudos

Hi Pranitha,

You need to copy it as a Z/SAPSRM/OFFLINEAPPROVALSEND/ and then modify .

Thanks,

Melina

Former Member
0 Kudos

Thanks Melina,is it possible to attach the document using mail_create method in BBP_OFFLINE_APP_BADI.

Regards,

Pranitha K