on 03-01-2024 9:31 AM
For incoming invoices (via email) we want to delete all attachments which are unequal .pdf. The class and method which are responsible for this are:
At the moment I consider to solve this via an implicit enhancement spot in the method GET_ATTACHMENT.
Would this be the best solution or does the VIM module have any Business Rules, Customizing, BAdIs, etc. instead which would be more suitable for this kind of 'enhancement'? If yes can someone provide more insights?
System is running on S/4HANA2020 On-premise.
Deleting attachments is not possible, to ensure the document integrity - see sap note 2753902.
I copied class /OTX/PF01_CL_REGISTER_MAIL into a custom Z-class and implemented a filter to only register certain file types with OpenText.
The following blog post describes how you can add your own ABAP coding for email inbound processing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
10 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.