Linking Delivery Items with Delivery Items having batch

Hello Fellow ABAPers,
Does any one of you know how SAP links items in Delivery table (LIPS) without batches with their respective items having batch.
For e.g. in Delivery Item we have delivery no. , item and batch. Assume we have delivery no 801xx and item 10 for this record there is batch with delivery no. 801xxx and item 90001. Likewise for delivery no 801xx and item 20 there is batch with delivery no. 801xxx and item 90002.
How does SAP link line item 10 to 90001 and line item 20 to 90002. Batch no. could be different. If there are multiple batches for the same line item, how can we identify them programmatically?
Is there any separate table in SAP or is it maintained in LIPS only?
If you any of you have worked on this please let me know.
Thanks and Regards,
Huzefa Vasi

Hi,
In LIPS table itself, there is a field called UECHA. (Higher-level item of batch split item)
This field contains the higher level item number
for eg. consided line item 10 in 2 batches called 90001 and 90002
VBELN             POSNR              UECHA
801xx                 00010                   0000
801xx                 90001                   0010
801xx                 90002                   0010
801xx                 00020                   0000
if UECHA is 0, then it is the higher level item
Hope this will be useful

Similar Messages

  • Stock transfer order (STO) Without delivery and With delivery?

    Hi experts,
    Could any body explain step by step procedure
    Stock transfer order (STO) Without delivery and With delivery?
    Thanks
    Reddy

    Hi
    Stock Transport Order Without SD Delivery.
    U dont have to maintian sales view for the materials.
    1. Extend the material to those 2 plants.
    2. Create UB purch document.
    3. Goods issue wrt to the STO in the supplying plant ( 351 mvt type).
    4. Good Receipt in the receiving plant ( 101 mvt type ).
    5. Invoice verified (MIRO).
    U should have specific pricing procedure for STO. In MEK0 u have to choose the appropriate pricing procedure with the accrual key linked for freight charges.
    Vishal...

  • Which situation should we use the text item with the item category TATX

    Dear experts!
    Thank you for your attention!
    I am confused with text item (TATX).
    which situation should we use the text item with the item category TATX????
    Someone told me that the text item is dummy and should be used as a manual of certain standard item. But the manual may be a book or several papers and it also takes up some inventory not a dummy.
    So, could some body tell me what the text item (TATX) exact is and what function it has.
    Best regard!
    Tangdark

    Hi,
    you can use TATX if you like to enter a text and to print some information between the item lines.
    Regards
    William

  • Cannot add a delivery note with an item with serialnumbers via DI Server

    I'm using a web service to add delivery notes via DI Server. my code works for items that do not need serialnumbers or batchnumbers and even for those that need batchnumbers.
    but if I try to add an item with serialnumbers, I'm getting the following error:
    [DLN1.WhsCode][line: 0] , 'Item 'A00004' with system serial 0 is not in stock.'
    in the soap request I put the InternalSerialNumber, Location and BaseLineNumber. Because the error message tells me something about system serial, I've also added the SystemSerialNumber to the soap request. But then I'm getting another error:
    Failed to execute command.
    does someone know, what I'm doing wrong?

    Hi,
    i'm getting the same error when trying to add a delivery/invoice.
    "[INV1.WhsCode][line: 0] , 'Item 'xxxx' with system serial 2 is not in stock"
    its started just after upgrade to 2005 SP1 PL4 and i tried to upgrade to PL7 with no success. do someone else have the same issues?
    thanks
    Moty

  • Link Sale Order with Delivery  through DTW

    Hi All
    While importing Deliveries through DTW, is it possible to Link a Sale Order with Delivery?
    If it is possible then can any one tell me the procedure.
    Thanks in Advance
    Chakrapani Bandaru

    In the template for the document lines, you will find fields for base entry, base type and base line . Fill these with the object type for sales orders, the line number and the doc entry (not doc num) of the relevant linked document

  • Uploading cleared items with cleared item flag

    Hi,
    I want to upload cleared items of customers and vendors with flag/status indicating that the item is cleared. This will make the system enter the data in BKPF,BSEG and BSAD/BSAK(directly) and hence will save the effort to clear the items after initial upload.
    Can some please suggest a posible method to do this?
    Thanks in advance,
    Nitish

    Hi Nitish,
      U mentioned like that u need to upload the cleared items with flag set. If u obeserve BSEG table it have one field AUGBL. It indicates for cleared items. If item is related to cleared then AUGBL have value else it will space. So try the following  condtion.
    data: v_flag(1) type C.
    If itab-augbl NE ' '.
    move 'X' to v_flag.
    endif.
    move all the data from file to internal table and make the validation from that itab.
    Some t-codes are directly related to BSAD/BSAK tables menas if u post the document then directly uplaod to those tables. So which t-code u r using?If any thing, reply with clear information about the requirement. Hope this helps you.
    Regards,
    Kumar.

  • Create a delivery note with bin locations and batch numbers

    Hello everyone,
    when sending this message to my b1if scenario i am receiving this error (which says nothing):
    Exception : DI Error: (-2010) Internal error (-2010) occurred
    This error only occurs when using a warehouse with bin locations. For regular warehouses it works when leaving the <DocumentLinesBinAllocations> away.
    What could cause this issue? Just for clarfying: UOMEntry Nr. 2 means that the sales unit contains 5kg of a product.
    I would greatly appreciate any help.
    Best regards
    Simon
       <CreateDelivery>
          <Documents>
            <row>
              <CardCode>K100002</CardCode>
              <DocDate>04.02.2015</DocDate>
              <DocDueDate>04.02.2015</DocDueDate>
              <DocNum>200048</DocNum>
            </row>
          </Documents>
          <DocumentLines>
            <row>
              <DocEntry>62</DocEntry>
              <LineNum>1</LineNum>
              <BaseLine>1</BaseLine>
              <ItemCode>8705</ItemCode>
              <Quantity>1</Quantity>
              <UoMEntry>2</UoMEntry>
              <WarehouseCode>SB</WarehouseCode>
            </row>
          </DocumentLines>
          <BatchNumbers>
            <row>
              <BatchNumber>20150701</BatchNumber>
              <ExpiryDate>07.07.2015</ExpiryDate>
              <Quantity>5</Quantity>
              <BaseLineNumber>1</BaseLineNumber>
            </row>
          </BatchNumbers>
          <DocumentLinesBinAllocations>
            <row>
              <BinAbsEntry>4</BinAbsEntry>
              <Quantity>5</Quantity>
              <BaseLineNumber>1</BaseLineNumber>
              <AllowNegativeQuantity>N</AllowNegativeQuantity>  
      <SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>
            </row>
          </DocumentLinesBinAllocations>
        </CreateDelivery>

    Hi Pablo,
    based on the code from the other thread it should be like that for the first row:
    delivery.Lines.ItemCode = "ID200";
    delivery.Lines.Quantity = 15;
    delivery.Lines.BinAllocations.BinAbsEntry = 3107; // guessed AbsEntry
    delivery.Lines.BinAllocations.Quantity = 10;
    delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 0;
    delivery.Lines.BinAllocations.Add();
    delivery.Lines.BinAllocations.BinAbsEntry = 3108;
    delivery.Lines.BinAllocations.Quantity = 5;
    delivery.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 1;
    delivery.Lines.BatchNumbers.Location = "02-A";
    delivery.Lines.BatchNumbers.BatchNumber = "XY";
    delivery.Lines.BatchNumbers.Quantity = 10;
    delivery.Lines.BatchNumbers.Add();
    delivery.Lines.BatchNumbers.Location = "02-B";
    delivery.Lines.BatchNumbers.BatchNumber = "YY";
    delivery.Lines.BatchNumbers.Quantity = 5;  
    You got now :
    1 Delivery Row, Quantity 15
    2 BinLoc Rows, Quantity 10+5
    2 Batch Rows, Quantity 10+5
    regards,
    Maik

  • 2 Shopping Cart items with same item number

    Hi experts,
    We are facing a problem I never heared before : a shopping cart has been created with total of 51 items in SRM but some of them have the same item number in BBP_PD (2 items nr 16, 17...).
    For example, the 2 items nr 16 have a different Guid, only 1 entry in status section (I113 => OK), 2 entries in Partner section (vendor, requester, receiver, ship-to & site => OK), 2 entries in organization section, only 1 entry in item link section, 2 entries in concract section, 2 entries in account assignment section.
    Functionnally, these 2 items are not on the same article (even product categories are different).
    The problem now is that only one of the 2 items has been transfered to the backend, the other item has status "approved" but no "follow-on document created".
    The only thing diffrent from another SC is that this SC has been put on hold before being ordered (status I1009 is inactive).
    I didn't found any note on this problem, we are user SRM5.5 SP6 with classical scenario.
    I heared about a maximum item number in SC but I think in SRM5 there is no limitation, at least not less than 99 items.
    Thanks in advance for your help!
    Best regards,
    Benjamin

    Hi,
    please try to process the Held SB ,backend document will be created. since Creation of Shopping cart is in WEB processing of time take more normally .I think you can create a line item of
    999 line in SB because in backend SAP R/3 it will allow only 999 line items
    G.Ganesh Kumar

  • Validating list item with text item havin LOV, how  2 do?

    Dear Sir’s,
    I have two items,
    a) emp_id which is a TEXT ITEM having a LOV
    b) dept_name which is a LIST ITEM.
    Suppose, those employee id’s having 100 and 101, when selected from the LOV, the dept_name list item should automatically become IT_DEPT and the user should not be able to change the value in the list item and the cursor should not be navigable. Like wise, when employee id is 102, the dept_name should show, some of the specific name from the list and not navigable.
    For this, what should I do? Please help me.
    Mitto.

    First in the LOV query select the department name. In the LOV properties, in column mapping properties make the field width as 0 so that it will not be visible in the LOV. In the return item field browse for the item and select it.
    In the run time, upon clicking the lov, the value will be populated automatically.
    I hope this helps.
    Regards,
    Anantha Narayanan
    http://askanantha.googlepages.com

  • Service item with sub items ( service master data)

    hi,
    I needa to create a service which contains several individual services in the service master data. (CRM 4.0)
    Can anyone tell me how to create these sub-items of a service product.
    thanks .

    Hi,
    You can define the sub-items of the service using a relationship type "component ->- set" for the higher level service product.
    Best Regards,
    Anup

  • Query to find the no. of related no. of Items with a item.

    Hi,
    I made some items in inventory. I have to find the no. of child items that are connected to a parent item. Like if there is a parent item a and it has two sub item b1 and b2. again b1 has two subitem b11, b12. similar b2 have two subitem b21, b22. and this goes on. So i have to make a query to find out all the the items.
    Plz give me the solutions.
    Regards
    user609981

    Dou you know read?
    -- the number of rows in a table named yourtable:
    select count(1) from yourtable;
    -- the number of columns in a table
    -- If is a user's table:
    select count(1)
    from user_tab_columns
    where table_name='YOURTABLE'
    --If it is´t
    select count(1)
    from DBA_tab_columns
    where owner = 'USEROWNER'
    and table_name='YOURTABLE'

  • Problem with comparing text item with hidden item

    Hi all,
    I have two items, one text field which has a user name and other item which is hidden which also has a username input from a file.
    I want to compare these two items.
    But when both items are text fileds am able to compare, but when one is made hidden unable to compare.
    Please help on this......
    thanks,
    Srini

    Hi Srini,
    As long as you understand that the user can change the value of ANY field, even it is hidden, then I would suggest something like:
    1 - Hide your existing Login button. On the button definition, in "Button Display Attributes" add the following into the Attributes setting:
    style="display:none"2 - In the Login region's Region Footer, create a new button:
    &lt;input type="button" class="t12Button" value="Login" onclick="javascript:checkNames();"&gt;(Note that I have used a class name of "t12Button" - change this to match your current theme)
    3 - Underneath that, add in your javascript:
    &lt;script type="text/javascript"&gt;
    function checkNames()
    if ($v('field1name') == $v('field2name'))
      doSubmit('loginbuttonname');
    &lt;/script&gt;Then, when the user clicks the new Login button, this triggers your javascript. This checks that the values for field1name and field2name match. If they do, if fires the normal submit for the page (the same as if you clicked the original Login button)
    Andy

  • Delivery from sales scheduling agreement with one item per schedule line

    Hi all,
    I have a sales scheduling agreement where the same part number has 3 different JIT schedule lines and I need to create a delivery with 3 item lines: every item line of the delivery has to be referred to one schedule line of the scheduling agreement.
    When I create the delivery with transaction VL10E it has only one item line and its quantity is the sum of the 3 schedule lines of the sales scheduling agreement.
    I've tried to change the customizing of the User Role, choosing the Split Schedule Line = 2 ("One item per schedule line") but the delivery is created again with only one item line.
    How can I solve this issue?
    Thanks in advance for reply

    Dear Alex
    The SAP standard behaviour is that all schedule items with delivery date in the past have to be rescheduled anyway to one date and are combined therefore.
    Partially this behaviour can be influenced in VL10* by 2 parameters in
    the user role : Split per sched.line and Rule (delivery qty).
    Please find below informations about these different parameters
    "Split per sched.line propose you 3 Rule for creating one delivery item
    per schedule line. In a delivery list in item view with multiple
    schedule lines, you can decide for the same document item whether you
    want to generate one delivery item per schedule line or whether you want
    to deliver the cumulated quantity of the last schedule lines selected.
    About rule for delivery quantity, the following rules are currently
    implemented:
    1. No cumulation
    The open schedule line quantity to be delivered is the quantity at which
    the list line is delivered.
    2. Sum of all open schedule line quantities to be delivered that fall
    before the chronologically latest date in the to field (following the
    Deliv. creation date field) of the selection criteria.
    3. Sum of all open schedule line quantities to be delivered whose
    delivery creation date falls within the selection time frame (between
    the dates in the Deliv. creation date and to fields, respectively),
    making the calculation of the quantity to be delivered consistent with
    selection criteria. However, calculationof the quantities delivered with
    the order's schedule line quantities is not affected."
    Hope this helps.
    Regards
    Tonia

  • Delivery note with reference to sales order - 0 quantity items

    Hi all,
    our system allows items with quantity 0 to be created in delivery notes with reference to sales orders.
    This happens when some items in a sales order are out of stock while others are availiable. The unavailable items are included in the delivery note, but have quantity 0.
    The requirement is to eliminate this behavior and to create delivery notes with availiable items only.
    I would be grateful for any advice how to realise this.
    Best regards, Andreas

    Make the necessary configuration i.e. Check quantity 0 field value should be maintained as B in the respective delivery item category using transaction 0VLP.
    Regards,
    GSL.

  • Creation of sub item with serial numbers in outbound delivery

    Hi All,
    We need to create a sub item for an Outbound Delivery main item in change mode with serial numbers for sub item.
    Process flow:
    1. Sales order item created with main item
    2. Outbound Delivery created with main item
    3. Outbound Delivery interfaced to external logistics sytem
    4. External logistics system pick the main item and a sub item (packaging) from warehosue and ship to customer
    5. External logistics sytems send delivery pick confirmation interface with main item details and serial numbers for sub item
    Now we have to create a sub item with serial numbers in the delivery referencing the same main item.
    NB: Delivey can have multiple similar main items but there is only material number in SAP for sub item. Hence the requirement to identify relevant sub item serial numbers to each delivery main item.
    Can you kindly tell me in what possible ways we can create sub item with serial numbers for a deliveyr main item in change mode.
    Thanks in advance
    Best  Regards
    Veer

    Hi,
    Does anybody have an answer?
    Thanks in advance.

