Page tree
Skip to end of metadata
Go to start of metadata

Frequently occured problems in Generic Object Services (Services for Object)


1. The „Generic object services" (GOS) is not available for a user


Generic object services are only available for dialog users. Please check the user type for the appropriate user in tr. SU01 under „Logon data". User type must be „Dialog".



2. The GOS is not available in an application at all


A) In order to allow the "Generic Object Services" to be used for a business object of an application, the object must be published. Normally this is done in standard applications. If this is not done, the responsible application component must be informed to publish the business object for GOS.
B) A prerequisite for point A) is an existing and correctly defined business object in the Business Object Repository (transaction SWO1)
C) Some applications (for example sales and distribution) deactivate the object services in standard. This can be activated with user parameter SD_SWU_ACTIVE. For more information, please read the note: 598073 - Message "No service available"



3. Problem while displaying "Generic object services" or some service is not functioning correctly


How the GOS is displayed and how it works, mainly depends on the table SGOSATTR. This defines:

  • The structure of the service list
  • The classes for each service

It is advised to check the structure of this table in these cases.
This table could contain:

  • Customer defined services (in thei case it is always recommended to check the behaviour with the standard table contents, e.g. delete all non-standard entries from table SGOSATTR)
  • Incorrect standard services, like J3RF_IMCD

For more information please read the note:
1401005 - GOS: Services are not started correctly (sporadic)
961713 - Structure of SGOSATTR table

Execute the check report RSGOSCHECK from note 1873544, with this report followings can be checked:

  • Multiple first services
  • The modifications from standard
  • Available GOS BAdI implementations

The most common cause for empty GOS (services and icons are not displayed) is that multiple first services exist. This is shown in result of report RSGOSCHECK:

  • If one of the first services is J3RF_IMCD, check KBA 2030396.
  • If there are customer own entries in table SGOSATTR (like IXOS_XL for instance), check the attachment of the note 1401005 to get more info how to insert non-standard services in table SGOSATTR correctly. (Name of this document is "How_to_maintain_SGOSATTR.pdf")

Services can also be customized in transaction SGOS (table SGOSCUST) as of basis release higher than 610.

This could be also a reason for a non-standard behaviour of one or more services. Please also check whether a service was modified in this way.



4. Authorizations in GOS


Regarding the authorization concept in GOS, please check KBA 1539457.

General informations can be found in the following note:

491271 - Authorizations for generic object services

The only thing what should be checked is, that the attached documents in the attachment list can be modified/deleted by the:

-Owner of the appropriate document

-Users with SAPoffice administrator authorization (authorization object S_OC_ROLE).

This behaviour is written in the note:

825348 - Authorizations for changes in the attachment list

For more information about authorization object S_OC_ROLE, pay attention to the note:

552127 - FAQ: SAPoffice - Authorizations

However a new authorization object was created to separate the authorizations in GOS attachment list and in SAPoffice. This could be useful if a user should have the SAPoffice administrator authorization, but should not be able to have full access to the attached documents in the attachment list. For this purpose you can use the new authorization object S_GOS_ATT (and the new role SAP_BC_GOS_ATTACHMENT_LIST), as written in the note
1293080. However this is only available from a specified support package (basis release 700 or higher), and cannot be implemented with a note correction.



5. Service "Store Business Document" is inactive


As this service uses the archive link interface, some archive link settings must be done to activate the „Store Business Document" for this application. The relevant business object of this application must be an existing object, which can be checked in transaction SWO1. It is mandatory to set this business object in transaction OAC3, where you can define some important attributes, like:

-the document type, which must be set in transaction OAC2

-the content repository, where the attached document should be stored (transaction OAC0)

-the table, where the link between the business object and the document is stored

For more information, please check:

-online help on component BC-SRV-ARL:

-Customizing in transaction SPRO:

 SAP NetWeaver >> Application Server >> Basis Services >> ArchiveLink >> Basic Customizing



6. Some attributes of attachments are not displayed in attachment list (title, creator name, time)


In this case probably the service „Store Business Document" is used.

For more information check the ArchiveLink Wiki here: and the SAP KBA 1513057.

On the other hand, if you choose the service „Create Attachment", the document is stored as SAPoffice document using the Knowledge Provider interface (KPRO), and not via ArchiveLink. In this case we are able to display the title, creator, ....



7. Performance problem while opening "Generic object services"


Performance problem can have several reasons and solutions/workarounds:


