Purchase order to IDOC

Hi all,
My Requirement is like this.
I Have to modify the purchase order quantity for the given purchase order and the details of that PO has to be displayed, in that list i have to show batch no, goods receipts for each PO it means each item may contain more than one goods receipt,Quantity,plant e.t.c and later when the user checks the purchase order and clicks the create IDOC button An IDOC is to prepared for this PO and it is to be sent to External System. can any one sugest me the process of this
Thanks In Advance
Suresh

Hi Suresh,
You have change the your respective items in ME22N , but u have to do this at the 5th step that i have mentioned earlier.
here is the clear desc..
1)BD61->Select Check box,
2)bd50->select Messagetype & save it.
3)bd51->select corresponding Fm(try IDOC_OUTPUT_ORDERS)
4)bd52->message type
Keep the Items which ever you need to change in the partner system
5)ME22N <b>(change required fields)</b>
6)se38-> execute RBDMIDOC giving respective  message type
7) <b>Changed records will be stored in CDHDR</b>
Thanks,
Kiran

Similar Messages

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • Do we not send Purchase order acknowledgement IDoc for order cancellation?

    Hi all,
    Is there a way to NOT send a Purchase order acknowledgement IDoc (POA) when we process an IDoc to cancel the order (or cancel all items)? The system now sends POA whenever there is a order create or order change (including cancellation) IDoc coming in but my customer wants not to receive POA in case of order cancellation.
    Thanks,
    Charles.

    Hi,
    Please give me your opinion and if we do not send the order response in case of order cancellation then please tell me how should I configure for that.
    Thanks,
    Charles.

  • Purchase order and IDOC

    Hi gurus,
    can anyone send all the configuration steps involved when i save an Purchase Order then an idoc has to be generated
    and send to PRD .
    Pls help me.
    Thanks and regards,
    Rajeshwar.

    thanks

  • Need to create sales out of purchase order using idocs

    Hi All,
    I have a requirement to create sales order based on purchase order with in the same sap system and same client(using orders04 idoc type).I have some doubts below could you please some body clarify?
    I know the basic steps in ALE(theritical knowlege)but I need clarifications for below questions.
    1)Which tehnology I should use here ALE or EDI?
    2)With in the same client how can I create 2 logical systems.
    3)How the idoc will go the recevier I mean what all are the ways to trigger outbound idoc from sender side.
    4)Inbound side how the sales order will create based on the inbound idoc?Is it automatic from inbound settings or we have to do anyting for this?
    5)I need to check some conditions with the inbound purchase order data before creating sales order.I think this one we can do in the user exit of inbound function module .Can I control the type of document that it has to create(ex sales order based on some condition or quotation based on some other condition).
    Best regards
    Mahesh

    Hi Mahesh,
                     My suggetion is that develope program to do your scenario... Use BAPI to create Sales order. First confirm with the Functional team for the input for sales order about sales area, company code, conditions type to be used while creation a sales order against Purchaser order... If the details is same then. First get the details of the Purchase order from BAPI " 'BAPI_PO_GETDETAIL' or you can get details by select queries on EKKO & EKPO for header and details....
                    Then pass data to BAPI of sales order creation 'BAPI_PO_CREATE' . to create sales order and handle error with parameter         RETURN                           = IT_BAPIRETURN
    by giving loop on that....and display in the output.....
    This is the simplest way of doing your process...
    If any other help please let me know.....
    reward points..
    Cheers,
    Sagun Desai....

  • Create purchase order form idoc

    Hi everyone,
    I would be very grateful if someone could explain me whether it is possible to generate a purchase order directly from an incoming ORDERS05 IDOC and specially how to do it.
    I am receiving an ORDERS05 IDOC from an external system but I do not know how to generate the purchase order I need using the information in the IDOC.
    Thanks in advance and best regards.
    Ben.

    Hi,
    Here is very basic overview on your requirement.
    1) you need Logical System and Partner Profile.
    2) Need to find Message type for Idoc Type ORDERS05 (Tranx: WE82)
    3) With Message Type A function module is attached. This will create PO.
    Regards

  • Purchase Order Outbound Idoc issue. Message Type ORDER

    Hi Experts,
    I am having issue with outbound IDoc generated from Purchase Order.(Message Type ORDER and Basic Type ORDERS05)
    Issue is when i create PO idoc Segment  E1EDP01 and field ACTION populates as 001 this works fine.
    Now when made any changes to the purchase order.* PO trigers one more EDI - Idoc. but the ACTION field is stil as 002.*
    Could any tell me how to fix this.
    Cheers...Gopinath.

    Hi,
    Thank you.
    I have found the issue and fixed.
    Below three setting was missing same has been done in Partner Profile now ok.
    Message type u2013 ORDCHG, Processing Code u2013 ME11 and Change flag On.
    Cheers..Gopinath
    Edited by: Gopinath A.R on Oct 8, 2009 3:14 PM

  • Purchase order change IDOC

    Hi Gurus,
    Good day.
    Please help on below.
    We have this scenario. whenever purchase order is changed, it must generate IDOC. how can we configure this? thanks in advance..

    hi
    check following
    http://sapmm.wordpress.com/2009/02/19/automatic-idoc-generation-whenever-a-po-is-createdchanged-2/
    Inbound Idoc Create/Change Purchase Order

  • ME59 Purchase order outbound idoc header text missing in segment

    Hi All,
    When Purchase Order created via ME59 for third party vendor Outbound Idoc is created but Header Text of PO not copied into IDOC Segment.This Problem occurs when PO has sales order assignment.
    Please Advice..
    Thanks,
    Vinod.

    Hi Ankur,
    I am not an expert in this area but I'm looking on an ORDERS05 iDoc where I have the following data for E1EDK14:
    <u>E1EDK14 014:</u>
    QUALF: 014
    ORGID: [Purchasing organization ID]
    <u>E1EDK14 009:</u>
    QUALF: 009
    ORGID: [Purchasing Group ID]
    <u>E1EDK14 013:</u>
    QUALF: 013
    ORGID: [Purchase Order type, e.g. EC]
    <u>E1EDK14 011:</u>
    QUALF: 011
    ORGID: [Company Code]
    Hope this helps!
    Regards,
    Kristoffer

  • Creating Sales order then purchase order through IDocs using XI

    I have a scenario where I have to create the Sales Order and purchase order. Important thing is after successful creation of Sales Order then only purchase order needs to be created.
    Is it possible to achieve the above thing in XI using Idocs..Should I need to go for BAPI's.
    Waiting for the solution

    > I have a scenario where I have to create the Sales Order and purchase order. Important thing is after successful creation of Sales Order then only purchase order needs to be created.
    You have to use BPM for this.
    > Is it possible to achieve the above thing in XI using Idocs..Should I need to go for BAPI's.
    If you know the BAPI's then you can avoide BPM because in that case you can go for inbound proxy and inside the proxy code you can make sure the creation of SO & PO in desired order. You can also do the error handling very efficiently in R3 in comparison to XI.
    Regards,
    Sarvesh

  • Item text purchase order in IDOC - delete

    Hello,
    I want to send out an Idoc (ORDERS05) from a purchase order. I do not want to sent the item text or material purchase text.
    Can someone help me?

    Please check for user exits in FM IDOC_OUTPUT_ORDERS. There are plenty of them that you can use to delete text segments at both header and item level.
    Please let me know in case of any issues.
    Thanks
    Ganesh.S

  • Unable to post the Purchase Order inbound idocs which are in status 64

    Hi
    While Processing the inbound idocs which are in status 64 for message type: PORDCR i am getting the
    idoc into error status 51 saying the error as "Missing authorization: Purchase Order Create Purchasing Grou V10"
    We are getting the inbound idocs from third party and we need to post these idocs in production.
    Can any one help me out how to proceed further on this.
    Thanks in Advance
    Regards,
    Phani Miriyala.

    Hi
    Thank you very much for your quick response.
    As the same user is able to process the idocs of message type PORDCR which are in status 64 successfully previously.
    Regards,
    Phani Miriyala.

  • Create Sales order from a Purchase order through IDOCs in the same system

    Hi,
    I have been trying to create Sales ordes in the same SAP system, through the Purchase order generated.
    The Purchase order generated, passes the information through an outbound I DOC to a SO inbound I doc, I am getting the following error
    Partner number A2815 for customer 2815 , partner function WE does not exist.
    Message no. VG140
    but in my case the ship to party (partner function WE) is the same as Sold to party (partner function AG)
    can any body please help how to map it
    Sreeram P

    Hello Sreeram ,
    See note 1339290, which corrects the parameters of error message VG140.
    Also, the sold to party (SP) is determined in several ways:
    1. If the sender partner in the control record is a logical system (LS), an E1EDKA1 segment with the SP must be sent.
               E1EDKA1-PARVW = AG
               E1EDKA1-PARTN = valid partner in the receiving system
    Otherwise the system takes the partner number from the control record into the field E1EDKA1-PARTN and this is not a valid partner.
    2. If the sender partner in the control record is a SP, we take this SP from the sender partner into the sold-to party number. Excepted another SP was sent in the segment E1EDKA1-PARNR, then the SP from the control record has no effect.
    The E1EDKA1 segment for the SP should be sent always before the E1EDKA1 segment of the ship-to party (SH).
    Regards,

  • Problem in creating Purchase order through Idoc

    Hi ABAPers,
    I am trying to post PO document through WE19 t-code using inbound function module BAPI_IDOC_INPUT1 which is calling BAPI_PO_CREATE1 internally.And i am getting below error messages.
    1. Characteristic  does not exist in operating concern AC01
    2. This function only possible for subcontracting items
    3. No instance of object type PurchaseOrder has been created. External reference
    passing data to IDOC:PORDCR102
    Header Segment : E1BPMEPOHEADER and E1BPMEPOHEADERX
    company code    0814
    doc_type            NB
    vendor                0000400001
    poprg-                EPRO
    pgroup               U01
    Item Segment : E1BPMEPOITEM and E1BPMEPOITEMX
    Item                  00010
    material             000000000000000263
    plant                 0374
    Qty                   22.000
    Delivery Segment E1BPMEPOSCHEDULE and E1BPMEPOSCHEDULEX
    Item                  00010
    Schedule line     0001
    delivery date      01.12.2008
    Qty                   22.000
    Note: i am able to create PO successfully, through SE37 by using FM BAPI_PO_CREATE1  with given above data.
    Please confirm me, what else i need to pass to post PO through WE19 t-code using inbound function module BAPI_IDOC_INPUT1.
    Please reply me ASAP.
    Thanks and Regards,
    Sekhar Raju.

    must be data format issue. when you use Function_module/BAPI from SAP GUI, convertion exit is applied automatically. hence data is converted to proper format & submited.

  • Mapping from purchase order to idoc

    Hello,
    Can anyone tell me how a PO is mapped to an IDOC? 
    We are having an issue where the "Quantity Tag" appears on the PO but it is not translated to the PO's IDOC. 
    Thanks,
    Matt

    Hi,
    For finding the IDOC number corresponding to the PO, use transaction BD87. Give the Business object as BUS2012 and business object key as the PO number. You can find the IDOC number.
    Using that IDOC number, in WE19 you can try to recreate the IDOC. This will help you to find the issue.
    Reward points if helpful.
    Thanks and Regards,
    Lakshmi.

