01-31-2012 1:41 PM
Hi All,
I need a help in providing attachment functionality to a custom transaction.
I have build a custom transaction for GL master, the requirement is that i need to provide a attachment functionality to attach a
documents like in standard trasactions(attaching a documents in Va02). How can i achieve this functionality?
Is there any class/FM to call?
Thanks in advance.
Venu.
01-31-2012 1:55 PM
02-01-2012 12:48 PM
Thanks for reply,
I am using GOS tool bar, but problem is that i don't have object key untill my transactions is saved.
Once the transaction is saved the request no is generated, i need to use this request no as a object key for attachment.
How can i achieve this?????
Regards,
Venu
02-01-2012 1:31 PM
I think it's pretty clear that you must do the attachements AFTER successful save of the document create. Obviously, you would not want to do attachments before you knew you had successfully saved the document, since a save failure would leave you with "orphaned" GOS entries. So, after successful save, proceed to get the new document number and use that to continue with the GOS attachments creation.
02-04-2012 8:09 AM
Hi thanks for reply,
Is it possible to attach a document first with GOS and once i save successfully the document object key is generated, assign that object key to attachment in back end???
my requirement is... key in all entries into trasaction and attach a documents and save. once saved successfully the doc no is generated. the attachment should be save with generated doc no.
thanks®ards.
01-31-2012 7:07 PM
Check this
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26460] [original link is broken];
Nabheet