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.

Similar Messages

  • 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>

  • Add attachment to services for object

    Hi All,
    What is the meaning of Add Attachment to services for object, is it the only providing the services like
    Private note,
    send object with note,
    Display relation ship,
    work flow,
    My objects etc.
    can any one suggest me on this.
    Thanks&regds,
    Srinivas.

    Hi Srinivas,
    I have seen you asking a lot of questions all about the same scenario in my understanding. It seems you like to send a picture or an attachment from/to the mobile device, is this correct? I get this impression because your questions are mostly around the MAM30_080 syncbo.
    Could you specify the exact problem you have a little more in detail?
    Sending notes,..... either you enhance a SyncBO. This is not to difficult and you do not have to do the complete basic ABAP development for your own. You still have to do some coding on the R3 side, but the SBUILDER stuff in the middleware is not necessary.
    On the other hand, you can easily develop your own SyncBO. This is perhaps the best solution in your case.
    Relation ships in SyncBOs are done with the cascading. See in SBUILDER for MAM30_001 - it has a relationship to MAM30_010 fo example. This is a process you do at design time. Here the MDK helps with some instructions about it. If you have an oject with a short text, just fill in the short t.ext, the long text is a splittedt structure inside the BO. If you want to see that, it is really simple:
    Create a notification on the device. Enter a long text with more then 500chars. Then save.
    You need to check the data structure on the device then. When yu open MAM from the MI home screen, the URL usually ends with /start. Change this to /start,jsp - in MAM30 this name has changed to /start_.....jsp,have a look into the project, you will find it - and you select the syncBO MAM30_010 on thqt screen. Then you see the complete data structure on your device. Search for your new created entry. Then you see that the long text is saved as a child structure and it has an index so ther backend can put it back to one long text in the correct order.
    The same way you have to go if you want to send some data that is longer then 250 Byte.
    Hope this helps to switch on some lights.
    Regards,
    Oliver

  • In Attachement List Services for Objects White Screen when I Display a Note

    Hi Expert,
    Need your assistance.
    I am trying to view a note in Vendor Master data but no information provided and I can only see white screen. Below are the steps that I performed:
    1. Go to FK03
    2. Open a Vendor
    3. Click the Services for Objects
    4. Attachement List
    5. Select a Note
    4. Display it
    5. Pop up window appreared and no information occurred. Only White screen
    Is there's a missing configuration, plugin, or data in my SAP system/workstation?
    I tried to login to other PC and it worked.
    Just wondering what is missing on my computer.
    Your response will be helpful.

    Hey,
    I have the exact same problem as you have described. I also used my ipod as a watch but starting from today, whenever I unlock it the screen turns white until a reset is done. Even a factory reset through itunes didn't fix it.
    Have you found any solution?
    Bah, this is annoying.
    //Gubbar

  • Edit/add text to the file attached in Services for Object

    Hello,
    We have a business requirement where user wants system auto populate some text in the file that is attached to the invoice in services for object. If anyone had done similar enhancement then please share the ideas to enable this functionality.
    Thanks,

    Hello Fractel,
    Are you get rid of this issue?
    We have just implemented some of SAP packs/patches and few users face this issue.
    When I tried the same, I did not face this issue.
    Please suggest.
    Regards,
    JPS

  • Change log of attachment in Services for object in PO

    Dear All,
    I am unable to find the history of changes made to a file attached in a PO in the services for object button. Like other changes in header and items of a PO is available is this also available and if so how to get the details of changes of the attachment . The problem is one user had created the attachment in a PO and now finds that the attachment has been deleted as the same is no more there .The document is a word document . I do not find any table where such change record is available .
    Will anybody explain the above?
    Dhruba

    You'll need an ABAPer to look for the table and if their is a history associated with changes.
    What the User could do is subscribe to their objects so that if changed or deleted they receive a message
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/e6/767b44a0fc11d389c60000e8216438/frameset.htm
    Add a function module to include the id name of the person changing the object and/or write the event detail to a table and create a display transaction.
    Regards,
    Nick

  • Forward PO as pdf attachment from Services for Object to external emails.

    Hi,  I am trying to forward PO to external email address from PO services for objects.  I could not send as pdf document to external email address.  SAP users are receving as SAP object in inbox.  I can achieve this trough Message Determination for vendors. However my requirement is to forward to muliple external parties and internal users who do not have SAP access.  Please advise any configuration or development need to be carried out to forward PO as pdf attachment.  Advance thanks for your valuable inputs.

    check answer given by Soumyaprakash in below thread:
    http://forums.sdn.sap.com/thread.jspa?threadID=2111142 and
    also have a look at below thread
    http://forums.sdn.sap.com/thread.jspa?threadID=1324971
    but i would like to know why you need to send PO to anybody but supplier?
    yogesh
    Edited by: Yogesh Lohiya on Feb 8, 2012 7:25 PM

  • Attachment through Services for object

    Hi All SAPgurus,
    We have created an programme to upload & download the catalogs for materials.
    During programme stage we have created if authorised user uses the transaction the programme will allow him upload or download the attachment.
    Where as if other user use the transaction then system will alow only to downlaod the catalog.
    The issue is " the documents which are uploaded through authorised user are  not visible when we use the other users."
    Hope i have posted the issue properly request ur support.
    Thanks
    Shankar

    Hi Shankar,
    Although catalogues can now be used in R3, they are more heavily used in SRM and so I would recommend that you alos post this query on the SCM board, you are more likely to get help there.
    Good luck
    Steve B

  • File attachment problem in Services for object XK03

    In XK03 when i try to create a attachment using Services for object icon it is giving an error message in SAP ECC 6.0 after selecting the file from the folder.
    "Error occurred during import"
    Error occurred during import
    Message no. SO424
    Diagnosis
    An error occured during the import of a file.
    System Response
    The import was not carried out.
    Procedure
    If the document is still open in the application, you need to close it before you carry out a new import.
    This error message may indicate a SAP-GUI problem. The cause could be an error during data conversion, for example. Report the error to your system administrator.
    Does anybody knows about this...
    thanks,
    fractal

    Hello Fractel,
    Are you get rid of this issue?
    We have just implemented some of SAP packs/patches and few users face this issue.
    When I tried the same, I did not face this issue.
    Please suggest.
    Regards,
    JPS

  • IE02 services for object- How to collective list attachment by many equip?

    Hi all,
    IE01/IE02  i create attachment by services for object for equipment.
    But I want to collective  list attachment by equipment, not by individual  equip to display.
    How to do that?  or which table can i find the info?
    thanks a lot

    derek,
    I don't think there are any [Generic Object Services|http://help.sap.com/erp2005_ehp_04/helpdata/EN/be/3fe63659241157e10000009b38f889/frameset.htm] (GOS) transactions to mass update objects...
    I suspect you would need to develop a custom BDC program for this purpose.
    PeteA

  • Display GOS without click on 'Service for Object' button

    Please try the following step to figure out.
    1) VA03
    2) At header of report (on the left hand side of 'Display S/O SysB SDI xxxxxxxxx:Overview' ) has a button called 'Services for Object' (GOS)
    3) Click on that then it will popup icon menu set.  <--- Want this to be displayed when access VA03 by no need to click the button in 2)
    My requirement is I want this popup to be displayed suddenly after I access VA03 (no need to click on the Services for Object button anymore).
    <b>
    Could you please provide me any solution, function, example, similar case, etc. (based on 4.6c)?</b>
    Thank you all expert in advance.. I'll be here to provide you more information that need.

    I found the solution yet. Let me drop a note to be a memorandum.
    (1) Insert code into the last line of form <u>USEREXIT_READ_DOCUMENT</u> within report <u>MV45AFZZ</u>
    PERFORM UNITEXIT_READ_DOCUMENT.
    <b>*{   INSERT
    *[Display Attachment Service Automatically]
        DATA: lo_myobject  TYPE REF TO cl_gos_manager,
              lo_container TYPE REF TO cl_gui_custom_container,
              ls_object    TYPE borident.  "BOR Identifier
          ls_object-objkey  = vbak-vbeln.
          ls_object-objtype = 'BUS2032'.
          CREATE OBJECT lo_myobject.
          CALL METHOD lo_myobject->start_service_direct
                      EXPORTING ip_service   = 'VIEW_ATTA'
                                is_object    = ls_object
                                io_container = lo_container
                      EXCEPTIONS OTHERS          = 2.
    *[Display Toolbox]
        CALL METHOD lo_myobject->DISPLAY_TOOLBOX
                    EXPORTING  is_object       = ls_object
                               io_container    = lo_container
                    EXCEPTIONS OTHERS          = 2.
    *}   INSERT</b>
    ENDFORM.
    (2) Try open VA03 and insert attachment at Service for Object.
    (3) Reopen VA03, attachment list displayed suddenly.
    <i>Reference Source# SAP Library, search 'Starting Only One Service Directly'.</i>
    <b>NOTE:</b> You can use another relevant object by SE24 -> CL_GOS_MANAGER

  • Services for object buttons randomly disappearing from FB03

    Hello SAP Experts,
    We display an FI document via tcode FB03 (Display Document) and use the "services for object" buttons to attach documents via the "create attachment" button and also to view attached documents via the "attachment list" button.
    However, quite often when displaying the FI document after a document has been attached, the "services for objects" buttons are not displayed.  Just a blank toolbar appears.
    Later on the when the FI document is displayed again via tcode FB03 (Display Document), the "services for objects" buttons do appear and the attachments can then be displayed.
    As the attachments can be viewed sometimes, I would say that this issue is not related to security.
    Any idea's what maybe causing the "services for objects" buttons randomly disappearing???
    Regards,
    SAP Muppet

    Hello SAP Experts,
    Any ideas or comments here???
    Regards,
    SAP Muppet

  • Services for Objects Attachement List Display Note not Viewable

    Hi Experts!
    Good day! I'm trying to display a note in FK03 (related to Services for Objects - Attachment List) and I only see white screen pop up window. No message and text information. When I tried to use another PC I can successfully view it.
    Is there's a plugin that I may need to install?
    Your help will be greatly appreciated.

    Hi Marty
    It is my understanding that the IXOS licensing is based on users retrieving of documents not necessarily the viewer so the licensing implications of having non-IXOS viewers accessing documents using the generic archivelink viewer is still likely to result in licensing implications if an audit is conducted at any stage.
    The transaction for specifying the viewer is the OAA3 and OAG4.
    Regards,
    Athol

  • Attachment list in Services for Object toolbar

    Does anybody know if there is any user exit or BADI that I can use to filter certain file attachments in Attachment list of Services for Object toolbar.
    For example, in transaction XK03 (Vendor display), Services for Object toolbar, you can see the Attachment list and it will display list of pc file attachments, however, we have a requirement to display only those that met certain criteria, is there any BADI or user exit for this?
    Thanks in advance for your help.

    you can use BADI
    GOS_SRV_SELECT
    for this.
    Regards
    Raja

  • 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?

