Urgent ! delivery items and its batch split items

Exports:
    How to find relationship between delivery items and its batch split items. Thanks alot.

Talk to functional guy -
List of tables which contains CHSPL
VBAP
LIPS
KNVV
KNMT

Similar Messages

  • Constrain delivery quantity "0" in Batch Split item of DN

    Hi all,
      I have been done a "0" constrain on delivery quantity in items of DN which means there will never be "0" delivery quantity in item of DN. But in Batch Split situation , user can still make the delivery quantity "0" in batch split item and save the DN.
      So, can anyone tell me how to constrain the "0" in batch split situation.

    Hi..
    In 0VLP Check configuration related to BOM..
    Test the possibility...
    Reward if u finds this as USEFUL...
    Regds
    MM

  • SD report :correlation between SD line item and its FI line item

    Hi,
    We are developing a SD report where we are not able to correlate between FI line item with SD line item.As SD line item have differernt division so how to identify which line item of FI belongs to which SD line item?

    Hi,
    You can map that by document flow table: VBFA.
    There you can see the correlation of all docs related in a sales process.
    Regards,
    Demétrius

  • :correlation between SD line item and its FI line item

    Hi,
    We are developing a SD report where we are not able to correlate between FI line item with SD line item.As SD line item have differernt division so how to identify which line item of FI belongs to which SD line item?

    Hello Satya ,
    i donu2019t think u can map FI <-> SD line Items , as per my knowledge ,while create FI entry system will do consolidation based on the materials , so in such cases u wont get required data.
    regards
    Prabhu

  • Item condition repeating in Invoice for Batch split items-V  Urgent

    Hi Guys,
    My Sales order has one line item
    One Item condition is there in the pricing procedure, it brings the value as the relevant condition record is existing.
    Batch split is happening in delivery and because of which the order item is splitting into two lines, the main item is showing the quantity as zero, and the batch split item is holding the entire quantity in the delivery document..
    When this delivery is converting into billing, the invoice is showing two lines, and is bringing the condition both for the main item (zero quantity), and for the batch split item (with full quantity).
    Now because of this the customer is being charged twice by way of this condition type which is repeating in both the line items.
    Ideally, for the main item which has the quantity as zero, this condition should not come. It should rather appear for the item which holds the full quantity.
    How can correct this, pls let me know.
    Many Thanks,
    Regards,
    Vivek

    summarize the batch split into the main item: use Billing quantity flag = G in copy control tcode VTFL.
    Roberto

  • No Single batch split item created in delivery during picking

    Hello,
    When there is only one batch split item, SD_DELIVERY_UPDATE_PICKING is not creating batch split item (90001) if delivery quantity is equal or less than picking quantity...I didi search for SAP Note (1360407) and found one which is applicable only to P3A Component.
    Instead of batch split it updates at item level itself. Now if again i post an IDOC with 2 batch split, then it adds both picking quantity and update the same line item itself.
    This is much worse. Any one faced this issue before???
    Thanks to update me
    Regards
    Hari

    When the batch is the same, regardless of the number of times the same batch is picked, the update to the delivery will be to the same header line item. The batch split (delivery line split with parent and child line items) will occur only when there are multiple batches picked against the same header line item. Since this behavior is standard SAP I'm doubtful that this can be changed via an exit or BADI (I couldn't find one to influcence this).

  • Inserting Batch Split Items in Delivery

    Hi Folks,
    a very quick question. I was mining for info to get the batchsplit items inserted into an Outbound delivery thru the FM WS_DELIVERY_UPDATE sometime ago. Out of doubt and tight schedule I had to opt for BDC which is not that elegant and I would like to know if anyone of you gurus has managed to insert batch split items for a normal item in a delivery. A sample piece of code would be just what I am looking for, suggestions are invited
    thanks a lot in advance.
    ZAM

    Hi ZAMUser,
    I have played with batch-split Items, this is a little part of the code. In this code I try to update quantity of the delivery. Maybe that will help you
    Regards
    Frédéric
    (comments are in french, and I play with special messages and text)
    *   Livraison
        refresh wlt_btc.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '4004'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '/00'         to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'LIKP-VBELN'    to wlt_btc-fnam ,
               wlt_badge-vbeln to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   PoPo.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '1000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=POPO_T'     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Poste.
        if wlt_badge-uecha eq '00000000'.
          move wlt_badge-posnr to wlv_poste.
        else.
          move wlt_badge-uecha to wlv_poste.
        endif.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '0111'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=WEIT'       to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'RV50A-POSNR' to wlt_btc-fnam ,
               wlv_poste     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Marque le poste
        move : 'SAPMV50A'    to wlt_btc-program ,
               '1000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=CHSP_T'     to wlt_btc-fval .
        else.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=IDET_T'     to wlt_btc-fval .
        endif.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_CURSOR'     to wlt_btc-fnam ,
               'LIPS-POSNR(01)' to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
    *     Recherche le sous poste.
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '3000'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=POPO_T'     to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
    *     Sous Poste.
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '0111'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=WEIT'       to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
          move : 'RV50A-POSNR'   to wlt_btc-fnam ,
                 wlt_badge-posnr to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
    *     Marque le sous poste
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '3000'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=CDET_T'     to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_CURSOR'     to wlt_btc-fnam ,
                 'LIPS-POSNR(01)' to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
        endif.
    *   Onglet Qtt
        move : 'SAPMV50A'    to wlt_btc-program ,
               '3000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=T04'       to wlt_btc-fval .
        else.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=T05'       to wlt_btc-fval .
        endif.
        append wlt_btc.
        clear  wlt_btc.
    *   Mise à jour Qtt livrée
        move : 'SAPMV50A'    to wlt_btc-program ,
               '3000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=SICH_T'     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'LIPS-LFIMG'  to wlt_btc-fnam ,
               wlv_poids     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Appels du call transaction.
        call transaction 'VL02N'  using wlt_btc
                                  mode  'N'
                                  update 'S'
                                  messages into wlt_error.
        sort wlt_error by msgid msgnr.
    *   Binary search
        read table wlt_error
             with key msgid = 'ZTPL'
                      msgnr = '011'
             binary search.
        if sy-subrc eq space.
          message i011(ztpl) with wlt_error-msgv1 wlt_error-msgv2.
        else.
          read table wlt_error
               with key msgid = 'ZTPL'
                        msgnr = '010'
               binary search.
          if sy-subrc eq space.
            message i010(ztpl) with wlt_error-msgv1 wlt_error-msgv2.
          else.
    *       Pas de binary search pour la recherche d'erreur
            read table wlt_error
                 transporting no fields
                 with key msgtyp = 'E'.
            if sy-subrc eq space.
              message i398(00) with text-e01.
            else.
    *         Mise à jours des masses dans les textes au niveau des postes
    *         de livraison.
              concatenate wlt_lips-vbeln
                          wlt_lips-posnr
                          into wlv_tdname.
    *         Masse net.
              move : 'VBBP'     to wls_thead-tdobject ,
                     wlv_tdname to wls_thead-tdname ,
                     'YP09'     to wls_thead-tdid ,
                     wlv_langu  to wls_thead-tdspras.
              move : wlt_bascule-poids to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat .
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
    *         Masse brut.
              move : 'YP07'            to wls_thead-tdid ,
                     wlt_bascule-poid2 to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat.
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
    *         Tare.
              move : 'YP08'            to wls_thead-tdid ,
                     wlt_bascule-poid3 to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat.
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
            endif.
          endif.
        endif.

  • Update picking quantity in delivery for batch split items

    Hi,
    I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
    To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
    If we do not make picking quantity also zero it will not allow to delete these items
    and gives an error message saying "item is already made available for transfer order".
    Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
    Thanks

    Hi Vikram
    To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
    Parameters to be passed:
    VBKOK_WA
    -- VBELN_VL - Delivery Number
    -- VBELN - Sales Document Number
    SYNCHRON - 'X'
    VBPOK_TAB
    -- VBELN_VL - Delivery Number
    -- POSNR_VL - Delivery Item Number
    -- VBELN -- Sales Document Number
    -- POSNN -- Sales Document Item Number
    -- MATNR -- Material Number
    -- LFIMG -- '0.000'.
    Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
    Please try on your end too...
    Hope this helps.
    Regards
    Eswar

  • Update picking quantity in delivery (Batch split items) using function modu

    Hi All,
    I need to update a picking quantity with zero value in delivery for batch split items (Item numbers start with 900001. etc).I'm trying to use WS_DELIVERY_UPDATE
    and SD_DELIVERY_UPDATE_PICKING. I'm passing parameter VBKOK-KOMUE , and all other details, but it is not updating.
    I'm able to update delivery quantity of same item with zero value but not picking quantity.
    Could you please let me know how to achive this.
    Regards
    Vikram

    I think the number 900001is mean batch split line item.
    example:
    In Deivery Note:
    Item 10
         Batch 900001
         Batch 900002
    Item 20
         Batch 900003
         Batch 900004
    That right,

  • Quality certficates for batch split items in delivery

    Hi Masters
       How to make the output determination for outgoing quality certificates to select the output type LQCB
    for batch split items in Delivery.
    What is the routine to be selected in the output determination to map this scenario?
    Regards
    Mohan

    Hi Masters
            My problem is When i create a delivery for the items with batch split, the output type LQCB is not determined ie., not automatically get assigned in the delivery item.Hence the delivery items are not listed while executing T code QC20/
    What am I missing?
    -mohan

  • Batch Split Items appearing in the billing document

    Dear Friends,
    Batch determination is active in our system. In the delivery there are two main items. 10 and 20 and each has Batch split and the sub items are 90001 and 90002 respectively.
    Now in the billing document there appears are four items with item nos and qty as follows.
    item 10 qty 1 - main item having pricing etc
    item 20 qty 0 - batch split item no qty n no pricing
    item 30 qty 1 - main item having pricing etc
    item 40 qty 0 - batch split item no qty n no pricing
    The requirement is that there should not be any sub items with zero qty. Only main items to appear in the Billing document.
    One important observation I would like to share with you is that in the delivery document both main items and it's sub items have item category as TAN.
    Your help is appreciated.
    Regards,
    Vishi
    Edited by: Vishi19 on Apr 27, 2009 2:48 PM

    Dear US,
    Thanks for replying.
    What i would like to know here is if appearance of sub items with 0 qty n 0 price does not affect in the billing document then how come VPRS cost coming only in the item conditions of the sub items. I dont see the cost in the main items.
    What I want to knlow here is that does in any way these sub items affect the billing document? i mean in the accounting or data flow to CO-PA or something like that..?
    Regards,
    Vishi.

  • VPRS condition currency for batch split items

    Hi,
    i did the config for billing main item only in my delievry. that is batch split items will not be billed separately in billing.
    before doing the above change, the currency of VPRS was appearing as document currency but after doing the above config, the currency of VPRS is changed to material valuation currency.(i.e taken from material master)
    what is to be done so that currency for vprs in case of billing of main items shud be equal to document currency.
    if there is no batch split, there is no issue of currency. if there is batch split in delivery and i bill only main item, vprs currency gets changed to material master currency.
    regards
    sac

    Normally, it should work for both bath main item and batch split item.
    Please check the batch split items:
    - what's the item category. Is it relevant for picking?
    - what's the plant / sto.loc. in batch splite items? Is it assigned to a WM?
    - What's the value in LIPS-KOMKZ field for the batch split items? (EK00 is valid only when komkz = A).

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

  • Item Category for Batch Split Line

    Where do I change how SAP determines the batch split item category?  Currently it is defaulting to an different item category than I intend.
    Thanks.

    Hi Mark,
    In your delivery item category determination you should maintain as below
    Document type : Document Type for which you are doing delivery
    Item category Group : Item category Group for which you are trying to make batch split.
    Usage : Should be CHSP
    Higher Level Category : Determined item category for the combination of document type and item category group.
    For the above combination define item category.
    Rewards points if it helps.
    Regards,
    Sreekanth

  • Batch split items in invoice

    Hello Friends,
    I have a delivery item with batch split and which consists of 5 batch split items. If i create an invoice from delivery , invoice is whowing all 5 batch split items as 5 line items in the invlice. User wants only the one item  with full quantity should show in invoice.
    Please guide me how to do this.
    Thanks,
    Ashok S

    fyi,
    -While Creating Invoice for Batch split material, System copies all the batch items including main item, where as, system should copy/combine all batch split items into Main item, batch split items should not be shown in different line items in Invoice.- ?
    In copy control from the delivery type to billing type VTFL, for the item category maintain billing quantity as G. This will ensure that the batches are clubbed into single line item.
    In Item Category of the Billing, goto VOV7 u2013 maintain billing relevance as u201CMu201D.
    - Batch Management in STO, after creating delivery via VL10F, wrt: STO order, automatic batch determination is not happening for the batch managed material. But for the same Material, from SD it is working fine. System displays message as u201C No Batch search procedure assigned to the order typeu201D
    In V/C5, batch has to assigned to the determination procedure in combination of Sales Org / Dist Channel / Division / Order type u2013 Search Procedure / Check batch indicator.
    *Sales area should be taken from STO-ME22n, Shipping tab at item level.
    *Order type should be, default Order type from the specific Delivery type eg:NL-
    Item Category for STO main item : NLN / batch item: ULN, both has to be marked for automatic batch determination indicator in IMG-LG-Batch Mgmt u2013 Batch detu2019n & Batch check u2013 Automatic batch detu2019n in SD u2013 Activate Auto. Batch detu2019n for Delivery Item Catu2019s
    After following above procedure, system displays error message as u201C Item Category is not maintainedu201D
    -Tcode:0184-Delivery item cat detu2019n
    Maintain entries as u201CDel type/Item cat group / Item Usage / High. Item Cat- Default, Item catu201D
    Eg: NL u2013 NORM u2013 CHSP -= ULN
    CHSP u2013 Batch split item.
    NOTE: Copy Controls from Delivery u2013 billing at item level u2013 ULN should not be maintained.

Maybe you are looking for

  • My iphone won't sync to outlook anymore. Any ideas?

    I run an iphone as my work phone and for the first 6 months it syncd with my outlook calendar with no problems. After an itunes update it no longer syncs with my outlook calendar although it syncs to my contacts no problem. I have tried creating a ne

  • Sync outlook with filter not working

    I only want to sync some of my outlook contacts with my BB.  I am trying to use a filter. I built a filter to include the outlook entry in the sync only if user-field-1 equals "sync". However, when I try a synchronization it appears like it is going

  • Help advanced pricing

    OM --> Pricing --> Setup --> Modifier --> click Define detail --> close --> error "FRM-40212: Ivailid value for field BENEFIT_PRICE". At Table define detail --> What is it mean's Field "GET PRICE"? Thank you! very much!

  • Safari Issues with 10.5.3 update

    Most of the topics dealing with Safari's issues with the update have to do with it connecting to the internet. I don't have that problem. Ever since I downloaded 10.5.3 Safari slows down all of my computer's processes. For example, if I open Safari,

  • Creating a chart with a dynamic yAxis

    Hi, I'm going to be creating two charts showing financial market data, and as we know financial markets can go up and down. I'm going to create a linechart that maps out the movement of the market prices through out the day. The xAxis will show the t