Item Maste Data - L/U Query

Good Afternoon
Experts:
I have been assigned a task to pop-up a L/U query on the BINS column of the matrix on the Inventory tab of the ItemMasterData screen.  So, I need to use the
Item value from the ItemNumber field at the top of the screen. 
<b>Here is my query so far which I have been unable to get to work.  Note, the ITEMBIN table is a non-SAP table that was created here:</b>
Select T0.U_WhseCode AS 'Warehouse', T0.U_ItemCode AS 'Item Code', T0.U_BinLoc AS 'Bin Location', T0.U_Quantity AS 'Qty in Bin' FROM [@ITEMBIN] T0 where t0.U_ItemCode = '$[OITM.ITEMCODE]'
So, essentially this L/U needs to be on a different field, in this case the BINS column in the matrix, then the ItemNumber field. 
1) I understand this is possible by referencing the table/field behind the ItemNumber field on the screen.
2) I get an Internal Error(8180) when I try to execute the L/U via Shift/F2 after
   assigning it to the BINS column.
Can anyone see what may be wrong with the query?  Perhaps my understanding
of how to get this type of functinality is not correct.
Thanks,
Ed

Experts:
I made one more pass through the forum for assitance with my question.  I did find
a simple suggestion to delete re-add the query.  I did that and no more Internal 8180 error.
Thanks,
Ed

