How to add the "Services for Object" icon/functionality.

Dear all.
I have seen in some SAP standard transactions a button named "Services for Object" in the title bar of the screen. An example is in transaction MM03. The button is to the left of the title "Display Material xxxx".
Does anyone know how I could incorporate such functionality in my own program.
Thanks
Lande.

Hi,
You need to use GOS for this.
1. Create a Generic object thru transaction SW01.
then call the following method in the PBO
module call_gos_attachment output.
  if sy-tcode eq c_yatt2 .
      i_borident-objtype = 'YASTATTA'.
      i_borident-objkey = yatt-number.
      create object gos_manager
        exporting
           is_object            = i_borident
           it_service_selection = i_services
           ip_no_commit         = ' '
        exceptions
           object_invalid       = 1.
  endif.
  if sy-tcode eq c_yatt3.
      i_borident-objtype = 'YASTATTA'.
      i_borident-objkey = yatt-number.
      create object gos_manager
        exporting
           is_object            = i_borident
           it_service_selection = i_services
           ip_mode              = 'D'
        exceptions
           object_invalid       = 1.
  endif.
endmodule.                               " Call_gos_attachment Output

Similar Messages

  • How to disable the Services for Object in IW32?

    Hi Experts,
    May i know how to deactivate the create and delete attachment option if the status of the order in IW32 is already TECO? Please help

    I have found my own answer.  If your user type is setup as 'Service', you will not be have the "Services for Object" icon on IQS23.   If you need the icon to perform the that service, you must change the user type to Dialog from Logon Data.

  • Services for Object  Icon not in ME21N

    Hello Experts:
    Does anyone know the reason why the Services for Object icon exist in ME22N but not in ME21N?
    Thanks in advance for your help!!
    -Edgar

    hi buddy
    The Generic Object Services do not appear in the Enjoy Create Trasactions ME21N and ME51N. This functionality is not provided until now. Please do the below manual activities and then apply the code change.
    Other terms
    GOS, Generic Object Services, ME21N, ME51N
    Reason and Prerequisites
    New functionality
    Solution
    Step 1:
    Create a new Method in the CLASS CL_PO_HEADER_HANDLE_MM.
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. enter the below details,
    Method name :GET_GOS_MANAGER
    Level: Instance Method
    Visiblity: Public
    Description:  Get Generic Object Services Manager
    3. Now Select the Method and add the parameters
    Parameter :RE_MANAGER
    Type: Returning
    Pass value : Select the Checkbox
    Typing Method : Type Ref To
    Associated Type : CL_GOS_MANAGER
    Save the method and activate it.
    Step 2:
    Modify the Method PO_READ
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. Select the Method PO_READ
    3. Add a Parameter as below,
    Parameter :IM_GOS
    Type: Importing
    Optional : Select the Checkbox
    Typing Method : Type Ref To
    Associated Type : CL_GOS_MANAGER
    Save and activate the method.
    Step 3:
    Add a attribute to the Class CL_PO_HEADER_HANDLE_MM
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. Fill the below values,
    Attribute : MY_GOS_MANAGER
    Level: Instance Attribute
    Visiblity: Private
    Typing: Type Ref To
    Associated type: CL_GOS_MANAGER
    Step 4:
    Modify the Method SET_PO_NUMBER
    1. Go to SE24 and enter CL_PO_HEADER_HANDLE_MM.
    2. Select the Method SET_PO_NUMBER
    3. Add a Parameter as below,
    Parameter :IM_GOS
    Type: Importing
    Optional value : Select the Checkbox
    Typing Method : Type Ref To
    Associated Type : CL_GOS_MANAGER
    Save and activate the method.
    Step 5:
    1. Go to SE24 and enter IF_PURCHASE_REQ_FACTORY.
    2. Select the method CREATE_HEADER and add the parameter.
    3. Fill the below values,
    Parameter :IM_GOS
    Type: Importing
    Optional : Select the CheckBox
    Typing Method :Type Ref To
    Associated Type : CL_GOS_MANAGER
    try this but the patch from sol manager will be recomended
    reward if useful

  • Re: Services for Object Icon

    Hi,
    Is there a way i can configure the Service Object icon to be available durinng PR (ME51n) and PO (ME21N) creation to appear?
    At the moment, this icon can only be use during change/display mode of PR and PO...
    .the services for object icon is the one use when we want to attached document,link,sent notes etc..
    Pls.help. Thanks
    She

    Hi She,
    The object services require a unique identifier for the object        
    processed. And this unique identifier of the document                 
    is only created at the moment of save. Exist SAP Note 913251 to enable the 
    linkage of attachments in the enjoy transactions ME51N and ME21N,  but
    only from 4.7 onwards.   
    Regards,
    Mauro

  • How can I find services for object for PM Notification

    Hi all
    How can I find services for object(attached files ) for PM Notification  ?
    I can see then,for examle ,using transaction Iw22 :System---->Services for object
      My requirement are : 1. open attached file of selected notification for display ( if exists one)
                                     2. If user wants to attach file as service of object
                                           what function exists for it ?
    Please your help

    Hi SD,
    I have checked in SUIM and SU24 also. But I didn't find.  Could you please tell me any other way to finding out the authorization objects.
    Thanks,
    bsv.

  • Services for object icon missing from APPCHANGE

    Hello,
    Our services for object icon is missing from the screen of some appraisers.  Any thoughts on what could be going on here?  We are in 4.7.
    Thanks!
    Mary

    Hi Mary,
    Go into the transaction phap_catalog_pa. Select the template you want to change. Then it is the 5th tab-writer.
    But as it is most likely released you will need to unrelease it. When documents are created already based on this template you will need to delete them first.
    Regards and Groetjes,
    Maurice

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

  • What is the use of services for object icon (attachment) in customer master

    Hello,
    What is the use of the icon in customer master i.e. service for object(attchment)
    Any idea In which table those attachemnts stores,
    In SAP i can see only temp. structure table SGOS_ATTA when i look for table information, so i dont know where to look for these files although i tried great selection of tables which either were empty
    Thnks,
    Ahamad S

    Please search the forum or Google with the same text so that you will find many times this has been discussed.  Please go through the forum rules which you can see to your right screen and adhere to that.  Being an old member, no need to stress this.
    G. Lakshmipathi

  • Content server for Document attachment through "services for object" Icon.

    Guys,
    I have typical problem in installation of Content server for storing external documents.
    We all know that we can attach the document in SAP using the icon “SERVICES FOR OBJECT”. By this we can attach the document to the specific object we want.
    -Since my client wants only document attachment method not to completely implement SAP DMS, I proposed this method of attaching documents through services for object method.
    -If documents are stored though services for object ,The attached document will directly get stored in sap database(correct me if I am wrong) while  in  DMS it ask you to select the storage location while u check in for any document
    -By storing the doc thru "services for object " For long run when we store the documents in sap database our system will drastically get slow down.
    -In this regard I have a plan to incorporate external storage server.
    -Now I should know that how I should customize content server configuration so that the attachment through services for object will store into this content server I need to know how to define Client, Content Category, Content Repository, Document Area, Physical Machine, IP Address, Port. (OACT & OAC0)
    I appreciate for immediate solution and <u><b>Points will be rewarded for sure.</b></u>
    Regards,
    Murali.S

    Hi Murali,
    Don't Worry, its possible,
    All attachments can be stored in SAP Content Server also, but through archiving process.
    Set up a database storage system.
    Preparation
    Make sure that the HTTP plugin is active.
    Transaction <b>SMICM,</b> "Display Services" function key (shift F1)). The list of services must contain a port other than 0 for HTTP.If not, you must adjust the relevant profile parameter.
    <u>Typical entry:</u>
    icm/server_port_0         PROT=HTTP, PORT=1080, TIMEOUT=900
    <b>Make sure that the /sap/bc/contentserver service is active.</b>
    If no user is defined, then use transaction SU01 to create a new user. Use the "System" user type.Assign
    the SAP_ALL and SAP_NEW profiles to the user. (Eg: HRUSER/PLMUSER/PPUSER etc)
    Transaction <b>SICF,</b> select: default_host - sap - bc -contentserver. Select the function to display/change the service. Make sure that a user is defined.
    Using the relevant data from the newly created user, maintain the anonymous logon data for the
    /default_host/sap/bc/ service and save & activate the changes in transaction <b>SICF</b>.  Double click on content server and give the user name which has been created (HRUSER/PLMUSER/PPUSER/MMUSER etc)
    Check the system PSE.
    Start transaction <b>STRUST</b>. Expand the system PSE. The system PSE must be "green" for each application
    server.
    Determine a suitable exchange directory.
    The exchange directory must be accessible from each application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application server (for example,
    server\share) is sufficient. You can generally use the global directory
    (profile parameter DIR_GLOBAL).You can use the RSPARAM report to determine the profile parameters.
    Setting up the storage
    Create a table for storing the data. Using transaction <b>SE11</b>, create a copy of the SDOKCONT1
    table. If you want to create the repository database, you can name the table ZCONT_DB, for example. Save the
    table as a local object. Activate the table.
    Create a repository.
    Use transaction <b>OAC0</b> to create a new repository.
    Use the following parameters:
    Repository Max. two characters, for example,” Z1”
    DocArea: ARCHLINK
    Storage type: R/3 database
    Storage subtype: normal
    Version no. : 0046 
    Contents table <table name> for example: ZCONT_DB
    Exchange directory <directory name> for example:
    server\share\
    Make sure that the exchange list ends with a \ (or /on Unix).If you are using a variety of platforms, you must use transaction FILE to define a suitable logical file name and use this name. Save the settings.
    1. Maintain view table <b>TOAAR_C</b>, via SM31
       Cross client table displayed as information, forget it
    2. In field 'StSytm' you must entered 'Z1' as your system need, or anything that you need but you must configure HR Archive link too.
    3. In field 'Arch.path' (direct above Spoolpath), entered path in your system, this real path in your operating system. May be you should confirm to your Basis consultant where exactly you could store picture files. So if you enter '/', your file exists at root directory at your UNIX system.
    4. Choose 'File store' radio button
    5. Save.
    First
    <b>1. You have to create a number range for SAP ArchiveLink.
        IMG: Basis Components-> Basis Services -> SAP ArchiveLink -> Basic Settings-> Maintain number ranges   
        (Trxn <b>OANR).</b> Create number range 01 from 0000000001 to 9999999999 without the external number flag. 
    2. Document type <b>HRICOLFOTO</b> must exist with document class JPG.
        IMG: Basis Components->Basis Services->SAP ArchiveLink->System Settings->Maintain document types
        (Table<b> TOAVE, Trxn OAC2).</b>
    3. Document type <b>HRICOLFOTO</b> must be linked to object type PREL and Infotype PA0002.
        IMG: Personnel Management->Personnel Administration->Tools->Optical archiving->Set up Optical Archiving
        in HR.  (View V_T585O, no Trxn). In the first two columns there are minuses, the third (Date) has
       a plus - don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type  
        PREL. IMG: <b>Basis Components->Basis Services->SAP ArchiveLink->Basic Settings->Maintain Links (Table 
       TOAOM_C, Trxn).</b></b>
    Test
    • Test the repository.
    Use transaction SE38 to start the RSCMSTH0 report. Specify your repository (i.e. Z1) and start the test.
    The report must run without errors. If no problems occurred, you can use the new repository with Archive Link after you carry out the Archive Link Customizing. If problems do occur, check whether one of the related
    notes helps.
    For More Details :
    http://service.sap.com/archivelink.
    <u><b>
    NOTE:- Screen Shots are missing, i was not able to paste here, One more thing is we did this for uploading a PHOTOS into Content Server, Similarly you have to create a REPOSITORY and Z-TABLE to bring all the Attachments from all the selected Objects and then route them to the CONTENT REPOSITORY.</b></u>
    Your Senior ABAP guy would help you in this, if not i may try to help you more by monday.
    Regards
    Rehman
    <b>Reward Your Points if Satisfied.</b>

  • From ME49 while navigating to ME47 "Services for Object" ICON not displayed

    Hello Friends,
    I am facing one peculiar issue that when I am Navigating to ME47 transaction from ME49 Transaction i.e. in ME49 Transaction when we double click on the RFQ Number it takes to ME47 Transaction. Here the ICON "Services for Object is being not displayed.
    But when I am opening up the transaction ME47 directly for the respective RFQ Number, there I can see the ICON "Services for Object".
    Have a doubt why from ME49 when navigating to ME47 the ICON is not being displayed?
    Friends please help me in solving the above issue.
    Thanks in advance
    With Regards
    Pradeep Goli

    Hi Atkin,
    Thanks for the response. Yes, it was the authorisation related issue. I have confirmed this by looking this button in another Users ID with SAP All role.
    Best Regards
    JK

  • Where does the Services for Object (GOS) store data?

    I have a requirement that I need to upload a Blocking Reason document for any blocked vendor.
    The normal process we follow for blocking is XK02->Extras-> Blocked Data or XK05.
    We want to check before the Vendor is saved with blocked data whether he/she (who is blocking the vendor) has uploaded the Blocking Reason Document .
    I found out that we have an option in Vendor screen for uploading a document under 'Services for Object' in XK02 as shown in the below (in the red box).
    After uploading the attachment it will show the uploaded document in the Attachment List as shown below.
    I don't know where this entry is stored. I checked in the table SOOD (SAPoffice: Object definition), but there is no entry in there.
    I would like to know on how to check whether the file has been uploaded at the time of saving the vendor.
    If anyone knows the table in which this data is stored, kindly point it out.
    Thank You,
    Sreejith Babu.

    Hi Sreehith,
    Please refer the following document: http://wiki.scn.sap.com/wiki/x/yIEEBQ
    These attachments can be downloaded using FM BDS_GOS_CONNECTIONS_GET
    Refer the following document: Printing or Downloading Service For Object Attachments to local desktop
    Regards,
    Vijay

  • How to change the text of object icon

    Hi Freinds ,
    We have just upgraded to EEC 6.0 ,
    when the user is loging in french language the text for the object icon (Job)  on OM is the same as object icon (position) .
    Is there a way in which you can change the text for the object icon :
    Regards
    Lakshmi

    Hi Sikindar ,
    We use different languages in different countries , when using the transaction PPOME , The text against icon JOB : appears to be the same as position in french language but  when we log in english it shows the correct text that is JOB ,
    Which report are you talking about .

  • How to control button "services for object" which appears in cv01/02/03

    Hi Gurus,
    In tx cv01/02/03, I get a button at the top of the window called "services for object", which gives me options as ....
      Create------(attachment/note/external document/Store business documents)
      Attachment List
      Private note
      Send (Send object with note/Object outbox)
      Relationships
      Workflow
      My objects
      Help for object services
    With the help of this button I can even attach documents in CV03 tx. through create attchment.
    Can we control appearance of this button according to the transactions?? e.g. in CV01 and CV02 it should appear, but in CV03 it should not allow to create further attachments.....
    Thanks in adavnce!
    Regards,
    Akshay

    Thanks a ton Benakaraj !!
    I am working on it...... will let you know the outcome....
    I am just not clear abiout where to insert the sodes given in the pdf   ???  pLease let me know.
    Thanks a lot,
    Akshay
    Edited by: Akshay Kurhe on Jun 5, 2009 11:17 AM

  • How to add the wifi app (or icon) in notifications

    On my Iphone 3gs, under settings>notifications, there is a list of icons taken from my home page from which I am to receive notification alerts. They were added there automatically I guess because I did not list them.  I am wanting to add the wifi icon under notifications so I can be alerted when I have entered a wifi area.  I do not find my wifi icon anywhere.  Where do I find it and how do I list it under notifications.  I searched and found an instruction to check "customize" under notifications but I am not given that option.
    Thank you for your help.
    Frances

    The iPhone will automatically alert you when it detects wifi if you have Settings>Wi-Fi>Ask to Join Networks turned to ON.

  • How to add the toolbar for ecl viewer in BSP

    i took help of the following link
    /people/durairaj.athavanraja/blog/2005/09/14/using-ecl-engineering-client-3d-viewer-viewer-in-bsp-application
    the 3D image in opening properly.
    My question is, is it possible to add the TOOLBAR in the Internet explorer which get normally in Ecl Viewer which has the options like file tools etc
    Edited by: Amit Sawant on May 28, 2008 1:03 PM

    the control doesnt come with the toolbar. in ABAP they are implemented using the methods in the dll. similarly you have to create the toolbar for your webapp as well.
    Raja

Maybe you are looking for