Maybe you are looking for

  • How do I get the Parameters of a Stored Procedure from my Java Code?

    I want to get the parameters in my Java code. How do I do this with Jdbc? In ADO it was: myCmd.Parameters.Refresh(); Any idea what it is in Jdbc?

  • How do set up multiple devices with multiple graphs in labview

    Hello, I am new at LabView, and we are trying to setup a test rig to measure voltage, pressure and flow rates. We are currently using a NI-6009USB box and Labview version 8.2.  Our problem lies in setting up the actual measurements on separate graphs

  • Search within Calendar app causes app to crash

    When trying to do a search from within the calendar app, it crashes and the app closes. I am using enterprise accounts with calendars set up. This wasn't a problem before I installed iOS 5. Any help?

  • Syncing checked podcasts

    I've read about a solution for syncing only checked podcasts and manually managing music in iTunes 7 (this was easily accomplished in iTunes 6). However, the first step makes me nervous -- it is to uncheck the "manually manage music" box in the iPod

  • Cannot compile nigpib-0.8.2 on redhat 8.0

    I tried to compile nigpib-0.8.2 linux driver on redhat 8.0, and it didn't work. The errors it got are: # ./INSTALL NI-488.2 GPIB Driver for Linux/x86 (Beta Release 0.8,2) Copyright (C) 1999-2001 National Instruments Corporation. Supports AT-GPIB/TNT,