When displaying documents from the GOS attachment list (e.g. PDF files) a local copy is placed onto the PC of the user. During a later start of the GOS attachment list, the system tries to delete these local copies again.

The performance will be bad, if the sysetm has a huge list of documents to delete, but we cannot find them on the local PC. For example, the user got a new PC or has deleted the local files manually, or has worked on another PC for a while. Then we try to delete all these files but have no success and we will keep trying the next time the attachment list is opened - again and again.

To solve this problem, please delete all records from table SOPCPATH. This is the table keeping the location of the local copies. This table is read to try to delete all the files. It is doing no harm if you delete the table for the affected users (or all users).

If the users often work on different PCs, eg. if you have a free seating concept in your office, you should delete the local files during logout of the users at the end of the day. To activate this feature, please apply the correction from note:

791677 - SAPoffice: Temporary copy during display of PC documents

The given user should clean the SAPworkdir directory on her/his PC also.

(so the corresponding entries from SOPCPATH)


In cases the attached documents are stored in an HTTP content server, than please check whether the following workaround improves the performance.

The saphttp.exe is an RFC server program on the frontend. This is normally accessible. Problems can occur if for example a firewall exists between frontend and the application server. A connection test is therefore performed prior to the initial usage for security reasons. When this fails, usage of the program is stopped for the rest of the session. You can also check the peformance of the connection test to rfc destiantion SAPHTTP in tr. SM59.

By setting the user parameter SAPHTTP_RFC_CHECK_TO to FAILED, the usage can be totally deactivated. You can do the settings for this via tr. SU01 for a user.

In this case the saphttp.exe on application server will be used. (RFC destination SAPHTTPA)

(Similar to this the user parameter SAPCMS_RFC_CHECK_TO can also be set)


Rarely the cause can be also a bad performance during accessing the table SWW_WI2OBJ. For this it is necessary to set the indexes according to note:

725721 - Incorrect index on the SWW_WI2OBJ table



8. Where are the documents stored while using "Generic object services"


Main notes in this issue are:

530792 - Storing documents in the generic object services

904711 - SAPoffice: Where are documents physically stored?

Related Troubleshooting Guides, Notes & KBAs

GOS Troubleshooting guide

SAP KBA 1513057: Attributes like creator name, original file name, creation time are missing in attachment list of "Services for Object" for some attachments

SAP KBA 1539457: Authorization concept while modify/delete attachments from Attachment list of Services for Object (GOS)

SAP KBA 1778520: Services for Object Button not present in sapgui classic

SAP KBA 1813208: Message "Document changed due to security requirements" (SO596) displayed and the HTML formatting ruined for an attachment

SAP KBA 1849203: Error message Database error for <GET DATA FROM KPRO> (SO013) and/or File could not be exported (SO315) when opening a document in Attachment list



  1. Former Member

    Very useful post, thank you!

    Regarding issue 6 "Some attributes of attachments are not displayed in attachment list (title, creator name, time)"

    This note helped 1451769.

    1. Thank you for adding this. I've added this (refering to the composite KBA and Wiki page) to this Wiki too.

  2. Former Member

    it's very useful post. Now I have a question, is there a way to identify where the attachment is created? by which transaction?

    1. Hi Ruby,

      you can check it with an SQL trace for which business object was the attachment created. This is the closest into.



  3. Anonymous


    Great post, very helpful.  Is there any way to turn on the ability for a service user to see the GOS icon?  We use a portal via webgui service with a dialog user connection in order for users to be able to see the icon but would like to use a service user.

  4. Dear Alexi,

    sorry, but GOS is only available for Dialog users.

    Best regards,


  5. Former Member


    Hi Janos,

    This is very helpful. Just one question, if I want to restrict the user from creating attachment, which BADI should I use? GOS_SRV_REQUEST or GOS_SRV_SELECT ? Unfortunately, the SAP Role SAP_BC_GOS_ATTACHMENT_LIST only controls the change and delete but not create.

    Best Regards,


  6. Hi Raynard,

    please use the GOS_SRV_SELECT for this purpose. (With GOS_SRV_REQUEST you can do some kind og triggering for example, when a service is executed.)

    Best regards,


  7. Former Member

    Hello Janos,

    Ok Thanks lot. Got it.

    Best Regards,


  8. Hi Janos,

    This is very useful link. Thanks for this contribution. (smile)

    i have a little query on GOS Services. How i can change the filename? Suppose i am inserting an attachment as abc.pdf but after completion of attachment it should look like tv_abc.pdf. You can also reply to this link. 

    Best Regards.