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: 

Generic Object Services u2013 GOS

Former Member
0 Kudos

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

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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'.