Batch splitting logic

Hi
I am required to add batch splitting logic in below code.
Any one tell me how to do this
PERFORM get_invoice_data.
  PERFORM filter_invoice_data.
FORM get_invoice_data.
    SELECT k~vkorg k~vbeln k~fkart k~vtweg k~fkdat  "CHOYT CHG#1589121
           k~waerk k~bzirk k~regio
           k~BSTNK_VF                                       "Mod-010++
           p~posnr p~vkgrp p~vkbur p~mvgr5 p~matnr
           p~arktx p~fkimg p~vrkme p~netwr p~mwsbp
           p~aubel p~vgbel p~vgtyp
           p~charg p~werks k~fkart
           k~xblnr
      INTO CORRESPONDING FIELDS OF TABLE t_vbrp
      FROM vbrk AS k INNER JOIN vbrp AS p
        ON k~vbeln = p~vbeln
     WHERE k~vkorg IN s_vkorg "<< MOD CHOYT CHG#1589121
       AND k~fkdat IN s_fkdat
       AND k~vtweg IN s_vtweg
       AND k~rfbsk = 'C'      " Accounting document has been created
       AND vkgrp IN s_vkgrp
       AND vkbur IN s_vkbur.
ENDFORM.                    " get_invoice_data
FORM filter_invoice_data.
  DATA lt_vbpa LIKE t_vbpa OCCURS 0 WITH HEADER LINE.
If not t_vbrp[] is initial. "Mod-004++
  REFRESH lt_vbpa.
  SELECT vbeln parvw kunnr
    FROM vbpa
    INTO CORRESPONDING FIELDS OF TABLE lt_vbpa
    FOR ALL ENTRIES IN t_vbrp
   WHERE vbeln = t_vbrp-vbeln
     AND posnr = '000000'.    " Header partner
  SELECT vbeln parvw kunnr
    FROM vbpa
    APPENDING CORRESPONDING FIELDS OF TABLE lt_vbpa
    FOR ALL ENTRIES IN t_vbrp
   WHERE vbeln = t_vbrp-vbeln
     AND parvw = 'WE'.    " Header partner
Endif. "Mod-004++
  SORT lt_vbpa BY vbeln.
  t_vbpa[] = lt_vbpa[].
    LOOP AT lt_vbpa WHERE vbeln = t_vbrp-vbeln
                      AND parvw IN s_parvw
                      AND kunnr IN s_kunnr.
      EXIT.
    ENDLOOP.
    IF sy-subrc <> 0.
      DELETE t_vbrp.
    ENDIF.
  ENDLOOP.
  IF c_prf = 'X'.                                           "KA01
    SORT t_vbrp DESCENDING BY posnr vbeln fkart.            "KA01
    SORT t_vbrp DESCENDING BY vgbel fkart.
   LOOP AT t_vbrp WHERE rfbsk NE 'C'.
      t_vbrp_c = t_vbrp.
      APPEND t_vbrp_c.
      DELETE t_vbrp.
    ENDLOOP.
    SORT t_vbrp_c DESCENDING BY vgbel vgpos vbeln.
    DELETE ADJACENT DUPLICATES FROM t_vbrp_c
           COMPARING vgbel vgpos fkart.
    LOOP AT t_vbrp_c.
      t_vbrp = t_vbrp_c.
      APPEND t_vbrp.
    ENDLOOP.
    SORT t_vbrp.
  ENDIF.                                                    "KA01
ENDFORM.                    " filter_invoice_data

Hi Kumar,
You should format your code before posting... I have done it and put it just below :
PERFORM get_invoice_data.
PERFORM filter_invoice_data.
FORM get_invoice_data.
SELECT k~vkorg k~vbeln k~fkart k~vtweg k~fkdat "CHOYT CHG#1589121
     k~waerk k~bzirk k~regio k~BSTNK_VF "Mod-010++
     p~posnr p~vkgrp p~vkbur p~mvgr5 p~matnr
     p~arktx p~fkimg p~vrkme p~netwr p~mwsbp
     p~aubel p~vgbel p~vgtyp p~charg p~werks k~fkart k~xblnr
  INTO CORRESPONDING FIELDS OF TABLE t_vbrp
  FROM vbrk AS k
  INNER JOIN vbrp AS p
   ON k~vbeln = p~vbeln
    WHERE k~vkorg IN s_vkorg "<< MOD CHOYT CHG#1589121
      AND k~fkdat IN s_fkdat AND k~vtweg IN s_vtweg
      AND k~rfbsk = 'C' " Accounting document has been created
      AND vkgrp IN s_vkgrp AND vkbur IN s_vkbur.
