Delivery Block at PGI level based on GI date and Month end date

Business need a check on delivery processing based on the Planned GI date, Month end date and transit period. This transit period is a custom field and dependent on customer. Also it is not maintained anywhere in system. Business store it in some excel format.
The logic needed is: For any given month, the delivery order MUST be goods issued in the same month, i.e. once the order is delivered, the Post goods issue should ONLY be allowed if and only if , the PLANNED GI date ( as maintained in delivery ) + transit time ( at customer level ), falls within the month end date. If not, a block should be applied at PGI and only authorized personnel should be able to release that block.
Also, there will be no check at invoicing VF01 level. Once the PGI blocked is removed, there will be no check on invoicing. The month end date may vary month to month and need to in combination of Sales Org / Plant as mentioned
In addition, the business need an exception report where the information of releasing the block should appear for release date, user id of the responsible person, time sales order no etc. and it should be downloadable.
We can have a custom table to maintain the month end day in given combination.
But I need your expert inputs as-
1-     Can we add this transit period in at customer master data as it is dependent on customer and there are huge no of customers for the sales unit? If not, then how to maintain it; may be a z table?
2-     Based on this logic, what should the code/logic to be written for block at PGI.
3-     How to control the authority check for removing the block.
4-     The source fields for exception report.
Pls revert accordingly.
Many thanks in advance.

Hello,
Please refere the answers to your questions:
1- Can we add this transit period in at customer master data as it is dependent on customer and there are huge no of customers for the sales unit? If not, then how to maintain it; may be a z table?
You can either use some un-used Feild in Customer Master or maintain a Z-Table. I believe maintaining a Z-Table would be easy as you have huge number of Customers. You can also write a dmall program to Pick the Customer-wise transit dates from a excel file & store in Z-Table.
2- Based on this logic, what should the code/logic to be written for block at PGI.
You have explained the requirement well in your thread, you need to explain the same to your ABAPer & Basis person & they would do the needful.
3- How to control the authority check for removing the block.
Basis person would create & assign a Z-Authorization object which the ABAPer would use in his program.
4- The source fields for exception report.
Once you do the above development, your ABAPer will easily pick the required feild in Report as he has already used all the feilds somewhere in his development.
Hope this helps,
Thanks,
Jignesh Mehta

