cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict specific file types and extentions in SC, QUOT & RFX

former_member533535
Participant
0 Kudos

Hi Experts,

We have implemented SRM7.0 Classic scenario.

We need to restrict specific file types to be uploaded as attachments into SC, QUOT & RFX.

Can you give the system property settings to be done to achieve this.

Thanks,

B.N.Karthikeyan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The best place to put in the validation logic is the implementation of BBP_DOC_CHANGE_BADI. However, although there are a couple of notes (1512079, 1544147) that add attachment as parameters in the RFx BADI interface, attachments are not being passed into SC and QUOT interface. For those two, you could create OSS message to SAP for fix like those done for RFx.

After you apply the notes to get attachments passed into RFx interface, check the PHIO_EXT field for the attachment extension in the logic for your specific requirement and raise error message when needed.

former_member533535
Participant
0 Kudos

Hi,

Can I restrict file types by having this BBP_DOC_CHANGE BADI implementation?

I dont need to pass this attachments to RFX and Quote.

My requirement is to restrict the user on specific file types during add attachment function.

Regards,

B.N.Karthikeyan

Former Member
0 Kudos

When BBP_DOC_CHANGE BADI implementation gets the attachment the user tries to add, you can then decide if the extension is allowed or not. If not, throw an error message.

Answers (0)