ENDFORM. " get_invoice_data
FORM filter_invoice_data.
DATA lt_vbpa LIKE t_vbpa OCCURS 0 WITH HEADER LINE.
IF NOT t_vbrp[] IS INITIAL. "Mod-004++
  REFRESH lt_vbpa.
  SELECT vbeln parvw kunnr FROM vbpa
    INTO CORRESPONDING FIELDS OF TABLE lt_vbpa
    FOR ALL ENTRIES IN t_vbrp
      WHERE vbeln = t_vbrp-vbeln
       AND posnr = '000000'. " Header partner
  SELECT vbeln parvw kunnr FROM vbpa
    APPENDING CORRESPONDING FIELDS OF TABLE lt_vbpa
    FOR ALL ENTRIES IN t_vbrp
     WHERE vbeln = t_vbrp-vbeln AND parvw = 'WE'. " Header partner
ENDIF. "Mod-004++
SORT lt_vbpa BY vbeln.
t_vbpa[] = lt_vbpa[].
" I believe that you have forget the following line, isn't it?
LOOP AT t_vbrp.
" ^^^^^^^^^^^^^^
  LOOP AT lt_vbpa WHERE vbeln = t_vbrp-vbeln
         AND parvw IN s_parvw
         AND kunnr IN s_kunnr.
    EXIT.
  ENDLOOP.
  IF sy-subrc 0.
    DELETE t_vbrp.
  ENDIF.
ENDLOOP.
IF c_prf = 'X'. "KA01
" Are you sure you want to sort your internal table twice ???
  SORT t_vbrp DESCENDING BY posnr vbeln fkart. "KA01
  SORT t_vbrp DESCENDING BY vgbel fkart.
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" I don't understand why you delete some lines in T_VBRP
" that you after insert again in T_VBRP
" (a sort change nothing to the content)???
  LOOP AT t_vbrp WHERE rfbsk NE 'C'.
...  " here I have skipped some lines
  ENDLOOP.
" ^^^^^^^^^^^^^^^^^^^
  SORT t_vbrp.
ENDIF. "KA01
ENDFORM. " filter_invoice_data
I have insert some remarks about your code : some lines seems strange! But for your question, what do you mean by batch splitting logic? Could you explicit? Thanks!
Samuel

