Attachments --purchase order

Hi,
I have around 200 standard purchase orders and i have to insert attachments to around 100 purchase orders
My question is
1. Do i have to create manually or
2.Is there any Api program for it to insert for that 100 purchase orders.
Regards
Sudharshan

Hi Sudarshan
We will recommend you to go through Oracle Manufacturing APIs and Open Interfaces Manual and please check "Oracle Purchasing Open Interface" part in the user guide (115mfgapi.pdf)
We believe below APIs will help you to address your PO attachment issue.
1) Purchasing Documents Open Interface
2) Purchase Order Change APIs
Regards,
S.P DASH

Similar Messages

  • Attachments to Purchase order via e-mail

    Hi,
    Im working on SRM5.5, Extended classic scenario,
    I have a requirement where :
    Right now , users can send Purchase Orders by mail to vendors but apart from the PDF version of the Purchase Order no other document can be attached to the email.
    I have to attach  an other document to this purchase order in PDF format and send it via email.
    Could anyone tell me if there is any BADI for this ?
    Any technical solution would be of great help.
    Thanks and Regards,
    Aravind Nair.

    Hi Yann.
    At this moment I have the a similar problem... In my case I'm woeking with MySAP Enterprise 4.7 and I want to send the PO and their attachament vía e-mail, currently only the PO is being sent to the Vendor and the attachment only appears like texts into the "body" of PO.  Is there some way to send PO and attachments at the same time??
    Thanks in advanced for your answer and help!!
    Regards,
    Blanca Reyes

  • Attachments coding - Purchase order

    i am trying to find out all the purchase order ( header) which does not have a attachment to it?
    Query
    select segment1 from apps.po_headers_all pha
    where type_lookup_code = 'BLANKET'
    AND ORG_ID = 87
    AND pha.po_header_id NOT in
    ( select distinct pk1_value
    FROM apps.fnd_attached_documents fad,
    apps.fnd_documents fd,
    apps.fnd_document_categories_tl fdc,
    apps.fnd_document_datatypes fdd,
    apps.fnd_documents_tl fdl
    where entity_name ='PO_HEAD'
    AND fad.document_id = fd.document_id
    AND fdc.category_id = fd.category_id
    AND fdd.datatype_id = fd.datatype_id
    AND fdl.document_id = fd.document_id
    AND fdl.LANGUAGE = 'US'
    AND fdd.LANGUAGE ='US'
    and fdc.language ='US'
    But this query is returning the purchase order with attachments. can some one correct this code.?
    I have attachements in PDF, XLS etc...

    Hi,
    What I can see from your query is that you have hard coded the entity_name as 'PO_HEAD'.
    Some BPAs might have different values for entity_name.
    I think it should work if you do not restrict the entity_name field.
    Plz. check and let me know if it works.
    Thanks,
    Ram.

  • Send CV03N attachments present in Purchase order at line item level

    I have a purchase order and want to send it via email. The purchase order has attachments at line item level (e.g. a specification in pdf format). Attachments were able to see through T-code CV03N,
    When transferring the PO to vendor ,smartform is attached to email and sended to vendor .now we need additioanl attachments also to be sended in same email which is present at line item level (CV03N),Whether it is possible to copy the attachments into the email, so they are sent out, too?
    Please explain the methods
    Print program used for smartform is custom Z name space.
    Thanks in advance
    Regards,
    arun

    part 3
    *& Cet GOS attachments
    IF pa_incl = 'X'.
      CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET'
        EXPORTING
          classname          = 'BUS2010'
          objkey             = lv_ebeln
        TABLES
          gos_connections    = lt_gos_connections
        EXCEPTIONS
          no_objects_found   = 1
          internal_error     = 2
          internal_gos_error = 3
          OTHERS             = 4.
      IF sy-subrc <> 0.
        MESSAGE i001(zmm) WITH 'BDS_GOS_CONNECTIONS_GET' sy-subrc DISPLAY LIKE 'E'.
      ENDIF.
      LOOP AT lt_gos_connections INTO ls_gos_connections.
        CLEAR lv_docid.
        lv_docid = ls_gos_connections-loio_id.
        CALL FUNCTION 'SO_DOCUMENT_READ_API1'
          EXPORTING
            document_id                = lv_docid
          IMPORTING
            document_data              = ls_document_data
          TABLES
            object_content             = lt_object_content
            contents_hex               = lt_contents_hex
          EXCEPTIONS
            document_id_not_exist      = 1
            operation_no_authorization = 2
            x_error                    = 3
            OTHERS                     = 4.
        IF sy-subrc <> 0.
        MESSAGE i001(zmm) WITH 'SO_DOCUMENT_READ_API1' sy-subrc DISPLAY LIKE 'E'.
        ENDIF.
    * Create attachment name as file name
        CONCATENATE ls_document_data-obj_descr '.' ls_document_data-obj_type INTO at_subj.
    *add attachment
        IF ls_document_data-obj_type = 'TXT'. "If text document, attachment type should be 'RAW'
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = 'RAW'
              i_attachment_subject = at_subj
              i_att_content_text   = lt_object_content.
        ELSE.
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = 'BIN'
              i_attachment_subject = at_subj
              i_att_content_hex    = lt_contents_hex.
        ENDIF.
      ENDLOOP.
    ENDIF.

  • EBP-SUS - Purchase Order Response (POR) with attachments

    Hi,
       I am working on EBP-SUS scenario with EBP in Extended classic scenario.
       I have couple of questions regarding Purchase Order Response in SUS with attachments. I appreciate your response to these questions.
      1. From SUS, when the Supplier responds to a PO with attachment, does the attachment get copied over to SRM PO?
      2. If so, in case of extended classic scenario, does the attachment get sent to MM?
    Thanks,
    Surendra

    Khan,
      Thanks for your reply.
      So, in case of EBP-SUS scenario, if the supplier sends attachment, the attachment gets copied over to PO when the POResponse is copied over? I tried this scenario and the attachment is appearing on PO Response record. However, does not seem to get copied over to PO when the "Copy" button was pressed. Am I missing any configuration?
    Thanks,
    Surendra

  • Problem in Purchase Order Attachments

    Hi Team..
    I have a problem, we use the function to attach file in purchase orders (Services for Object > Create Attachment)
    We can attach files and after we can see them without problems.
    But after the days pass... and we want to see the attachment again, they are not listed!! 
    Do you know if there is a process, job, program that archive or delete these files??

    Hi
    Refer the steps below and check for the settings
    You can attach manually any document to PO without using Document Management System ( DMS ) in SAP 4.6C.
    But you cannot attach document while you create PO in T/Code ME21N
    Save you PO ( ME21N ) and again open with change ( ME22N ) then you can attach document through Service for Object button. Service for Object button available down side of Command screen ( in your PO screen ME22N )
    Click your Service Object button -> Create -> Create attachment
    then select your window directory ( which file you need to attach) select your file Now your system shows message  Service "Create attachment" is started.
    Save again your PO. You can see (open) your attachment in same field ( Service for Object ) select and Create and check attachment list. You can attach as many document in your PO.
    Note: This is only information for internal or you can print separately this document for sending to vendor ( fax ) System will not print automatically along PO print out

  • Getting pdf attachments of Purchase order as OTF

    Hi gurus, i need to get the attachment list of a purchase order and then get the OTF data of each PDF files to convert then an get the pdf Binary data. The problem is that i´m using an enterprise service, so i need to avoid any pop-up. I tried to use the FM GOS_EXECUTE_SERVICE with method 'VIEW_ATTA' and it displays me a popup, so it doesn´t work for my ES.
    Hope someone  can help me with this.
    Regards,
    Diego.

    Solved, i use this thread..
    /people/siddhartha.jain/blog/2007/01/16/how-to-retrieve-a-generic-object-services-gos-or-sapoffice-document-display-it-in-a-bsp-webdynprojava-application
    Thanks for all.
    Regards,
    Diego.

  • Sending attachments in purchase orders

    Hi All,
    I have a requirement where each material would have an attachment of it's drawing. Whenever a PO is raised to the vendor, it should get defaulted in the purchase order. Even if it is not physically visible, if the PO is sent by mail, the attachment should also be sent. Does anybody have any idea ?
    Thanks & Regards,
    Vidya Sagar

    Hi,
    You can use document management system (DMS) to store the drawings, which can be attached to object "material". This can be send along with PO as attachment when the system e-mail to vendor.
    We had a scenario, where in some temperature tracking details documents  need to be printed along with packing list and we achieved using DMS. You can post your query in document management forum and you can get valuable inputs.
    Hope this helps.

  • Purchase order attachments

    Hi Experts,
    While creating Purchase order,there is an option to attach files or documents.Now the requirement is
    to develop a report.Once the purchase order is given as input, then the list of documents attached to
    the purchase order are to be displayed and once clicks on the document, the document has to be opened.
    Please suggest me any classes are availbale to know how many documents are attached to PO and how to read those documents.
    Thanks in advance.
    S.Gangireddy

    Hi,
    please have a look to the cl_gos_manager class. To view an attachment you can use a code something like:
    DATA: go_myobject  TYPE REF TO cl_gos_manager.
    CREATE OBJECT go_myobject.
    CALL METHOD go_myobject->start_service_direct
    EXPORTING
    ip_service   = 'VIEW_ATTA'
    is_object    = ls_object
    io_container = lo_container.
    Hope this helps,
    kind regards,
    Dirk

  • Smartform in Purchase Order ME21N

    Hi guys.
    I'm working in SAP 6.0 ECC. I am developing a sapscript for purchase order and it is working well, but i wanna do the same in smartform, i checked on the web that sap 6.0 ecc has some standard smartform for Purchase Order, but mine doesnt have it. In addition, i tried to convert my sapscript to smartform, but the only thing that converts are the windows, no tables or variables, so it doesnt work.
    how can i do it? somebody did a smartform for ME21N??? what are the parameters that i need to use? the idea is that this smartform will be trigged at the moment of release the purchase order throught ME29N.
    Regards
    it will be super usefull that somebody could send me a smartform

    Sending attachments by mail is not really compliant with forum rules (because other people won't get the information).
    The good answer would have been to look at SDN "smart forms" home page, then look at section "preconfigured smart forms".
    It says that it must be downloaded from SWDC (SAP software download center), choose Installations and Upgrades -> ...Entry by Application Group -> SAP Best Practices -> SAP BP BASELINE PACKAGE ...

  • Help in Purchase order check BADI !

    Hi Experts,
    I have made some changes in the BBP_DOC_CHECK_BADI for the BUS2201 object implementation whereby I had implemented the changes for checking the attachment details in the Purchase Order. Now here I used the Function Module BBP_PD_PO_GETDETAIL to get the PO details by giving the GUID as iv_doc_guid.
    The sample code is below :
    CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
    EXPORTING
       I_GUID                           = iv_doc_guid
       I_WITH_ITEMDATA                  = 'X'
    IMPORTING
       ET_ATTACH                        = gt_attach
    TABLES
       E_ITEM                           = gt_item
    I have taken the details of attachments which get populated in the structure ET_ATTACH and checked for various conditions in attachments.
    I find that if the PO has a change version wherein the previous version did not have any attachments - everything works normally.
    But if the previous version of PO had faulty attachments - and the user deletes the attachments in the change version - I find that the function module still takes the active version GUID as input to the PO as a result of which it checks for the faulty attachments and throws error.
    Now there are no attachments in the change version of the PO. Can any one tell me whether it is possible to pass the guid -- such that it checks if the same attachments in the active document have been modified in the change version , so that if the faulty attachments in the active version are changed to the correct ones it should not throw an error!!!
    Looking forward for your expert comments.
    With Regards,
    Rajesh R

    Hi
    Read this ...
    As I told you in my earlier reply ...
    <u>ET_ATTACH table uses structure - BBP_PDS_ATT_T . This structure has following fields -></u>
    GUID     Globally Unique identifier
    P_GUID     Parent GUID
    LOGICAL_SYSTEM     Business Document Service: ID of Logical System
    CLASSNAME     Business Document Service: Class name
    CLASSTYPE     Business Document Service: Class type
    OBJKEY     Business Document Service: Object key
    DOC_ID     Business Document Service: Document ID
    DOC_VER_NO     Business Document Service: Document version number
    DOC_VAR_ID     Business Document Service: Document variant ID
    DESCRIPTION     Attachment Description
    URL     URL Case-Sensitive
    TYPE     Procurement Document Attachment Type
    INTERNAL_IND     Indicator Showing if Attachment is only for Internal Use
    DEL_IND     Deletion Indicator SRM Purchasing Document
    <u>We can use either the DOC_ID / DOC_VER_NO fields to determine the active versions. You need to see in debugging, which all fields get poupulated with values in case of versions in this structure, to code your logic accordingly.</u>
    <u>Anyways, please find some sample code for dealing with Active versions.</u>
    append lines of et_attach to lt_attachment_versions.
    * Due to the fact, that the currently active version is in the
    * received phio list and that it is possible, that there are
    * several phios with the same version number (check_in) the
    * output table has to be additionally prepared.
      SORT lt_attachment_versions BY
         guid            ASCENDING
         p_guid          ASCENDING
         loio_class      ASCENDING
         phio_version_no ASCENDING
         changetime      DESCENDING.
      lv_version_no = 1.
      WHILE lv_version_no < is_attach-phio_version_no.
        READ TABLE lt_attachment_versions
          INTO ls_attachment_version WITH KEY
            guid            = is_attach-guid
            p_guid          = is_attach-p_guid
            phio_version_no = lv_version_no
            del_ind         = space.
        IF sy-subrc EQ 0.
          APPEND ls_attachment_version TO et_attach_versions.
        ENDIF.
        lv_version_no = lv_version_no + 1.
      ENDWHILE.
      DELETE et_attach_versions WHERE NOT del_ind IS INITIAL.
    <u>Other links which might help.</u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/a7/81b463611c124d8c9d2c5bd8d17b34/content.htm</b>
    Hope this will help.
    Regards
    - Atul

  • Purchase Order External Send with email body text

    hi guru,
    i saw lot of threads but i didn't get coreect answer
    i did below process
    Goto NACE .
    u2022 Select EF and click on OUTPUT TYPES.
    u2022 Then select Output Type NEU and click on processing routines .
    u2022 In that you have to add a new entry - medium 5 .
    u2022 Then you need to assign a program, form routine and form.
    u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
    u2022 Now the subject will be PO No. 1800004202.
    u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022 Now while creating a new purchase order , change the medium to External Send .
    u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022 Goto tcode ME9F .
    u2022 Execute.
    u2022 Select the checkbox and click on Output Message.
    u2022 You will get a message MAII 00000000000001 generated .
    u2022 Use note no 191470
    mail subject is going ,but mail text is not coming.
    some people  suggest this sap note
    Note 786847 - E-mail purchase order w/ e-mail text and several attachments
    i did not get this note.
    give the solution for email body text ,i read some thread,it will solve through abap development .
    please  give solution
    regards
    vijay

    Hi
    1. GO to tcode SCOT.
    2. Double click on SMTP
    3. Click on the set button next to internet
    4. In this screen for SAP Script/ Forms select TXT.
    Regards
    Girish
    Edited by: Girish Bettaiah on Aug 8, 2011 3:11 PM

  • Enable to save documents attachement on purchase order

    Hi Experts
    I attach a document to a purchase order, i save it.
    When i open my purchase order i dont find mu documents attached, but when i apply on modify the system give me all documents attached on the purchase order.
    How can i resolve this please?
    Thanks

    Hi,
    I am a little confused. You said when you 'apply on modify', you call see all the attachments again.
    Would you please tell me what you mean by 'apply on modify'?
    Meanwhile I suggest you deactivate save and change BADI for PO and retest the issue.
    Regards,
    Ivy

  • Purchase Order Form with error- SSFCOMPOSER188

    Hi Gurus,
    We are facing an issue with the PO form in extended classic deployment with SRM 5.0, support pack- SAPKIBKT14
    The PO output is failing. We are using PO badi to call smartform. The error which we are getting in SLg1 log is-
    *No next page defined.
    Message no. SSFCOMPOSER188*
    Action could not be successfully executed
    If anyone know the solution, please let us know. every useful answer will be rewarded
    Regards
    Kapil

    SRM-EBP-CA-PRT  - component
    if you get this error for all POs you can create an OSS message to SAP.
    if it is onle one PO error
    you need to check any unwanted texts (attachments)  are pasted in the purchase order -some allignment might be incorrect.
    if it is ZSMARTFORM - sap may hesitate to help on this. SAP helps only standard smartform
    Muthu

  • Purchase Order in Stand Alone Scenario

    Hi experts
    i'd like to know if is possible to create a Purchase Order in SRM 5.0 (stand alone scenario) with position "Limit".
    I'd like also to know if is possible to create Purchase Orders with 2 or more lines.
    I'm sure that is possible to creat Shopping Cart with position "Limit".
    Regards
    Andrea

    Hi Olga,
    Are you creating RFQ from scratch or from Sourcing Cockpit ?
    If from SOCO, the Bid data can be completed with originating SC data. Otherwise data needs to be completed.
    Have a look at "processing bids" part of bidding engine help:
    http://help.sap.com/saphelp_srm50/helpdata/en/d3/133dcd5641b244a60578baa996a597/content.htm
    It is stated that in case of contract creation, you have to complete the "user-defined" contract item to add data, for example product or vendor product number.
    For PO creation, there is nothing about "user-defined" items.
    I analyzed this process in an SRM 5.0, and it looks correct: added items are passed to the PO.
    For local PO creation, all the logic is done in BBP_QUOTE_PO_CREATE.
    Here are steps for SRM 5.0
    - read quote details (items and additional items)
    - read RFQ details
    - retrieve RFQ long texts
    - fill PO header and complete it with ACS & BUK attributes of connected user
    - merge normal & supplier added items (GOOD !!!!!)
    - process items
    - complete partners
    - process texts
    - process attachments
    - BADI to determine purch group
    - create the PO with BBP_PD_PO_CREATE
    So it should work.
    Debug this process starting with function BBP_QUOTE_PO_CREATE, or open an OSS message.
    Rgds
    Christophe

Maybe you are looking for

  • Need help with installing my Pioneer external USB DVD/CD drive into G4

    Recently I bought the Microsoft Office 2008 for Mac Home and Student Edition DVD-ROM on my Dad's birthday for his G4 (OX Tiger), only to be reminded that the G4 only has a CD/RW drive! So I surfed amazon.com and got a Pioneer External USB 2.0 DVD/CD

  • Restrict to insert Duplicate Condition Types

    Hi, During PO creation with Freight Condition - ZFR1, user is able to insert this condition TWICE. Means Freight Condition is showing 2 times in Conditions...due to this My purchase register report get incorrect data... How to restrict user to insert

  • How can I prevent apps from reopening files on startup of the app?

    For most of my working day I stay with OS 10.6.8 because it has what I need and hasn't introduced things that interfere with my work flow. However, sometimes I must use Mavericks and find that the tendency for previously opened files to be reopened b

  • Report Script Query

    Hello, I have a attibute dimension which has 10 different level 0 member. I am trying to write a report script which gives me the name of the attribute rather then the name of the base dimension members that its is asociated with. So as of n ow when

  • Detect print information in a network

    Dear all, I am new to Java network programming. I have a network of pc and a printer connected to one of the workstations. When someone print a document, how can detect : who print that document, how many pages, etc? I am looking forward to hearing f