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.

Similar Messages

  • Create one delivery from two Purchase orders

    Hello All,
    We are looking for a way to combine two Stock Transport Orders with similar data into a single delivery.
    Has anyone worked on this scenario before? Any guidelines will eb appreciated.
    Dev

    Have a look at the following note:-
    Note 386340 - Grouping purchase orders into one delivery using Vl10*
    G. Lakshmipathi

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

  • 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

  • Error While Assigning Ad insert contract from Ad insert orders.

    Hi Experts,
    While performing the transaction for u2018Assigning Ad inserts Contracts from Ad Insert ordersu2019, Iu2019m getting the following error.
    Message no. JVSD056
    I did the following steps.
    a) Created a geographical unit.
    b) Assigned that geographical unit in the BP master of the retailer with a newly created assignment type.
    c) Linked the geographical unit in the booking unit for Ad inserts  in MAM .
    d) Created an Ad insert order in MAM by using the booking unit which has the geographical unit assignment.
    Then tried to execute the u2018Assign Ad inserts Contracts from Ad insert orders. The error message is JVSD056.
    Appreciate if anyone can help me in this. This is the first time we are doing this.
    Regards,
    Suresh

    Hi Helios,
    I hav egone through the document.However i have resolved the error ar: illegal option -- F by following the doc id Doc ID 785828.1
    Now i am facing error while relinking
    Relinking module 'FNDCORE.dll' in product fnd ...
    Removing any existing temp directory
    rm -rf temp
    creating the temp directory
    mkdir temp
    changing permissions for the temp directory
    chmod 777 temp
    Getting the object file names for this FNDCORE.dll
    gnumake -f E:/oracle/apps/apps_st/appl/admin/PROD/out/link_fnd_5136.mk fndcore.LIST
    E:/oracle/apps/apps_st/appl/admin/PROD/out/link_fnd_5136.mk:760: *** target pattern contains no `%'. Stop.
    Unable to get the objects for module "FNDCORE.dll".
    See error messages above (also recorded in log file)
    for possible reasons for the failure.
    adrelink is exiting with status 1
    Please advice
    Regards,
    SRK

  • 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

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

  • 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

  • Creating inbound delivery for the purchase order line items

    Hi Experts,
    Please let me know how can I create inbound delivery for the purchase order line items?  Say, I have a purchase order with 5 line items in it.  I wanted to create an inbound delivery for only 2 line items at this point of time.  Which SAP Standard transaction I have to use and what all  data I need to populate?  I would appreciate any help on this and will reward the right answer.  Please let me know.
    Thank you in advance.
    with regards,
    Muthu Ganapathy.

    Hi,
    While creating the inbound delivery (VL31N), intially all the items will be shown, see the advance shipping notfication - from the vendor for which he has send confirmation & rest items you can delete simply & save. & next time when the vendor sends rest advance shipping notifcation (confirmation), you can receive them.
    Hope this answers your query.
    Regards
    Irfan.

  • One Purchase Contract from Several Purchase Requisitions

    Hi Experts,
    I have a problem, I want to make one purchase contract from several purchase requisitions. Here, some of PR's are of same material and some PR belong to different material. What we want that same Material should be clubbed together in one line and diffrenent material code should come in diffrent line.
    Regards
    GR

    Gi,
    if you are creating the contract manually and still want to see the PRs used.
    then i suggest you to maintain the detauils in the texts which are not used for printing and could be used for information purpose.
    one thing that this is manualy created so PR in system will not show the assigned and will remain open.
    regards,
    Adwait Bachuwar

  • Call BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order

    Hi,
    I'm calling the bapi BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order, but the following code doesn't work. It doesn't give me any kind of error message but it does nothing as well...
    Can anyone help me please?
    Thank You
    Hugo
    Code
    DATA: wa_goodsmvt_header  LIKE bapi2017_gm_head_01,
                            wa_goodsmvt_code    LIKE bapi2017_gm_code,
                            wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
                      DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS  0 WITH HEADER LINE,
                            it_return        LIKE bapiret2 OCCURS  0 WITH HEADER LINE.
                      wa_goodsmvt_header-pstng_date = SY-DATUM.
                      wa_goodsmvt_header-doc_date   = SY-DATUM.
                      wa_goodsmvt_header-ref_doc_no = '4500000020'.
                      wa_goodsmvt_code-gm_code = '01'.          "Goods receipt for purchase Order
                      it_goodsmvt_item-stge_loc  = 'BPF2'.
                      it_goodsmvt_item-move_type = '101' .
                      it_goodsmvt_item-entry_qnt = 17.
                      it_goodsmvt_item-entry_uom = 'KG'.
                      it_goodsmvt_item-mvt_ind   = 'B'.
                      it_goodsmvt_item-po_number = '4500000020'.
                      it_goodsmvt_item-po_item   = '00010'.
                      it_goodsmvt_item-material  = '50'.
                      APPEND it_goodsmvt_item.
                      CALL FUNCTION  'BAPI_GOODSMVT_CREATE'
                        EXPORTING
                          goodsmvt_header  = wa_goodsmvt_header
                          goodsmvt_code    = wa_goodsmvt_code
                        IMPORTING
                          materialdocument = wa_bapi2017_gm_head
                        TABLES
                          goodsmvt_item    = it_goodsmvt_item
                          return            = it_return.
                        data: begin of errmsg occurs 10.
                                include structure bapiret2.
                        data: end of errmsg.
                        data: wmenge like iseg-menge,
                              errflag.
                        clear errflag.
                        loop at errmsg.
                          if errmsg-type eq 'E'.
                            write:/'Error in function', errmsg-message.
                            errflag = 'X'.
                          else.
                            write:/ errmsg-message.
                          endif.
                        endloop.
                        if errflag is initial.
                          commit work and wait.
                          if sy-subrc ne 0.
                            write:/ 'Error in updating'.
                            exit.
                          else.
                            write:/ 'Ok'.
                          endif.
                        endif.
                        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                        EXPORTING
                        wait = ' '.

    Hi,
    Thank you for the asnwer! I'm a rookie at ABAP so please forgive my stupid questions
    I've changed the code to:
    DATA: wa_goodsmvt_header  LIKE bapi2017_gm_head_01,
                            wa_goodsmvt_code    LIKE bapi2017_gm_code,
                            wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
                      DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS  0 WITH HEADER LINE,
                            it_return        LIKE bapiret2 OCCURS  0 WITH HEADER LINE.
                      wa_goodsmvt_header-pstng_date = SY-DATUM.
                      wa_goodsmvt_header-doc_date   = SY-DATUM.
                      wa_goodsmvt_header-ref_doc_no = '4500000020'.
                      wa_goodsmvt_code-gm_code = '01'.          "Goods receipt for purchase Order
                      it_goodsmvt_item-plant     = 'BP01'.
                      it_goodsmvt_item-stge_loc  = 'BPF2'.
                      it_goodsmvt_item-move_type = '101' .
                      it_goodsmvt_item-entry_qnt = 10.
                      it_goodsmvt_item-entry_uom = 'KG'.
                      it_goodsmvt_item-mvt_ind   = 'B'.
                      it_goodsmvt_item-po_number = '4500000020'.
                      it_goodsmvt_item-po_item   = '10'.
                      it_goodsmvt_item-material  = '50'.
                      APPEND it_goodsmvt_item.
                      CALL FUNCTION  'BAPI_GOODSMVT_CREATE'
                        EXPORTING
                          goodsmvt_header  = wa_goodsmvt_header
                          goodsmvt_code    = wa_goodsmvt_code
                        IMPORTING
                          materialdocument = wa_bapi2017_gm_head
                        TABLES
                          goodsmvt_item    = it_goodsmvt_item
                          return            = it_return.
                          write:/ it_return-message.
    And the return message is : Material document data and PO data do not match (Material)
    Any idea of what might be the problem?
    Thanks

  • 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

  • Create a large number of purchase order in ME21N

    Hello,
    Is there a CATT or LSMW transaction or a program to create a large number of purchase orders with the positions?
    Thanks in advice
    Fany

    you can LSMW with direct input method
    Object - 0085, method - 0001
    venkat

  • How to Create inspection that assign to Purchase Order / Material Document

    Dear QM Master,
    I am using QA01 to create inspection lot but can any master tell me , How to Create inspection that assign to Purchase Order / Material Document ?
    Appreciate.
    Thank you.

    Hello,
    When you create an inspection lot manually, you cannot reference an original document (for example, a goods receipt document, an order, or a delivery note).
    In QA01 you can create inspection lot manually for all inspection lot origins except the following:
    10 - Delivery to customer with sales order
    11 - Delivery to customer without sales order
    12 - General delivery
    13 - Repetitive manufacturing
    14 - Plant maintenance
    You can also refer this link
    http://help.sap.com/saphelp_47x200/helpdata/en/2d/3519d8448c11d189420000e829fbbd/frameset.htm
    Please check and revert.
    Regards,
    Priyanka

  • Can i Match invoices with a currency different from the purchase order curr

    Dear Valued Consultant,
    Can i Match invoices with a currency different from the purchase order curr
    Thanks

    Hi,
    As a functionality, Payables will not allow matching an invoice to a purchase order that is in a different currency.
    Refer Oracle Public sector payables user guide for 11i (page 4-94).
    I understand that there is an enhancement request (3286623) logged for this functionality.
    Please refer Note:172291.1
    - Thiagu

Maybe you are looking for

  • Add one column to the screen exits

    Hi All     I am doing Screen Exits, here i have to add one column to the screen and it have to retrive the data from the specified fields anyone plz give me the solution.

  • Application capture, but colors are off

    Hi all, someone in my group is doing an application capture and the screen is coming out blocked in black and pixellated, any thoughts?

  • Problem upgrading to 10.4 from 10.3.9 and a external DVD?

    Hello, To use my new ipod touch i have to intall Os 10.4 on my emac. I have purchace the Tiger V10.4 DVD for the emac. When i tried to install it the first time i found out my DVD reader/burner is broken ?.... ok no problem...i when out and spent 60$

  • My Airport won't stay connected to the internet

    I was previously using ethernet to connect.  I have had the airport for a few months and can connect to the internet okay from my laptop.  I now wish to use my airport to connect.  I set it up without a problem and it does connect.  Problem is that I

  • How can I set the 'Package' as parameter?

    Hi everyone, here I have a question on 'package' parameter.I creat a table( ABAP dictory) by function model 'DDIF_TABL_PUT',but I can not find a component which is able to set 'package'.That means I am not able to put this table in the package in whi