Maybe you are looking for

  • How do I install a new airport express and link a second airport express to extend the network of the first airport express?

    I currently have a linksys wireless router attached to the Internet.  I have an A1264 Airport Express connected by Ethernet to the linksys router.  I have two network names, one for each wireless network. I purchased a new A1392 Airport Express to re

  • T400 WWAN card Change

    Hi!, I'm thinking in buy a new laptop, a T400. am trying find some pre-configured system in the Personal Systems Reference (PSREF), I found it, but the configuration I choose (2767R9U) come with Verizon WWAN card. My question is, Can I buy the AT&T c

  • Import video into imovie ipad

    hello to all, I saw the presentation about the Imovie and looks very nice, but, before buying the app for the ipad, I want to be sure that I can import a video recorded from a SONY Camera into the Imovie/ipad . Do anyone has the same situation?, is i

  • Print progress window distilling into PDF

    I am running an ahlar vellum cad product and trying to print to pdf driver. I am getting a print progress window burned into my pdf. How do I turn off the print progress window?

  • Need to configure 2 diff. application under diff. settings in iplanet 6.1

    Hi, I have an application deployed in my iplanet 6.1 server that is configured to use JRE in the global settings. Now i want to deploy another application in the same iplanet 6.1 server which should use JDK option in the global setting. Is it possibl