Idoc at status 51, however outbound delivery created

Hi Gurus,
We have peculiar issue , where in outbound delivery is getting created through IDoc. The inbound idoc has status 51 however delivery got created.  Any idea how is it possible?.
Thanks in advance.

Dear Math,
Have you got the solution for the above. If you get can you tell me please because even i got the same error message while processing the IDOC
status 51 after status 53. Outbound delivery is updated but not the sales order.
can you please help me

Similar Messages

  • User Status Profile for Outbound Delivery in EWM

    Hi Gurus,
    I have the following scenario. We're working with invoice before goods issue. Invoice is created upon user request on transaction /scwm/fd on option "Request Invoice + Save".
    After the invoice Request is sent to ERP we need to block the possibility of deletion of the outbound delivery.
    Send the request to ERP changes system status DIN on outbound delivery header. We've created a custom status profile with just one status (code BS02).
    This status is set when standard "Request Invoice" is set. This works fine. On this custom status, we've marked the option for business transaction "Delete Document" as forbidden. This doesn't work. Even with our custom status active, its still possible to delete outbound delivery.
    The custom status is has the "Outbound Delivery" object type allowed and its assigned to standard "/SCDL/OUT_FD_STANDARD" profile.
    Anyone have any idea what could be the problem?
    Thanks in advace.
    Felipe Tripodi

    Hi Christian,
    Thanks for your reply.
    We've decided to implement badi "Validation for Actions" within delivery due to the lack of time to resolve the issue. This decision was based on note "1833378 - Prevent deletion of outbound delivery with invoice". This note gives you sample code for badi to check ERP billing status before deleting the document. We've adapted the code for our needs and it works great!
    After your reply, i spent a little more time on user status, and found an OSS note that guides you trough some configuration steps on tcode /BOPF/CONF_UI. After applying this setting for business object /SCDL/FDO, the user status also worked fine!
    Best Regards,
    Felipe Tripodi 

  • Dates on Outbound Delivery created automatically from STO PO

    Situation: I am creating outbound deliveries automatically after saving a STO PO.  On my STO IDoc PORDCR101 there is a structure E1BPMEPOSCHEDULE.  In this structure there are 4 fields I am entering dates that I would expect to then be used on my automatically created outbound delivery (all fields are different for the purpose of analysis).  These fields are MS_DATE, LOAD_DATE, TP_DATE, and GI_DATE.  I would assume that these translate to Picking, Loading, Transportation Planning, and Planned Goods Issue dates on the processing tab of the Outbound delivery header.  However, the date that I have entered in my Idoc for the delivery date (the date I want the material to be at the expected destination) is being used for all dates. 
    Question: Can anyone tell me if I am using these dates correctly or if there is a different intended use for these fields?  Also if this is not the intended use, is there a separate input field that can be used to control these dates?
    Thanks in advance.

    These 4 date fields can be seen in your purchase order in the schedule tab at item detail.
    They correspond to the delivery.
    But not the way as you expect. they are not there to tell the delivery what dates the delivery shall take. it is the other way around. When the delivery is created then SAP will update the stock transfer  PO with the dates from the delivery.

  • Picking status change in Outbound delivery

    Hi All,
    I have to create a start condition in PPF actions, whihc is nothing but BADI... whihc will trigger when the Pcikinf status is changed....
    I have these threee condtions:
    Action will be triggered by outbound delivery order status change:
    1.     Picking planned status at header level changed after warehouse order creation/cancellation  (corresponds to Focus2 status      0 u2013 Forecast);:
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back from u201CNot startedu201D to u201CPartially completedu201D and back ;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    2.     Picking status changed at header level after execution each of warehouse order in drop location (corresponds to Focus2 status      1 - BeginPicked);
    u2022     from u201CNot startedu201D to u201CPartially completedu201D and back;
    3.     Picking status changed at header level after execution of last warehouse order in drop location (corresponds to Focus2 status      2 - Picked):
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    any help????
    I want to know how can i code this??

    Hi,
    In the BADI, you can get reference to Delivey Object
    lo_dlv_ppf TYPE REF TO /scdl/cl_dlv_ppf.
    lo_prd                TYPE REF TO /scwm/cl_dlv_management_prd.
    get delivery reference
      lo_dlv_ppf ?= io_context->appl.
    Get the attributes DOCID, the find the status of the documents accordingly.
    Now get the instance of the Delivery management:
    lo_prd = /scwm/cl_dlv_management_prd=>get_instance( ).
    Then read Delivery header and items using the below method based on DOCID:
    APPEND is_docid TO lt_docid.
      ls_include_data-HEAD_PARTYLOC  = abap_true.
      ls_include_data-HEAD_DATE      = abap_true.
      ls_include_data-HEAD_TRANSPORT = abap_true.
      ls_include_data-ITEM_DATE      = abap_true.
      ls_read_options-data_retrival_only = abap_true.
      ls_read_options-mix_in_object_instances = abap_true.
    CALL METHOD lo_prd->query
            EXPORTING
              it_docid        = lt_docid
              iv_doccat       = is_docid-doccat
              is_read_options = ls_read_options
              is_include_data = ls_include_data
            IMPORTING
              et_headers      = lt_whr_headers
              et_items        = lt_whr_items.
    You can find header status in lt_wr_headers.
    Or based on DOCID, get status from table /SCDL/DB_STATUS.
    Hope that helps
    Vinod.

  • How to change WM Status of an outbound delivery??

    Hi Experts,
    I was trying to do PGI for an outbound delivery for which I created TO and did TO Confirmation.
    After TO Confirmation , both the Picking Status and Overall WM Status was set as C
    I was trying to execute WS_Delivery_Update for PGI.
    After executing the FM,when i checked the outbound delivery in VL03N
    OverallWMStatus changed to B.
    But last night it was C after TO confirmation.
    And now I cant do anything
    When I try to do PGI its stating that "Delivery has not yet been completely processed by WM"
    Please help out??

    Hi Sanjeev,
    After confirming the TO, I was trying to do PGI executing WS_DELIVERY_UPDATE from se37.
    I want to reverse the picking of the outbound delivery whose
    Overll Pick Status C
    Overall WMStatus B

  • Create Inbound Delivery from Outbound Delivery create

    Hi,
    This is what I am trying to do...
    1. Create PO (me21n)
    2. Create Outbound Delivery based on PO (VL10g)
    3. PGI (this creates a DELVRY03 IDoc)
    (IDoc is created at this step, no issues so far)
    4. Based on the Outbound DELVRY03 IDoc I want to create Inbound Delivery. Inbound IDoc is created, but not posted to Application. It gives me the following error...
    "Item 00000 of purchasing document does not exist".
    Please help me resolve this error message.
    Regards,
    Sneha

    Hello Sneha,
    Outbound delivery cannot be created against the purchase order. In a third party scenario where in we receive the shipping Notification(SN) from the vendor, it comes as Delvry02 IDOC to our system. The IDOC gets posted as Inbound delivery for which Goods Recipt happens against the Purchase order using the transaction MIGO. This updates the vendor confirmation table EKES. If you see the Confirmations tab in purchase order you will see the Inbound delivery number and external delivery number.
    Outbound delivery gets created against the sales order and uses the stock posted by the goods receipt to issue the goods. The ASN signals(DelVRY03) gets created after PGI happens in the Outbound delivery.
    The Process is like
    Purchase Order(ORDERS05) goes to vendor --- > Vendor Manufactures the goods sends back Ship notifcation(SN) -> SN posts the goods Inbound Delvery is created and GR happens.-> Outbound delivery gets created and ASN signals go to the forwarder.
    Do revert to me for any further clarification.

  • Why outbound delivery created 2 accounting documents?

    Normally an outbound delivery will create only one accounting document. However i have 2 accounting documents created for an outbound delivery.
    The first accounting document credits the stock and debits the COGS and the second accounting document debits the stock and credits the cogs.
    In what circumstances this will happen?

    Hi
    You might have reversed the delivery and PGI in VL09
    check
    regards
    prashanth

  • Control over qty in outbound delivery created with reference to P.O

    Dear Gurus,
    I am trying to create a outbound delivery document with reference to the purchase order. But, the system is allowing more
    quantity in delivery document than in purchase order. How to control it.
    Regards,
    Krishna

    Hi,
    You can control this through item category fetched in delivery. Please check whether you have set error message or note about situation for overdelivery under following customization path;
    SPRO>>Logistics Execution>>Shipping>>Deliveries>>Define Item Categories for Deliveries
    Here for your relevant item category, check under quantity table the entry maintain under 'Check Overdelivery'
    You can set it as A- So that user get the note of the situation or B- so that it gives error message.
    Regards,
    Udaya.

  • Outbound Delivery created between two different Storage Bins

    Dear Guru ,
    Using WM can I create an SD Outbound Delivery between two different storage bins linked to the same storage location ?
    Thanks

    Hi,
    Between storage bins only transfer posting is possible as per my understanding.

  • Trigger TPSDLS01 IDoc to external TPS when outbound delivery is deleted

    Hi,
    We are currently trying to find a solution how to trigger a TPSDLS01 IDoc to external TPS when the outbound delivery is deleted.
    In the following SAP article: Logical Communication Processes Between the SAP System and the T - Supply Chain Planning Interfaces (LO-SCI) - SAP Libra… it is said that "...If a delivery is deleted in the SAP system, this deletion command is transferred automatically to all transportation planning systems...". and we're trying to understand how it actually should be configured?
    Any advice would be much appreciated.
    Thanks!

    Hi,
    I know this is quite old now....but, did you ever find an answer to this problem?
    SR

  • Update the overall pick status of a outbound delivery  at header level

    Hi Experts
    Is there any way to directly update the outbound delivery ( VL02N) status at header level (VBUK-KOSTK) , OverllPickStatus
    quick response is appreciated
    Thanks
    Satish

    try MV50AFZZ.
    Regards
    Peram

  • Inbound Idoc with T-code: BORGR ( Inbound delivery create) EDI cannection

    Dear all,
    Kindly help me to create inbound delivery with BORGR transaction.
    Here the we have to create the inbound delivery in the system with the help of vendor number and material without using Scheduling agreement number in BORGR
    Please suggest the processing code and the function module required for the BORGR document posting.
    I have done the following steps u2026but not able to post the dummy idoc through WE19 .
    1.     Use standard message Type DESADV (T code: WE81).
    2.     Use standard IDOC type DELVRY05 (T code: WE30).
    3.     Assign message type  to IDOC Type ( Tcode: WE82).Message Type:-DESADV, Basic Type:-DELVRY05,Release 700
    4.     Use standard assignment of process code DELS with the message type DESADV ( Tcode: WE42)
    5.     Inbound Function Module :  IDOC_INPUT_DESADV1 ( T code : WE57)
    6.     Define Port type File (Tcode: WE21) Port u2013 EDI_ASN Inbound Delivery.
    7.      Define Partner Profile (Tcode: WE20) Inbound Parameters.
    8.     Enhancement can be done in inbound IDOC as per the business requirement. Business has confirmed Field name wise Inbound IDOC data which will be received from vendor and all fields are available in the standard IDOC type DELVRY05.
    Please help if anything more required for posting dummy idoc .
    Thanks and regards,
    koshti

    Hi Dick,
    just one additional hint as we had recently such problems :
    It my happen that DESADV creates an inb.del <b>w/o</b> packing the HUs (idoc status is 'yellow' instead of 'red'). To avoid this OSS #912470 is the solution.
    Kind Regards
    Kay

  • IDOC, segment status missing in outbound IDOC

    Hi,
    how to generate an IDOC MATMAS with SAP with the segment status EDI_DS40?
    Indeed, we need to transfer this idoc from SAP (ECC 6 EHP4) to an EAI (Synchrony).
    The Idoc need to be fulfilled with the control segment, the data segment and the status segment to be parsed by the EAI.
    The MATMAS message is generate by the transaction BD10 and send via a Transactional RFC port. We use SAP JCO 2.1.8.
    The segment is missing for all type of Idoc.
    Can you help me?
    thanks
    Xavier

    Hi,
    The systeme Synchrony pass all test  in SM59 (connection and unicode).
    the segment that is need by Synchrony is EDIDS, not EDIDC.
    Segment that are mandatory for Synchrony to receive IDOC via RFC with SAP JCO connector:
    Segment  EDI_DC40 (receive -> so OK)
    Segment EDI_DS40 (not send by SAP -> so KO)
    thanks
    Edit: Solve with the last update of synchrony.
    thanks
    Edited by: Xavier BOUCHET on Feb 16, 2010 10:10 AM

  • Status of Outbound Delivery in case of batch split

    Hi All,
    I have a query regarding the status updation of outbound delivery in case of a batch split.
    I have a delivery with 10 qty of batch managed material and is distributed from ERP to EWM. As per standard SAP, the following 2 options exist to carry out a batch split in EWM
    1. Create batch sub items in the Outbound delivery Order
    2. To adopt quantities pertaining to multiple batches during WT creation from the 'Stock can be removed' tab.
    We are using the second option as per business requirement. The process is working fine if i create & confirm multiple WT's at one shot i.e in this case i created one WT for 5 qty with batch-1 & one more WT for balance 5 qty with batch-2 & confirmed both the tasks. System created 2 batch sub items automatically when WT's are confirmed & the header status of 'picking' got updated as 'completed'.
    However the problem is when i create only 1 WT for partial quantity. For eg. in this case i created onle WT for 5 qty of batch-1 & confirmed the task. System created 1 batch sub item for 5 qty & also updated the 'picking' status in header to completed. My understanding is that since entire delivery quantity is yet to be picked, the picking status at header must be 'partially completed' & not 'completed'.
    I have checked the status profile & have status types DER & DPI active. Does this require any config in the status profile OR Is there any other way in which i can achieve this functionality ( i.e. Header status must be 'partially completed' untill entire delivery quantity is picked.)
    Would be glad if you can share your thoughts on this.
    Regards,
    Smitha Pai.

    Thank you for your kind reply.
    I performed failover to my physical standby and now archives are going on my logical standby from new primary but changes are not getting applied on my logical standby database.
    when i tried to register the logical logfile from new primary on my logical standby i am getting following error.
    SQL> ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC';
    ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC'
    ERROR at line 1:
    ORA-01287: file is from a different database incarnation

  • Outbound delivery-IDOC

    Hi All,
    I have requirement wherein an IDOC is generated when a outbound delivery is generated.
    So, Do we need to assign output type for every delivery individually or is there any other automated process to do this and generate a IDOC after the outbound delivery is created.
    Thanks.
    Zaf

    Khan,
      For this you have to use Change pointers concept.
    see the explanation below
    System will remeber every change for a table related to an IDOC. eg. if costcenters are changes. tables csck and cskt will change. Having a change pointer for IDOC type cosmas which reflects costcenters. Any change made by using the KS* transactions will now be recorded. Usinf the change pointers you can now generate IDOCS so that the changes are sent to the dependant systems.
    use bd50 to acivate change pointers, use bd21 to generate idocs, use bd64 to determine the distribution of those idocs.
    PLs. reward if useful.....

Maybe you are looking for