Retrieval of attachments with services for object in ME22n or ME23n

Hello experts,
I have a MM requirement where the user attaches some document in ME22n or ME23n via services for object functionality to a particular PO. Here the user wants to attach this document during sending of mail with ME9F to the vendor. First of all is it possible with the standard functionality of ME9F? or Requires some Zdevelopment. Anyone can guide me how to extract the attachment and send it with mail, does it require some configuration from functional side? I searched the forums but did not find the ways to extract.
Thanks in advance
Regards
Raj (SAP ABAP)

Hi Raj,
Did you find a way to extract the attachment?

Similar Messages

  • Attachments with services for object in ME42 along with RFQ via 'ME9A'  .

    Hello Guys,
    I have a MM requirement where the user attaches some document in ME42  via services for object functionality to a particular RFQ. Here the user wants to attach this document during sending of mail with ME9A to the vendor.
    As by SAP standards we are only able to send RFQ in PDF format to vendors.
    Thanks in advance
    Regards

    Hi,
    You can attach an attachment to RFQ IN ME9Avia E-mail. Communication strategy need to define in CS01. E-mail address need to maintain in vendor master record. Codition records need to maintain in NACE or IN mn04. Use sap note  191470. This is for PO, the same can be used for RFQ. Please refer below link for step by step assistance. Thanking you.
    RFQ send by mail through SAP server

  • Send Smartform and Attachments from "Services for Object" in one Mail

    Dear all,
    We create a sales activity with transaction VC01n. We create a Smartform formluar and send the sales activity via E-Mail to the customer, this is working. Additionally we have some attachments in "Services for object".
    How is it possible to send the formular and the attachments in one mail to the customer?
    Thank you
    Michael

    Hi,
    Unfortunaltly there is no standard solution to send forms and attachement in a mail.
    you have to develop it .
    If you need more help tell me .
    regards

  • Need to find table for dispute case attachments in service for objects

    Hi All,
    I have a requirement where i need to find some tables which will hold details of dispute case attachments. After a dispute case is created using UDM_DISPUTE transaction, the concerned person may open that dispute case and can attach some documents/any attachments using services for objects icon at the top left corner of the screen. All i want to know is, in which table (tables related to service object) this attachment details will be stored. Even if the attachments details are stored in service objects related tables, there should be some link for this attachment and dispute case. Please let me know if any of you have some pointers and it would be highly appreciated.
    Thanks in advance,
    Srilakshmi.

    Hi a®s,
    Thanks for your reply. An entry is getting created in this table SRGBTBREL whenever an attachment/URL/notes is attached to a dispute case using services for object and the link between this table and dispute case table SCMG_T_CASE_ATTR is INSTID_A. This field holds the value of CASE GUID from SCMG_T_CASE_ATTR. Now my requirement is whenever an attachment is present in a dispute case i need to set a customized checkbox present in UDM_DISPUTE screen so that when an user opens the dispute case he/she can understand some attachment is present for this case by seeing the checkbox. I found the SCMG* badi's are not helpful to set the checkbox. Please let me know if you have any idea on how to implement it.
    Thanks in advance,
    Srilakshmi.

  • Accessing attachments from 'services for object'

    I have been tasked with extracting data from external attachments from the 'services for object' button. I am working in an sap ecc 6.0  environment. I have not found any tips on how to do this from google searches.
    Here is an example. If you look at most of the major documents (purchase order, invoice, delivery, etc.) there will be a little dropdown icon in the upper left corner of the screen
    That icon is the 'Services for Object' button. Clicking on it will display a small popup window with several options including one for attached documents.
    If an attachment (could be word, excel, pdf, URL, etc.) exists it will show up and can be viewed by double clicking on it. Does anyone know how to access
    that attachment programatically?
    Thank you very much in advance.
    deepak

    Hi,
    Create a subroutine in your program and call the FM: SWU_OBJECT_PUBLISH as below:
    CALL FUNCTION 'SWU_OBJECT_PUBLISH'
        EXPORTING
          objtype           = gc_businessobj
          objkey            = gw_header-vbeln
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
    This will automatically display your Services for Object ICON on your report. Here in the FM, gc_businessobj is a global business object = BUS2031(defined as a constant inside the pgm) and gw_header-vbeln can be any valid document no like a sale order, inquiry, quotation etc.
    Use this code snippet and this will work.
    Regards,
    JLN

  • How to link Employee-Trip with "Services for Object" Attachment.

    Hello SAPients.
    This is the scenario: I enter the TCode TRIP, enter a personnel number and hit enter, then click on the 'Subsequent Activities' link, then click on the button 'Services for Object', then click on the 'Attachment List' button, I see a list of attachments for the object.
    The question is, does anybody knows the table relations to get from 'Employee-Trip' to this attachment list? I know that some of the information I need of the attachment list is stored in table SOOD. But I can't find a way to link from 'Employee-Trip' to the attachment list in SOOD.
    Any help will be greatly appreciated <REMOVED BY MODERATOR>
    Thanks .
    Edited by: Alvaro Tejada Galindo on Jun 9, 2008 3:20 PM

    Still searching for the answer, any idea?
    Thanks!

  • Creating attachments from Services for Objects

    Hi,
    I am trying to create an attachment using the FM BDS_BUSINESSDOCUMENT_CREATEF. But it is giving me sy-subrc 4(ERROR_KPRO). Can anyone explain how to correct this and if u have any better code to attach files to BO's pls post it here.
    This is my code:
    DATA : files LIkE BAPIFILES OCCURS 1 WITH header line.
    files-doc_count = '1'.
    files-directory = 'C:\Documents and Settings\e529015\Desktop\'.
    files-filename = 'layout.jpeg'.
    APPEND files.
    data: lv_logsys type TBDLS-LOGSYS.
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
       OWN_LOGICAL_SYSTEM                   = lv_logsys
    EXCEPTIONS
       OWN_LOGICAL_SYSTEM_NOT_DEFINED       = 1
       OTHERS                               = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREATEF'
      EXPORTING
       LOGICAL_SYSTEM        = lv_logsys
        classname             = 'BUS2038'
        classtype             = 'BO'
       CLIENT                = SY-MANDT
       OBJECT_KEY            = '300023662'
      tables
        files                 = files
      SIGNATURE             =
    EXCEPTIONS
       NOTHING_FOUND         = 1
       PARAMETER_ERROR       = 2
       NOT_ALLOWED           = 3
       ERROR_KPRO            = 4
       INTERNAL_ERROR        = 5
       NOT_AUTHORIZED        = 6
       OTHERS                = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Best Regards,
    Pavan Jhawar.

    Hi,
    Check this code...
    DATA: NUMBER_ATTACH TYPE i.
    Data Declaration for attachment ********
    data: go_myobject type ref to cl_gos_manager.
    data: lo_container type ref to cl_gui_custom_container,
          ls_object type borident.
    MODULE ATTACH_FILE input.
    if ok_code = 'CATC'.
      IF ZQTHD-JNAME is not initial.
    *******Number Ranges For ATTACHMENT ********
      if zqthd-objectkey is initial.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '1'
        OBJECT                        = 'ZATTACH_NR'
      QUANTITY                      = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = NUMBER_ATTACH
      QUANTITY                      =
      RETURNCODE                    =
    EXCEPTIONS
      INTERVAL_NOT_FOUND            = 1
      NUMBER_RANGE_NOT_INTERN       = 2
      OBJECT_NOT_FOUND              = 3
      QUANTITY_IS_0                 = 4
      QUANTITY_IS_NOT_1             = 5
      INTERVAL_OVERFLOW             = 6
      BUFFER_OVERFLOW               = 7
      OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
       endif.
      zqthd-objectkey = NUMBER_ATTACH.
      ls_object-objtype = 'ZQUOTATION'.
      ls_object-objkey  = zqthd-objectkey.
      call method go_myobject->start_service_direct
                    exporting
                          ip_service = 'PCATTA_CREA'
                          is_object = ls_object
                          io_container = lo_container.
    ENDIF.
    endif.

  • Services for object in sap

    Hi,
    When I am enclosing some document or file in services for object in sap in me23n, how can I know that some object is attached without seeing the attachement list. Secondly if anyone want to delete the attachement he can delete, we want that the person who has attached the attachment should delete the attachement not anyother person. How to achive this.
    Regards
    Ishu

    Hi, There is no standard report or transaction to get this other than looking at the object through the transaction that creates those attachments, also you can go through SAP OSS note 530792
    Refer below link for creating a report for your requirement
    http://it.toolbox.com/wiki/index.php/GOS_Finding_Attachments_or_Links_to_an_Object_in_SAP/ABAP
    For second requirement it can be handled by Authorization, discuss with your basis guys

  • Services for object using cl_gos_manager

    Hello All,
    I have a selection screen with material no as a parameter. After I execute the screen I get some details for that material. I want to replicate "Services for object" functionality as in ME23N in my Program. I am able to add attachments using cl_gos_manager. But when I add a document to a material I am able to see the attachment with all the materials.
    I have created a object using SWO1.
    Then I have created an object for the class cl_gos_manager.
    How do I make the attachments material specific.
    Thanking you all in anticipation.
    Regards,
    Anju

    Are you setting a unique object key for each material and passing it to the method when you create the attachment?

  • Unhide "Services for object" tab (MM02, MIRO, ...)

    Hi, everybody!
    I'm in trouble with "Services for object" tab. I need it in transactions: MM02 and MIRO, but it is hidden.
    I'm not sure about it, but I guess this could be solved with the right authorization. Just don't know which one.
    Could anyone help me?
    Thanks in advance.

    Hi,
    I guess BADI GOS_SRV_SELECT could solve the problem. You may disable the change button and other functions (perhaps using authorizations as a trigger).
    *Structure IS_LPOR contains
    *INSTID * Obkey := keyfields of Business Object
    *TYPEID * i.e. BOR TYPE 'ZDGF_DG'
    *CATID * i.e. 'BO' for BOR
    Be carefull - It is used for all kind of objects - so add CASES for combinatons of CATID/TYPID and call an own function/method for each.
    Kind regards,
    Holger

  • Attachment not shown in MIRO (service for objects)

    We have a problem with services for object in MIRO transaction.
    There's no "service for objects" icon in MIRO transaction, and through menu ("System=>Services for objets") we get this message:
    "No service available".
    But there's an entry with that object ID (invoice number) in table TOA01 with object type BUS2081 (Incoming invoice), which means there's A link for that object ID.
    We checked customizing and compared it to other systems where it's fine and seems ok.
    Can't understand why it doesn't work. Something missing in MM?
    I'd really appreciate any clue.
    Thanks in advance.
    Regards,
    J

    Thanks for answering.
    Well, we have same archivelink customizing in another systemo for MIRO transaction and it works fine.
    There's a development, of course. There's a job that executes a program and attaches the pdf from a server, etc.
    So we can attach pdf files when entering an invoice. Guess there's a missing step, but don't know exactly which.
    Maybe basis people blocked something, but we don't have a clue.
    Regards,
    J

  • Replicate "Services for object" functionality in Z Program

    Hello All,
    I want to replicate "Services for object" functionality as in ME23N in my Z Program. How do I achieve it.
    Thanking you all in anticipation.
    Regards,
    Anju

    Read this wiki [How to Attach Documents to Any Custom Program Using Generic Object Services|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3]
    Regards,
    Raymond

  • Retrieving attachment in Service for Objects

    Hi,
    I'm having problems in retrieving attachments in the attachment list of Service for Objects button... Can someone help me? I've tried to retrieve the attached files but when I send emails with the attachment... it doesn't have any content... Is there a function module to properly retrieve the attachment in the attachment list? please advice.
    I used the FM SWU_OBJECT_PUBLISH for creating the button.

    Dear Vincent,
    Use FM 'SO_DOCUMENT_READ_API1' to retrieve the document.
    Reward points if it is helpful.
    Regards,
    Naveen.

  • Services for Object - Store Business Documents (issue with XLSX files)

    Hi,
    We are using the Services for Object > Store Business Document to be able to drag and drop files into (for example) Sales Inquiry, Sales Order, Sales Quotations etc.
    Within OAC2 we have set up the global document types and these have been linked to the relevant Object Types and Content Repositories in OAC3.  We have also set up the Content Repository as Document Area 'ARCHLINK'.
    The ArhciveLink Basic Settings in OAG1 have the 'Always Copy Document Class from Document Type' set under Storage Settings.
    The issue we are having is with XLSX document types.  When we drag and drop the XLSX documen type using the Store Business Document the file is stored against the Sales Order but when you come to view the attachments MS Excel opens but an error message appears saying 'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
    We have reviewed SAP notes 1925897, 1739026 and 1145885 however non appear to give me a clear answer as to why this is happening?
    I have found that if we unselect the option 'Always Copy Document Class from Document Type' in OAG1 then we can open the XLSX files.
    As we have a significant amount of documents attached to various objects, what would be the implications of making this change agianst existing records and new records?
    Any advice on this issue would be greatly appreciated.
    Gary B

    Hi David,
    No joy I'm afraid!!
    I added entry 'xlslx' with the relevant MIME Type, Application and Description into table TOADD for the ArchiveLink settings and also this entry was already in tables SDOKMIME and SDOKFEXT for KPro.
    I then following the process via the Services for Object within VA12 (Change Inquiry) to then Create > Store Business document > Select the relevant Document Type > Drag and Drop the XLSX file into the empty box.
    I then saved the record and tried to view the attachement but I am still getting the same message  'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
    Our client is on componet SAP_BASIS release 701 Support Level 0014 and Support Package SAPKB70114 and I can see that note 1237688 is for SAPKB70112?
    Regards
    Gary

  • Query with links to 'services for object'

    Hi everybody
    I need your help
    We have pictures (jpg, pdf, tif) linked to materials in material master (in transaction mm02 – services for object). Sometthing like this - but form materials:
    http://www.le.ac.uk/mis/docs/sapdocs/ug/UG5-1%20Services.doc
    We would like to create the "stock report" with links to these attachments. Can anyone tell me if it is possible to create these links in the report?
    I would like the report to look something like this:
    material_number1; stock1; link_to_picture_on_material_number1
    material_number2; stock2; link_to_picture_on_material_number2
    the user should be able to open the attached picture (if it exists) by clicking the link at each material number (even better if the pictures were already displayed in the report)
    Thank you very much in advance
    BR,
    Jana

    There are a number of classes with methods for accessing objects saved using services for object - look for classes starting CL_GOS*
    Help for GOS is available at
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/f5/e16f3a53dee246e10000000a11402f/frameset.htm">Generic Object Services (BC-SRV-GBT)</a>
    In your report you could link to the relevant code to display the image based on an event like at line selection / at user command or using hotspots or similar in an ALV based report
    Andrew

