Update "Delivery Completed" Indicator in PO Item via EDI

Hello
We have another challenging task regarding purchase order confirmations that we would like to tackle (SAP Release is ERP 6.0).
The 2 partner in our scenario are distribution companies (= DC) which order goods and production companies (= PC) which deliver the goods:
(1) DC sends purchase oder via EDI (ORDERS IDoc)
    -> creates sales order in ERP of PC
(2) PC splits sales order into multiple deliveries.
   Each delivery is sent as outbound DESADV
   -> creates inbound delivery in ERP of DC.
(3) At some point the PC has completed the sales order
   yet it is possible that less was delivered than was ordered
      (i.e. we can have under-deliveries).
Now the question is:
How can the PC transmit the final information "SalesOrder completed" implying that the "Delivery Completed" indicator in the PO items should be updated (= 'X')?
My assumption is that we need to look at the sales order (ERP of PC) because this is the document which "collects" the information from all the split deliveries.
Any help related to understanding how the (standard) business process would look like and how to translate this into a technical solution (EDI / IDoc) is more than welcome.
Regards
  Uwe

Hello Uwe,
As you mentioned, I tried to check with the Workflow solution by tracking the events through Business Object BUS2032 (Order) or LIKP (Outbound Delivery) but failed to get successful results.
Problem with BUS2032, event CHANGED is that it doesn't get triggered when the Header/Item level status changed during delivery Processing. 
While using BO- LIKP (Outbound Delivery Processing), Events - Changed,Created, I am successful in triggering the event, but the problem with BO-LIKP is that, it does not have the item level details in the ATTRIBUTES list.  To get the balance quantity available for order line item (mentioned in my earlier reply)Item details are necessary to findout the Reference Sales Order & Line item.  With this, the Option of Triggering of Workflow using LIKP didn't give the required result.