Maybe you are looking for

  • Update / Select and readpast locks

    Hi everybody, We are running into concurrency issue with one of the applications that uses multi threading (200 threads / sec running that query (in a stored procedure)). The query with the concurrency issue is the following one: --retrieve the oldes

  • Manually recorded audio is being truncated at beginning

    I'm recording narration for a Captivate 3 movie of a software demo. After I record the audio for a slide, I use the built-in audio editor to replace the "ramp-up" (noise) at the very beginning of the recording (usually about 0.7 seconds before the vo

  • Email wont stay on

    Hi, Im having a problem with my e-mail on my iphone 3Gs 16mb. Everytime I try using the mail it just opens and goes straight back to the home screen. I have tried resetting the phone and its settings, I have tried deactivatin my email account and sta

  • View setup failing in EMGC_MAIN_LINUX_110620 label

    I tried setting up the view - with out any transaction on EMGC_MAIN_LINUX_110620 label it failed with the following two diffs check_database_create.dif +0a1,208+ +> FATAL ERROR: ^G rdbmsini failed with errors.+ +> ^GFATAL ERROR: rdbms_create failed+

  • Will there be new Canada or Mexico calling plans thanks to the Share Data Plan?

    I recently signed up for Verizon service (back in March, 2012) and go the 700 minute family plan (2 smart phones with data and one "feature" phone).  One of the reasons I chose Verizon over AT&T was because Verizon had coverage in a portion of Canada