Remove Delivery Block - ORDCHG - INBOUND

Hi,
I'm trying to remove the delivery block set in sales order ( vbak-lifsk ) using the inbound ORDCHG message idoc.
i'm populating E1EDK01-LIFSK = ''. This doesnt remove delivery block from the order. ( if we try to set delivery block E1EDK01-LIFSK = '01', it's coming through fine in the order ). when i debugged the FM IDOC_INPUT_ORDCHG, sap is populating the screen only if E1EDK01-LIFSK is NE space.
Does this have to be handled in different way or in user-exit? Your inputs are highly appreciated.
Thanks,
Arun

Naren,
EXIT_SAPLVEDA_002 is triggered during ORDERS message. I'm changing the already created order using ORDCHG message type. In this case, i have to use EXIT_SAPLVEDB_002 to populate the BDC screens.
I'm wondering why SAP standard segment field E1EDK01-LIFSK is not used for removing the delivery block as its for setting the block.
If the standard segments are not working out, then i have to use  EXIT_SAPLVEDB_002 to populate the dynpros for delivery block field.
Thanks for your input.
Arun.

Similar Messages

  • Schedule Background Job :  Remove delivery Block in Sales order

    Hi Gurus,
    I have a requirement to select all sales orders as per a condition and remove delivery block at
    VA02-> Go to -> Header -> Status
    For that I have to write a program which will be run only in background and i have to schedule background job for the same.
    I have a parameter at selection - No of records
    If no of records = 500 , I have to submit 500 jobs ie one job each for each sales order for removing delivery block.
    I need to know
    1) Which function module/bapi I can use to remove delivery block at sales order header level.
        For blocked delivery the status is 'BSTK" . to remove block i need to change status to "RSTK".
    2) How to schedule a background job for my program and how to submit one job each for each sales   order.
    Regards
    Avi.

    Hi Avi,
    Would like to seek for your advice. I am facing the same scenario too which is to delete the delivery block but is deletion of the delivery block is done in the user exit MV45AFZZ. The subroutine which needs to have the extra logic of deleting the delivery block is USEREXIT_SAVE_DOCUMENT_PREPARE.
    Need your advice on how do you solve this scenario? Thanks in advance.

  • Update delivery block on inbound Orders IDoc

    Hi Folks,
    I am using the following to code to place delivery block.
          zvbak-lifsk = zblock. "ZZ
          MOVE: 'X' TO z_d_flag_k-kde2.
          dxvbak = zvbak.
    But some how my code is not placing delivery block on the sales order.
    Can you guys tell me what am i doing wrong here??
    Thanks,
    Matt
    Edited by: Creasy Matthew on Jul 29, 2009 4:19 PM

    Hi,
    Could you please tell me the IDoc type and Inbound Function Module u are using.
    is it ORDERS05 and  IDOC_INPUT_ORDERS

  • How to delete or remove delivery block in VL01N using userexit?

    Hi All,
    Would like to seek your advice on the above mention subject. There is a scenario where during the creation of sales order (VA01) and the order type is Sample Order (ZSA). The delivery block for the customer has the status '05: Check Free of charge delivery'.
    After creation of sales order, i would like to create a delivery via (VL01N) with reference to the sample sales order that i have creation as mention above. It does not allow me to create and after i hit enter, a display log prompt out with the message text: Order blocked for delivery as a result of credit check.
    Question:
    1. How to set the delivery block to blank or delete the delivery block via user exit during the creation of delivery (VL01N)?
    2. Which form should i use in user exit: MV50AFZ1, is it FORM USEREXIT_SAVE_DOCUMENT or FORM 
        USEREXIT_SAVE_DOCUMENT_PREPARE?
    Steps Taken:
    1. User exit found is MV50AFZ1.
    Appreciate your advice a lot. Thanks in advance..:)

    Hi,
    i would suggest you to read these links first.
    [http://help.sap.com/saphelp_46c/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]
    [http://help.sap.com/saphelp_crm40/helpdata/en/dd/5607b3545a11d1a7020000e829fd11/content.htm]
    this will you an idea of delivery block.
    at delivery level LIKP-LIFSK field stores the delivery block value. in your case it will be 05. 90 is total block i believe.
    so in your case, in user exit check for value in this field and if its 05, make your changes.  be careful when you make this change;  any batch jobs running at background can also get affected and start creating deliveries although it is suppose to have a delivery block.
    Thanks,
    Sam.

  • Credit Release thru VKM3 remove the schedule line delivery block ...

    HI Gurus,
    I have created the sales order with the delivery block at the schedule line. i have save the order . The order goes to the credit block . So when i release credit block with the help of VKM3 then system also removes the schedule line level block.
    This is not std behaviour . Can any one come across such scenario ?
    Details: I have removed the routine 101 in the OVB8 so that if order goes to credit block still order will have the confirm qty.
    Also in the OVAK order type is mark D for automatic credit check.
    Thanks in advance

    Hi ,
    I have checked the sales order thru the program but we are not using any user exit for the same.
    Now i have found that if the qty is confirm on the first date i mean on the date given then system does not remove the block & if the ATP check suggest the diff date so there are two schedule line in this case block get removed ..
    May be this is like after credit removes system must be running the ATP check again ..
    Please help

  • Removing of Delivery block in Sales Order using Authorization

    Hello,
    I have a urgent requirement on removing a Delivery block using authorization.
    The object V_VBAK_AAT is assigned to me and the ACTVT : 43 is permitted so I can release the block.
    As this was  not working I have created my own object with values ACTVT as 01, 02 , 43 and LIFSK : 1-10,11,12-99 .
    I am trying to remove the block from VA14L from VA14L I select my order with respect to delivery block and it navigates to VA02.
    From VA02 I am trying to remove the block.
    As this requirement may be simple but it is blocking my development.
    Thanks.

    Please correct whether I understood your issue correctly or not.
    You have developed the program only to put delivery block to Sales Order. This block should be approved by Authorized people for allowing the users to create delivery else Sales order delivery should not be possible. Is that program has any other additional functionality other than setting Delivery block??
    To keep delivery impossible till the Authorized person approves Sales order, you have the option of User Status. Process for creation of User Status for your requirement
    Create User Status Profile in OIBS
    Keep BLCK (Blocked for Delivery) & APPR (Approved for Delivery) as 2 statuses (No. of status can be as per your requirement. Here, simply I have 2 statuses)
    Assign Object types as "Sales Order Header" (if you want the Authorized people to approve at header level) or "Sales Order Item" (if you want the Authorized people to approve at Item level, may be for partial delivery)
    Keep BLCK as Initial status & Double click on BLCK status & click New entries on "Business transactions"
    There are many Business transactions such as "Create Delivery" / "Create Goods Issue for delivery". As per your requirement, select Forbidden option in one of the above mentioned business transaction
    Create Authorization Key in BS52 for Authorized People, say, as MNGR (Manager)
    Assign that Authorization Key to APPR user status in User status profile
    Using PFCG, you can create separate role by assigning this Authorization key
    This can be different kind of solution from your way. For reference, you can refer below document. Document content points some other space & transaction. But you can relate to above steps mentioned.
    User Status in SAP

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • How to determine that the Delivery Block in SO is removed manually

    Hi,
    Is there any way to determine if the delivery block is removed manually? Because initially on VA01 we are defaulting the delivery block. Then in VA02, if the user removed the delivery block then save, then goes back to VA02 again, in this, I need to determine that the delivery block was removed manullay.
    Regards,
    Mawi

    Hi,
    You can check out in environment->changes ..you can determine the manual changes made to the order...
    Thanks,
    Shailaja Ainala.

  • Mass Removal of Delivery Block

    Hi All,
    We get EDI orders with a Delivery block on them and the user has to go to each order and remove the block manually for further processing.
    Is there a way to remove the block on all or a selected few orders at one time or through one transaction, instead of going to each order. Or is there a way to develop some program to do this?
    I've done some research and can't find any such transaction, please tell me if you have any suggestions.
    Thanks,
    Shashi.

    Shashi,
    You can update the delivery block for a group of sales order using t-code MASS
    Select Object Type BUS2032.
    Thanks,
    Chandan

  • ORDCHG message to remove billing block

    Hi,
    Does anybody know if there is a way to use the std ordchg message to remove a billing block from a sales order automatically? Does any appropriate message/FM exist or would this be bespoke development.
    Many Thanks
    Caroline

    Hi,
    Please try user exits EXIT_SAPLVEDB_009 (used in FM IDOC_INPUT_ORDCHG) to remove billing block values for fields DXVBAK-FAKSK (header) and DXVBAP-FAKSP (item).
    Regards,
    Ferry Lianto

  • Authorization check for Removing of Delivery block in Sales Order

    Hi,
    I want to have an authorization check for the person removing the delivery block in the Sales Order.
    By Default all Sales Orders will have a delivery block. I want to ensure that the user does not have the authorization to Remove the Delivery block.He should be able to choose any reason in the Delivery block if required.
    Only the user which has the authorization to remove the delivery block should be able to do so.
    I have checked that the Delivery block field does not have an Auth Object.
    I want to enable delivery block removal for some users and restrict the same for others.
    Please Advise

    Hi,
    In object V_VBAK_AAT you can find the activity 43 that is meant for authorisation, that should be removed for the users who are not supposed to release the sales order for any blocks.
    Try that it will work.
    Regards,
    Mann.

  • Removal of Delivery Block

    Hi,
    In my Delivery, I am getting a delivery block with the text as "A5 Sch Line Date Issue".
    This comes because the stock is not avaliable at Requested Delivery date.Henceforth we get 2 schedule lines with confirmed quantities in the second one.
    The problem is that I am unable to unblock this delivery.Please let me know how shall I proceed?

    Hi there,
    Looks like there is a customized process to remove the delivery block. Also it could be that delivery block will be automatically removed when the items are due for delivery. That is delivery block is removed on the schedule line date (which is in the 2nd line item against which there is confirmed quantity).
    Some companies use this sothat deliveries are not created ahead of schedule.
    Also not many companies give authorization to all to remove the block manually.
    Try checking in sales order create include MV45AFZZ & delivery creation SAPMV50A include to see if there is any customized code.
    Regards,
    Sivanand
    Regards,
    Sivanand

  • 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

  • Delivery Block being Removed in Sales Order

    Hello,
             While Creating a Sales Order, the moment we enter the Sales Order Entry initial Screen, the Delivery block is being set to a Default Value. However, when I enter the Sold-To,Ship-To, Material, Quantity & Plant and press enter, it disappears. But the Functional Requirement is that it should remain the same even after pressing enter. Can some one give me an idea as to how to achieve it?
    Thanks and Regards,
    Venkata Phani Prasad Konduri

    Hello,
            In fact there are no Checks / Validations in any of the User-Exits for Sales Order. I think it has something to do with Config which is setting the Delivery Block automatically for some of the Order Types and I want to know which would be the appropriate place to restore the Delivery Block after the Enter is pressed. Is there a BADI for Sales Order? Or do I need to do the check in USER_EXIT_MOVE_FIELD_TO_VBAK? Please let me know.
    Thanks and Regards,
    Venkata Phani Prasad Konduri

  • FIRST DELIVERY DATE AND DELIVERY BLOCK REMOVER IN SALES ORDER.

    Hi All,
    sales order created in SAP-CRM . after sales order replicated in ECC system at that time first delivery date comes blank in each line item after that first delivery date update in each line item when ever first delivery date updated in ECC at that time i want  to disable delivery block for that line item. for this which user exit i need to use and where i need to write  the code. im thinkin user exit is mv45afzz. if it is correct where i need to write the code.
    thanks& regard
    sakthidharan

    Hello,
    Use enhancement userexit_field_modification in include MV45AFZZ for delivery block LIFSK in VBAK Table.
    below is the sample code for it.
    if (write specific condition)
    vbak-lifsk = '1' to '9'.
    else.
    vbak-lifsk = ' ' .
    endif.

Maybe you are looking for

  • How can you select which pictures to upload from camera? plus facebook ?

    Is there any way to select which pictures from your digital camera you would like to upload on to iphoto? Or is the only way to upload all of the pictures on your camera? I have 214 pictures on my camera and 210 of them are already in iphoto...i only

  • My ipad won't charge with the usb cable

    I took my Ipad on vacation with only my usb cable, expecting to charge off another computer. No charge! Since then I have tried several other cables, no luck. Is my Ipad problematic?

  • Problem with Logic/external HardDisk - NEED HELP!

    Hi Everybody I've got a big problem with my Logic Projects. I am recording Songs with my band and it's all 24bit, 96 KHz. With more than about 20 Tracks playing simultaneously, Logic shows an error that the disk is too slow. For all the Audio stuff,

  • Creation of JCO  Connection vizards

    any body help me on hw to create JCO connection plz tell me details [email protected]

  • TR processing through LB10

    Hi all, Something really strange is happening, after GR of a production order with migo 101 material is posted to 901 storage type, then a TR is created, while processing the TO in the background the problem comes, in all cases I get the TO, but for