Delivery doc status change

Hi
We have a requirment where in we have to change the status of the
delivery doc to be completed from open.
Thanks in advance
KM

Hi
If the delivery status is wrongly determined ,if you want to change the statius according to the configuration
kindly run the report  RVDELSTA or use the below program
REPORT 
TABLES: VBFA.
data: cnt like sy-tabix.
SELECT SINGLE * from vbfa  where VBTYP_N = 'U' and vbelv = ''.
if sy-subrc = 0.
UPDATE  vbfa  SET PLMIN = ' ' where vbelv = ''  and vbtyp_n = 'U'.
endif.
Regards
Damu

Similar Messages

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

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Changes in Delivery doc effect in which table

    Hi all,
    iam chaneing the deliveryquantity in delivery order, that changes iun which table that will be stored.
    i know  likp,lips this tables are stored the delivery details.
    but i want in which table that  delivery doc effect will be stored.
    pls help me
    regards,
    dhanush

    Hi dhanush
    Apart from LIPS, LIKP tables  check in VEPO table where the  delivery item (POSNR)  is stored
    Regards
    Srinath

  • Inbound delivery status change

    Hi,
    i have a situation where in the inbound ASN status changes from C to B,after a return delivery is done  in MIGO (mvt type 122)against the goods receipts.
    is there any way to prevent the inbound deliveries from opening up?
    we are using ECC 6.0.
    Any assistance will be highly appreciated

    Hi Ram,
    I have came accross this sitation as well.
    Previously, MIGO won't update the deliveries statuses. That way
    we did not have that tricky situation. However, in ECC6, it is possible to post
    partial GR via MIGO and delivery is updated also. It cannot get
    solved via customization, you may consider in case you really to check
    the possibility via your own code implementation.
    Best Regards,
    Christian Rosa

  • Partial delivery SO status became completed

    Dear All,
    I faced the following problem:
    1. SO was created for 10 pcs
    2. Via SO reference a delivery doc was created for 5 pcs
    3. WM-TO was created and PGI was executed
    4. The status of SO item became completed
    What is the reason? I checked VTLA > document flow update is set. No partial delivey indicators are maintained in SO and customer master (the field is blank).
    I'd like to ask you to please help if you can.
    Thanks,
    Csaba

    Dear All,
    I'd like to ask to please help in this issue.
    I tested the same without WM and in case of partial delivery I faced the same problem: the status of the sales order becomes completed.
    1. SO created for 2 pcs (VA01)
    2. Delivery document created for 1 pc (VL01N)
    3. Picking (w/o WM!) was done (VL01N) > 'Pick status' & 'Overall pick status' become 'C'; 'Pick confirmation' Picking/putaway confirmation' become 'C' (delivery document, 'Status overview' tab)
    The result is that SO becomes 'Completed'.
    If I delete the picked qty from 'Pick qty' field (VL02N, delivery doc 'Picking' tab) and I save the result:
    1. 'Pick status' & 'Overall pick status' become 'A'; 'Pick confirmation' Picking/putaway confirmation' remain 'C' (delivery document, 'Status overview' tab)
    2. After saving the above mentioned change SO document remains completed.
    (Please consider no GI took place!!!)
    If I delete the item from Delivery doc, SO becomes open (not delivered - don't know exactly what is the proper expression since I1m not in english environment) again - so it seems something is wrong with picking...
    Thanks,
    Csaba
    Edited by: Csaba Szommer on May 23, 2008 9:59 AM

  • How to configure workflow for status change of a salesorder.

    Dear Friends,
    I want to generate Idocs after a sales Order delivery  status changes
    using workflow.
    Please tell me the procedure ,as i am doing this for the first time.
    thanks,
    jeevan.

    Suggest using "Modes" in PPM. Mode 01 will have "x" capacity, mode 02 will have "y" capacity and so on. You will have to give a slightly different resource name for each mode. E.g, If there is a multi capacity resource named "RESOURCE", then first create following resources in the Resource master : RESOURCE_X and RESOURCE_Y. Define individual capacities ( Resource is same, only we are separating capacities). Then include these in the PPM -  mode 01 = RESOURCE_X, mode 02 = RESOURCE_Y.
    Hoe this helps

  • GL posting clearing item amount and do not show doc status on the header

    Hello,
    GL post clearing amount both side and increase the no of items in the GL balance display. Inaddition, these clearing line item document header does not show document status field.  I have another GL which does not post extra two lines and clearing item document is empty and header shows document status as A (cleared item).
    Could you let me know what the difference and what need to be changed to make it not to post clearing items + and - and show doc status.
    Both are same FSG and only difference tick mark not done for balance in local currency.

    Thanks for your reply...but thats did not work. As I said earlier, I have a Structure in my rows and 2 characteristics in my free chracteristics and in my columns I have a selection of key figures...
    What I want is when I drill down on one of my 2 free characteristics, I do not want to see rows with amounts (KFs) zero or space.
    RR

  • Delivery block status

    hello guru's
    While creation of sales quotation in shipping tab there is field delivery block status there it’s coming automatically ‘blocked’ how to change that field.
    Here we are using make to order scenario with controlling module.
    After done CO Configuration it’s coming that message
    Can any one help me?
    Regards
    Dharma

    hi,
    goto the customer code in xd05. u will notice the delivery block there. now follow this path. imglog execution-deliveries-reasons for blocking in shipping-blocking readsons/criterion---unchek the order col.
    saurabh

  • Delivery block status is Blocked

    Hi all,
    In a standard order(VA02), initially for item 10, we enter a material and then save it.
    Then the same item 10 is changed into a different material.
    However, the delivery block status in Item 10 for the first material is still 'Blocked', whereas for the newly entered material the delivery block status says 'Not Blocked'.
    Please let me know the reason for this.
    Thanks and regards,
    Anishur

    This is not standard (if i recall). This might have developed in one of your sales user exits. Check out all of your user exits in program SAPMV45A..... Specially in source determination and save document prepare user exits (may be in include MV45AFZB and MV45AFZZ)

  • Why Delivery doc. printed when we release credit check at VKM5.

    Hi
    when user1 create delivery doc. delivery note gets printed with output type WMTA after that user2 releases delivery through credit check (VKM5) this time again delivery doc. printed.
    why delivery doc gets printed when user2 releases the delvery doc from credit check.
    need your input 
    thank you

    check in output procedure against your output - WMTA any routine is assigned, take help of abap and ask him t check the routine. Next check output program where system is not checking the processing status from NASt table before printing.
    May you need to write logic as above.

  • CR correction document status changes back to created

    Hi Experts!
    Does anyone of you know why in ChaRM CR Correction document the status of the document (controlled with Actions) switches back to "created" from status "In development". This switch happened to me several times when handling a normal correction and I don't know why it does that.
    Usually I have done Action related task to the correction prior the status is swithced.
    I've tried to look for a solution in the forum and in help docs but I haven't come accross any. Please don't get me wrong, I do get the full maintenance cycle working for normal corrections. This status change is more of an annoyance than an error.
    We are using SolMan 4.0 SP09
    Thankful for all hints I can get!
    BR
    Auli

    I found a previous discussion from this forum with Avinash's advice to use note 919477. This is exactly what I was looking for.
    I'm recording it here just in case anyone ever needs to solve this in the future.
    BR
    Auli

  • Generating deltas records after a work order status change

    Hi
    We are currently reporting on Work Order status changes in BW. However, the process team has written an ABAP program that allows users to change a Work Order status or an Opeartion status. Any changes using this method do not trigger a delta record to be written to the Outbound Queue MCEX17 and subsequently we do not pick them up in BW without having to to a re-initialise.
    Could anyone tell me how we could trigger a delta to be written to the Outbound Queue in the same manner as the standard Work Order change transaction IW32.
    Cheers, Mark

    Hi
    I m not sure about functionality though but you can create delta by using FM...
    Search SDN and you will get doc for that..
    Regards
    Guarav
    Assign points if it helps

  • External Mailing with DIR status change

    Hi SAP gurus
    we have a particular senario,
    where in DIR of Particular Document types at reaching a particular document status, a mail has to sent to the concerned relevent authorities for corrections and Approval.
    (as and when the status changes to be mailed personalities also Changes)
    how can this be achived if the mail has to be sent to there company or external Mailing IDs apart from SAP mail.
    Can this  be done using Document Distribution?
    what is the Work  flow activities involved (if required) for enabling this functions,
    Thanks in Advance
    Kumar K

    hi kumar,
    you can do it by doc distribution and activating some standerd task. and for mailing to extenal mail id , you have to activate SMTP, by tcode SCOT
    but according to your requirement , you should consult to workflow consultent.
    regards,
    nitin
    award point if useful

  • Problem with multiple delivery items status

    Hi Experts,
    Printing of the packing list is trigered when the header packing status is "C" of the Outbound delivery.
    But when the OBD has multiple line items, the status of the header packing status is "C" when
    One line item is compleately packed and packing of other line items is not started.When the second line item
    packing is started (partial packing) the header status changes to "B",this will be "B" till completion of the
    secon line item once the second line item packing is completed again the Header status is changing to "C"
    because of which we are getting multiple printouts of the packing.
    Can anyone help us how to get one print out packing list after packing all line items of the deliver.
    HEADING: mULTIPLE PRINT OUTS FOR PACKING LIST OF THE DELIVERY

    Hi Justin,
    At first, when I would 'Find Devices' under my connected target, I would get a prompt asking to name the FieldPoint item (default being something like [email protected]). This occured for the first three or four seperate cFP-2010's : I would end up with a unique 'FieldPoint' Items folder for each individual target. However in some instances, when I would 'Find Devices', it would immediately bring cursor focus back to a previously linked 'FieldPoint Item', from another/previous cFP-2010.
    I use the verbage 'linked', because when I do a 'Go To Comm Resources Configuration' or 'Go to Items Configuration', it would go to/from DataNeighborhood/Remote Systems.
    How does MAX link the Item Configuration to a Comm Resource? Is it a unique ID within the target?
    V/R,
    Jamie
    v2009 devel. w/RT

Maybe you are looking for