Similar Messages

  • Query for item master data

    hi all,
    i want to create a query for items in the item master data that shows the changed field, the old value, the new value, user name and the date it was changed .
    can anyone help please.
    ciao

    thanks for the reply
    my clients internal auditors require that they have Exception Reports in SAP , i.e reports that can show changes made, date and by which user etc...
    1. changes made to item master data
    2. changes made to business partner master data
    3. changes made to invoices, purchase orders etc..
    this reports can be set in query form or xl reporter..
    i tried but couldent find the tables ....
    any sugestion will be appriciated..

  • Incorrect "Ordered" quantity in the item master data

    Hello Experts,
    I have a situation where there are two items we have found that show the incorrect ordered quantity in the item master data. This is in fact the ordered column and the items are not production items. One of the items is showing a negative quantity and the other is showing 50,000 LBs less than it should given the one open production order with NO GRPO documents linked. Please advise ASAP..
    Thank you,
    Taylor

    Hi,
    You need to check the detect query and the scenarios in the Note No. : 999124.
    If the detect query of the Note returns result, you need to log a support ticket to get the database investigated.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Item Master Data issue

    Hi Experts,
    How to set Manager Inventory by Warehouse status on whole Item Master Data at once?
    Regards,
    Ravi Jha
    Edited by: Ravi_Jha_SDN on Jul 22, 2010 8:52 AM

    Hello Ravi...
    I would strongly urge you to never update any SAP B1 table with the SQL.  For several reasons:
    1.  SAP B1 is a strongly integrated data structure and you might think you are updating the correct field and all will be fine, but there are so many foreign keys in SAP B1 it is unbelievable (you can see this in the bolded names in the Query Generator).  For folks having worked with SAP B1 for some time, they will tell you not all foreign keys are bolded and that can cause a bit of a problem.  If you update a field and it is used somewhere else, the results can be total havoc.
    2.  It is SAP policy (due to the above) that, if an SAP B1 table is updated via SQL, it is almost certain they will not help you in case you have a problem requiring a fix through SAP.  Even if you try to apply the fix yourself and it goes wrong, you will certainly be in dire straits.  Your only recourse is to go back to a previous backup or to do a complete reinstall (and the effort then becomes an enormous manual or Data Transfer Workbench - DTW - effort).
    3.  It is not hard for SAP to determine how you have updated your tables.  I once appeared in court as a forensic expert to settle a dispute between two parties on some changed information in invoicing.  I received some help from some SAP folks I know.  After sitting in the witness stand for 15 minutes and explaining in layman's terms what I was about to do, the defense called a recess and pleaded guilty to the charges.  If I can be that efffective in determining how something was changed, guess how quickly SAP can do it!
    4.  You will at some time come across the need to do a DTW in the normal buisness life of your system.  Learn DTW with small fixes like this "Manage Inventory by Warehouse" so you can get comfortable with it.  As Manish points out, folks here will help you.  I have seen folks being helped over and over again in this and other forums.  I know from personal experience DTW can be a bit difficult, but I am glad I took the time to learn.  Also, I have heard in Version 8.8 it is much better.
    5.  You might be under pressure to get that quick fix and/or update in, but in my experience, once you explain why it is taking a bit longer to the powers that be, the business folks will 99% of the time understand that the best course of action is to take some time and use the SAP DTW or Administration > Data Import/Export function to get fields updated.  (NOTE:  some companies advertise they have an add-on or tool that can update the fields within SAP policy, but be very careful with this and check their claim completely with partners and SAP - this claim is a lot of times not true).
    I do not want to rain on anyone's parade here - it is your choice.  And this is only my own personal opinion, but I just want to make sure you understand what the consequences might be pertaining to your decision.  That is my intention - nothing more and nothing less...
    Regards,
    Zal

  • Remove Item Master Data

    I want to delete bulk of unused item master data from SBO.Please suggest the method as its become very hectic to delete item one by one from Item master data form.

    First Download the B1TCH application.  After unzipping.  Run B1TCH.exe, enter the Server name, userid and password and Refresh Icon next to company dropdown list.
    On the page link I send you can see the following tips.  You could build a query which picks all Items in the OITM table which do not exist in any of these OINM, OPOR and ORDR tables. 
    You can save this list as a txt or dynamically pass the query.  Rest is explained below.
    Deleting stuff
    The following examples focus on deleting items from the database. This is something you cannot do with the DTW.
    To delete a single item with ItemCode 'DEMOITEM1' from the database, just type:
    remove(ITEM,'DEMOITEM1')
    ...you may also build the list of items by defining a list such as this:for itemcode in['A123','B124','C125']:  remove(ITEM,itemcode)
    The above samples are nice for testing, but in a real world scenario you might perhaps want to read the itemcodes from a textfile with one itemcode per line:
    for itemcode in open("c:
    itemstodelete.txt"):  remove(ITEM, itemcode)
    ...OR you might wish to use a resultset from a query as a source for the item codes:
    rs=query("select itemcode from oitm where qrygroup64='Y'")for itemcode in browse(rs):   remove(ITEM, itemcode)
    Function calls can be nested for a more compact expression:
    for itemcode in browse(query("select itemcode from oitm where qrygroup64='Y'")):  remove(ITEM, itemcode)

  • Delete item master data

    Hi all
    I have a db with almost 1000 items master data with no movement. I want to remove them to import  a new list of items master data, but it's very difficult to do it one by one.
    How can I remove them all at once?
    Thank you
    Irina

    actually there is no option in the application to do so.
    there is one option i can think of and for this you will have to write a simple DI add-on that takes the item code from the list (assuming you have the list of items you want to remove, you can get it with a simple SQL query) and remove them in a loop
    if you need the query to find the items with out transactions let me know
    good luck

  • Item master data table

    Hi All ,
    I have to update item code .so i want to know how can i update this . and i want to know if it is better to delete item data through SQL Back end .and what tables are linked  to item master data table .
    Thanks In advance
    Areeba Ali

    Hi,
    you can delete the item code using SQL statement thorugh backend using this sql query e.g. item code is B747400:
    delete from dbo.oitm where itemcode = 'B747400'
    if you delete it, the db will not consistent and no more support from SAP AG except you create new db and taken the opbal for the db.
    The warehouse journal, all created documents and history tables will not consistent anymore after the deletion.
    to prove it, you may check using this code:
    select itemcode,dscription from oinm where itemcode not in (select itemcode from oitm)
    select itemcode from oitw where itemcode not in (select itemcode from oitm)
    select itemcode from itm1 where itemcode not in (select itemcode from oitm)
    select itemcode from itw1 where itemcode not in (select itemcode from oitm)
    All of the tables involve in the above queries will be affected.  If the item never have any transactions, you can delete it directly using this step:
    1. search the item
    2. if the item is available then right click --> select remove
    JimM

  • Item Master Data - Unit Price

    Hi all,
    In the window Item Master Data, I need the unit price for the selected item in a query.
    Anybody know how to make it?
    Oitm = Item Master Data
    OPLN = Price list

    +Chief wrote:
    <<Hi all,
    In the window Item Master Data, I need the unit price for the selected item in a query.
    Anybody know how to make it?
    Oitm = Item Master Data
    OPLN = Price list>>+
    Hello Chief,
    The price are stored under ITM1.
    SELECT
    T0.ItemCode,
    T1.ListName,
    T0.Price,
    T0.Currency
    FROM
    ITM1 T0 
    INNER JOIN
    OPLN T1 ON
    T0.PriceList = T1.ListNum
    WHERE
    T0.ItemCode = 'XX'
    KR
    Murielle

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • Error while importing Item MAster Data using DTW

    Hi,
    when we are importing item master data using items template
    it is giving error.
    Error:":connected value 1 was not found "
    can any one send the oitems template that is working fine wthout any error.
    Thanks,
    Neetu

    You cannot import  data prepration templates>>Testcase1_Test Data for Import function>Oitems directly.
    You will have to do certain prerequisites like setting CommissionGroup, CommissionPercent, CommissionSum,CustomsGroupCode etc., in SAP before importing Items.
    So I would like you to try out with minimum fields in the template and import. After understanding, you can import the required fields.
    I suggest you to use the template from "C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oItems"

  • Error while importing Item Master data through DTW

    Hello Expert,
      I trying to import item master data through DTW but it gives an error while importing as shown in attach file..
      Please help me...
      I am using SAP 9.0 Pl 6
    Regards,
    Sandy

    Hi Sandy,
    Kindly follow the check list
    1. Right Click DTW and run it as Administrator.
    2. Is your DTW version is same as SAP B1.
    3. Uninstall and re-install DTW.
    4. If you are using 64-bit DTW, try to use 32-bit one.
    5. Check the Template, is it of the same DTW version.
    6. Remove all the unnecessary columns.
    7. Last try different Template extension.. (e.g: CSV (Comma delimited), or Text (Tab delimited))
    Hope you find this helpful......
    Regards,
    Syed Adnan

  • Unit Price in Item Master Data

    Step no.1) At time of Defining Item Master Data  we are Defining Unit Price say<b> 2,000</b> <b>INR.</b> Data Saved in Price List 01.
    Now with this information I am Preparing Purchase Order.After Selecting Specific Item unit price is reflecting in P.O by default, Then I modified Unit price from 2000 INR to 2500 INR in P.O.
    Step no 2)  I received material by Goods Receipt PO
    Step no 3) When I am posting A/P Invoice based on GoodsReceipt PO in invoice the original Master Data Unit price is Reflecting.
    Now vice versa I made another Transaction also in Another System.
    In Step no 3 it is reflecting the Unit Price of Purchase Order.
    Can I know why it gives different Information for same type of Transaction. Does I followed wrong System.
    Regards
    Narender

    Please confirm the following.
    Once you select a Price in PO it should carry all the way through at the AP Invoice and should not change unless changed manually.
    Are you copying the PO >  Goods Receipt PO > AP Invoice
    And when copying to Goods Receipt PO or Invoice you are not changing the price or Pricelist
    Pls let me know
    Suda

  • How to include the UDF of items master data into PLD (Inventory in Warehouse Report (Detailed))

    Hi,
    Is there a way to include the UDF in the items master data into the <<Inventory In Warehouse Report (Detailed)>> PLD?
    I checked the default layout and found out all the column source type is "free text" and the content is #Item, how do I know the value of the UDF?
    Thanks

    Hi,
    Some of the standard reports are hardcoded in sap. Not possible to add UDF field in PLD.
    Also refer this thread Variables -  Sap business one
    Thanks & Regards,
    Nagarajan

  • Set Length in Inches in item master data in purchasing tab

    Dear Experts,
    I want to set the length,width and height in Inches in the item master data of purchasing data tab. By default it is coming in meter. Please help me
    Regards,
    Ravindra

    Hi Ravindra......
    Go to Administration --> System Initialization --> General Settings --> Display Tab --> Default Length UoM --> set in Inch.
    Hope this will solve your problem.......
    Regards,
    Rahul

  • Item master data: can't modify

    Hello Experts,
    In Item master data >> Purchasing Data Tab >> Items Per Purchase Unit: when I try to change the value of this said field, it gives an error:
    Cannot change the field becuase item is already involved in transactions Message [150-16]
    Though I closed all the PO, Goods Receipt-PO, and Invoice but still the error is same.
    Help Required
    Regards,
    Edited by: Shazad Nazir on Jan 6, 2009 11:40 AM

    Hi,
    You can check Note No. [1059753|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1059753] regarding your case.
    Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for

  • Black Screen with Apple Logo?( Why)

    I have had my ipod touch (2nd generation) for 3 months. One day i was at school using my ipod and my battery ran out so i put it in my backpack. After school i plugged my Ipod into my computer and i got the red battery icon. I knew i had to wait 10 m

  • Selection OPTION: Date input problem in Module POOL through Subscreen

    Dear ALL, Being new to ABAP, I am struck in a Problem. Requirement: I want an option on the Screen( My Screen 9000) for Date Range. Through this Date-Range I want to filter and pull some data from Database. As Date Range Selection option is possible

  • South Sudan missing

    I'm not able to change my call forwarding to South Sudan. The country is not listed in the drop box of countries. What do you suggest? Best, Miep

  • Fill down from D1 to active cell in excel ??

    Hi all. I am trying to write a script to take the values from column A and subtract the value of A$1 from the rest of column A. To do this manually I set D1 = A1-A$1 and then fill down in column D to the last used row in column A. Then copy-special p

  • How NOT to cross-sync apps between devices?

    Hey gang- I backup all my iOS devices to iTunes on my desktop iMac.    I like everything about that except the fact that if I update an app, for example, on my iPad, iTunes then updates that app on my iPhone on the next Sync.    For lots of reason, I