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

Similar Messages

  • How to create sql query for item master with operator LIKE with variables?

    hi all,
    How to create sql query for item master with
    operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
    Jeyakanthan

    Hi Jeyakanthan,
    here is an example (put the like statement into the where field)
    SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
    The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
    Regards Steffen

  • BoObjectType for Item Master Data

    Hi,
    Does anyone know the BoObjectType for the Item Master Data?
    For Sales Orders for example, it's "oOrders"
    but I can't find the BoObjectType for the Item Master Data to access its User Defined Fields.
    Thanks.

    Hi,
    I think it is oItems ...
    From the SDK help file:
    BoObjectTypes Enumeration
    Member    Description    Value
    oItems    Items object.      4
    Regards,
    Ibai Peñ

  • UDF for Item Master Data

    Hi,
    The UDF options in the menu bar for the Item Master Data are available in one database but NOT in another database.
    Is this a known bug and/or related to conversion of a database from a previous version.
    We're using SBO 6.5 SP:01 EF:07
    Thanks

    Hi,
    UDF options in the menu bar are only visible if there are defined UDF for the active form. Are you sure that the seccond database has any UDF?
    Regards,
    Ibai Peñ

  • Query for Item master part convert excisable through batch file

    Hi team
    I need to add one time more than 100 items. make the manual each item as excisable take more time.
    Please provide the query to convert to excisible.
    Thanks

    Hi Anantha,
    Updating Item through Query is not Advisable as Updating through Query is not Supported by SAP.
    Try to Update Items to Excusable Item through DTW (Data Transfer Workbench)
    Hope this helps
    Regards::::
    Atul Chakraborty

  • Item Master Data Creation - Statuses

    Greetings,
    My client is looking for best practice - status naming conventions for Item Master Data Creation Process. They are in the Specialized Retail Industry and have internal naming conventions and want to align more with Industry Standards.  Their process has 3 staging areas - 1st - Baseline Master Data, 2nd - Internal Enrichment, 3rd - Item Master Complete - item master is now ready to be used  to build offers.
    thanks!
    MC

    Hi Mir - thanks for taking time to respond.  I think my question might have been confusioning. Its process related.  The client starts creating their item master with a minimal amount of information required to create a PO- (stage1 - example status would be "Available to Procure") the master then gets enriched with more internal information such as classifications and attributes to be consumed by other business areas and down stream processes specific to their business - such as building an offer for Web or TV (stage2 - example status would be "Available to Build Offer").  Client is looking for advice on what to name Stage 1 and Stage 2 status  
    Any thoughts?

  • Item master Data upload through DTW

    Hi Experts
                        I want to upload Item master Data through DTW what are the fields needed as mandatory..
    Regards
    Vinoth             

    Hi,
    Please refer sample template to get an idea for mandatory field.
    C:\Program Files (x86)\SAP\Data Transfer Workbench\Templates\Samples\1. Add New Data\Inventory\Item Master Data
    For item master data, only item code is mandatory when you are adding new item.
    Thanks & Regards,
    Nagarajan

  • Updating Standard Cost for an Item in Item Master Data

    How do you change the Item Cost field under the Inventory Data tab in Item Master Data if Standard Cost is selected as Valuation Method.  This field is greyed out.

    Hi ,
    If you have an inventory in the warehouse , you cannot change the item price of the standard cost .
    So it is greyed out .Once you donot have inventory ,this field becomes active and you can enter the price .
    Second option is from Item Revaluation .
    Please test it in test environment
    Thank you
    Bishal

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

Maybe you are looking for

  • How to get data type of variable in program..

    Hi ABAP Guru. I need to know how to get data type of variable or any structure field.. because I got short dump when use command REPLACE ALL OCCURANCE ... with variable/structure field that has data type I or P, I think it should be used with data ty

  • My iPhone was run over and doesn't work.  No insurance with ATT or apple. Any options as I owe $500 on it.

    My iPhone 6 was dropped and then a car ran it over.  Screen cracked and phone bent.  Goes on but of course nothing on the screen but lines!  I still owe $500 through ATT next with no insurance.  are there any options?

  • Two native iSCSI LUNs in a 2012 storage pool

    I have a Windows Server 2012 storage pool connected to a single SAN VIA iSCSI. I'd like to add a second SAN and present the virtual disks as part of the same pool to extend my total storage. Is this possible?

  • Workspace login problem

    HI, Hyperion 11.1.1.3 Windows Server 2003 EE IE 7 http://windows2003:19000/workspace/index.jsp enter the default username: admin and password: password and get message "You must supply a valid User Name and Password to log onto the system" Here is th

  • Extension panels, when minimized, dissapear when illustrator is reloaded

    Example; 1. Open kuler extension 2. Minimize the panel, so it only displays the Kuler Icon & the word "Kuler" 3. Close & Restart Illustrator Kuler is now gone, it needs to be manually called back again. The exact same problem occurs with FreegridUI p