08-12-2010 7:12 AM
Hi Gurus
I am not familiar with this in SAP and would appreciate some help please. With transaction CV04n we need to create an attachment on the document via the menu: GOS icon, Create, Create Attachment. The requirement is to delete the file from the local masjine after attaching it. Do we use a user exit or BADI for this? I cannot seem to find one where the breakpoint is after this popup for attaching the file.
Regards B.Garlipp
08-12-2010 7:22 AM
Check the GOS_SRV_REQUEST and GOS_SRV_SELECT Business Add-Ins (BadI) (These BAdIs are documented in the system, you can also find some documents online like [Customizing Object Services|http://help.sap.com/saphelp_nw04/helpdata/en/15/7b623c28695c63e10000000a11405a/frameset.htm])
Regards,
Raymond
08-12-2010 9:33 AM
Using following u got GOS tool bar
CREATE OBJECT lo_manager
EXPORTING
is_object = la_obj
ip_no_commit = space
EXCEPTIONS
OTHERS = 1.
EXAMPLE
REPORT ZGOS.
DATA: lo_manager TYPE REF TO cl_gos_manager,
la_obj TYPE borident.
START-OF-SELECTION.
la_obj-objtype = 'TRDIR'.
la_obj-objkey = 'REPS'.
* GOS toolbar
CREATE OBJECT lo_manager
EXPORTING
is_object = la_obj
ip_no_commit = space
EXCEPTIONS
OTHERS = 1.
* To generate output
WRITE: 'GOS test for Customer'.