Sales order - Delivery Block

Hello all.
I am creating a sales order using the bapi BAPI_SALESORDER_CREATEFROMDAT2.
The problem is that is the client has a delivery block i want to remove it from the sales order so i can deliver.
How can i do this?
Thanks in advance
Nuno Silva

The easiest way would be to go to VA02 transaction and clear the 'Delivery Block' field (it's a header-level field, see Sales tab). If you have to do it programmatically, use BAPI_SALESORDER_CHANGE and change the field ORDER_HEADER_IN-DLV_BLOCK. (Do a search by BAPI name if you need an example, there should be plenty.)
It is OK for testing but please keep in mind that there could be a reason for the delivery block, so it shouldn't be removed at whim in production.

Similar Messages

  • Change sales order delivery block

    Dear Friends
    I need to change a sales order delivery block VBAK-LIFSK.
    I am providing the new LIFSK in the selection screen. From my analysis I have to use FM: BAPI_SALESORDER_CHANGE.
    Please tell me what values I should pass to this FM to change my sales orders as above.
    If there is any other FM please suggest that.

    set the field DLV_BLOCK to delivery block needed.
    Regards,
    Raghavendra

  • How to update Sales Order Delivery Block while saving Delivery ?

    Hi,
    I have a requirement wherein i need to update sales order delivery block field(VBAK-LIFSK) while saving the delivery for the order.
    Also I need to remove this block while execution of  Backorder Rescheduling program SDV03V02 (Tcode : V_V2),
    Can anybody help me out in this?
    regards,
    Nitin

    HI,
    try using BAPI_SALESORDER_CHANGE
    pass ur vbeln in SALESDOCUMENT
    pass an 'X' to    BAPISDH1-DLV_BLOCK
    and 'X' to        BAPISDH1X-DLV_BLOCK
    Also add the UPDATE task clause, you will want to set the flag only when delivery is being saved, not before that.

  • SALES ORDER DELIVERY BLOCK REMOVAL ON DOWN PAYMENT

    Hi All,
    When cash is applied that clears down payment request billing, type ZFAZ, we want the order delivery block, ZB Wait for AdvPaym, to be cleared on the sales order.  We only want this to happen if the payment exactly matches the billing amount and only with this one delivery block reason.
    We want this to happen real time upon the down payment is made using F-28 transaction
    Can any one suggest how to accomplish this.
    thanks
    Vijay

    Although two years ago, could you maybe share your answers with the community?
    Regards,
    Niels

  • Function Module or BAPI to update Sales Order (delivery Block)

    Hi,
    Is there a Function Module or BAPI available that can update the Delivery Block for a looping Sales Order?
    Thanks,
    John

    Hi,
    check this sample code to update delivery block..
    DATA: BAPISDH1X LIKE BAPISDH1X.
    DATA: BAPISDH1 LIKE BAPISDH1.
    PARAMETERS: P_VBELN LIKE VBAK-VBELN OBLIGATORY.
    PARAMETERS: P_LIFSK  LIKE VBAK-LIFSK OBLIGATORY.
    * Header
    BAPISDH1-DLV_BLOCK = p_lifsk.   " Delivery block
    * header X
    BAPISDH1X-DLV_BLOCK = 'X'.   " Delivery block
    BAPISDH1X-UPDATEFLAG = 'U'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = P_VBELN
    order_header_in   = BAPISDH1
    order_header_inx = BAPISDH1X
    tables
    return = T_RETURN
    LOOP AT T_RETURN WHERE TYPE = 'E' OR TYPE = 'A'.
      EXIT.
    ENDLOOP.
    * Check for error messages.
    IF SY-SUBRC = 0.
      WRITE: / 'Sales order not updated', T_RETURN-MESSAGE.
    ELSE.
    * Successfully updated
      WRITE: / 'Sales order updated'.
    ENDIF.
    COMMIT WORK.
    Thanks
    Naren

  • Condition for sales order delivery block

    Hi All,
    I am new to Workflow,
    I have created work flow  for Sales order changes, its works fine.
    but my requirement is after that it will check whether sales is block for delivery or not.
    if it is block then only it should send mail.
    Regards,
    Arpit

    Hi Arpit,
    1. Go to t-code SWO1.
    2. Click Settings -> Delegate.
    3. Delegate the BO YBUS2032 to the BO BUS2032.
    In workflow perform the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name BUS2032 (not YBUS2032), in Event of object enter the BO event.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Use the attribute that you created and make the start condition. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    Hope this helps!
    Regards,
    Saumya

  • Sales order is blocked for Delivery-ZH Cost estimate Req

    Hi experts,
    When I am saving the sales order I am getting the informative message standard cost estimate for material xxxx is missing. when i am creating delivery with reference to sales order  it is not allowing me to do delivery it is showing that Sales order is blocked for Delivery-ZH Cost estimate Req( in  a log). Can you pls let me know what configuration I have to check.
    Regards,
    Sunina Agarwal

    hello, friend.
    it looks like product costing has been activated in your environment.  if such is the case, you would have to coordinate with your FICO consultant, and they have to make the necessary standard cost estimates.
    please also check if the cost estimates are part of the incompletion procedures.  if it is, you would not be able to bill the transaction even if this is taken out of the incompleteness procedure.
    regards.

  • When sales order is Blocked (oldest of open items overdue) MRP run avoid

    We got a challenge with Client requirement regarding over due of payment terms
    1. Credit master records Customer Credit limit usage example 24.14%
    2. Customer Oldest open item is over due status
    3. Sales order created with the warning message Oldest Item overdue sales order will save this setting is in OVA8
    4. Even though sales order is created Credit master record Customer Credit limit usage  remain same 24.14% right
    5. Delivery will not happen because sales order is blocked.
    6. Exceptional case sales order will release for this customer 9500775
    7. Then Credit limit usage will update in Credit master record.
    8.After release in VK31 delivery will able  create with refernec to sales order.
    Here the challenge is after the sales order created in 3 step when you run the MRP planned order is creating. we want to avoid that till the sales order will release.

    There is Tick in Delivery block 01 Deliveries: Blocking Reasons/Criteria
    I have observed in testing Before you save a sales order, you look at the schedule line overview, you can see what the system would Proposed confirm date and confirmed qty, if the block were  not set. However, as soon as you save the sales order,(warring message Oldest open items over due will appear) the confirmed quantities are automatically reset to zero because sales order is Blocked. Here the goods remain available for other customers.
    Note : When you release the sales order the automatically in sales order confirmed qty and proposed date will come.
    Here the problem is  when they do MRP run after sales order saved with block Planned order is creating.

  • Sales Order Delivery Status

    Hi,
    How can we determine if the sales order delivery status is blocked? In table VBUP, is it ABSTK or LFSTK? In VA02 how can we make the sales order blocked for delivery?
    Regards,
    Mawi

    C its a delivery status, 
    check
    va03->GOTO->HEADER--->shipping ---> delivery block.
    or
    VBAK-LIFSK..
    regards
    Prabhu

  • Factory Calendar issue in creation of Sales Order/ Delivery Order

    Hi all,
    There is one issue. Our user is not able to create Sales Order/ delivery order as he is getting the below error message u201CDate 2010-12-27 lies after the end of Factory calendar F1u201D. But when I checked the plant in customization, the Factory calendar assigned is u201CKRu201D and not u201CF1u201D. So I donu2019t understand why this error message is appearing. But when I checked Factory calendar u201CF1u201D, it was valid only up to 2010 and there are special rules also set. Only few days in the year are working days. Factory Calendar u201CF1u201D description says u201CKOR customers billed on the 25th of every monthu201D
    Please advice.
    Regards,
    Brijesh

    Dear
    If F1 is the correct calander , then goto OP03-Calander Maintenece -select the Holoiday Caleneder  and extende the Valaidity till 2020 and also Select the Factory Calander  do the same till 2020 .Now Goback to main screen of OP03-Plant asisngement -re-assing the same F1 calaneder .
    Secondly check the factory calender of the plant in OX10.Then in SPRO > enterprise structure >Definition > logistic execution>define shipping point .Select you shipping point and assgin the proper factory calender
    .Goto OVX5 , choose your sales organization, click on details, Detailed information tab - Sales Org Calendar (maintain your factory calendar here not Sale Org Calander )
    .Check in VOV8, use the "Propose delivery date" and "Lead time in Days" options to default today's date as the requested delivery date.
    Refer : Public holiday dates issue
    Regards
    JH

  • Address not copied from Sales order/Delivery to Shipment Document

    Hello Experts,
    I need your help on Addrss of ship to in shipment document.
    Sales Order[VA01] >> Delivery [Vl01N]>> Shipment [VT01N].
    User changed the Address of ship to party (Header level) in Sales Order and It reflected to delivery as well and I believe It should also update the address in Shipment document.
    But when I checked the Address of the Customer/Unloading point in Shipment Document [VT03N] (as below) I found It was not updated It was same as Customer Master Record and I believe It directly copied from Customer Master Record.
    BUT While creating the Shipment system is copying the data from Customer master Record not from Sales Order /Delivery. Logically system should copy the updated address from Order/Delivery BUT It is directly copying from Customer Master i don't know where is the setting of this ??
    Can anybody help me on this ? How system takes the customer (ship to party) address in shipment ? Where are the setting of these.
    What I need to do so system take the updated address from Sales Order/Delivery not from Customer Master Record (Ship to party).
    Can I change the address of customer in shipment document ??
    Awaiting your precious reply.
    Thanks,

    Hello Samir,
    Thanks for your response.
    I think you get my question in wrong way.
    I am sayingCustomer master data was not changed.
    User just changed the Address in Order (Order > Header >> Partner tab >> Change ship to address/overwrite ship to address).
    Overwritten Address / Updated address are copying in Delivery BUT not in Shipment document.
    What I need to do?  system should copy the updated address from Sales Order/Delivery BUT it is copying from Ship to party.
    I hope this time i am clear to explain my issue.
    Thanks,

  • To release the sales order credit block by Customer Group

    Hi,
    1. I want to release the sales order credit block based on the Customer Group.
    Normally we release the credit block using the t.code VKM3.
    2. When i am maintaining the credit using the FD32, under the status screen of Credit control area Tab, the field "Credit Horizon Date", when i am creating the credit limit on 17/05/08, the system will take this field by default ie 16/07/08. I have maintained as 12 months in horizon ie OVA8.
    If any one could let me know, how the system is taking this date.
    Regards
    Ravishankar M

    Hi Ravi
    Sap default horizon time is 2 month,thats why systym is taking  two months time,so if you want to change this as 12 month you can go to
    OMO1 and select S66 then change it as month you want.
    Reward if it helps you
    thanks
    Utpal

  • Credit exposure updating even when the sales order is blocked

    Hi,
    We are using FSCM credit management. We observed that the credit exposure is updated even when the sales order is blocked. When we investigated it is found out that SD has removed the requirement 101 in the subsequent functions. The reason is they want the confirmed quantity to be updated even though the order is blocked. This will allow the Material Planning to go ahead and purchase the goods. Is there a way around it where we can have MM see the confirmed quantity in the order and it will not updated the credit exposure?
    Thanks and Regards
    Madhu Vutukuri

    Hi Sravan,
    Please let us know, whether the document is really getting reflected in the blocked documents list for a particular kind of block and you are releasing that particular block in the specified area as we have different areas for releasing blocks. Chances are that in the mean time, the concerned block might have been removed in the system and not updated as it might have been. It will be of great help, if you can provide us with the screenshots of the process followed.
    Regards,
    Aman

  • KPIs for SD:Sales Orders & Delivery

    Hi Experts,
    Could some one please help me out to find out different KPIs for SD : Sales Orders & Delivery.
    Am trying to create a BEx report for SD mofule using custom list of KPIs.
    Any source where i could find the KPIs for SD module.
    Thanks in advance.
    Best Regards,
    Krishna.

    Krishna,
    ???? There is no list of 'KPIs for SD module'.  KPIs differ for every company.  Perhaps you should first ask your business users what THEY think the KPIs should be.
    A few KPIs related to SD I have seen:
    Forecasted/Budgeted vs Actual - Bookings
    Forecasted/Budgeted vs Actual - Backlog
    Forecasted/Budgeted vs Actual - Billings
    Current backlog late to Requested date
    Current backlog late to Confirmed date
    Historical Requested vs Confirmed vs Actual (Shipment) date
    Historical/Current Pricing and Pricing trends
    Historical/Current Price vs cost
    ....but don't start work on ANY KPI until you get confirmation from your users that the KPIs have merit TO THEM.
    Best Regards,
    DB49

  • Populating the Partners from Sales document (Customer/Sales order/delivery)

    Hi All,
    Is there any way to Populate the Partners which are mantained in Sales document (Customer/Sales order/delivery) into Customer Quality notification (Q1)
    Presently only Sales to party and ship to party is getting populated when we create Q1 notification.
    Thanks in advance
    jay

    Explore :
    Quality notification>Notifcation creation->partner->Define partner fuction procedure->Assign Partner Functions to Notification Type--->
    Check here whether you can get here the partner function.

Maybe you are looking for

  • My sent mails from my iphone/ipad does not show up on my mac mail

    Everytime I send an email on my iphone using my gmail account the sent message does not show up on my macbook pro mail program. How do I syncronize all my email accounts.

  • Classic won't open in Tiger 10.4.6

    I purchased Tiger 10.4.6 from the Apple Store to fix another problem and installed it over 10.3.9. The first problem was solved, but now I can't open Classic. I've spent 4 days reading other posts related to this new problem with launching Classic, b

  • FaceTime fails

    Hi so I try to connect with my friends through FaceTime and whenever I do so the application starts and then immediately says FaceTime failed its the same problem with every friend ,and they all have the new generation iPod touch . I even tried remak

  • Hdmi to Thunderbolt input?

    Is it possible to use my RMBP as a display for my Xbox 360. I know the HDMI out port cannot be used but what about the Hdmi to thunderbolt adaper that you can buy? I would input the Xbox and plug the hdmi cable into the adapter and connect it to thun

  • PO cancellation in SUS derives to.... ? :-)

    Hi guys, Quick question for SRM Gurus and SUS people =) - What happens when the vendor cancels a PO in SUS ? I would like to know if the "canceled items" appear again in order to create another PO. In case of affirmative, Is XI mandatory for SUS righ