cancel
Showing results for 
Search instead for 
Did you mean: 

Delete SAP B1 Attachments from Business Partners

former_member706487
Discoverer
0 Kudos

Hi All,

There is no option i can see to delete attachments through SAP B1 SDK, I tried with FileName =" " but this is not deleting the attachment.

Anyone can tell me a proper way for this .

Thanks

former_member30
Community Manager
Community Manager
0 Kudos

Hi and welcome to the SAP Community!

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members. For example, you can outline what steps you took to find answers (and why they weren't helpful), share screenshots of what you've seen/done, make sure you've applied the appropriate tags, and use a more descriptive subject line.
The more details you provide, the more likely it is that members will be able to assist you. You should also make sure you're using all the appropriate tags, so the right experts can find your question.

Should you wish, you can revise your question by selecting Actions, then Edit.

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Cheers,

Julia
SAP Community Moderator

Accepted Solutions (0)

Answers (1)

Answers (1)

PierreBrothier
Contributor
0 Kudos

Hello,

from the SDK documentation :

To remove an Attachment item, set its FileName property to NULL ("") and call the Update method of the calling object

if it doesnt work, have a look on the following note :

2499014 - Cannot Delete Attachments from Marketing Document Using Data Interface(DI)

https://launchpad.support.sap.com/#/notes/2499014

Depending on you b1 version, there's an issue with the di api.

hope it helps !