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

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

  • 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

  • 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

  • Transfering Documents (mostly .jpg) from Services for Object to DMS

    Hi,
    We are presently in the process of finalizing document attachments via DMS system. We still have a high quantity of documents that were attached through the "Services for object" function (mostly .jpg ) and would like to transfer these to DMS without having to export them for every single object (mostly equipments). Is there any way to do this i.e. mass export of these attachments with their link (ex. at the top of the dialog box: AttachmentFor0000000...) so that they remain .jpg to be able to re-upload quickly in DMS system ?
    Thanks for your help !

    we have in the current system merger project a developer from SAP who is programming this feature for us, so I am pretty certain that there is nothing in standard that can do this job.

  • 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

  • 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

  • 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 - Create external document (url) 132 characters limit

    Hello,
    I have this requirement:
    Maintenance people would like to relate a document on our portal on a work order to be able to print it with the work order.
    My suggestion was to use Services for Object in the Order -> Create external document (url).
    But the adress field cannot contain more than 132 characters.
    I have URL longer than 132 chars:
    eg: http://server.domain:port/irj/go/km/docs/documents/AAI/Gestion%20documentaire/Public/Entretien/Instructions%20de%20travail/EU-IT-01-02.pdf
    What do you suggest me?
    Thanks,
    François

    Thank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
    In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
    François

  • 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

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

  • 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

  • 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

Maybe you are looking for