Send Purchase Order via ALE/IDOCS

hi,
      How can i send one PO from one client to another via ALE/IDOCS?
      Pls provide few important steps.
Thanks and Regards,
Gaurav

For sending IDOC for Purchase order you will use idoc
Message type : ORDERS
Basic Type : ORDERS05
Create one RFC Destination in SM59 and give that entry in Port in WE21.
Create Partner profile in WE20 and Port for receiver system in WE21.
Use your port in Partner profile in WE20.
In Partner Profile create one entry for Message type ORDERS as Outbound.
In your tcode when you are creating Purchase order set output message in your header condition for Outbound to send that purchase order to that Partner Profile.
Check link :
http://www.****************/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1.htm
Regards,
Sandeep Kaushik

Similar Messages

  • Problem in sending purchase order via EDI

    Hello Experts ,
    I want to send purchase order via EDI , for this i have refer the below link for configurations.
    link :
    http://help.sap.com/saphelp_nw04/helpdata/EN/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm
    I have created purchase order (ME21N)and saved it.
    Then i went to ME22N , Goto -> Messages, i am getting below error .....
    Maintain outgoing EDI connection data for partner 8888(this is the partner number i have created in partner profile)
    please suggest the possible cause of the error and how could i rectify it.
    Thanks
    Sonal

    Ensure that you have the relevant message type in outbound parameters for this partner profile

  • How to send purchase order via e-mail.

    Please could someone let me know how to send purchase order via e-mail.
    I am an BC.
    e-mailing is functionning however I am not very familiar in settings for MM

    No, you do not need to touch ME_PRINT_PO. You need to put code before and after ME_PRINT_PO in the print program.
    Step 1 - Copy the standard print program SAPFM06P to make a Z version, lets call it ZSAPFM06P
    Step 2 - Copy include FM06PE02 to make a Z version, lets call that ZFM06PE02.
    Step 3 - ZSAPFM06P change the statement "Include FM06PE02" to read "Include ZFM06PE02".
    Step 4 - In include ZFM06PE02 you will find a subroutine called "ENTRY_NEU". In this subroutine you will see it first calls ME_READ_PO_FOR_PRINTING then calls ME_PRINT_PO. Before it calls ME_PRINT_PO just put:
    l_nast-nacha = 1.
    CLEAR l_nast-dimme.
    This means that ME_PRINT_PO will not e-mail, it will create a spool request.
    Step 5 - Still in ZFM06PE02, after ME_PRINT_PO has been called, add new code. First check that ent_retco EQ 0. If it does not then exit.
    Step 6 - Get the spool ID created by ME_PRINT_PO by either moving sy-msgv1 to a variable or select from NAST.
    Step 7 - Call function CONVERT_OTFSPOOLJOB_2_PDF using the spool ID from step 6, and put the result from table PDF into an internal table you can use later. ALso store the export variable pdf_bytecount, you will need it later.
    Step 8 - Call function SX_TABLE_LINE_WIDTH_CHANGE using the table from step 7 as content_in and put the results from content_out into a new internal table.
    Step 9 - Add some text into a internal table of type solisti1, this will be the body text of the e-mail.
    Step 10 - Add whatever receivers you want into an internal table of type somlreci1. If you just want it to go to the address that the PO would have gone to anyway, select the e-mail address from ADR6 where the address number = l_doc-xekko-adrnr, that is the data from the PO.
    Step 11 - Populate an internal table of type sopcklsti1 with data relevant to your PDF table from step 8 and the text table from step 9. You will have to put the size of the PDF from step 7 (pdf_bytecount) on the PDF line and the size of the text will be the number of lines of text * 255.
    Step 12 - Add info to a structure of type sodocchgi1. You can add the e-mail title in here, field obj_descr. Also add the size of the PDF and the size of the text from step 12 into doc_size, and give the doc a name in field obj_name. This can be anything, ZPDFPO for example.
    Step 13 - Call SO_DOCUMENT_SEND_API1 using the tables from steps 8, 9, 10 and 11 and the structure from step 12. You can amend the sending e-mail also. Set commit_work to space.
    Step 14 - That is all you need, but I actually call function RSPO_R_RDELETE_SPOOLREQ to delete the spool request created in step 4, then call NAST_PROTOCOL_UPDATE to add some more messages to the processing log of the PO.
    That is all.

  • Sending Purchase order outbound thro IDoc

    We have a scenario to send Purchase order in Idoc format.
    I have created a Distribution model, Partner profile and change pointer for msg type ORDERS and Global change pointer are activated.
    When I execute the program RBDMIDOC for msg type ORDERS, I am getting an error message as
    " Message type ORDERS cannot be sent with change pointers
    Message no. B1157"
    All ur ideas will be appreciated.
    Thanks,
    Sivaraman

    hi
    it is not possible to send transactional data by using change pointers
    it is for only for sending master data .
    Thanks&Regards
    Nagesh.Paruchuri

  • Sending Purchase Orders via mail

    Dear All
    I have configured the necessary settings for sending the Purchase Order via email from SAP.
    However at present the message is not sent directly.Even after executing ME9F and processing the output the message lies in SOST.
    I have to access SOST  transaction and then execute start send process for selection and the  email message then goes to the Vendor.
    Is there any way this can be avoided and we can send the Purchse Order via email withour using SOST?
    Regards

    Go to SM36 transaction and crate new job with program name RSCONN01 and variant SAP&CONNECTINT and save this job. choose start condition immediately with periodic Job and enter period values as per your need ( example 5 mins). This job should automatuically trigger email in SOST.
    Hope this is helpful

  • Send Purchase order  thru ALE

    Hi,
    My requirement is when PO is created , this information should be pass to FI dept from Purchase dept. but the client is same.
    can i use ALE in this scenario  and if y pl. provide me guidence.
    Thanks,
    Khushi

    For sending IDOC for Purchase order you will use idoc
    Message type : ORDERS
    Basic Type : ORDERS05
    Create one RFC Destination in SM59 and give that entry in Port in WE21.
    Create Partner profile in WE20 and Port for receiver system in WE21.
    Use your port in Partner profile in WE20.
    In Partner Profile create one entry for Message type ORDERS as Outbound.
    In your tcode when you are creating Purchase order set output message in your header condition for Outbound to send that purchase order to that Partner Profile.
    Check link :
    http://www.****************/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1.htm
    Regards,
    Sandeep Kaushik

  • Sending Purchase Order to XI(IDOC to File Scenario)

    Hi,
    I have imported IDoc type ORDERS05 for Message Type ORDERS in XI 7.0 & i have created the IDOC to File Scenario for Purchase Order & activated all the objects.
    Now in SAP ECC 6.0, i have created a purchase order using ME21N. No idocs created. Let me know the steps to send that PO. Which T.Code & what entries to follow...
    Regards,
    Balaji

    Hi,
    You would need to configure the data distribution model, activate change pointers, create your partner profiles and rfc connections.
    Then do your XI Config.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    http://help.sap.com/bp_bpmv130/html/K16_EN_US.htm
    http://help.sap.com/bp_bpmv130/Documentation/K16_Config_PurchaseOrderRequest_SellerPCK_EN_US.doc
    Check these replies too...
    Create PO in R/3 using XI
    Regarding PO in XI
    A basic guide..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
    Thanks,
    Vijaya.

  • How to Send Purchase Order through EDI/IDOC.

    Hi Experts,
    We are using SAP ECC.5. And intending to send the Purchase Order to Supplier through EDI/IDOC and Receive the Inbound Acknowledgement.
    Appreciate, if you could help me, the required Configuration details for outbound and inbound (PO & Acknowledgement).
    Reg
    Kumar

    Hi Kiran
    Many thanks for the response. It is true that by changing the message type to EDI can generate idoc. What is not clear is any other config we need to do interms of Message generation, Resubmitting failed IDOC etc..
    Out requirement is that we would generate the IDOC for New and changed docs and send to external EDI converter.
    Inbound, receive the IDoc and post the acknowledgement.
    Appreciate, if you could forward any document link which can explain the details.
    Reg
    Kumar

  • Send purchase order via email (external send) with special Czech characters

    Hi all,
    I am sending a purchase order created with ME21N via email to the vendor using "external send".
    The mail is delivered without any problems, PO is attached to the mail as PDF file.
    Problem is that special Czech characters as "ž" or "u0161" are not displayed, a "#" (hash) appears instead.
    This problem occurs when language for PO output = EN.
    Tests with language = CS worked out fine, but the whole form incl. all texts are in Czech as well; so no valid solution since it needs to be in English.
    We checked SAPCONNECT configuration and raised note 665947; this is working properly.
    When displaying the PO (ME23N) special characters are shown correctly as well.
    Could you please let me know how to proceed with that issue?!
    Thanks.
    Florian

    Hi!
    No, it's not a Unicode system.
    It is maintained as:
    Tar.          Lang.        Lang.        Output Format                           Dev. type
    Format
    PDF     EN     English                                                     PDF1
    Using this option, character "ž" was not displayed correctly, but "Ú" was ok.
    All other Czech special characters are not tested so far.
    Thanks,
    Florian
    Edited by: S. SCE - Stock Mngmnt on Aug 14, 2008 10:19 AM

  • Sending Purchase order via Email (with CC)

    I implemented the functionality of sending purchasing documents by e-mail (according the oss note 191470) and works. However I need To send the email to the vender email address but also in CC to the person who creates the PO. I mean, when the PO is create the email should be:
    To-> vendor address
    From-> user address
    CC-> user address
    Thanks in advance.
    Paula

    Paula
    I am currently encountering the same requirement.I don't think there is a standard solution using external send output as everything I have read will only use the email address in the vendor master.
    In an extreme case you could set up limeted requisitioners as vendor records with a custom partner function and select that in the PO, though that is a bit extreme
    the alternative i'm looking at uses a second output type for SAP office mail (7 simple mail)
    I think its set up is described in the same OSS note  191470.
    Using the partner function MP i've got a manual process whereby the user adds this output message to the PO using the MP partner function. you get a couple of messages about not being able to determine an email address. If you double click on the message line it takes you to the SAP office mail where you can add as many recipient addresses manually as you want. you could also use SAP officemail
    if you can persuade your users to manually enter the email and message this could work. however i'm sure there could be a user exit you could use to populate that value from elswhere
    hope this helps
    Jerome Mungapen

  • Send Purchase Order via email

    We are sending PO via email using output determination.The problem is that if the number of line items in PO are few it is able to send the pdf file as attachment successfully.
    But if the number of line items is large say 99 its not able to create a PDF it sends multiple mails some blank and other with junk.
    Any suggestions what could be the issue.

    Hi,
    "We are sending PO via email using output determination."
    Can you pl let me know the steps how you have done above task ?
    Regards
    Badari

  • Regarding Purchase order Via email

    Hi,
          I want to  know whether it is possible to send purchase order via email to various email ID.
    (Same purchase order must have to be deliver to various email ID , Ofcource in Outlook).
    Please give me suggestions.
    Regards,
    Ajinkya

    Hi,
    Yes, You can send PO via e-mail to outlook or other mails.
    Pre-requisites are:
    1. Message settings to be done with customized print program (including the logic of selecting the users)
    2. Mail server smtp configuration in SCOT transaction
    3. maintaining e-mail IDs in relevant Masters. eg: for users- SU01, for vendors- in VMR, for buyers:- in Purchase Grps etc.
    Umakanth R

  • Setting for Sending the purchase order via EDI

    Hi,
    I have no knowledge on the Sending the Purchase Order via EDI.
    What is the setting that need to do in MM side?
    Anyone has any idea?

    Hello Janice,
    Please refer the below LINKs which would provide you clear approach for configurational task of sending PO through EDI.
    [LINK|http://help.sap.com/saphelp_46c/helpdata/en/dc/6b7c9f43d711d1893e0000e8323c4f/frameset.htm]
    [LINK 2|http://www.erpgenie.com/sapgenie/docs/advanced_guide_to_edi_configuration.doc]
    Regards,
    SARTHAK

  • Send another Purchase Order via Email

    Hi,
       Currently i have an output ZP01 that send purchase order to a user (User A).  Now i would like to send using the same output ZP01 to send to another user (User B).   Question:   Can I use the same output to send to two users ?   Or, do i create similar output to send to User B ?
       Appreciate any suggestions you may have.
    thanks
    Joyce

    closed.

  • 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

Maybe you are looking for

  • Known Issues Upgrading from Apex 3.0.1 to 3.1.1

    Hi, We are in the process of upgrading to 3.1.1 from 3.0.1, are there any known issues (critical) that people can share? Have heard that there might be an issue with the Shuttle item - is this correct? Thanks. Tony.

  • Free Disk space - burning dvd

    Help! I have sucessfully created my iDVD project and want to burn to a DVD disk. When I click the "burn" button I get the following error, "Not enough free disk space for encoding the remaining assets - Multiplexer Preparation Error." What am I doing

  • Can I download the Acrobat X trial version and purchase my license upgrade?

    I wish to upgrade Acrobat 8 from my dead workstation to Acrobat X on my new workstation (Windows7 OS). I do not have installation CD newer than Acrobat 6. Can I download the Acrobat X trial version and purchase my license upgrade?

  • Can't run the installer - error message

    We get halfway through the install - at 50%, as it switches from "downloading" to "installing" - and it stops, with "general error" message. We've done all the troubleshooting steps the page advises. Now what?

  • Firefox 3.6.12 extremely slow, crasches randomly

    Have had this problem for a couple of weeks now, and Im quite frankly through with it. Have tried the common "solutions"; turned off add-ons, safe mode, reverted to previous versions, tweaked about:config, searched the forums, et cetera et cetera. Ri