Maybe you are looking for

  • How do I install mountain lion server

    I have a Mini server with 10.7 that I am migrating to 10.8.  I wish to put 10.7 on another device that does not support 10.8 but I do not know how to do it.  In the apple store I can see 10.8 server and I was able to unhide 10.6 but I cannot find 10.

  • Physical Layer Joins

    I am creating a data model from a database that is in 3rd Normal Form. My understanding in the physical layer I should make the joins based on the relation between tables. I have a CUSTOMER & ADDRESS table and I understand that my join will be 1:M he

  • Display hyperlinked icon for long columns in the Report

    Hi All, I am new to APEX and i am trying to create report in APEX. I have column whose contents are too big and displaying it directly on the report mess up the whole report. Instead i want to display an icon/image in the column and if user wants to

  • Is this the same flash player problem?

    Hi, I'm new to all of this....have just brought a netbook (samsung n110), the system requirements seem to be fine for flash player but it just won't download! I'm wondering if this is the same issue others are discussing in this forum, any help would

  • IPod in the car with Kenwood KCA-iP500

    I just connected a Kenwood KCA-iP500 iPod Control Interface to a Kenwood KDC-MP228 receiver. Installing the iPod Control Interface could not be easier (once the receiver is out of the dashboard). It’s just one cable that goes from the back of the rec