Convert to purchase order in ref to contract problem

Hi experts,
I have problem in creating purchase order in which i want to based on the purchase contract.
I create in tcode : ME21, click on the 'Ref to contract' button and enter the button. Then enter the necessary fields. Click on the 'Adopt + details'.
I use SHDB to perform this process. But when i run the SHDB in my program, there is a message 'Net price for item 00010 adopted from the last document'. Why i do not get this message while creating SHDB?
This makes the purchase order net price incorrect. It captures different net price. How do i solve it?
Thanks

Hi Narayanan,
I think when you convert Preqs to POs thru RRP7, POs are created in ECC thru default transaction ME21 or ME21N. Since you are able to create Purchase Orders, nothing is required on APO side. The necessary information passed from APO to ECC thru IM of purchase orders is start and end date, material, supplying and destination plant. All other information is selected from ECC customizations (SPRO) and material master in ECC.
Please check SPRO in ECC and material master (tax, Accounting tabs) with MM / accounts consultant or user. Alternatively, you can update POs using z code.
Regards,
Bipin

Similar Messages

  • Convert Purchase Order to Requisition when contract void

    Hi
    We are using SRM 5.0, R/3 Backend is 4.6C.
    For purchase orders for items with contracts that are expired or for incoming requests exceeding target quantity in the contract, we intend to have the purchase order converted to a purchase requisistion automatically.
    To do this we have activated the BBP_TARGET_OBJTYPE and implemented the DETERMINE_TARGET_OBJECT_TYPES to convert the PO to PReq by doing the following:
    wa_item-pack_objtype = 'BUS2105'. "set to PReq
    CLEAR: wa_item-ctr_hdr_number,
           wa_item-ctr_item_number.
    MODIFY ct_item FROM wa_item.
    when expired contract or target quantity of contract exceeded is detected.
    However, on approving, this results in backend error:
    Shopping cart 7100133540 (PReq. 8100022935): 06 722 Source not included in list despite source list requirement    
    One observation made when debugging the BAdI is that when the BAdI is being run, ct_item is already set to BUS2105 (PR).

    Hi Yann
    This is because the users would like to automatically create a requisistion when their prior shopping cart ends up in error due to contract expiry or having exceeded target quantity.
    The purchase order would then be converted to a purchase requisition (PR) by removing the source of supply.
    The error seems to arise from attempting to create a PR in the backend. Is there a way of bypassing this source list check and simply create a PR from SRM?
    Removing the source of supply from the shopping cart before approval successfully turns it to a PR. This is what we would want to do, but after approval for situations when contract expires in the midst of approval, or target quantity has been exceeded with this order.
    Thank you
    Message was edited by: Ban Horng Tan

  • Idoc Generation after Purchase Order Creation through trading contract.

    Hi All,
    When a Purchase Order is created via trading contract, I need to generate an Idoc and pass details of the Purchase Order created to the Partner System.
    Can anyone suggest any Function module or user exit which gets called while Purchase Order creation through trading contract, so that I can fill the Idoc with necessary details of the Purchase Order and send that to the Partner System?
    Thanks in advance.

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

  • Purchase Order in reference to contract

    Hi,
    Does anyone know whether i can create purchase order in reference to purchase contract via BAPI? or any other methods?
    Thanks

    for reference see OSS note Note 80462 - Wrong conv.factor during GR for POrder/sched.agrmnt
    The purchasing document must be created again!
    If the purchase order refers to a contract, you must also create the contract again because the conversion factors from the contract are taken over into the purchase order.
    The conversion factor itself cannot be changed in the purchasing document - even if no WE has yet been booked - since this may lead to inconsistencies in the inventory management or to price variances during the invoice verification.

  • How to create a Sales order with ref to Contract using Function Module

    How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?

    We have a unique situation where we like change the sold-to customer of the sales order
    once order has been created. These orders have been created using either by function module
    BAPI_SALESDOCUMENT_COPY or using BDC (VA01, Copy with reference).
    These two processes work abosolutely fine except someone might have change the sold-to
    customer of the ship-to customer of the original sales order. If this the case then the new
    sales order will be created with the old sold-to and with not the new sold-to.
    We tried using BAPI_SALESDOCUMENT_CHANGE and commit afterwards. We checked
    the returned parameteres of the BAPIs and they are all successful but sold-to remains the
    same old one.
    Any help would be much more appreciated.

  • Coding to calculate net purchase order value against the contract?.

    Hi ,
    Please help.
    Can any one send me the coding to calculate net purchase order value against the contract?.
    Thanks

    I got the below coding and information from SDN, would you please help me to fix this coding
    infomation from SDN
    For the above requirment I have coded a program in Endroutine but it is not populating cummulative Order value against Contract.
    DATA:
    WA_ty_t_TG_1 TYPE tys_TG_1.
    data: netsum type char15.
    types:begin of ty_net,
    netsum type /BI0/OINET_PO_VAL,
    V_EBELN TYPE /BI0/OIOI_EBELN,
    end of ty_net.
    data:t_net type standard table of ty_net .
    data:wa_net type ty_net.
    SORT RESULT_PACKAGE BY CONTRACT.
    loop at RESULT_PACKAGE INTO WA_ty_t_TG_1.
    WA_NET-V_EBELN = <RESULT_FIELDS>-CONTRACT.
    AT END OF CONTRACT.
    netsum = WA_ty_t_TG_1-NET_PO_VAL + NETSUM.
    ENDAT.
    WA_NET-netsum = NETSUM.
    APPEND WA_NET TO T_NET.
    CLEAR:T_NET,NETSUM.
    ENDLOOP.
    loop at RESULT_PACKAGE assigning <RESULT_FIELDS> .
    READ TABLE T_NET INTO WA_NET WITH KEY
    V_EBELN = <RESULT_FIELDS>-CONTRACT
    <RESULT_FIELDS>-/BIC/YNET_VAL = NETSUM.
    CLEAR: WA_NET-NETSUM.
    endloop.
    <RESULT_FIELDS>-/BIC/YNET_VAL = netsum.
    CLEAR:NETSUM,<RESULT_FIELDS>-/BIC/YNET_VAL.
    ENDLOOP.
    I have coded above one..let me know what mistake I have done.in the bolded loop I have given INTO instead of Assigning, because I need all records which assigns to WorkArea, but while executing DTP its leading to shortdump.if I replace Assigning statement,its working fine. but zero values in output( I think wrong in logic part)
    Let me know the brief coding part if I am wrongly coded.

  • Purchase order with ref to central contract

    we have created centrallly agreed contract with one vendor , but client wants to create purchase order using  that contract but with different vendor.(vendor field only ) (not through partner roles and vendor sub range)pl suggest if there is way.

    >
    ramjdee wrote:
    > my queston is,  Is it possible to create the purchase order with different vendor  while creating  w.r to   centrally created contract . The contract is having another vendor . example .  CENTRALLY CREATED CONTRACT VENDOR IS  X , but while creating po with ref to the contract can i use other vendor like Y.
    >
    > vendor sub range and partner roles not to be used .
    Is your problem related to contract and support (in terms of "SAP contract and support"), or are you rather talking about relations between different data objects / tables inside your application? If the latter, being a little more verbose (and, especially, posting table definitions) surely would help.
    Cheers,
    Kristian

  • Purchase Requisition in ref to Contract

    Dear Experts,
    In our process we would like to process Purchase Req.  with Ref to Contract (Quantity type)
    It means that we would like to control the Purc.Req. line  Qty with the Balance qty of the Contract line item.and also the contract validity start and end dates (Same as it is working with Purchase Orders )
    We appreciate help on this issue with standard SAP tools .
    Best Regards,
    Moshe

    Dear chakrapani  ,
    Thanks for your prompt reply,
    But this standard way, and it is not controling the Qty and dates according to the Contract data.
    There should be some steps in Customization for this performance ?
    Thanks.

  • Purchase Requisition converted to Purchase Order in ECC from APO - PPDS

    Hi All:
    When I check the conversion indicator of a PR in APO and save, it initiates the trigger to convert the PR to PO and everything works fine.  When I check the invoice tab of the PO in ECC, the tax code is blank.  But when I try to convert another PR to PO in ECC using ME21N or ME21, the tax code entry becomes mandatory.  Question is,  where in APO do you set to trigger the transaction and the ID?  Pl. help?
    Thanks
    Narayanan

    Hi Narayanan,
    I think when you convert Preqs to POs thru RRP7, POs are created in ECC thru default transaction ME21 or ME21N. Since you are able to create Purchase Orders, nothing is required on APO side. The necessary information passed from APO to ECC thru IM of purchase orders is start and end date, material, supplying and destination plant. All other information is selected from ECC customizations (SPRO) and material master in ECC.
    Please check SPRO in ECC and material master (tax, Accounting tabs) with MM / accounts consultant or user. Alternatively, you can update POs using z code.
    Regards,
    Bipin

  • 2 Purchase Orders against one trading contract in GTM

    Dear All
    This question is realted to GTM Module.
    In our case for 1 Trading Contract 2 Purcahse Orders are created.Does anybody know the reason as to when 2 Purchase Orders are created against one Trading Contract.
    Regards
    VA

    Hi
    There is no duplication it is actually a quantity split.
    If ther are 5 items in Trading Contract 4 got created in PO and 2nd in the following PO?
    Regards

  • Outbound Idoc creation after Purchase Order Creation via Trading contract

    Hi All,
    Below is my requirement-
    Purchase Order Will be created automatically through trading contract.
    I need to pass some details about the purchase order created to the external system through IDOCS.
    ie this idoc should get triggered whenever a Purchase Order is created through Trading contract.
    Are there standard function modules which can trigger idoc whenever Purchase Order is created through Trading Contract?
    Please suggest how to go about it.
    Thanks in advance.

    Hi Tejas,
    Ask your functional consultant to create a new output type for this Purchase order. Attache RSNASTED program and EDI_PROCESSING routine to that output type.And also maintain partner profile for the partner to whom you want to send PO.There is a standard process code ME10 to send Purchase order data.Assign this process code and your new output type in the message control tab of the outbound partner profile view.Hope this helps.
    Thanks & Regards,
    Kalyan.

  • Error while creating sales order with ref to contract

    while creating sales order, with refernce to contract system is giving a message
    Configuration not possible for material : Reason 3 --> Help
    Message no. V1360
    and the message is as follwed can any one explain
    Diagnosis
    This may have been caused by one of the following:
    1. The configuration profile for the material allows or requires the bill of materials to be exploded during order processing. However, a plant has not been specified in the item.
    2. The configuration profile of the material allows or requires the bill of materials to be exploded during order processing, but the order quantity in the item must be greater than 0.
    3. A configuration profile has not been maintained
    or
    A configuration is not permitted for the material
    or
    4. The configuration profile of the material allows or requires the bill ofmaterials to be exploded during order processing. However, the system could not determine a date because important data is missing from the item (see incompletion log).

    Hi
    I think you have both Variant configuration and BOM.
    Pls ensure the following.
    1. BOM masterdata is maintained for the variants
    2. Variant configuration is configured correctly
    Configuration profile is created for the material
    Knowledge base object and run time version are available
    3. Maintain materials as not relevant for delivery or dont give delivery quantity as 0
    Once you are sure that these are in proper shape, you can start creating order. The problem wont come.
    Reward points if it helps you.

  • Shopping cart Converted to Purchase order directly.

    Hello Experts,
           I have a question on what settings to check if the shopping cart created in a system is creating Purchase order directly as Follow-on document. The scenario we are using is SRM 5.0 (Standalone) for Strategic procurement. I checked the BBP_DOC_SAVE, BBP_DOC_CHANGE BADI's but there is no such coding there....any settings in SPRO that is enabling this thing to happen ???
    Please let me know about it ASAP. Would definitely reward for useful answers.
    Thanks,
    Rajeshree

    Hi
    <b>Couple of reasons can be possible for this -></b>
    1) Workflow is not getting triggered properly. Check workflow configuartion. Are you using standard or customer workflow ?
    <u>Seems to me there are no Approvers determined for the particular Product category and Purchase Group combinations, which in turn determines the Approvers (Managers) in this case.</u>
    2) Incase the shopping cart dat is complete, and the SRM SPRO system settings are defined to create a Purchase order. Then directly R/3 PO gets created.
    3) Check out for all the customer BADI Implementations in SE19 (starting with either Y or Z). Which all are active in this case ? What all code they have ?
    4) check out for BADIs especially - BBP_CREATE_PO_BACK
                                                        BBP_CREATE_PO_BACK_NEW 
                                                        BBP_TARGET_OBJECTS
                                                        BBP_TARGET_OBJTYPE
    5)  <b>Check SPRO Settings ->
    Here is the path</b>
    <u>Supplier Relationship Management -> SRM Server -> Cross-application basic settings -> Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders</u>
    <u>Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)</u>
    You perform this step only if you create your Materials Management documents in a backend system.
    You specify the documents that are to be created in the backend system for a requirement coverage request.
    The following documents can be created:
    Purchase requisition
    Purchase order
    Reservation
    You enter a product category (such as office supplies, or hardware) and/or an organizational unit. The organizational unit contains the purchasing group that is responsible for procuring products in this category.
    You can enter the product category generically, such as Office*.
    Note
    The backend system is determined  using the product category in the requirement coverage request item. The item also contains the organizatinal unit.
    You can use the Business Add-In BBP_TARGET_OBJTYPE if you wish to implement a different logic for creating documents in the backend system.
    Example
    If purchasing group 01 wants to procure materials from the category Raw Materials, a reservation is to be created every time.
    If materials in the category PC are to be procured, a purchase requisition is to be created every time.
    Activities
    1. Enter the organizational unit and/or the category.
    2. Enter a source system.
    3. Choose the procurement type.
    Reservation if stock is available, otherwise external procurement
    The system creates a reservation if the material is subject to inventory management and sufficient stock quantity is available in the warehouse on the requested date.
    Always reservation for materials subject to inventory management
    The system creates a reservation if the material is subject to inventory management, irrespective of whether stock is available.
    Always external procurement
    The system does not create a reservation, but always procures the item externally. In this case, you specify the type of external procurement.
    The following options are significant if the system cannot create a reservation (for example, if there is no stock available or for a non-stock item) or the system must not create a reservation (choose Always external procurement).
    Purchase order if item data complete, otherwise purchase requisition
    The system always tries to create a purchase order. If the item data is incomplete (for example, the vendor or price is not known), the system creates a purchase requisition from the item.
    -> Always purchase requisition
    The system always creates a purchase requisition.
    -> Always local purchase order
    The system always creates a local purchase order.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Purchase order coppy from QT/Contract to Sale Order

    Hi,
    When i coppy sales document from Quotation/Contract in to sale order, the PO No wat ever i ve saved in quotation/Contract is not getting Coppied in to Sales order & other things are getting coppied.
    I'Ve checked in copy control aswell...but still its(PO) not getting coppied.
    Sdguru's plz help me on solving the same.
    Thanx & Regards,

    In copy control VTAA, maintin 307 routine in the field Copying requirements for data transfer VBAK.
    Regards,
    GSL.

  • Release Order with ref to Contract

    Dears,
    Where we can find the release order No. which were created with reference to contrac.? 
    Thanks,

    Dear,
    Try these whether fulfill your requirements or not. Check ME3M, ME3L, ME3N.
    Consider the selection parameters, scope of list and dynamic selections availabel at header and item level. Try with these.
    By selecting line and pressing F7 shows the particular line release documentation details.
    Regards,
    Syed Hussain.

