Link between Bin Location and Batch Number

Hello.
I'm having some issues to find an link between the Bin Location and Batch Number.
I've searched through OBIN, OIBT, OBTN, OWTS, but no clue of what makes the link between this guys.
Does anyone here know something about that?
Best Regards.

Hi Araujo
Check this out > SAP Business One 9 - List Of New Tables posted by Posted by Kennedy T in Reporting and Printing it might help.
Des

Similar Messages

  • Link between storage location and batch number to retrive the salk3 field

    HI,
    In my report i need to give the output as follows
    For each lgort with related batch number we need to get the salk3.So i need to get a link between lgort , batch number to retrive the salk3.can any one give the tables from which i can get the link and retrive the data.
    note: My report output should look like the fields lgort batch  and unrestriced value of stock in tcode mb52.
    subhashini.
    Edited by: subhashinikb on Apr 1, 2011 9:38 PM

    Hi,
    In 2 steps, u can get the unrestricted stock value.
    step1: Get material no (MATNR), plant (WERKS), batch (CHARG) and unrestricted stock (CLABS) from table MCHB by sending Storage location and batch number.
    Step2: Get standard price STPRS from table MBEW based on condition where MATNR = MCHB-MATNR, BWKEY = MCHB-WERKS and BWTAR = MCHB-CHARG.
             unrestricted value in MB52 will be (MCHB-STPRS) * (MCHB-CLABS).

  • 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

  • Urgent: Link between Sales Order and Shipment Number In Extractor

    Hello Gurus,
    In my project we are using Extractors
    2lis_08 , 2lis_11, 2lis_12, 2lis_13....
    now the main problem was in the reporting client want
    as below
    Shipment no      SalesOrder No    Price
    Can any one help me how to link the SalesOrder Number and Shipment Number by using the above extractors..
    Either the development must be do on backend are at front end any thing which helps...
    please through some light...
    Thanks In advance
    Sandy

    Hello all,
    VBAK-VBELN=LIPS-VGBEL
    LIPS-VBELN=LIKP-VBELN=VTTP-VBELN
    VTTP-TKNUM(Shipment number)
    Finally
    LIPS-VGBEL(SD Number)
    LIPS-VBELN=VTTP-VBELN
               VTTP-TKNUM
    Hope it help others!!!

  • Table Link between Functional Location and Class

    Functional location has 'class' ( under section 'general data' in tab 'location'). Could anybody suggest the table name where I can get one to one mapping between the functional location and it's 'class'.
    I have put the functional location in KSSK-OBJEK   but when I am providing the functional location say 
    ?0100000000000838737 in this field of table KSSK, it is resulting no output. Could you please elaborate
    more or suggest something.
    Thanks,
    Hetal

    Hi Gurus
    I am also looking for same information.
    Would you please advise where to get this Internal Type?
    Also would you please advise what is the use of table KSSK in whole process?
    Thanks in advance
    Kris

  • LINK BETWEEN BUSINESS AREA AND MATERIAL NUMBER

    Hello EXPERTS,
    I have a report based on a custom table .The custom table contains company code, materials and their date run as primary keys.
    In the selection screen I am having one field business area, based upon the value entered in the selection screen in business area field I have to retrieve the corresponding materials.
    I want to know the relation between business area and materials ( resp. tables and primary keys)
    Plz any one guide me on this ...
    SRI

    hi ARS,
    Can u be more specific
    based upon the business area I have to retrieve materials... the report which I generated is based upon only one custom table.  In selection screen I am having business area field but it is not existing in the custom table...
    can any one guide me to solve this problem...
    SRI

  • Table containing link between material document and serial number.

    Hello.
    In connection with a goods receipt for purchase order in transaction MIGO a material that is serial number controlled is being recevied. The transaction allows the user to seach and use a serial number. The user then posts the goods receipt for the purchase order and a material document is created (entry in table MSEG).
    With this entry in MSEG as a starting point, I have to find the serial number that the user selected when posting the goods receipt. I have been looking in thse tables EKPO, RESB, RSDBS, AFPO, EBAN, RKPF, MSEG and MKPF, but none of them has the serial number used. Would anyone be of assistance.
    Thank you very much.

    Hi,
    2 options:
    1. Use tables: MSEG, SER03, OBJK.
    Links:
    - MSEG & SER03 to read the object number
    MSEG-MBLNR = SER03-MBLNR + MSEG-MJAHR = SER03-MJAHR + MSEG-ZEILE = SER03-ZEILE
    - SER03 & OBJK to read the serial number
    Read OBKNR from SER03 with the above link & pass the same to OBJK table here you can get the serial number (OBJK-SERNR)
    2. Use FM - GET_SERNOS_OF_DOCUMENT
    Regards,
    Vivek

  • Link between Material Document and Notification Number

    Hi
    In table QMEL we find the material document that is generated in correspond to Inspection Lot not for Notification((Goods Movement - Material Document).
    Our problem is that we didn't find the material document(Goods Movement) generated after notification.
    As we have done the cusmomization for posting the scrap in the notification and the Material Document is generated for this posting.
    In QM03 we can view the Material Document generated.
    Pls help!!!

    Dear Kumar,
    Thanks for reply but ,
    In this table the material document is corresponding to Inspection Lot not for Notification Number.
    e.g
    InspLot 40000000067( Material Document - 5000000083)
    . QM Notif. 300000062
    .. Goods Movement 49000030282008
    .. Goods Movement 49000030302008
    In table VIQMEL if we enter QM notification No.300000062 we will find InspLot 40000000067 and  Material Document - 5000000083 but not,
    .. Goods Movement 49000030282008
    .. Goods Movement 49000030302008
    I need table where we can find these material documents w.r.t QM notification number.
    Regards
    Purnesh/Anil.

  • Link Between OINV Table And OBTN Table

    I want to create relationship b/w A/R Invoice and Batch Number transaction Reports table.
    sap point out two tables of Batch Number Transaction Report RBTN and OBTN,Problem is that i never found any  table with name of RBTN.
    plz tell me what is RBTN table???why its not in sql database  and how i can create link b/w A/R invoice and Issue for production  .

    Hi Vinu.........
    Welcome to SAP Business One Forum............
    Please check the link between these tables........
    SELECT Distinct T1.BatchNum
    FROM IBT1 T0
    Inner Join OIBT T1 On T0.BatchNum=T1.BatchNum AND T1.ItemCode=T0.ItemCode
    INNER JOIN DLN1 T2 ON T2.DocEntry=T0.BaseEntry AND T2.ItemCode=T0.ItemCode
    inner join ODLN T3 on T2.DocEntry = T3.DocEntry LEFT JOIN INV1 T4 On T4.BaseEntry=T2.DocEntry Left Outer Join OINV T5 On T5.DocEntry=T4.DocEntry
    WHERE T0.BaseType = 15
    Hope this will help you........
    Regards,
    Rahul

  • Link Between Service Notification and Sales Order

    Hi All,
    In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
    Please guide me.
    With Regards
    Vinu.N

    Hello Vinu
    For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
    Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
    That is a solid link right there.
    I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
    Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
    Hope this helps.

  • Link between outbound delivery and matriel documents of good receip

    HI,
    in which table we can find the link between outbound delivery and matriel documents of good receipt.
    thanks

    Hi!,
    If you have posted a goods receipt for an outbound delivery, you should find in the header table MKPF for the material document the field MKPF-XBLNR completed with the outbound delivery number.
    Then, if the document flow for the delivery has been updated correctly, in the table VBFA for the delivery (VBFA-VBELV), you should find the material document under VBFA-VBELN.
    I hope this helps you!
    Best regards,
    Esther.

  • Link between structure indicator and labellig system (PM-FL)

    Hello,
    I'm facing a problem to associate one of my alternative label with a precise structure indicator.
    In our system (R/3 4.6c), we have activated the alternative system in order to use a 40-char-long label for our functional locations. We also created a structure indicator to represent these 40 characters.
    When changing this alternatice label, the system shows the structure indicator of the main label. On my opinion, it is normal because I've found no customizing point that allows me to link the alternative labelling and the structure indicator. Am I wrong?
    If you ever encountered this problem, could you please help me find a way to solve it?
    Best regards,
    Annabelle

    Hello,
    sorry I couldn't answer your question sooner.
    The situation is this one :
    - functional locations have assigned  primary labels. These labels are created according 43 (out of 44) structure-indicators which help in representing a structure of technical objects. Thanks to the object type, we created a link between object type and structure indicator through a specific table.
    - Two functional locations can have the same ID with distinct localisations.
    - a secondary label has been created in order to generate a 40-character-long ID that is necessary to have a unique ID for each functional location.
    - We have a specific structure indicator (the 44th) that represents a 40-character-long text.
    As both labels are mandatory in the solution, is there a customizing point where we can link a non-primary label with a defined structure-indicator?
    Thanks for your help.
    Annabelle

  • Link between ekpo -ebeln and vttk-tknum ie shipment no:.............urgent

    HI all,
      plz help me in getting link between ekpo -ebeln and vttk-tknum ie shipment no:
    reply soon....urgent.
    thanks in advance

    Hi
    Link VTTK and VTTP tables with TKNUM and take the delivery VBELN field  from VTTP
    with that delivery you can find the PO number
    see the reference number in EKKO and EKPO tables by passing this VBELn to XBLNR field
    Or take the VGBELand VGPOS  from LIPS table passing VTTP-VBELN  and pass this values to EKKN-VBELN and EKKN-POSNR and take the EBELN and EBELP which are nothing but EKPO-EBELN and EBELP fields
    Reward points for useful Answers
    Regards
    Anji

  • API to create a link between Sales order and Requisition

    We are upgrade 11i to R12. We have a custom drop ship process. We have a original SO and through the sales order we create a Reqisition. We send the requisition details to the factory and the factory sends us a flat file with the quantity shipped and dates. There might be multiple lines for each requisition received. We will add the details to the SO and update the Requision with the flat file details for the SO shipment. But We will have to create a link between the SO and the requisition. Is there an API to do the linking between a SO and A requisition line?

    I created a SO and a requisition
    declare
    p_rsv inv_reservation_global.mtl_reservation_rec_type;
    p_dummy_sn inv_reservation_global.serial_number_tbl_type;
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(240);
    x_rsv_id NUMBER;
    x_dummy_sn inv_reservation_global.serial_number_tbl_type;
    x_status VARCHAR2(1);
    x_qty NUMBER;
    l_inventory_item_id number;
    l_source_header_id number;
    l_reservation_qty number;
    l_error_message VARCHAR2(300);
    l_order_number NUMBER;
    begin
    fnd_global.APPS_Initialize(1131,50654,660);
    p_rsv.reservation_id := NULL;
    p_rsv.requirement_date := to_date('30-JUN-2012','DD-MON-YYYY');
    p_rsv.organization_id := 88; ---ship_from_org_id
    p_rsv.inventory_item_id := 147001; --inventory_item_id
    p_rsv.demand_source_type_id := inv_reservation_global.g_source_type_oe;
    p_rsv.demand_source_name := NULL;-------'SALES ORDER';
    p_rsv.demand_source_header_id := 27005; --- sales order header id
    p_rsv.demand_source_line_id := 29010; --- sales order line id
    p_rsv.primary_uom_code := 'EA';
    p_rsv.primary_uom_id := NULL;
    p_rsv.reservation_uom_code := 'EA';
    p_rsv.reservation_uom_id := NULL;
    p_rsv.reservation_quantity := 200;
    p_rsv.primary_reservation_quantity := 200;
    ----p_rsv.supply_source_type_id := inv_reservation_global.g_source_type_internal_req;
    p_rsv.supply_source_type_id :=inv_reservation_global.g_source_type_inv;
    p_rsv.supply_source_header_id :=18001; -- requisition header id
    p_rsv.supply_source_line_id :=12172; -- requisition line id
    p_rsv.supply_source_name := NULL;
    p_rsv.supply_source_line_detail := NULL;
    p_rsv.autodetail_group_id := NULL;
    p_rsv.external_source_code := NULL;
    p_rsv.external_source_line_id := NULL;
    p_rsv.supply_source_line_detail := NULL;
    p_rsv.revision := NULL;
    p_rsv.subinventory_code := NULL;
    p_rsv.subinventory_id := NULL;
    p_rsv.locator_id := NULL;
    p_rsv.lot_number := NULL;
    p_rsv.lot_number_id := NULL;
    p_rsv.pick_slip_number := NULL;
    p_rsv.lpn_id := NULL;
    p_rsv.attribute_category := NULL;
    p_rsv.ship_ready_flag := NULL;
    p_rsv.demand_source_delivery := NULL;
    p_rsv.attribute1 := NULL;
    p_rsv.attribute2 := NULL;
    p_rsv.attribute3 := NULL;
    p_rsv.attribute4 := NULL;
    p_rsv.attribute5 := NULL;
    p_rsv.attribute6 := NULL;
    p_rsv.attribute7 := NULL;
    p_rsv.attribute8 := NULL;
    p_rsv.attribute9 := NULL;
    p_rsv.attribute10 := NULL;
    p_rsv.attribute11 := NULL;
    p_rsv.attribute12 := NULL;
    p_rsv.attribute13 := NULL;
    p_rsv.attribute14 := NULL;
    p_rsv.attribute15 := NULL;
    inv_reservation_pub.create_reservation
    p_api_version_number => 1.0
    , x_return_status => x_status
    , x_msg_count => x_msg_count
    , x_msg_data => x_msg_data
    , p_rsv_rec => p_rsv
    , p_serial_number => p_dummy_sn
    , x_serial_number => x_dummy_sn
    , x_quantity_reserved => x_qty
    , x_reservation_id => x_rsv_id
    IF x_status='S' THEN --- HARD RESERVATION IS DONE SUCCESFULLY ---
    dbms_output.put_line('reservation succesful');
    dbms_output.put_line('reservation id: || x_rsv_id');
    ELSE
    if(nvl(x_msg_count,0) = 0) then
    dbms_output.put_line('no message return');
    else
    for I in 1..x_msg_count LOOP
    l_error_message := fnd_msg_pub.get(I, 'F');
    end LOOP;
    end if;
    --- HARD RESERVATION API fails ---
    dbms_output.put_line('Reservation API Error Message: '||l_error_message);
    END IF;
    EXCEPTION
    WHEN OTHERS THEN ------------------ In case of any pl/sql error
    l_error_message := SQLERRM;
    dbms_output.put_line('Plsql Error Message: '||l_error_message);
    END;
    but i am getting an error
    "Reservation API Error Message: INV_RSV_DS_SO"
    I am stuck and no idea how to fix this. Any help is appreciated.
    Edited by: 901524 on May 23, 2012 1:26 PM

  • Link between Sales order and Credit master sheet

    Hi,
    Plz explain the link between sales order and credit master sheet.
    Thanks and regards
    CSR

    Hi,
    Credit master is related to Customer.
    Credit limit will be assigned to a customer by using the T.Code FD32.
    Credit control area will be assigned to a customer.
    You can the credit control area for a customer in the table "KNVV".
    Goto the T.Code "FD32".Enter your customer number and credit control area.Select the status tab.
    Here you can maintain the credit limit.If you leave blank means the limit is 0.00.
    Next thing is goto the T.Code "OVAK".
    Select your sales order.Maintain the "Credit limit check" for your order type.
    Goto the T.Code "OVA8".Select your valid combination.Here,you can activate either the static or dynamic credit limit checks.
    If you create the sales order by using the customer,initially the system will check for the credit limit.If it is 0.00 and credit check functionality is activatd in the above specified T.Codes,then creditcheck will happen and order will be blocked for releasing of credit by using the T.Code "VKM3".Authorised persons have to release this credit block.Suppose,you have maintained this credit limit as "1000Rs/-" and you are creating the order of value "550Rs/-",then your order will not be blocked even though the credit check functionality is activated for your order type.
    In this way,sales order is in turn related to credit master.
    Regards,
    Krishna.

Maybe you are looking for

  • Oracle, Null and empty Strings

    Currently I'm facing problems with a class, which contains a String, which is set to "" (empty String). When the class is persistent, oracle writes null to the table column (which seems to be common oracle behaviour) and when retrieving the class, th

  • Quiz questions will not retain format when question is changed.

    OK forum folks. I'm working on my first e-learning project and have ran into a problem with question formating. The instructions/help basically tell you to click here and click there. I can easily figure that out. The questions I seem to have are qui

  • Help with Installation

    Hello: This is kind of new to me and I am not a computer expert. I am installing Oracle 9i from the CD and here is the message I am getting: "Error in writing to directory c:\Document and Settings\Locals~1\Temp\OraInstall1024. Oracle Universal Instal

  • Mutator to compute set and return the value

    Hi I am having trouble working out how to do a mutator that does all three compute a value set the value and then return it this is what i have so far this example calculates and returns the value but does it set the value of totalSlices ???? this is

  • Sending customizd strucuture data to Xi.

    Hi Guys, If i dont want to use IDOCS and PROXY and applicatoin server, what is the other way i can send data to Xi from R3 ? Also let me know what type of connection setup is required if there is any other means. Thank You!.