Similar Messages

  • MBST - Update Delivery completion indicator

    Hi,
    In tcode MBST.
    I want to select Delivery completion indicator check box and save it . There is any BAPI for it. I tried BAPI_GOODSMVT_CANCEL is not working for this requirement. I also tried MB_CHANGE_DOCUMENT, its not working. I wrote BDC / call transaction, the screen number often changes so its not working.
    I require BAPI or function module to update Delivery completion indicator.
    I am using SAP  4.6b version.
    Thanks
    Edited by: harryibm on Mar 30, 2010 4:10 PM
    Edited by: harryibm on Mar 30, 2010 4:11 PM

    HI
    But i have to update Delivery Completion Indicator based upon material document number, year and item no of material document.
    Please can you show a code to do it. I am picking it from MSEG table.

  • Delivery completed indicator in PO for linked empties

    Dear All,
    in the cross-company PO we have several items. One of the items has the
    linked empties (sales and distribution BOM component) which is determined
    automatically in PO with item count 11 (if main item has the count 10 so BOM component has count 11 and next item is 20...30 etc.). When we post GR for this PO we have the Delivery completed indicator for all items
    except linked Empties (it seems because the linked Empties 11 are the
    part of the main item 10 and there is no GR for item 11). So after the GR
    we have PO still in the MD04 list for the linked empties.
    Is it possible to set Delivery complited indicator for Empties item of PO with standard functions?
    Thanks in advance
    Igor

    Hi,
    If you are in ERP 6 and Ehp4, you can use new message M7 433 (The Delivery Complete Indicator is set for the purchase order item) in connection with BAdI MB_GOODSMOVEMENT_DCI. If this message is configured as an error message. No further goods receipt can be posted for a PO item for which the delivery complete indicator is set.
    Since you are not working on Ehp4, you can use the BAdI to incorporate custom logic.
    Hope this is what you are looking for!
    Reetesh
    Edited by: Reetesh on Nov 25, 2011 8:20 AM

  • Delivery completed indicator for Service purchase order item

    Want to check the PO item for services already delivery completed.
    Field EKPO-ELIKZ (delivery completed indicator) is for material line item, is there a equavalent field for Service line item?
    What field /how to to check for a service line item in Purchase order already delivery completed ?

    For material:
    Delivery completion (DCI) tick available at line item level for each material (EKPO- ELIKZ)so you can check for the each material in PO the DCI is available or not.
    For Services:
    As Service code (Service line items) are maintained in details screen of Header line item. So whenever the DCI (Delivery completion indicator) marked for that Header line item it means that all the service line items are marked as DCI for that Header line.
    DCI indicator can mark manually in Change PO mode and automatically when service entry done as final for that Header line.
    So you can check the DCI for service same way as you do for material
    Hope it will help you
    Regards
    Vikrant

  • Delivery completed" indicator cannot be set for item 00001

    Hi all,
    I have done a inter company stock transfer order , with respect to that Order I made  Outbound delivery and posted GR with respect to outbound delivery. I have done  MIRO for  PO  for all the Item ,
    Now  I  need to  return some  material  to supplying plant for  some reason,  I tried  to  make GR (MIGO)  against the same  outbound delivery with movement type 122. the document is posted  but  when I tried to  make complete  delivery indicator  it does not allow me to do so .
    it says me
    Delivery completed" indicator cannot be set for item 00001
       Message no. 06 848
    Diagnosis
       You have set the "delivery completed" indicator for a stock transfer  item.
    system Response
       You can only set the "delivery completed" indicator in stock transfer  items if
       o   the sum of the goods issue quantities in the supplying plant equal  the sum of the goods receipt    quantities in the receiving plant.
       o   the sum of the delivery note quantities is equal to the sum of the goods receipt quantities.
    Regards,
    Dhilipan.

    I dont think you need to set "delivery completed" indicatory while returning from one plant to another.
    For example : You ordered 100 qty. and you are receving only 80 Qty. and you don't expect any receipts anymore. in this case you want to close the open purchase order with delivery completed indicator.
    But while returning to vendor or to another plant you are not referring the P.O directly and hence you dont need "delivery completed indicator'

  • Delivery completed indicator in purchase order for service item

    How can I make the delivery completed indicator (EKPO-ELIKZ) in a purchase order for a service item ready for direct changes.
    Per default this field is hidden on purpose for service items (according to SAP note 735404). Please inform me of customizing entry where that can be changed!
    Thanks,
    Johnny

    delivery completed indicator only gives information for MRP ( That not consider balance qty as onorder stock), it has no control on GR, so I am not sure what you will achieve to mark it in service PO?

  • DELIVERY COMPLETED indicator for Services Purchase Order

    hello experts,
    i'm working in SAP with R3 4.7 for developing funtion / BAPI for a mobile web application for services purchase order.
    i have a big problem:
    is it possibile to set the DELIVERY COMPLETED indicator (<i>ELIKZ</i>) in services purchase order via BAPI or Function Module?
    <i>I'm working with BAPI_PO_CHANGE but and i succeded with material PURCHASE ORDER but not with SERVICES PURCHASE ORDER</i>.
    can anyone help me?
    thanks in advance,
    Eliana

    For material:
    Delivery completion (DCI) tick available at line item level for each material (EKPO- ELIKZ)so you can check for the each material in PO the DCI is available or not.
    For Services:
    As Service code (Service line items) are maintained in details screen of Header line item. So whenever the DCI (Delivery completion indicator) marked for that Header line item it means that all the service line items are marked as DCI for that Header line.
    DCI indicator can mark manually in Change PO mode and automatically when service entry done as final for that Header line.
    So you can check the DCI for service same way as you do for material
    Hope it will help you
    Regards
    Vikrant

  • Delivery completed indicator for STO cannot be set!

    Dear colleagues,
    There are number of STO’s those goods issue quantity > quantity of goods received. Because of this delivery completed indicator cannot be set due to message “06 848 - Delivery completed indicator cannot be set for item XXXXX”.
    There is an OSS note (167795) that allows to set delivery completed indicator for such purchase orders. Even though our SAP release is 6.04, report RM06EV70 does not exist (yet BADI ME_ARCHIVE_ACTIVE is active) in the system and OSS note cannot be implemented.
    Any help would be appreciated.
    Regards,
    Melih
    PS. Please do not provide answers like “the goods receipt must be first posted via the entire goods issue quantity; then you can post a scrapping via the shortfall quantity” since there are backdated STO’s.

    Hi,
    Find STO created for which plant in t.code:ME23N and check MRP parameter maintained for that plant in t.code:OPPQ( also check entry of that plant in t.code: OMCD).
    Also cross check which Field Selection Key assigned to your STO PO document type and check “Delivery completed" indicator” available as Optional entry in GR/IR control segment in your Field Selection Key.
    SPRO - > MM - > Purchasing -> Define Screen Layout at Document Level
    Regards,
    Biju K

  • Delivery completion indicator not getting checked after GR against STO

    Hi All,
    I am facing the following issues while posting GR against the Stock Transport Order -
    Issue No. 1 - While posting GR against Outbound Delivery, I am receiving Error M7865
    Issue No. 2 - While posting GR against Stock Transport Order, the deliver completion indicator is not getting checked in PO even if the GR qty. is same as OBD qty.
    Can someone help me to come across these issues.
    Thanks,
    Pankaj

    Hi,
    Generally, in  case of Stock Transport Order, Goods Receipt is to be done w.r.t. Outbound Delivery only. Otherwise, it will not update Delivery Completion and also will not update the Sales Document Flow as well as Po History properly. So, better try to resolve Error M7 865 and do GR w.r.t. OBD only.
    To rectify error M7 865, check following;
    Diagnosis: -
        The goods receipt for the delivery cannot be posted.
        The error according to the error code:
        1.  The delivery does not exist.
        2.  The delivery type is unknown.
        3.  The delivery is not goods issue posted.
        4.  There are no delivery items.
        5.  The receiving plant could not be determined.
        6.  The delivery items have already been goods receipt posted or contain zero quantities.
        7.  Goods receipt(effect)movement type to goods issue movement type could not be determined.
        8.  It is not currently possible to block the delivery.
    Procedure: -
        Error code 1      : Check your entry.
        Error code 2,3,4,6: Check the delivery and its document flow.
        Error code 5      : The delivery must be related to a purchase order or the customer must be a retail business.
        Error code 7      : Check the settings for your movement types.

  • Change Button Not Active even after Delivery Completion Indicator is Remove

    Hi ,
    In SRM 5.0 ,Change Button Not Active even after Delivery Completion Indicator is Removed for Completed PO to cancel the GR or make changes.
    Thanks & Regards,

    Hi,
    Please check these notes.
    Note 1267916 - PO item flags do not stay checked
    Note 1174982 - Return/deletion of confirmation does not update the PO flag
    Thanks
    Zameer

  • Delivery completed indicator in purchase - no influence  - MRP result wrong

    Dear all,
    I have a problem with the delivery completed indicator. In post (http://wiki.sdn.sap.com/wiki/display/ERPSCM/TheeffectofDCIset ) it is explained that after setting this indicator the information will disappear from the MD04. This is correct, but the next MRP creates again purchase requisitions.
    The requierement can come for regular stock material as well as material through sales order line item (so specific material)
    I have different problems:
    When I set the indicator on delivery completed I would expect several system responses:
    1) When trying to post another goods receipt - a warning or error message - that this is no longer possible - this should not be the problem to solve (OSS note 1093582).
    2) When posting the delivery completed, the purchase order "disappears" from MD04. But still the requirement remains comming from the BOM (planned order / production order) - this is a problem I need to solve.
    Now the MRP creates a new purchase requisition, although this is no loger required as the delivery is already completed for this material number.
    Where is the customizing done for this indicator "delivery completed" in the purchase order?
    How can I set the system in such a way, that for this specifc material depening on this purchase order no new purchase requisition is created? Especially in the case of the requirement for sales order line item! This requirement is not valid anymore until a new change was done.
    I have the problem, that the requirement can come either from the planned but also from the production order. I can change the value of the production order, but for a change in the planned order the BOM would be needed to change. This should not be done.
    Somehow it must be possible, to tell the system that for this one depending requirement of the above planned order, the delivery of the component has been completed and the system should not create a new requirement for this component.
    Thank you all for your help,
    Bjoern

    Hi,
    our requirement is correct, at the time of engineering we always calculate a little bit more than what woudl be really required. This means, that we might put into the BOM 5000kg but in reality we only need 4500kg and the rest is just for safty reasons. If we now receive a quantity of 4900kg the delivery is considerd as comleted.
    But we do not want to change the BOM, becase then it would be wrong for the next order.
    I only need, that for this one material (planned order / production order) the requirement is finished (although there is a "theoretically" underdelivery of 100kg).
    This means, if the goods receipt is finished I do not want a new purchase requisition for this material as it is not required anymore.
    Usually by SAP standart this is not possible, as the requriement comes from the BOM into the planned order and is therefore updated. In the production order, we could change this.
    I need to tell the system, that for this material it should not create a new purchase requisition because the order is "finished".
    Thank you very much for your support,
    Bjoern

  • Contract quantity exceeded after clearing delivery completed indicator.

    Could you pls give me an advice how to avoid an situation when user removes indicator "delivery complete" in PO and it leads  to exceeding the contract quantity?

    Hi Alex,
    It seems you set the delivery complete indicator in the PO without any follow on documents having been created? (GR, Inv ). This is the standard system design in that case. The contract release history is updated with the followon document details (quantity and value). In your case both quantity and value are 0, hence the PO item with the delivery complete indicator behaves like normal non-contract PO.
    Please have a look at the cause section in this KBA:
    1956413 - Able to create a PO with reference to a contract that has not been completely released
    The second part of the query, where you were able remove the 'Delivery Complete' tick and save the PO is because you have not set message 06 078 'Tolerance exceeded by xxx xx' in your system.' You can set this as an error in OLME -> Environment Data -> Define Attributes of System
    Messages -> System messages and set message 06 078 as E
    If you are working with value contracts and were expecting message 06 042 (Target value of contract & exceeded by &') you may need to apply the correction instructions in the below note:
    2017961 - Change of PO net value possible although the contract target value would exceed

  • Delivery Completed Indicator  - Open PO Quantity Issue

    Hi All,
    I have an issue relating to our Open Purchase Order Report.  I have some POs which are appearing on the report eventhough they are marked, 'Delivery Complete' ie NOT open. The example of a PO is where the PO Quantity is 100 and the Goods Receipt is 99.  The user knows that there will be no further deliveries and therefore marks the PO 'Delivery Complete'
    In the Extractor to BI we have extracted this field ELIKZ 'Delivery Completed Indicator'.  The structure of our datamodel is
    PSA -> DSO (Write Optimised DSO) -> Cube
    We calculate the Open PO Qty by taking 'PO Qty' minus 'Goods Receipt Quantity' I have checked the example PO in the cube & DSO.  I can see that for the infoobject 'Delivery Complete Indicator' that it has been marked 'X' but only on the records relating to the Goods Receipt for this PO.  The original PO record is added to the cube eg on 1st Jan and then the Goods Receipt record, including the delivery complete indicator is added to the cube on 31st Jan, but the original record is not updated by this indicator.  Therefore at the moment I cannot use this to filter out records in my query.  See below how it looks in the Cube;
    Created Date - PO No - PO Line - Del Complete Indicator - PO QTy - Goods Receipt Qty
    01.01.2011       123      10             (Blank)                             100
    31.01.2011       123      10                 X                                                         99
    What should I do?  How have you created this report?
    Just to let you know I have already read the post Delivery Completed Indicator(ELIKZ:0COMPL_DEL) in 2LIS_02_SCL
    Many thanks for your help,
    Michelle

    Hi Kalyan,
    Thanks very much for your message,
    In my case if the Order Qty is not equal to receipted this does not always mean that it is open.  Sometimes the receipted quantity can be over or under (not equal) and the PO can be closed.  What do you mean by confirmed quanity?  Also, this is a Purchase Order report not a Sales report.
    You have said...
    "Then I would suggest to still keep the condition on the Net ord qty and Net confirmed qty and exclude the del compl indicator as X and also the status as open "
    I don't understand how this will work.  My issue is that the indicator is not on all the records of a PO only the receipted records.
    Can you help again please?
    Many thanks
    Michelle

  • Delivery completed indicator

    Hello Friends,
    my open order quantity: 100 (In Purchase Order)
    i posted 105 quantity received (10% OVERDELIVERY) at MIGO.
    I want to post now 5 more to the same open item ofcourse with different material document.

    i have manuallly changed the PO With delivery completion indicator unchecked...still is not coming.
    JUST wanted to know is there any possibility to post the remainng 5 quantity
    And if not, how do u guys suggest to post the remaining quantity within the overdelivery tolerance (10%).
    Edited by: Narendar  konakanchi on Jul 20, 2009 9:16 AM

  • Delivery Completed indicator is automatically set in MB31

    Dear SAP Gurus,
    I have an issue for which I need you help.
    In my scenario, we are manufacturing co-products. The actual produced qty of each of the co-products may vary from the ratio which is specified in the BOM. Hence, I have set the "unlimited overdelivery allowed" indicator in WS view for all my co-products.
    Further, the process order is created for the entire month. Comfirmations are carried out on a day-to-day basis.
    The system works perfectly till around 25th of the month. While doing GR in MB31for 26th of the month, I face a peculiar problem.
    For one of the co-products, the received qty exceeds the order qty. Since "unlimited overdelivery allowed" indicator has been set in the Material Master for this co-product, the system allows me to post the excess GR qty. This is fine. However, it is setting the Delivery Completed Indicator on its own. I then manually remove the indicator and post the GR document. But the system still sets the delivery completed indicator for the co-product item on its own in the Process order.
    Even if I remove the indicator in the Process order, the system doesn't propose the co-product item while doing GR from 27th onwards.
    Please help me in resolving this issue.
    Thanks!
    Nitin

    Hi Hiren
    Thanks for the reply.
    If I make the change as suggested by you, then the GR from Purchase orders would also be affected.
    Is it possible to control the setting of this indicator on a movement type level? If this is so, then I can create a new movt type and use it for production GR .
    Please revert.
    Regards,
    Ntiin

Maybe you are looking for