Maybe you are looking for

  • How to allow pop-ups in Safari for all users

    How do you allow Safari pop-ups for all users? After rolling out 50 Mac OSX with Safari comes default with Safari pop-ups disabled, now I must allow pop-ups for all users logging in. Good day!

  • Extensive IO after Configuring DB Streams Replication

    Hi all, <br><br> I'm learning on configuring and managing Oracle Streams Replication. <br><br> I managed to configure a bidirectional Database replication using the PRE_INSTANTIATION_SETUP and POST_INSTANTIATION_SETUP procedures in the DBMS_STREAMS_A

  • AAF EXPORT OPTION FOR AFTER EFFECTS CC

    Hi My name is Marcellus. I use After effects for vex when I import my avid sequence AAF from Media Composer to After effects. Thing is I don't use premiere Pro or Premiere CC. I think that if I have to dynamic link my after effect composition over to

  • After reinstalling Lion, iTunes does not show my IMAP mail-accounts in iTunes for sync. How can i fix this?

    i did a clean install of Lion. Than i copied my iTunes Library back from a backup. I configured all my email accounts in Mail. Than i wanted to sync my iPhone. I reconnected it to my iTunes Account and everything was correctly synced, but the email a

  • Access at account record level

    I have account data for subsidiaries in 11 different countries and need to setup some access rights for all the users. Each user will be allowed to access all accounts in his own country. However he should not be able to view accounts of another coun