Creating ORDERS05 idoc

Hi,
I have created one purchase order in R/3. I have to generate IDOC (ORDERS05)  for this purchase order. Can you plesae let me know how to genrate IDOC (ORDERS05) of purchase order .
Thanks,
Rajesh

Hi,
Go to ME22-> Enter PO no->Menu-> HEADER ->MESSAGES->NOW GIVE THE OUTPUT TYPE->
SELECT MEDIUM AS ALE->PRESS ON FURTHER DATA->MAKE IT AS SEND IMMEDIATLY->
ND FINALLY PRESS ON SAVE BUTTON.
Now check the processing log u will get the IDOC no then go to WE02 transaction and Enter the IDOC no and check the IDOC.
Thnx
Chirag

Similar Messages

  • Orders05 IDoc Create/Change.

    Dear All,
    I am able to create the Outbound IDocs for create or change of purchase order . But I want to know
    how to create orders05 IDoc with only changed items not all the items.
    Example :  If I change line item 3 for any order ,then IDoc should have only one segment E1EDP01 for that item
    Thanks in Advance.

    Curtis,
    If I understand you're requirement correctly, you want to "Send all changed items on the ORDCHG. In addition to these, you want the item long text sent for all the items that haven't been changed".
    If this is true, I would do it in one of the following ways:
    1. Send all the data (like ORDERS) on an ORDCHG IDOC along with long texts and have the vendor compare each item and see which ones have changed. --> I know this is not a preferred option for all the clients but I have done this at one of the client who had the muscle to have his vendors comply to his needs.
    2. Change exit: EXIT_SAPLEINM_001. Pick up all the materials listed in UEKPO, go back to EKPO and get the remaining for that PO and populate long text field which would go into E1EDPT1/T2 segment and update those relevant fields in UEKPO and save it. The next form would automatically pick up these and fill up the IDOC. This way, you'll see E1EDP01 (and the segments beneath it) for all the materials but you just populate E1EDPT1/T2 and rest are blank. I might have oversimplified it because I didn't go in and check how the program flow would work but I'm positive this is a good way to start. The reason I would like to change EXIT_SAPLEINM_001 is that this is the place where the actual IDOC filling didn't start yet and all you have to do is feed into UEKPO so that the next perform will take care of the rest.
    Let me know if this works out for you. If you went through any alternative way then do educate me back
    Just a thought: You're question is different to the original thread here (although related). We're hijacking this thread. So I think it'll be better if you put it in a new one.

  • Creating a Purchase Order using ORDERS05 Idoc

    Hi Experts,
    I need to create a purchase order using ORDERS05 Idoc, with the data I am using a sales order is gettig created but I need to create a PO insted of SO.
    Please let me know what is difference between a PO and SO while using ORDERS05. Also please let me know what are all the fields that needs to chaged in the Idoc.
    Thanks,
    Suma

    Hi,
       I'm looking at a similar problem, can we use ORDERS05 IDOC basic type to create a Purchase Order?
       What is the inbound processing FM?  I tried IDOC_INPUT_ORDRSP, but it seem to only allow changes to a PO, and not creation of a PO.
       For IDOC_INPUT_ORDERS FM this one seem to only create Sales Orders?
       Which inbound FM should i be using?
    Regards.

  • ORDERS05 IDoc create CR Pricing Credit Quantity issue

    Hello All,
    I'm stuck, I can't figure out how to put the quantity on a Pricing Credit (Sales Document Type CR) when creating it from an ORDERS05 idoc using inbound process code ORDE.  The entire order is created properly, but it does not have a Quantity, therefore it is incomplete and well, you know, quantity is kinda important for a pricing credit. I've tried all fields in the E1EDP01 segment of the idoc, none of them seem to work.  You see, a CR pricing credit doesn't have schedule lines so populating the menge or the bmng2 field of the idoc has no effect.  I've also tried moving the quantity from the bmng2 segment to the zmeng field using the VEDA0001 user exit.  See in VBAP when creating a pricing credit manually, the zmeng field is where the quantity shows up so I figured if I populated the DXVBAP-ZMENG field in the exit (I've tried zxvedu03 and zxvedu09).  I put in very simple code ...
    IF contrl-mescod = '180' AND segment-segnam = 'E1EDP01'.
      lt_vbap-zmeng = segment-sdata+29(15).
    ENDIF.
    ...but I wouldn't be writing here if that had worked.
    Has anyone created a pricing credit from an IDoc using IDOC_INPUT_ORDERS?
    Thanks for any clues or solutions,
    Greg

    If someone comes up with a better solution let me know, but I've decided to do the following:
    Place an invisible field on the sales order additional data b tab and make it a direct reference to VBAP-ZMENG.  Then use user-exit zxvedu04 to activate that screen and populate my field (which is actually the main vbap-zmeng field).  I couldn't figure out how else to do this and I know this seems hokey, but it does work and I've tired of beating my head against this.
      CASE dlast_dynpro.
        WHEN '5003'.
          lt_vbap = dxvbap.
          READ TABLE gt_processes_lines WITH KEY posnr = lt_vbap-posnr.
          IF sy-subrc <> 0.
            PERFORM dynpro_setzen(saplveda) USING 'BDC_OKCODE' panel-pzku.
            PERFORM dynpro_new(saplveda) USING programm_auftrag
                                               '4003'  "DYNPRO-PZKU
                                      CHANGING dlast_dynpro.
            lv_zmeng = lt_vbap-zmeng.
            PERFORM dynpro_setzen(saplveda) USING 'VBAP-ZMENG'
                                                  lv_zmeng.
            gt_processes_lines-posnr = lt_vbap-posnr.
            APPEND gt_processes_lines.
            CLEAR: gt_processes_lines, lv_date.
            PERFORM dynpro_setzen(saplveda) USING 'BDC_OKCODE' 'BACK'.
          ENDIF.
      ENDCASE.

  • ORDERS05 IDoc User Exit - Create Sales Order

    Greetings,
    I'm working at a client where they are using the ORDERS05 IDoc in conjunction with the Process code ORDE to create customer finished goods sales orders in a 46C system. When the IDoc segment E1EDP19 is qualified with "003" and the article's UPC/EAN is supplied in the material field and conversion of the UPC to material is executed during processing when the sales order type is "ZEDI" however this conversion is not executed with any other sales order type, so I suspect a user exit routine however I checked the usual suspects.
    MM06E001
    VEDB0001
    MCP20008
    MM06E001
    VEDA0001
    But not code for the UPC to material conversion.
    Any insight is alway appreciated and rewarded.
    Thanks!

    Joseph,
    Take a look in the function module EXIT_SAPLVEDA_001, see if there's an include there. We have an include there containing our Customisations, including for the E1EDP19 segment.
    Cheers, Paul.

  • Inbound ORDERS05 IDoc - Create SD Sales Order (EDI)

    I having an issue in inbound ORDERS05 IDoc processing to create SD sales order where the sales unit of measure for the material is getting lost/replaced. We are sending sales unit of measure in the E1EDP01-MENEE field, we are also sending the material UPC in teh E1EDP19 (003) segment relying on UPC material determination rules to resolve the material for the sales order. During this process of material determination the sales unit of measure is getting lost/replaced. I know as if we send the actual SAP material in the E1EDP19 segment (no material determination required) the sales unit of measure is unchanged. In this SAP system multiple sales unit of measure are maintained for each individual UPC code. Just looking for input on where to look to resolve this, config, user exits, etc..

    I can't say for sure what you should be doing, as I don't know how you have setup your material master, or how your Customers order. We have some Customers that always want EAches, some that always want OUTers, then some who want whatever UOM is assigned to the GTIN (UPC) that they order, which could be one of several. We have our custom code in ZXVEDU03.
    Cheers, Paul.

  • Error while ORDERS05 IDoc transfer from R3 - PI - SNC

    Hi Friends,
    I am facing error in PI SXMB_MONI for ORDERS05 IDoc transfer from R3 - PI - SNC.
    I have done all the configuration setup in Integration Directory for the Scenario, I am able to successfully send the IDOC for PO from R3 to PI but faced the following Error in PI.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PARTY_SERVICE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      *<SAP:Stack>Party and service not defined</SAP:Stack>*
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Also I am unable to Configure Sender/Receiver ID in PI > SXMB_ADMIN > Configuration, as while defining Sender/Receiver  unable to add the Interface for Sender(ORDERS.ORDERS05)/Reciever(ReplenishmentOrderNotificatio_Out) although I am able to see the same in Integration Repository.
    Also In Main message(Part of the message) as shown below, I am able to see Vendor in PARTY Element of xml message for which I have created the PO
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    - <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
      <SAP:MessageId>0050568F-24A0-1DDD-B9F5-3F6DD541FF93</SAP:MessageId>
      <SAP:TimeSent>2009-01-21T10:55:20Z</SAP:TimeSent>
    - <SAP:Sender>
      <SAP:Service>SAPECC6</SAP:Service>
      <SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">ORDERS.ORDERS05</SAP:Interface>
      </SAP:Sender>
    - <SAP:Receiver>
      <SAP:Party agency="SAPECC6" scheme="ALE#LI#LF">0000000006</SAP:Party>
      <SAP:Service />
      <SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">ORDERS.ORDERS05</SAP:Interface>
      <SAP:Mapping notRequired="Y" />
      </SAP:Receiver>
    Please Suggest the steps needs to be done for resolving the Issue.
    Thanks all...
    Regards,
    Nitin
    Edited by: Nitin Patil on Jan 21, 2009 12:18 PM

    Hi Nitin,
       I completed the configuraiton but the PO came in PI successfully but stuck in PI with error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Error during parsing of SOAP header</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Error during parsing of SOAP header</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    can you please help what is the problem , I am not able to find out.
    Thanks,
    Menaga

  • Segment management in ORDERS05 IDOC.

    Hi there.
    I have two questions, one is very focused on text management in ORDERS05, the other one is more generally speaking.
    1 - Text management in ORDERS05 IDoc:
    I have texts in my purchase order that I fill in, and then generate my IDoc. When looking at IDoc detail through WE05 or WE02, my texts are not visible neither in E1EDKT1 nor E1EDPT1 segments. Basically, those segments are not even created in my IDoc. Why? Anything to do in PO and/or ALE customizing?
    2 - More general:
    I need to have, in my E1EDS01 segment, the total quantity I order in my PO. So, I need a segment with qualifier '004' in SUMID, then my quantities. Currently, I only have SUMID='002' and my total value amount. How can I define (or it is defined by the system) the type of information I have in my segments, or segments themselves?
    Please tell me if not clear at all.
    Thanks for your answers.
    Chris.

    Thanks Dani.
    I checked the T166A table and found that the following entries are missing for my cases: EKPO and EKKO for my ZNB PO type.
    Shall I just put an entry for those two things in that table and this will allow me to get my texts in my ORDERS05 IDoc?
    For point 2, as I am not an ABAP developper, I do not understand what to do. I can deal with customizing, but not with ABAP programming on that subject.
    Thanks anyway at least for the first part of the answer.

  • Return order with reference to the billing document created via IDOC.

    Dear Colleagues,
    I’m struggling to understand and confirm whether standard functionality of ORDERS05 idoc allows creating a return order with reference to existing billing document?
    I have tried using standard segment E1EDK02 and E1EDP02 with qualifiers 009,010,011,087 but unfortunately idol is not creating a return order with reference and ignoring this segment.
    Have any one came across similar problem? If yes then will be grateful for sharing his experience.
    Best regards,
    AL

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

  • PO no of customer in ORDERS05 IDoc with 3rd party scenario

    Hello experts,
    we have the scenario where we are getting purchase orders from our customer (which is in the same system like we are). Then we create SO for the customer and a PO to the external vendor. The goods should be delivered directly to the customer.
    In that 3rd party scenario we will send our PO via ORDERS05 IDoc to the vendor. Once the vendor is shipping the goods, he sends us an ASN and we create a statistical GR.
    Now our target is to give our customer somehow the information, that the delivery shipped from the vendor will be based on his PO to us. Do you know a way how we can give his PO no. to the vendor in the SAP standard ORDERS05 IDoc? Otherwise, is there a standard process to send our customer also the information that we received the ASN from vendor and transfer this information (maybe also as an ASN) to the customer with his PO no., so he can create an inbound delivery already?
    Thanks.

    Follow this Procedure... it works....
    Procedure
    1. Review the number ranges that have been created: The number ranges for the business partner in the Best Practices are defined as follows:
    IMG u2192 Cross Application Components u2192 SAP Business Partner u2192 Business Partner u2192 Basic Settings u2192 Number Ranges and Groupings u2192 Define Number Ranges
    01: The Regular business partner uses this number range: 2100000000 to 2199999999 and 03: 7100000000 to 7199999999 is used in the setting above for the ship-to party. Both are internal number ranges.
    XX is the external number assignment used to create the SD reference customer.
    2. The account group DEBI must temporarily be assigned to this external number assignment for the creation of this business partner:
    IMG u2192 Financial Accounting u2192 Accounts Receivable and Accounts Payable u2192 Customer Accounts u2192 Master Data u2192 Preparations for creation customer master data u2192 Assign Number Ranges to Customer Account Groups:
    Set account group: DEBI to external number range XX for the Business Partner creation step.
    3. Create an SD customer:
    Call transaction XD01: Easy Access u2192 Logistics u2192 Sales and Distribution u2192 Master Data u2192 Business Partner u2192 Customer u2192 Create u2192 Complete
    u2022 Select account group: Customer (general)
    u2022 Enter the Customer key: MUST_ALL
    u2022 Enter company code (1000)
    u2022 Enter sales area as follows:
    u2022 Sales organization: 1000,
    u2022 Distribution channel: 01
    u2022 Division: 10.
    u2022 Select Continue.
    Assign MUST_ALL in Master data>bp>settings for creating standard customers.

  • Inbound Function module to process ORDERS05 IDOC

    Hi,
    My requirement is to create pre-booked Purchase order.
    I have to extend the ORDERS05 IDoc for this requirement. It is an inbound IDoc.
    I found the function module IDOC_INPUT_ORDERS. But I have a doubt will it work for Purchase orders because i found most of the data inside the function module are relevant for Sales order creation.
    Can you please suggest me a suitable function module to process this Inbound Idoc and create purchase order.
    Regards,
    Balaji. R

    Hi,
    The message type and basic idoc type for the processing of purchase orders:
    PORDCH                 PORDCH01                -- For change
    PORDCR1               PORDCR101              -- For Create
    Regards,
    Ginu Litta Raj

  • Help on ORDERS05 IDoc mapping..

    Hi Experts,
       Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.
      20  Quantity             VBAP  KWMENG  Num(6)
      21  Unit of Measure  VBAP  VRKME      Char(3)
      22  Gross Price       KONV  KBETR       Curr(11.2)
      23  Discount           KONV  KBETR       Curr(11.2)
      24  Surcharge         KONV  KBETR       Curr(11.2)
      25  Net Value         KONV  KBETR       Curr(11.2)
      26  Cost Object 
      31 Payment Terms  VBKD  ZTERM      Char                E1EDK01 -ZTERM
      32 Footer Msg1      STXI     n/a             Char
      33 Footer Msg2      STXI     n/a             Char
      34 Footer Msg3      STXI     n/a             Char
      35 Total                 KONV  KBETR       Curr                E1EDS01 -SUMID (004)
           I thought for
               Quantity               :  E1EDP01-MENGE
               Unit of Measure    :  E1EDP01-MENEE
               Gross Price          :  E1EDP01-PREIS
               But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.
         so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.
         Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.
         Please reply me.
        Thanks in advance,
        karthik.

    In sales order,these quantity updating in Tatget quantity,look at VBAP Table ..
    You will get good idea..
    Reward Points if it is helpful
    Thanks
    Seshu

  • JDBC to IDoc (ORDERS05) IDoc

    Hi,
    My scenario is JDBC (from 2 tables) to single IDoc ORDERS05.
    There are 2 source tables , HEAD, ROW. For every row in HEAD I need to create one Sales order through IDoc in R3.
    I am doing inner join on HEAD, ROW and say for example I am getting the following rows:
    HEAD.ID   ROW.ITEM
    1                     ABC
    1                     XYZ
    1                     PQR
    2                     ABC              
    2                     JKL
    3                     IOP
    Now for each unique HEAD.ID, I need to map to ORDERS05  IDoc. ( In our example I need to create 3 orders).
    How do i do this?
    And also, I need to map only (ABC,XYZ,PQR) in the first occurrence of ORDERS05, then (ABC,JKL) in the second occurrence and (IOP) in the third occurence.
    Could you please help me, how to do this?

    Now for each unique HEAD.ID, I need to map to ORDERS05 IDoc. ( In our example I need to create 3 orders).
    How do i do this?
    -->write a  UDF on HEAD.ID field to strip duplicates and map this to IDOC header.
        your UDF shd take 1,1,1,2,2,3, and give you 1,2,3.
    And also, I need to map only (ABC,XYZ,PQR) in the first occurrence of ORDERS05, then (ABC,JKL) in the second occurrence and (IOP) in the third occurence.
    Could you please help me, how to do this?
    -->you can use the same UDF in remaining fields. use IF statement and check with the UDF output to the HEAD.ID

  • Status3 of Orders05 IDoc

    Hi all,
    We are sending the Purchase Order details to a third party system from SAP R/3 using Orders05 IDOC, but i am getting the following error:
    com.wm.lang.flow.FlowException: No Kreditor MPID found for system 75da182
    I have checked the connections but the same connection is working properly for all other IDOC's.
    Can any one let me know what is the actual problem.
    It's urgent, all the helpful replies are rewarded.
    Regards,

    I believe you can use one of the customer exits in the FM which creates your IDOC to filter items.

  • How can I split an Orders05 iDoc into multiple iDocs?

    Hello,
    Can one of you experts please tell me how I can split an ORDERS05 iDoc into multiple iDocs based upon Delivery addresses? 
    For example, if the iDoc contains 3 different Delivery Addresses then I need to split it into 3 iDocs.
    It has been suggested to me that I can Create a custom function module. In this custom fm split the idoc into 3 based on the delivery address and create it using the FM MASTER_IDOC_DISTRIBUTE.
    Problem is I don't know how to do this.  Any help is greatly appreciated.  Thanks.
    Dan

    Hi Dan Avis
    Write a Custom  Z program .
    1 get order05 idoc number....
    2 get the segment details...(Based on you condition...)
    3 In a loop  send the data to the FM MASTER_IDOC_DISTRIBUTE  (Based on you condition...)
    4 IDOC will generated,,,every loop and
    5 Change the status of original idoc .
    or
    Create Function module and use the FM as process code to create 3 idocs...and processs...new generated idoc and block original idocs...
    Call me if you have questions  @ 302 290 5677
    Thanks
    Ramesh

