How sales order is created from inbound purchase order from customer by EDI

Hi experts,
My doubt is how a sales order is created when a customer sends a purchase order through EDI.
My doubt really starts here.. (how the Idoc is posted).
Case 1 : Just the process code is checked and corresponding function module is called and in background a sales order is created. (Or the below process)
Case 2 : The process code will point to a workflow where an authorized person will enter some more additional data's and save the document.
And also how pricing procedure, material determination, material substitution will take place/ works if we want to post a inbound purchase order into sales order..
can u people clearly explain how the process takes place in real time ...
with regards,
James..
Valuable answers will be rewarded..

hi,
the first option is the right one. the FM invoked makes a direct input, so all the functionalities in S.O. are the standard one in the same way as if you are making it manually.
Also you can have some exits in the Idoc FM, so you can manipulate data there before loading the sales order.
pls. reward if helpful
regards
Roberto

Similar Messages

  • How sales order is created from inbound purchase order?

    Hi experts,
    My doubt is how a sales order is created when a customer sends a purchase order through EDI.
    My doubt really starts here.. (how the Idoc is posted).
    Case 1 : Just the process code is checked and corresponding function module is called and in background a sales order is created. (Or the below process)
    Case 2 : The process code will point to a workflow where an authorized person will enter some more additional data's and save the document.
    And also how pricing procedure, material determination, material substitution will take place/ works if we post a inbound purchase order into sales order since we need a human intervention for selecting the material in material determination etc..
    can u people clearly explain how the process takes place in real time ...
    with regards,
    James..
    Valuable answers will be rewarded..

    Hi James;
    Let me try to explain with an example...Let us say u r placing an Order (Purchase order) online in a website. So you will fill in the necessary details in terms of your address, you would choose a product and etc...
    Now, this is converted into a file and sent to SAP. SAP will inturn convert this file into an Idoc based on the input, the FM is called and the data is filled. At this point in time the status of the idoc would be 50. Now an validation happens and the idoc is pushed to status 64. Now there is a progrma RBDAPP01 is the which will do the actual processing, meaning converting the Idoc into an Order. If the idoc fails to convert then a workflow is created.
    When the Idoc is processed it will actually go through VA01 txn and it would typically do everything that we do when we enter a order manually. Automation is the only difference.
    Idoc is just data and this data as and when entered is processed and the necessary information is obtained. Meaning, when the Material is fed, the MM aspect of SAP kicks in and provides the necessary data, similarly the Pricing procedure is determined based on the parameters.
    In effect all the information is stored in SAP and are kicked in as and when they are called for.
    Hope you get an overview of this.
    Regards,
    Mani.

  • Crating multiple sales orders based on one inbound purchase order idoc

    Hi All,
    I have a requirement to create multiple sales orders based on single inbound PO idoc.Please let me know whether is it possible or not?
    Regards
    mahesh

    Hi Mahesh,
    What is your crieteria for different SO's ?
    Regards
    Megha

  • Creating SD Sales Orders from a Purchase Order

    Does anyone have any detail documentation for creating an SD Sales Order as an output message from a purchase order. We would like to implement a process where we generate a sales order to a specific sales organization automatically from a purchase order in a different company code.
    Any help would be appreciated.

    Hi,
    You can configure this scenario using ALE/IDOC . I dont have any docs but i remember that i had setup this few years ago.
    Create PO , attach output type , output type linked to process code , process code linked to sales order relevant IDOC Type and send to receiver as outbound IDOC ,
    The recepient receives this as an inbound and used this data to create a sales order in his company code.
    Thanks,
    Sudhi

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

  • How can I create a sales order with reference to a purchase order?

    How can I create a sales order with reference to a purchase order?
    Thanks in advance...

    Hello,
    you can't create a sales order with reference to a purchase order. You can input customer PO nuber in the sales order Purchase Order number filed.
    Prase.

  • IDOC - create SD Contract from a Purchase Order

    Hi,
    I need to know if exist an IDOCs to create a SD Contract from a Purchase Order and another IDOC to change a Purchase Order from a SD Contract.
    Regards,

    Hi again,
    1. PO will create ORDERS IDOC this is SAP Standard.
    2. ORDERS IDOC will be send
    3. IDOC Segment E1EDK14 qualifier 12 contains the order type. A contract is also a type of sales order. So we need to get the correct order type in the segment. One option is using the userexit proposed earlier another and even easier is asking the XI colleagues to do the change already in XI.
    4. During Inbound processing the contract will now be created.
    http://help.sap.com/saphelp_erp2004/helpdata/en/cf/ab3827940311d295e600a0c9306667/frameset.htm
    You will send a ORDRSP from your Contract (I made a mistake earlier and said ORDCHG this would be the update of the contract from the PO...)
    I think you will need to worry to much of the ORDRSP on the SD side as in fact the IDOC does not care if it is send from order or from a contract.
    Depending on your configuration in MM it will update the PO.
    http://help.sap.com/saphelp_erp2004/helpdata/en/1c/deffb0844f11d2b471006094b9476a/frameset.htm
    Bascally in regards to quantity you will need to do more on the MM side because usually it is not expected that the Vendor is chnaging quantities etc... So it is still possible:
    http://help.sap.com/saphelp_erp2004/helpdata/en/1c/deffb0844f11d2b471006094b9476a/frameset.htm
    By the way we are having the scenario with the contract in our SAP sending ORDRSP and ORDCHG for contracts and it is working fine.
    Hope it helps.

  • Does Anyone know how to add a new partner to purchase order created on VI01/VI02?

    Does Anyone know how to add a new partner to purchase order created on VI01/VI02?
    Please, anyone knows that?
    Regards.
    Rafael.

    Anyone?

  • Excise rate and value is not getting defaulted from the purchase order

    Hi all,
    While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
    Regards
    Vishal

    Hi,
    Follow STO Process for this;
    1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
    11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
    10. Create Delivery: VL10G
    12. Picking, PGI: VL02N
    13. Billing: VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Rgs

  • How to extend Project Task in the Purchase Order header?

    Hi everybody,
    I am facing a problem I am sure is not so hard, but I cannot find my way through it.
    So, my objective is to extend the Purchase Order Header with the Project Task ID.
    I created the extension field first, as below:
    But I just cannot find how to populate it automatically from the data in the Project Task field.
    I tried a Relation in a BO extension going through the AccountingBlockAssignement, but it seems to not be functional.
    I also tried to make a Reference to the extension field and created an Event After Modify like:
    this.projecttaskpo = this.ExtensionForPO.content
    The Project Task PO is my reference to the extension field created in the Cloud Solution.
    And the ExtensionForPO is my relation to the TaskID:
    import AP.Common.GDT;
    import AP.Purchasing.Global as Purchasing;
    import AP.ProjectManagement.Global as ProjectManagement;
    import AP.IS.CodingBlock.Global as Coding;
    [Extension] businessobject AP.Purchasing.Global:PurchaseOrder {
      [Relation(Coding:AccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID)]
      [Label("Project ID")] element ExtensionForPO : TaskID;
        node Item {
    I am pretty sure this is not so hard, but I can't figure how to do it.
    The Task ID is in the Line Item so I do not understand why it could be so hard to add it in the Purchase Order Header.
    Moreover, when I try to make the path directly from the PurchaseOrder, like:
    PurchaseOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID
    It returns to me that the association between Item and ItemAccountingCodingBlockDistribution is not a node. I know that, but it would be perfect if I could directly go from the Purchase Order BO to the Project Reference and the Project Tasks. But I cannot do that.
    Any help on this would be greatly appreciated as it is quite a recurring request from customers.
    I could have a misunderstanding in the process of doing it, or even in the code as I am a pure development newbie, so I m open to all propositions.
    Thank you all.
    Have a nice day.
    Jacques-Antoine

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

  • ME21N Create Purchase Order with reference to previous Purchase Order

    Hello Expert,
    Previously have been using Purchase Info Records for reference when creating Purchase Orders using ME21N.  We then have deleted the Pricing Condition in the Purchase Info Record using ME12.  Now when we are trying to create a new Purchase Order with the same values (Vendor, Material, Plant and Storage Location), the transaction code ME21N automatically fetches the previous values of the Pricing Condition as if it was cached.  I remember of studying this in the MM academy but I am not sure how to disable it. 
    This error only happens when we are creating the first Purchase Order after the deletion, for the second Purchase Order, error will be prompted to the user saying that the Pricing Condition could not be found. 
    I would like to ask where in configuration can I delete this cache behaviour or is that any work around for this. 
    Thanks in advance.

    Hello Antony,
    I found the "Update Prices" function in the Conditions Tab of the Item Details helps to refresh the data and fetch the new information from the Purchase Info Record.  I would like to ask is there anyway to provoke this function automatically everytime when a user runs the transaction ME21N.
    Thanks in advance again.

  • Copy of Purchase order from other Purchase order.

    Hi all,
    How to know when a purchase order is a copy from other purchase order?
    some FM?
    Thanks!
    Regards,
    David.

    Hi,
    There is no  FM with the same you can create multiple purchase orders.
    Why do you want this functionality
    if you want this functaionality you have write  a new program and you have give
    the condition
    Regards
    G.Ganesh Kumar

  • Edit goods receipt copied from approved purchase order?

    Hi everyone
         Is it possible to edit quantity field or add a new row to a goods receipt copied from a purchase order that has been approved ?
      if  this behavior was changed from past releases or it always was like that?
    i appreciate your help and thanx in advance
    (any link to a official document, guide, how to doc that describes this point would be great)

    hi gordon thanx for your response
    just another thing before i mark my question as answered, is there a official guide or SAP document that describes every detail of approval procedures including this question?
         once again i appreciate your kind help.
    Aley Chena

  • How to change material component for a Purchase Order?

    How to change material component for a Purchase Order?
    I need FM .
    PLEASE help

    Dear ,
    Create PO with item category L....There in Item detail you will get tab for material.
    There click in component Button, it will take you to the component screen there you can assign and deassign components.
    Hope this helps.
    Regards
    Utsav

  • In MIGO, i need to see delivery dates from the purchase order

    Is there a way to see in transaction MIGO, the delivery dates from the purchase order?  I hope there is some exit or BADI or BAPI or .... to perform this copy function? 
    We have multi-line POs for the same material with staggered delivery dates and the Warehouse needs to know which PO line to receive against.

    when you enter the PO number in MIGO and hit enter, then you only get the items that can be received.
    If you make sure that the PO items are created by ascending delivery date, then you can always take the first.
    if you have the personal setting to display all items (even the already received ones), then you can take the first with a quantity proposal. already received items do not propose quantities.
    I would ask purchasing to tell the vendor that he has to state the PO number along with the item number in all papers (delivery note, invoice).

Maybe you are looking for

  • Possible Fix for Disc Image Creation Problems

    I've noticed a number of posts describing problems similar to the one I had: with my first session with iDVD5, I tried creating an .img disc image (thanks to Apple, btw, for building that function in -- and for the new progress bars!), but it hung up

  • Thinking of buying Satellite C855-226 - need more info

    Hi all, This is my 1st msg here :) I am thinking of buying C855-226 for 529 and then Saturn offers C855-2EV for 477, which very cheap and ticks most of the boxes for me which are : price, processor, hd capacity, max ram, the thing that I dont liek is

  • Career transition from ABAP to SD (Certification)

    Hi all, I am posting this question again in the right forum .. I need some guidance regarding SAP SD certification ... I have 3 years of SAP ABAP implementation and support experience with some of the top notch Consulting companies , now I would like

  • Adobe Reader 'Basic' and LE 2.5

    Hi I updated to Symbian Anna and looks like some effort has gone into the Adobe Reader, it's noticeably faster for a file that is 20 mb in size. And it reformats quicky and I can use the multi-touch to zoom. Still no full-screen though which sucks ma

  • "DYNPRO_MSG_IN_HELP"

    Hello! I am getting a dump  "DYNPRO_MSG_IN_HELP" while trying to display and error message MESSAGE e834(zv) during the process of deleting a Sales Order. The code is a part of include ZMV45AFZORIG. When I checked forums I got one post regarding the s