Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CL_GOS_DOCUMENT_SERVICE / DELETE_ATTACHMENT

former_member194669
Active Contributor
0 Kudos

Hi,

I have requirement to delete an attachment attach to a sales document.

For this i am using the following class CL_GOS_DOCUMENT_SERVICE and method DELETE_ATTACHMENT.

My issue is in method DELETE_ATTACHMENT the parameter IP_ATTACHMENT is mandatory . I don't know how to arrive the value of IP_ATTACHMENT.

Here i have value for OBJKEY = (sales document numner) and OBJTYPE.= (YSALESATTA).

I like to know to how to arrive value IP_ATTACHMENT ( This is value for folder information).

Thanks

aRs

1 REPLY 1

athavanraja
Active Contributor
0 Kudos

try this FM

BDS_BUSINESSDOCUMENT_DELETE

where you need to pass logical system, calssname, classtype (BO),client and ojbect key (which is sales docu number)

Raja