Similar Messages

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

  • Delivery block on item level in ERP when document is changed in CRM

    Hi,
    we have integration order management from CRM replicated to ECC 6.
    each time we change the document in CRM, the item in ECC then will have delivery block.
    even the header delivery block is removed, the item will remain block for delivery.
    unless we manually remove the delivery block on item level for each item.
    what we'd like to have is standard delivery block on header level.
    any advice is really appreciated.
    JD
    Edited by: Jushan Djuwardi on Jun 13, 2008 4:13 AM

    Hello,
    I have tried to add a header delivery block in CRM GUI, or CRM Webclient,
    but didn't find the required field.
    Also, I have tried to set a header delivery block via a BADI implementation, but it cant be set.
    Does anyone knows if there is a possibilite for setting CRM header delivery block?
    The item delivery block can be set manually or via a BADI Implementation.
    Best Regards
    Jesus Padilla

  • DELIVERY BLOCK AT HEADER LEVEL FOR ORDERS VIA EDI...

    Hi Experts,
    I have got a situation, My client gets an EDI inbound sales orders from Canada, for those orders he faces delivery block at header level..which they dont want...
    Can someone please guide me exactly where he receives those orders, how he processes it, and whats the background configuration for bloking those orders...how to start the checking  the settings
    Thanks & Regards,
    Srikanth.R

    Hi,
    Get the posted Sales order number # via EDI ie We02. Now got to VA03 and input that sales order.When the sales order is opened.
    Now from the Menu  -->Go to >header>Sales .Note down the order type.
    Now go to the Transaction code:VOV8 for the order type check whether the delivery block is maintained.
    Regards,

  • How to auto reset delivery block in item level in sales order

    hi i have one scenario. After creation of sales order it needs to be approved through work flow at item level so that without approval no delivery can be made. We have blocked the items in sales order now we want after approval the blocked status should be auto reset from block to free. how to do it.

    Hi,
    How is the approval taking place? Is it through work flow? If yes, You can write code for BDC or BAPI for removing the block after the approval step.
    If it is manual approval, then you can write a program with BDC/BAPI for removing the block with input as sales order number.
    Ask the approver to run this program after the approval.
    Thanks,
    Vinod.

  • Delivery block at header and item level

    Experts,
    I need the ECC table and field name which can give me delivery block at item level. I know that VBUP only gives status of delivery block.
    Thanks
    Lisa

    Dear Lisa,
    In which tab you are maintaining delivery block in the delivery item data or order item data.
    As per my concern there is no field called Delivery Block in the item data of the sales order and delivery.
    In the header data you have.
    I hope it will help you,
    Regards,
    Murali.

  • 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

  • Delivery block in the schedule lines.

    Hi,
    Mine is a MTO scenario. I am using planning strategy 50. So a planned order ---> production order will be created against MRP run  against each sales order.
    When i am placing a delivery block at the header the system is working fine. Its deleting the planned order(converted production order).
    when I am placing a delivery block at the schedulle line its not working fine. its not deleting the underlined planned order or production order.
    what configuration should I do to make this work.......

    Hi,
    Look at the help (press F1) on  the field confirmation block at SPRO-> Sales and Distribution ->Basic functions ->Availability check and Transfer of Requirements ->Tranfer of Requirements -> Block quantity confirmation in delivery blocks ->Reasons for and Scope of Delivery Blocks: Transfer of Req. blocks.
    It looks applying delivery block at schdule line level will not delete the passed requirements. This is standard SAP behavior. If you want to change this nature, then you may need to use an User-exit.
    Following is description given for the field confirmation block;
    Confirmation block
    Indicates whether the system, in addition to blocking delivery, also blocks the confirmation of order quantities after an availability check during sales order processing.
    Example
    You may want to block confirmation of sales orders where the creditworthiness of the customer is in question. In this case, you set the confirmation block for the delivery block that relates to credit problems. During sales order entry, when you enter a delivery block because of credit problems, the system, after you save the order, does not confirm any quantities for delivery. In this way, the goods remain available for other customers.
    Note
    If, before you save a sales order, you look at the schedule line overview, you can see what the system would confirm, if the block were not set. However, as soon as you save the sales order, the confirmed quantities are automatically reset to zero.
    Dependencies
    If you enter the delivery block at header level, the system transfers the desired delivery quantity for all schedule lines in the requirement. The confirmed quantity is deleted. This function is not available when you enter the delivery block at schedule line level.
    Regards

  • EXIT_SAPLVEDA_001 : Delivery block at line item : Error - No LIFSP field

    Hello EDI Experts,
    I have a problem.
    I am trying to place a delivery block @ line item level. (VBEP-LIFSP)
    I am using the structure dxvbep.
    But it's giving me an error say
    the object zxvbep does not have any component "LIFSP"
    How should I place a delivery block @ line item level.
    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

  • Mass delivery block in the sales order

    Hi
    Is there any way to remove the delivery block at the itel level in the sales order using the mass.
    I have some thousand of sales orders with the delivery block at item level.
    please let me know, this is urgent requirement.
    Thanks
    Aravalli

    Dear Aravali
    If I am correct, you cannot assign delivery block in sale order at item level, but can assign Reason for Rejection at item level.  Only at header level, delivery block is there.
    Nevertheless, if you want to remove the reason for rejection, go to MASS, input BUS2032 and execute.  There select [Sales Order Item Data]  and click on Fields. Select the field MASSVBAP-ABGRU and execute.  Give the required sale orders which you wanted to change and execute.  You can change and save so that the block will be removed at item level.
    Alternatively, if you are referring to field [LIFSK]  in that case also, select Sales Order Item Data and click on Fields.  There choose the field MASSSDHEAD_S-LIFSK and execute.  Make the required changes and execute.
    thanks
    G. Lakshmipathi

  • Automated Custom Delivery Block on Sales Order Header

    Hi Experts,
    Please advise how to add Custom Delivery Block and assign to Header Level Configuration (take note configuration). Please, I know the table TVLSP and TVLS but I don't know how to modify them. I know also how to develop and assign the value to User-Exit. However, the existing Delivery Blocks are not approriate so I need to create a new Delivery Block (as maintained in TVLS). And also it is not possible to change only VBAK-LIFSK in user-exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT_PREPARE) as written in SAP quote:
    "The delivery block at header level is only effective if this block is assigned to the corresponding delivery type in the Customzing table (TVLSP). Regardless of the settings in Customizing, the delivery block is always effective at schedule line level."
    Please advise if this is possible to configure.
    Thanks a lot for your answers!
    Edited by: Cecilio Cruz II on Jan 10, 2011 10:32 AM

    Hi,
    You can try creating the block in SPRO >> Logistics Execution >> Shipping >> Deliveries >> Define reasons for Blocking in Shipping >> deliveries : Blocking reasons / Criteria
    and Delivery Blocks.
    In the first one, you create your delivery blocks and in the second you assign them to deliveries. They are created in table TVLSP.
    Hope this helps
    Regards,
    Mukund S

  • Delivery block in Sales document type

    Hi All,
    Can you please explain the usage of the delivery block field available in Sales document type customization under the Scheduling Agreement Tab with an example.
    Please let me know on where the "tolerance" described in the F1 help is defined or controlled?
    Thanks & Regards
    ilango

    Hi Ilango,
    I could not find the "tolerance" described by you. Please read:
    Delivery block (document header)
    Indicates if an entire sales document (a sales order, for example) is blocked for delivery.
    Procedure
    The system can propose the delivery block indicator according to sales document type. You can also enter a block manually in the header. A block in the header applies to the entire document. If you want to block one or more specific items, you can enter the block at item level.
    The delivery block at header level is only effective if this block is assigned to the corresponding delivery type in the Customzing table (TVLSP). Regardless of the settings in Customizing, the delivery block is always effective at schedule line level.
    Example
    You can block delivery automatically for certain sales document types (for example, free of charge deliveries) where it is important that someone checks the details before shipping takes place.
    Dependencies
    If you use a credit limit check, the system can automatically block delivery. You can change this block. However, as soon as you change any of the values in the sales document, the system automatically reapplies the delivery block.
    So, in abstract, the whole document will be blocked, depending of this customization.
    Regards
    Ruy Castro

  • Stock confirmed inspite of "Delivery block"

    Hi,
    User has manually set the delivery block at schedule line in the sale order.
    But still the stock gets confirmed to that sales order.
    Desired result is - for SO's with delivery block, no stock should be confirmed so that that stock can be used for the other customers.
    Tried using the "conf. block" in config in Sales -> Basic functions -> Availability chk -> Transfer of reqt -> Qty block -> Scope.
    Any clue ?

    Hi Jeff,
    You are correct. SAP documentation also says the same thing. Below is the note from SAP Help.
    Dependencies:
    'If you enter the delivery block at header level, the system transfers the desired delivery quantity for all schedule lines in the requirement. The confirmed quantity is deleted. This function is not available when you enter the delivery block at schedule line level.'.
    So the delivery block at Schedule line level will not work the way we want it to work.
    So to achieve the functionality of blocking quantity confirmation at item level/schedule line level, we will have to depend on something else.
    If user is allowed to change schedule line category manually, that is a good option. Configure two different schedule line categories, one with transfer of requirements and ATP check, another one without these.
    Another option is using 'reason for rejection' code at item level. But not sure it may conflict with some other business requirements.
    Regards
    Anil

  • OBIEE 11g level based hierarchy

    Hi everyone,
    here is my problem in brief
    I made a level based hierarchy for Products, and I need to show the product name beside the product code in the last level in the hierarchy, the steps i made to reach this is as follows:
    1- making the name and the code columns keys in the last level (in business model).
    2- making the name and the code as display columns (in presentation).
    what happens when i do this it shows only one of them depends on the order in the "display column" area
    My OBIEE version is 11.1.1.6
    is it a bug or something ?
    thanks a lot in advance.

    guys I found a work around for this problem, I made a logical column and i used the this expression:
    "ALM"."Dim Product"."LEVEL_16_NAME" || ' - ' || "ALM"."Dim Product"."LEVEL_16_CODE" , these two columns contains the desc. and the code for the product
    and then I made this column as a key and in the display columns.
    it works as i want but still considered a work around.
    thanks anyway :)

  • 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

Maybe you are looking for

  • HTML content in JEditroPane

    Object o = messages[msgno].getContent(); if(o!=null){       if (o instanceof String) {            txtcontent.setText((String)o);       } else if (o instanceof Multipart) {            System.out.println("This is a Multipart");            Multipart mp

  • Standard iview and custom iview

    Hi, Have any one tried developing a custome MDM iview which displays the record details on click of a record in standard Result Set iview? There is a section in portal content development guide called "Configuring Data Exchange (Eventing)" which deal

  • Left shift key just fell off

    Hello, My left shift key (Dutch keyboard, small shift key) fell of and I cannot get in back. It keeps falling of. It looks like a small pin at the back of the key broke... strange. Can you tell me how to get an new one? My apple will only order a com

  • HT4059 Can I change my email address in iBooks

    Can I change my email address in iBooks?

  • Error during idoc creation through program?

    hi, I hav created a idoc through program it gives status 26.can anyone tell me wat's wrong & how to get status 03?? Plz reply fast I hav to submit this program today only. Rewards will be given to good answer. regards, hemlata