Sales document delivery block histroy report

Hi SD Gurus,
I am running a report for particular sales org. for specified date range and with SO created date. After executing the report i see a field called "No. of days", which is calculated based on "DATE BLOCK History removed" minus  "DATE BLOCK History added". The no. of days field is displaying negative numbers for some lines in the report. I could see that DATE BLOCK History removed field is smaller than block added date. I am thinking that it should not be possible since to remove the block you need to add th block in first place. Please give your thoughts as how should i fix this problem. Thanks a lot in advance.
Best Wishes
Raji

Hi
Raji...
Please chceck the date block history date is there for that items? or is anybody has changed the date of ablock addted after removing the block??
If yes then ask yr ABAPer to chnage the logic as once block is removed it can not allow to modify the date of added block. ( if not SAP T.code).
Hope this will help you.
Thx

Similar Messages

  • Sales Document: Delivery: POD Data

    Hi gurus,
    I have to extract data from Sales Document: Delivery: which is on POD(Proof of delivery).Datain R/3 is stored in TVPOD table, i searched for the extractor for this but i could not find. Can anyone please tell what is the data source for TVPOD table.
    Thanks in advance.
    Ananth

    Hi Ananth,
    Refer this link on IS-OIL.
    http://help.sap.com/saphelp_nw04/helpdata/en/91/ede53782e8da23e10000009b38f889/frameset.htm
    Bye
    Dinesh
    (Do not forget to assign points!!)

  • 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

  • Sales document & Delivery configuration.

    Hi All,
            I am new to the SAP community. We have a sales order type configured to go in a delivery block when created. When this block is removed we want the delivery to be created. Every thing works. I have a new requirement, The delivery should be created even if there is a credit block. The sales order type is configured to check for credit limit ('D'). My question is can a delivery be created when there is a credit block in SO (with out releasing the doc. for credit).
           Originally a suggestion was made to create a new delivery type add attached to this sales order type. This is not working. Please advice.
    thanks
    Syed.

    hi,
    you can control this in OVA8,
    select your Credit control area + risk category + credit group
    maintain A (or) C instead of B (or) D in reaction field for your static/dynamic settings
    this will give only the warning message instead of error message, this will not block the sales order 
    regards
    senya

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

  • 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 Document Type blocked for customer

    Good afternoon!
    Is there anyway I could block a sales doc type for a particular customer?
    Adriano Cardoso

    Hi,
    If you want to block for all sales order types for a customer, then you can do it using T.code VD05.
    If you want to block only one sales order type (rest must allowed), then you need to use user-exit USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ.
    Regards,

  • Number of times sales order./delivery blocked

    Hi,
    Do we have a report which gives details about number of times sales order/delivery blocked because of credit management.
    Or there is any work around for getting the same?
    I request you to kindly suggest your valuable inputs.
    Regards,
    Phani Prasad.

    Hi Balaji,
    Thanks for your reply.Please find the below example.
    Customer A was blocked for credit limit on 01.01.2011 and subsequently released using VKM3.
    Again the same customer was blocked on 02.01.2011 and once again released.
    How do I know the number of times Customer A was blocked and released for a given period.(2 times in the above example for that period).
    Please explain.
    Regards,
    Phani Prasad.

  • Delivery block at item level in sales order,Qty should not be confirmed

    Dear all
    We have a below requirment
    We will have multiple line items in sales order and put delivery block at item level.If delivery block is put at item level it should not confirm the qty and pass on to MRP
    But if we put at header level delivery block,schedule line qty at item level are not getting confirmed.So requirements are not passed to MRP-This is correct .Working as per SAP standard configuration.
    Can you tell how to activate the same for item level delivery block.if same delivery block is put at item level,it is confirming the quantity.But we don't want confirmation of qty to happen.
    Can you give us solution
    Regards
    Sudha

    We had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
    Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
    Check the  customizing OVZ8: if the flag  Transfer of Requirement
    Transfer of requirements of the requirement class should be ON.
    In the sales order the requirement type is determined by the combination sales order item + MRP type.
    Refer SAP Help URL below
    [Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]

  • Change Sales Order, Delivery, Billings Reports

    Hi Gurus,
    Can any body please tell me is there any Report for change logs of Change Sales Order, Delivery,
    Billings & Change report of Customer & Material,
    Regards,
    Sai

    Hi,
    There are no standard reports to display the changes made in the Sales orders and the details you had asked.
    But for the latest changes you can check in the Table :Header details for change CDHDR and for Item details CDPOS
    Or Based on your requirement you can go for a Customized Report
    rgds
    psk

  • Delivery block  Z3 automatically coming in delivery

    Hi All
    Please suggest me on the below issue,
    Scenario:Sales order is created then the sales document is blocked for credit check.After releasing the document delivery document is created.After saving the delivery document automatically delivery block is coming in delivery header adminisatration data that is Z3-Confirm Price.
    But we are not entering any delivery block any where.This delivery block is coming automatically in delivery.This block is coming for a particular customer,But there is no blocking for that customer in VD 05.Is there any other setting for blocking particular customer.
    Please revert back with some solution.
    Thank you
    Goutam

    Hi,
    Its something like custom message not a standard message, please check is there any block at item level or header level or is anybody written any code based on one of key in customer master before PGI check the price of sales order.
    Hope check in any sales order, delivery exits about anybody done code.
    If it helps give rewards
    rgds
    gautam

  • Sales -Excise & Delivery

    hi! All
    I need to Fetch the Excise Invoice Document from Sales Document and Delivery Document from Sales Document. i followed VBAP-VBELN --> VBRP-AUBEL --> fetch VBRP-VBELN --> pass to J_1iexchdr-RDOC --> fetch EXNUM
    VBAP-VBELN >VBRP-AUBEL>fetch VBRp-VGBEL --> pass to  LIKP-VBELn --> Fetch Delivery Date.
    but as the Sale Order is not the Key field in VBRP report is getting slow while fetching VBRP select Statement.
    Is there any other table which links Sales Document - Excise Document & Sales Document - Delivery Documet.
    Thanks and Regards,
    Kv

    Dear Chandra
    For updation of excise related sales returns, run T.Code J1IH and do the following:-
    Customer Credit
    Choose the Additional excise  input the original excise invoice reference, document year, company code, plant and excise group and execute. There input manually what value you need to give credit and save.
    Cenvat Debit
    Choose Other Adjustment  and here also, maintain the datas whatever you input as above and save.
    thanks
    G. Lakshmipathi

Maybe you are looking for