Similar Messages

  • Logic to retrieve batch number in batch split scenario for a material

    Hi All!
    LIPS-CHARG gives the batch number for a material in normal scenario.But in batch split scenario for a material what should be the logic to retrieve the field batch number based on POSNR,VBELN and UECHA in LIPS.
    UECHA corresponds to higher level item of a batch.
    I had been given the following logic to do the same but it is not pulling any values inspite of a batch split available for the material.The logic is
    Select lips-charg (batch number) where  lips-posnr = lips-uecha ( higher level item batch)
    Please advise
    Regards
    Praneeth

    Hi Praneeth,
    The way LIPS records are in a batch split scenario is that let us say you have a delivery with one line item 00010. Now if this splits into two batch split items, then you will find in LIPS 3 records, one with line item 00010, one with 90001 and another with 90002. Both 90001 and 90002 will have a UECHA of 00010, whereas for 00010, this field will be blank. So the logic is to create two internal tables one where UECHA is blank and another where it is not blank and use it.
    SELECT * FROM LIPS
             INTO TABLE I_LIPS
            WHERE VBELN = P_VBLEN.
    I_LIPS_TEMP[] = I_LIPS[].
    DELETE I_LIPS_TEMP WHERE UECHA IS INITIAL.
    *-- This table will not have only the batch split items not the main items.
    LOOP AT I_LIPS WHERE UECHA IS INITIAL.
    *-- loop at the main items.
      IF I_LIPS-CHARG IS INITIAL.
    *-- batch is not there on the main item, see if it is there on any batch split items.
        READ TABLE I_LIPS_TEMP WITH KEY UECHA = I_LIPS-POSNR.
         do whatever
      ENDIF.
    ..... do whatever
    ENDLOOP.

  • Status of Outbound Delivery in case of batch split

    Hi All,
    I have a query regarding the status updation of outbound delivery in case of a batch split.
    I have a delivery with 10 qty of batch managed material and is distributed from ERP to EWM. As per standard SAP, the following 2 options exist to carry out a batch split in EWM
    1. Create batch sub items in the Outbound delivery Order
    2. To adopt quantities pertaining to multiple batches during WT creation from the 'Stock can be removed' tab.
    We are using the second option as per business requirement. The process is working fine if i create & confirm multiple WT's at one shot i.e in this case i created one WT for 5 qty with batch-1 & one more WT for balance 5 qty with batch-2 & confirmed both the tasks. System created 2 batch sub items automatically when WT's are confirmed & the header status of 'picking' got updated as 'completed'.
    However the problem is when i create only 1 WT for partial quantity. For eg. in this case i created onle WT for 5 qty of batch-1 & confirmed the task. System created 1 batch sub item for 5 qty & also updated the 'picking' status in header to completed. My understanding is that since entire delivery quantity is yet to be picked, the picking status at header must be 'partially completed' & not 'completed'.
    I have checked the status profile & have status types DER & DPI active. Does this require any config in the status profile OR Is there any other way in which i can achieve this functionality ( i.e. Header status must be 'partially completed' untill entire delivery quantity is picked.)
    Would be glad if you can share your thoughts on this.
    Regards,
    Smitha Pai.

    Thank you for your kind reply.
    I performed failover to my physical standby and now archives are going on my logical standby from new primary but changes are not getting applied on my logical standby database.
    when i tried to register the logical logfile from new primary on my logical standby i am getting following error.
    SQL> ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC';
    ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC'
    ERROR at line 1:
    ORA-01287: file is from a different database incarnation

  • Batch split in invoice...

    hi all,
    a material is sent to the customer from two batches. in delivery, i am using batch split. while creating invoice, 3 items are formed for one material. is there a way to combine these three items into one?

    Dear Freind,
    you mean to say that you do not want to show the batches there in the billing docment.
    Go to Copy Control VTFL,
    There in the item level (For your said Item/s categories)
    there is a column Data VBRK/VBRP.
    Use the option 901 : Which is User modifiable.
    Asker your abaper to write a routine in the T-code VOFM for 901.
    The Logic would be from the delivery feilds should check in this way.
    LIPS-POSNR      LIPS-MATNR  quantity
    if    LIPS-CHARG (batch number)  of     LIPS-MATNR  (material)
    is same then invoice would be generated of the consolidated LIPS-MATNR  quantity.
    Revert in case of any problem.
    regards,
    SAP SD

  • There are still batch split items with quantity X for item

    Our current system is ECC6. The deletion of item in the delivery (TO
    confirmed) is different before ECC6 (4.6C). In 4.6, unless quantity of
    batch split items are zeroed out in the delivery, the item cannot be
    deleted. Message "There are still batch split items with quantity X for
    item" is encountered. In ECC, line item can be deleted even batch split
    items are not 0. The message doesn't exist in ECC6.
    Please advise how to activate this message.

    In ECC6, the logic has been completely changed during item deletion.
    Now, there is no way to activate the message VL224 when deleting batch item.
    In 46c,
    FORM XLIPS_LOESCHEN_PRUEFEN is called with XL_ERROR = 'X'.
    Main program     SAPFV50P
    Source code of   FV50PFLP_XLIPS_LOESCHEN_RC
    FORM XLIPS_LOESCHEN_RC
               IF IF_TABIX IS INITIAL.
                 REFRESH LT_REASONS.
                 PERFORM XLIPS_LOESCHEN_PRUEFEN TABLES   LT_REASONS      <<<<<<
                                                USING    LF_POSNR
                                                         CHARX        <<<<<<<
                                                         IF_ALL
                                                CHANGING LF_EXIT.
    In ECC6,
    The FORM is called with XL_ERROR = SPACE. That's why the error is not issued.
    Actually, they are called from different place in ECC and 46c. The logic has  been completely changed.
    Main Program     SAPMV50A
    Source code of   MV50AF0D        
    FORM DELETE_ITEMS_CHECK                                      
               perform xlips_loeschen_pruefen(sapfv50p) tables   ct_reasons   <<<<<
                                                        using    ls_admin-posnr
                                                                 space
                                                                 space   <<<<
                                                                 'GHK' "n_766525
                                                        changing lf_exit.

  • Batch split line in delivery

    Hi,
    In my system, I have configured automatic batch determination for my delivery item category.
    Now when the system determines the batch, even if there is one batch, the system creates a batch split line (with line number as 900001).
    Is this a standard system behaviour?
    Is there a way that we can have only one line if there is just one batch and go to a batch split line only when there are more than 1 batches.
    pls let me know. Any help would be highly appreciated.
    Thanks
    AB

    Hi Arijeet,
    please do the follow .
    SPRO: LOGISTIC EXECUTION->SHIPPING->DELIVERIES->DEFINE ITEM CATEGORIES
    Choose the item categories you use and check the flag "autobatchdeterm".
    Make sure that you have the right item category determination for the delivery type with Usage: CHSP (take delivery LF as an example). The path is:
    SPRO: LOGISTIC EXECUTION->SHIPPING->DELIVERIES->DEFINE ITEM CATEGORY DETERMINATION.
    Then you have to activate the ATP check in delivery process:
    SPRO: SALES..->BASIC FUNCTION->AVAILABILITY..->AVAILABILITY CHECK->AVAILABILITY CHECK WITH ATP LOGIC->CARRY OUT CONTROL...
    you have to check the configuration for the combination:
    CH Batches - B SD delivery and
    02 Individ.requirements (if you use it in the MRP of you material master) - B SD delivery.
    if you give me brief i can help you out more.
    Thank you .
    Regards
    Ram

  • Batch classification logic

    whats the logic of a batch determination, if i have previously set-up a batch search strategy for FEFO (nomination based on SLED) if i havent put in any SLED in the batches of the material? system still nominates batches, even if a batch has no SLED but has a classification tab.

    Dear,
    Its depend upon the characteristics assign to the material and your search procedure (MBC1) selection condition and sort rule CU70.
    If you want to select the batch in FIFO criteria that is first in first out i.e. the batches that are received first will be selected, then
    Assign this to class
    Create sort sequence with ascending order
    Then create batch search strategy in MBC1 transaction
    Give the sort rule there
    Give the no. of batch splits as much as you want or just keep 999
    Then try doing the batch determination.
    Regards,
    R.Brahmankar

  • Invoice split due to Batch split

    Hi All,
    I am facing an issue, whenever i create a delivery with batch split and invoice the same delivery, system splits the invoices into 2 invoices, one with zero value for the particular item, and other invoice with different line items with same material and different quantities as per batches.
    Client doesn't wants to process as described above, and wants to create single invoice for the same. please help.
    Thanks in advance
    Amit

    Amit,
    You will ahve to use routine for this...check copy controls VTFL...See in that std routine used is 001...with  ABAP you will ahve to copy that AND create new routine with new logic which will avoid invoice split due to batch...Try to test applicability first..
    REWARD IF U FINDS THIS AS USEFUL....
    Regds
    MM

  • Batch Split - Subcontracting

    Gurus
    I have one querry which may be more of MM but need some expert comments
    We need to consume 1000 pcs of RM1 while doing SC. In stock we have 1500 pcs but with 3 different batches i.e 500 in A, 500 in B & 500 in C
    *We need to have a batch split here i.e. when we do 101 for FG; raw materials should be consumed based on given logic
    This means in order to consume 1000 pcs; we need 500 pcs from A & 500 from batch B while doing MB01 - 101 M Type for FG
    Currently it is being consumed randomly i.e. when we do 543; there is no such splitting
    How can this be done?
    Please give any hints/comments
    Rgds
    Edited by: Vicky Khabrani on May 6, 2008 12:52 PM

    Thanks for reply
    Batch management is definitely active but where to assign this rule of FIFO? I am searching this sorting rule only but can't locate and thereby link it with RM
    Please give more details
    Rgds

  • Inbound Delivery: Inbound WHSCON IDoc with Batch Split - HowTo...?

    Hello
    We have another tricky problem to solve on our ERP 6.0 system.
    My colleagues of Lindt UK create manually inbound deliveries (VL33N) which are replicated to the warehouse (DESADV IDoc -> TRADACOMS.ORDHDR).
    When the goods arrive at the warehouse they send back a good receipts message (TRADACOMS.DLCHDR -> WHSCON IDoc).
    In some cases we have a batch split because the goods have been put into different storage locations. Example:
    - item 10: 200 Cases of product 4711, batch 10-2011,  in storage location '0001' (free available for Sale)
    - item 10:     5 Cases of product 4711, batch 10-2011, in storage location '0004' (damaged)
    I am aware that in the inbound WHSCON item 10 is a main position and the two actual batch split positions are sub-items (900001 & 900002 with HIPOS = '10'). I tried to used E1EDL19-QUALF = 'BAS' (= batch split) with the sub-items but failed so far to update the inbound delivery that I can see the batch split.
    I have managed to get one sub-item but not 2 of them. Somehow the system aggregates the quantities for both sub-items into the single item that shows up in the inbound delivery.
    When we send the inbound delivery to the warehouse the item looks like this:
    - item 10: 200 Cases (no batch yet, Putaway quantity = 0, because these data are coming from the warehouse).
    QUESTION: Has anybody else been faced with a similar (if not identical) problem and how did you solve it?
    Thanks a lot in advance for your valuable input.
    Regards
      Uwe

    Hello Finbarr
    I assume that you do NOT send any (suggested) batches to your warehouse. Otherwise you would have the same problem like we have that the WHSCON cannot overwrite a (suggested) batch.
    However, if you just send the quantity per item then the batch split is much simpler than you suggested:
    "First E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1519   " <<< first batch
    LFIMG     37.000
    VRKME     CT
    "Second E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1880   " <<< second batch
    LFIMG     37.000
    VRKME     CT
    Well, and as qualifier we use: E1EDL19-QUALF = 'XYZ'  " a dummy
    The SAP system is smart enough the realize that these two E1EDL24 segment belong to the same item yet have different batches and, therefore, yield a batch split in the delivery. The system generated the 9xxxxx numbers for this sub-item lines automatically.
    Although I believe that it is not possible to change a batch in the delivery using an inbound WHSCON I would appreciate to have a final proof of this assumption. I could imagine that if you first delete the item containing the suggested batch and then add a new item with the actual batch from the warehouse it might works. However, this would require to implement a user-exit which I do not prefer.
    Regards
      Uwe
    PS: It seems I gave an answer to the wrong question (should be EDI (DESADV): Can batches be overwritten by an inbound WHSCON (pick conf)? )

  • Batches are not coming in invoice where there is batch split in delivery

    Hi all,
    Batch split quantity as per delivery is not coming in billing document.
    Ex
    1). Sales order created with Material "A" - 50 Kgs
    2). Delevery is created
    Material A - 10Kgs - Batch 1
    Materail A- 15KGs - Batch 2
    Material A - 10Kgs - Batch 3
    3). iNVOICE IS CREATED For cumulative quantitiy in single line like
    Material -A -25 KGS - Rs.10,000
    it's conderind other two lines for batch split quantities with 0' quantities and 0 values
    Please advise what should be done if i need to create invoice --
    Material A - 10Kgs - Rs.2000
    Materail A- 15KGs - Rs.4000
    Material A - 10Kgs -Rs.2000
    I.e. An invoice should be created with batch split quantities.
    And when i create a return order with the reference of this invoice it should take all the respective batches as per batch split.
    Please advise.

    hI,
    Go to vtlf  copy controls in item data  vbrk/vbrp give 001  try this it my work out.
    Best regards,
    venkataswamy.y

  • Picking quantity from a different storage location during batch split??

    Hi Gurus,
    Have an issue with doing batch split in a delivery with batches from several storage locations.
    Have delivery XXXXXX where I want to pick batches from several different storage locations.
    I click on the batch split button and select the different batches and quantitys.
    The issue here is that I would like to have the different storage locations entered automatically based on the selection of the batch I have made.
    The only storage location that is entered here or possible to be entered is the defaulted storage location that is in the first screen...
    My question is why can I get the storage location where the batch is located and acctually exists when I do select the batch in the batch split...
    The table LIPS and LGORT is not filed with the storage location so I do not know how I could fill this field with the correct storage location data...
    Thank You for all Your help!
    BR,
    Christian

    Hi Christian,
    you have not jet got an answer  -- here my suggestion.
    You have to use the Userexit Mv50afz1. Here you can do some checks and  you can do a popup, where you can sign the LGORT, where the batch is.
    In any case, you need an ABAPer
    In documentation, there is signed, that you should not change database other as Save_prepare - and that's too late.
    In one solution at my company, i show in a message the right information. In an other solution, i made a modification of table lips.
    But dont change the index of the current lips/xlips. That may have the effect of incorrest LIS - System.
    If nessesary create an ylips- Line of the position.
    Use an assign-command to avoid the change of the index.
    hans

  • Batch split not happening during delivery

    Hi Experts,
    I have enough of stock for a material with different batches (with different expiry dates). When I create an order for qty 100, system confirms it on a certain date taking 1st batch nearest to expiry date, as per the search startegy set in the cponfiguration.Please note here that the batch that system picks has got only 50 qty in stock, but it shows whole 100 qty against it. Probably because Batch split is not possible during sales order creation, hence system showing whole qty against one batch.
    Now, when I try to create delivery, it shows only 50 qty of the same batch in delivery document. I select the line item and go to the "Batch split" tab to effect batch split, but system does not allow. It says "Batch already specified for material".Here is the detail for your analysis-
    Batch in item 000010 already specified for material 2000978
    Message no. VL221
    Diagnosis
    The batch was either predefined in the sales order that the delivery is based on or it was assigned to the delivery item manually. Therefore, you can no longer carry out a batch split for the delivery quantity of the items.
    Procedure
    In order to make the batch split possible, you can cancel the assignment of the delivery item to the batch, if the delivery's processing status allows.
    Kindly advise.
    Thanks in advance,
    Randhir

    Thanks Mr. P Gomatheeswaran,
    Now batch is not being determined during sales order creation, that's fine.While creating delivery,when I select line item and go to Batch split tab I can see batches being split in two, which is OK. But when I try to put Picking quantity as delivery qty, system says "Picked quantity is larger than the qty to be delivered".(Message no. VL019).
    Also Storage location field is grayed out.
    Regards,
    Randhir

  • Line with 0 quantity for main item with batch split

    Hello experts,
    I have one line item in delivery. Delivery split is there: There are 1 spilt items with 1 batch nos. The main item category and the batch split item category are TAN.
    My system is showing 2 line items in billing, the batch line with quantity and the main line with zero qty. How to prevent this and have only the lines item in invoice with batch/qty. I don´t want to see the main item with o quantity.
    In VTFL I have routine for copying requirements 004 and Billing Quantity B. I need to create another copying routine or I need to use another item category for batch lines?
    Thanks in advance
    Pablo

    Hi Pablo,
    It is advisable to have a different item category for Batch split items.
    If you want the batch split items to suppress and show only the Total in the Invoice. Yes it is possible.
    1) You can do this in the Copy controls in VTFL - Delivery to Billing, go to your Item category and go to Item details - Change the billing Qty to 'G'.
    2) Go to Shipping > Deliveries > Item categories Determination in Deliveries > Define item category.
    Go to your item category which is used in Batch Split
    Remove the Billing Revelance and make it blank and Save.
    Now when you create the Invoice for Batch split - Only the total quantity will be displayed without the subitems - like in Delivery note or Delivery..
    Please check and revert back for any more details
    Rgds
    Sunil.

  • Error message for over delivery quantity in case of batch split.

    Hi All,
    System is throwing error message if I try to to enter delivery quantity more than target quantity(order quantity) in case of standard process which is ok but in case of batch split when split line created (9000001 for line 10) and if go to item level in line item 900001 and enter delivery quantity more than target quantity system is giving only information message, still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massege as well. Delivery item category for all the line items is same and status B is assigned to over delivery in item category. Is there any standard way of achieving this or do we need any modification, if yes then what user exit need to use.  
    I searched alot about this in last three days but found only one thread which is unanswered, please provide your valuable suggestions. If this problem is discussed already and solved please provide me the link to that thread as I could't find any.
    Thanks,
    Davinder

    Hi
    Still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massage as well.
    I think it you can possible to change the Information message as Warning message.
    Please  go to SE91 put the Message Class XX (Ex:V1) there And in No. field enter the message number (Ex: If message no V1293 enter the number as 293)
    AND
    go for
    where used in then select only Program >ok then Program will come select the Program > double click, you will l find the message with the Description.
    Now with help of ABAP with just comment on these both the messages. Afterwards you will get the Error message.
    Hope this will helps you
    Dasaradha

Maybe you are looking for