cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting SRM attachments

former_member271795
Participant
0 Kudos

Hi

we are trying to restrict attachments to shopping carts/PO's by file size and to specific file types.

Is there a badi that can raise an error when loading attachments for programable criteria

or

is there an area of config that controls this

thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think you can do this in BBP_DOC_CHECK_BADI.....

Call BBP_PD_SC_GETDETAIL in the function module using the guid and in the export parameters there is a table called ET_ATTACH. You can see all the details of the file in this table.

Hope this helps.

Regards,

Zubair

Former Member
0 Kudos

Hello,

You can use the function module BBP_ATTACH_BUILD_URL for this purpose.

Regards,

Anindya