Maybe you are looking for

  • Xfce4 install wiped out ld.so.conf???

    I reinstalled Arch on 3/7 to go back to JFS from ReiserFS (also, prior install was x86_64, current is i686). I use both KDE and Xfce4, but didn't reinstall Xfce4 until 3/12, at 16:09, according to pacman.log. I did a pacman -Syu yesterday (I *never*

  • How to find the parameters

    Hi, am working on the SSHR pages customization using OAF. I want to run the page in my local machine but it gives error saying that parameters need to be passed.But i have no idea where to fetch the parameters from. Am new to this OAF. CAn you please

  • Why we use IDOC adapter for IDOC as reciever?

    hello, Why we use IDOC adapter while using IDOC as receiver, whereas we don't use IDOC adapter while IDOC is sender? I am clear about why we don't use adapter for sender IDOCs. Thank you. Sarika

  • Patch for PHP maxdb_fetch_array($result, MAXDB_ASSOC_LOWER)

    I've just discovered a bug in the PHP module for MaxDB. Using maxdb_fetch_array() with resulttype MAXDB_ASSOC_LOWER or MAXDB_ASSOC_UPPER results in a wrong array. In fact there are two bugs. 1) With MAXDB_ASSOC_LOWER, the array index is only converte

  • Why or why not single-host installation?

    Hi friends, I'm collecting your opinions and experiences here... :) Why or why not to install complete, i.e. both Infra and Mid-tier, AS release 2 on a single host? -does it not basically come down to hardware configuration? (if the cpu and RAM is "g