02-23-2007 7:30 PM
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
02-24-2007 12:20 PM
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