PO User Exit to change confirmation control key

Hi All,
I have to hard code the confirmation control key to a constant(e.g 0006, where the value doesnt exist in Confirmation Control Key table T163L) for a particular Order Type while creating/ changing a PO through Tr. ME21/ME21N or ME22/ME22N.
Is it possible to do so using UserExits
Appreciate your Help.
Regards,
Anbalagan

Hi ,
I dont think you can change the control record of any IDOC .
If you look at an example Function module MASTERIDOC_CREATE_CREMAS , used to create Vendor IDOCS ,
the call customer-function has only the idoc data record as tables parameter .

Similar Messages

  • User Exit to change idoc control structure

    Hi everybody.
    Does In a inbound idoc process exist any userexit to modify the control structure of the idoc????
    Thanks

    Hi ,
    I dont think you can change the control record of any IDOC .
    If you look at an example Function module MASTERIDOC_CREATE_CREMAS , used to create Vendor IDOCS ,
    the call customer-function has only the idoc data record as tables parameter .

  • Confirmation control key automatically defaulted not from supplier, nor PIR, nor user exit

    Hi gurus
    I have the confirmation control key automatically defaulting in the PO but it is not coming from the vendor master data, nor PIR nor from user exit.
    Do you know from where it can be defaulted? I have noticed that if change the company code then it defaults but if change to another want then the field is blank, so it seems that there is something configured at company code level, but not sure what it could be
    thanks so much
    Ivan

    Then you need to analyze thoroughly all the PIR'S and vendor master which are linked to scheduling agreement or contract where you are maintaining the control key.
    And also any new functionality added in your PO functionality debug and check the same with ABAPER it will be easy way you can now from where exactly the confirmation control key is populating in PO.

  • Mass change for field Confirmation control Key in PO / SA

    Dear All,
    There is a need to do mass change in value for field Confirmation control Key in PO / SA. Some of them have PO history. If we have PO history system wont allow to change conf. ctrl key. Also since it is a production system we can not cancel previous po histories. This is in SAP 4.7 where we dont have mass change tcode for Scheduling agreements.
    Can we maintain the values thru table entries. like using se16n maintain entries check box. This option is greyed out. can we activate that & do this requirement.
    please suggest.

    hi Greetings!
    The confirmation control key can not be changed in the scheduling agreement if GR for item had already been posted. If the GRs can be canceled , it is possible to change the confirmation control in the SA item.
    Version 4.7 do not support Mass change of scheduling agreements, hence you have to either create a SCAT or BDC to perform the task.
    Gobinathan G

  • Confirmation control key check for inbound delivery creation

    Hi,
    Currently, in the Client's company, the process of receiving goods from purchase orders looks like that (SAP-wise):
    - create a purchase order,
    - receive goods using MIGO and automatically create an inbound delivery,
    - pack the delivery and post goods receipt.
    Recently, some patches have been installed, including one described by note 1602047 (which basically enforces checking confirmation control keys if goods receipt assignment and goods receipt relevance are activated for inbound deliveries). Note says that it only affects two-step stock transfer and creation of automatic inbound deliveries using SPED output but it seems it also affects other basic processes like PO receipt in MIGO.
    Now, when using the old control key (that had MRP-Relevant and GR-Relevant fields checked), the system is unable to automatically create an inbound delivery after the goods receipt is posted with MIGO (with message VL148 - Not possible to create an inbound delivery). I learned that this is because the "GR Assignment" field must be checked in the confirmation control key so it's possible to automatically create aninbound delivery after receiving a purchase order in MIGO.
    After changing the confirmation control key to have the missing field checked it's not possible anymore to receive goods from PO in MIGO as the PO requires shipping notification in order to be processed in MIGO thus requiring of manual creation of an inbound delivery.
    Is there any way to skip this check so the process would remain the same (this model has been working fine for few years in the Client's system) and the inbound delievery would be created automatically after posting the receipt in MIGO?
    Thanks in advance,
    Piotr

    Hi,
    don't know if you found a solution, but we received the following message from SAP:
    The advent of the new version requires some attention to the users. It
    was necessary to avoid inconsistencies which in the past version the
    system was susceptible.
    Main Program SAPMM07M
    Source code of MM07MLVS
    sy-msgid VL sy-msgty E sy-msgno 148
    I have checked the process and through debugged I could confirm the
    following information SAP is providing to all similar incidents reportedfor us:
    Error message VL 148 is issued if in the confirmation control key used
    in the purchase order, the fields for MRP-relevance (T163G-KZDIS),
    GR relevance (T163G-WEREL) and GR assignment indicator (T163G-WEZUO)
    are not set.
    The correction of note 1602047 was necessary to avoid inconsistencies
    (table EKES) in the purchase order. Without having the GR assignment
    (T163G-WEZUO) set, there is no unique reference created between the
    purchase order history (table EKBE) and the inbound delivery
    confirmation (table EKES) at goods receipt which leads to a problem if
    several inbound deliveries exist for the same purchase order.
    If you set T163G-WEZUO to 'X', this assures that, for an inbound
    delivery, the confirmation record (EKES) belonging to this inbound
    delivery (EKES-VBELN) is also accurately updated at goods receipt.
    How to solve the issue?
    Use a confirmation control key with the GR assignment indicator set
    and then create the inbound delivery with VL31N. If you want to be able
    to create the inbound delivery with reference to a certain line item in
    the PO, use transaction VL34.
    If you still want to use transaction MIGO, there is the following
    workaround:
    - Create a purchase order without any confirmation control key
    - Create a goods receipt (GR) in transaction MIGO with reference to this PO and post the GR to a non-HU-managed storage location
    - Create a transfer posting with MIGO using movement type 311 to
    transfer the goods from the non-HU-managed storage location to the
    HU-managed storage location.
    As the transfer posting is an additional step for the user, the whole
    process could be automated using a partner storage location
    (T001l-PARLG) for the GR which then triggers (through a modification)
    the BAPI 'BAPI_GOODSMVT_CREATE' to create the transfer posting without
    user interaction.
    I hope to have satisfied you on the reason why it is now happening and
    also I believe you can explain to business that it is a new behavior
    necessary done from SAP side to avoid worse situations, we are aware of
    potential dissatisfaction it might cause. SAP Support is always
    available to clarify any issue.
    Sorry for not having a more positive answer.
    I hope it helps!
    Leentje

  • Default values for confirmation control key

    Dear forum
    I am using a confirmation control key 0004 Shipping notification (standard SAP) in the Purchase order line item (created with ME21n).
    When I enter the confirmation data (with transaction ME22n) in the purchase order line item (confirmations tab), I have to type in delivery date, quantity and so on manually, which is standard.
    But, what if I want to copy the original delivery date and quantity from the line item in the order, and use this as default value for the line item confirmation data...is it possible somehow?
    The reason why I want to do this is for the user not having to go in and update this date manually all the time, but only when the confirmed dates/quantities differ from the desired delivery date and quantities in the purchase order line item. We are not on EDI or using Inbound deliverys for Purchase orders.
    Thanks
    Ola

    Hi,
    The Confirmation is nothing but the acknowledgement.So, its usually entered manuallly by the authorised User allowing follow on documents for Purchase Order.
    You can chesk once the customisation of Confiramtion control keys for automatic update indicator.
    Yes, you can use User Exit and develop with the help of ABAPERS.
    Hope it will help you.
    Regards,
    Smitha

  • Resetting the confirmation control key when saving the PO

    Hi,
    We have a requirement to remove the confirmation control key which is assigned to PO automatically at the time of saving the PO.
    So is there any BADI or User Exit avaialable for resetting this key while saving the PO??
    Thanks in Advance.

    hai Nishad,
    Please check out as given below path....
    SPRO -> MM -> Purchasing -> Confirmations -> Set up confirmation control or tcode OMGZ
    For more help please click on the given below link:
    [http://www.sap-img.com/materials/explain-about-the-po-confirmation-control-key-in-detail.htm]
    Regards
    shelly Malik

  • How to create inbound delivery for items with no confirmation control key.

    hi Please help me with this..
    are there any user exits to create an inbound delivery for scheduling agreement items with no confirmation control key.
    my req is
    i have 12 items (me33 transaction) of them three have confirmation control key populated and out of those three 2 will be deleted so only one item is left for inbound delivery creation, but i need to have all this possible for all items with or without confirmation control key.
    thank you

    hi
    for inbound delivery there is BAdi called LE_SHP_DELIVERY_PROC... in there is method called ITEM_DELETION... in this u can flag the item to delete or not..
    this will be triggered for inbound as well as oubound delivery..
    you can check confirmation status for the PO in the table EKES... in this table there is filed called EBTYP.. using this field u can check the PO item confirmation status..
    I hope above information is helpuful for u

  • Confirmation control key does not exist

    There is a old one PO, which was created with confirmation control key ZSC1 ; Now issue is ZSC1 has been deleted but it is showing in po, now user want to close the po as want to ticked the "delivery completed" ind. in the Delivery tab page at Item level in the po.
    In this cas he is facing the error as "Confirmation control key does not exist" so:-
    1. How can be close the po.
    2.Is there any option, from where we can check the change control i.e. can be checked when ZSC1 was deleted.

    Hi Jurgen,
    I think you misinterpret regarding this issue.
    confirmation control key is not deleted in PO.
    It is deleted from configuration setting I mean from IMG -> Material Management -> purchasing -> confirmation -> Setup confirmation control.
    since it's exists in po but not in config. thats the reason system given us that error.
    so my question was:-
    how to get change control for the same, i.e. when it was deleted from config. setting
    And how set del. completed ind. in po for closing the po, bcoz it's showing error as "Confirmation control key ZSC1 does not exists"

  • Purchase order confirmation control key issue

    Hi,
    We have an issue about vendor confirmation control key in transactions ME21N/ME22N
    We have custom document types defined , ZNB - this is normal purchase order for external vendors and ZSTO - this is stock transfer orders between plants belonging to our corporation.
    For ZNB we can introduce the confirmation control keys with no problem.
    But when we try to introduce the confirmation control key for the ZSTO document type, the value is simply ignored and the field is reset to blank (NO error message)
    My question what can be the reason for this , probably there is some customizing setup that creates this behaviour but I cannot find it.
    Thanks
    H.Z.

    I put this succesive screen shots, first I select the confirmation key and after pressing enter the field is reset to blank .....
    I was trying to find also user exista but with no success so far ....
    Thanks
    H.Z.

  • Confirmation control key issue

    Hi EXPERTS
    I would like to know under what circumstances can the confirmation control key be included in the line item of a PO after GRN is done.
    I am faced with a scenario where the GR of the line item of a PO is done  and their is a confirmation control key attached to this line item But I donot find any inbound delivery details in the line item nor does it look that the inbound delivery is deleted
    This line item now need to be reversed ( but the system doesnot allow stating that their are no suitable line items available
    (I tried 102Mvt  Thru' MIGO)
    Could you pelase guide me regarding this situation and suggest ways and means for PO line item reversal
    Thanks VC

    HI,
    Purchase Order Item Confirmations Tabstrips:
    The confirmation control key controls the process subsequent to the creation of the PO. 
    E.g. For some important materials with long delivery times, you wish to receive advance information (via the shipping notification or inbound delivery) about the expected GR date so that you can include this information in the availability check.
    The confirmation functionality is used to get better visibility & control over the goods receipts. Due to this requirement, when you work with confirmations, the system will not propose any quantity for MIGO unless any confirmations are entered in the PO. Also, MIGO will propose only such quantity for which the confirmation is entered.
    In the purchase order, there is a field confirmation control key, following is its function extracted from text book. 
    1.The confirmation control key governs whether confirmations are expected for specific purchase order items and whether these confirmations are relevant for goods receipt or materials planning.  
    2. If a material document is to be created when the goods receipt posting for the inbound delivery is carried out, then the goods receipt assignment must be defined in the confirmation control.
    How to set this field?
    Configuration path:
    SPRO -> MM -> Purchasing -> Confirmations -> Set up confirmation control or tcode OMGZ
    Explain is there a necessity to fill the confirmation control, order acknowledgement & confirmation requirement. In STO normally we input the data for normal P.O.'s.only. If we input the above said data what happens if not what happens.
    Confirmation gives the details of the shipping data, acknowledgement, delivery details etc......Overall view..
    If it is used then Inbound delivery has to be created else GR is not possible...
    VL31N--Inbound PO wrt PO/STO.(manual)..
    If idoc /edi are configure, then everything will be automatic.
    Confirmation Control is configured in SPRO -> Materials Management -> Purchasing -> Confirmations -> Setup Confirmation Control. The Confirmation Control should be assigned to the Vendor in Purchasing View (MK01/MK02). This it gets copied into the PO.
    How to change the confirmation key in PO?
    I have to change the confirmation key (in me23N) in the confirmation tab. It is working fine if there is no partial GR (entry in delivery schedule tab) against that line item.  But if there is a GR entry against that line item its giving me a message 'confirmation key should not be changed'.
    This is the standard of SAP....once GR is existing for the line then you can't change the confirmation key.  To change, reverse the GR and change the key then Post GR again.
    or
    You can short close the PO line which you already have GR and create new line with remaining qty and enter new confirmation key.
    pherasath

  • Update PO with Confirmation Control Key,Acknowledged Delivery Date.

    Hi Experts,
    I have a requirement that through a Excel file I have to update a Existing PO with the three fields,
    1.Confirmation Control Key
    2.Acknowledged Delivery Date.
    3.Acknowledged Modified Delivery Date.
    If there will be differ in values in any of the field in the existing PO and the incoming excel file then we need to update the
    fields in the PO.
    So is there any BAPI or FM to update the field value?
    I tried with BAPI_PO_CHANGE it is not working.
    In excel we have only five fields.
    1.PO number
    2.Item
    3.Confirmation Control Key
    4.Acknowledged Delivery Date.
    5.Acknowledged Modified Delivery Date
    Please help.
    Regards,
    Umesh

    you can use BAPI_PO_CHANGE itself, but you need to get the details of the current PO before passing the details to BAPI_PO_CHANGE
    you can use BAPI_PO_GETDETAIL1 by passing ( PURCHASEORDER = <..Your Purchase order Number..> ) and after that you willl
    get all the details of the PO, just change the required data's and pass it to the BAPI_PO_CHANGE. It will be easier.
    after you receive all the data,
    pass the corresponding data from BAPI_PO_GETDETAIL1
    to BAPI_PO_CHANGE.
    1.PO number                    -     PURCHASEORDER (importing)
    2.Item                         -     POITEM (Tables )
    3.Confirmation Control Key          -     POCONFIRMATION (Tables)     
    4.Acknowledged Delivery Date.               
    5.Acknowledged Modified Delivery Date
    I think for 4,5 fields are also in POCONFIRMATION table itself (not sure)

  • User exit to change account assignments

    Hi gurus!
    Can anyone tell me a user exit to change some fields in Logistics Invoice (MIRO), when a an  fixe asset PO is made:
    BSEG-BSCHL - Posting Key
    BSEG-UMSKZ - Special G/L Indicator
    BSEG-UMSKS - Special G/L Transaction Type
    BSEG-HKONT - General Ledger Account
    I apreciate any help, expecially because we already achieved GO LIVE.
    Thanks in advance, Pedro Mariano

    Hello Pedro,
    We have the same requirement, how did you solve it?
    I would really apreciate your help.
    Thank you,
    Elisa

  • Confirmation controll key

    Hello
    I have a problem concerning the confirmation controll key in Me21n. This is picked up from the vendor, and therfore causing me som trouble. We have a retail solution, were we have the same vendor for both the store and the warehouse (DC) the process of reciving goods are different, the stores uses MIGO and the warehouse inbound deliveries. The problem occurs in the warehouse, we can create the inbound delivery, but when posting GR for that we get a service, not a materialdocument. If i change the confirmation key to also include "GR with Reference to Vendor Confirmation" we get the mateiral document, but then it is not possible to do GR with MIGO. My problem is that i can see in a differnt system that it should be possible, but i have looked around for diifferences but cant find any, looked most in itemcategory and places like that. Does anyone have a tip where to look? I need to change the service into a materialdocument when doing GR for the inbound delivery.
    In advance thanks
    Regards
    Ivar

    Hi
    If the store and Ware house are two different plants then you can have two different confimration control keys either by maintaining different confirmation control key at the PIR level or at the Vendor master - Plant level data.
    This will ensure that the required confimration control key is defaulted based on the Plant that is procured for
    Thanks & Regards
    Kishore

  • Confirmation Control Key 0004

    Hi Gurus,
    When I am activating "Confirmation control key 0004" in the existing Scheduling Agreements(created with reference to contracts) system is giving the error "Confirmation control key 0004 not allowed" .
    So kindly let me know will system accepts the confirmation if the schedules already partially delivered?
    Regards,
    A.S.K

    Hi,
    You cannot change the confirmation control key if partial delivery exists for that SA
    Refer this Link
    http://www.sap-img.com/materials/explain-about-the-po-confirmation-control-key-in-detail.htm
    Edited by: redriver on Dec 13, 2011 12:34 PM

Maybe you are looking for