One material has two entries in DGTMD table

Hello Experts,
I found very strange phenomenon in our production system. There were two or sometimes more than two entries for one material one was showing as Dangerous and other as non dangerous. I mean in DGTMD table in DGNHM field is X for one entry and blank for other entry of the same material. I think this is the cause of previous issues which I posted where same material was shown as Dangerous and non dangerous for same regulation.
My question to you is what is the resolution for this if this is the cause. How to get this data corrected?

Hi Devdatt,
just as an addition to what Pietro answered:
the concept of DGTMD is to be able to have one valid entry for each relevant regulation for each material:
- you might have several entries for one regulation in case of different time ranges
- you might have several entries for different regulations
The key is not the material number. Please check if the entries you are mentioning are
- regarding the same regulation and
- the same time range.
Best regards,
Christoph

Similar Messages

  • Constraint - at most one record has status 'active' in a table.

    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Thank in advance. I have a table like this:
    CREATE TABLE FIFAPPS.FS_MST_SUPPLIER
    SUPL_CODE VARCHAR2(12 BYTE) NOT NULL,
    SUPL_STATUS VARCHAR2(12 BYTE) DEFAULT 'ACTIVE' NOT NULL
    How to make constraint such that at most one supl_code has supl_status = 'ACTIVE' in the table.
    For example:
    -- BELOW IS NOT CORRECT AS THERE ARE TWO RECORDS WITH SUPL_STATUS='ACTIVE'
    record 1 : (supl_code = '1',SUPL_STATUS='ACTIVE')
    record 2 : (supl_code = '2',SUPL_STATUS='NOT ACTIVE')
    record 3 : (supl_code = '3',SUPL_STATUS='ACTIVE')
    -- -- BELOW IS CORRECT AS THERE IS ONLY ONE RECORD WITH SUPL_STATUS='ACTIVE'
    record 1 : (supl_code = '1',SUPL_STATUS='ACTIVE')
    record 2 : (supl_code = '2',SUPL_STATUS='NOT ACTIVE')
    record 3 : (supl_code = '3',SUPL_STATUS='NOT ACTIVE')
    -- -- BELOW IS CORRECT AS THERE IS NO RECORD WITH SUPL_STATUS='ACTIVE'
    record 1 : (supl_code = '1',SUPL_STATUS='NOT ACTIVE')
    record 2 : (supl_code = '2',SUPL_STATUS='NOT ACTIVE')
    record 3 : (supl_code = '3',SUPL_STATUS='NOT ACTIVE')

    You cannot refer other rows in check constraint I feel.Ideally these type of validations should happen from your Front-end.
    You can try something like below by adding a virtual column..
    SQL> CREATE TABLE FS_MST_SUPPLIER
      2  (
      3  SUPL_CODE VARCHAR2(12 BYTE) NOT NULL,
      4  SUPL_STATUS VARCHAR2(12 BYTE) DEFAULT 'ACTIVE' NOT NULL
      5  );
    Table created.
    --"Add a virtual column. The ELSE part here should be your primary key in the table
    SQL> alter table FS_MST_SUPPLIER add dummy_col as
       (case when upper(supl_status) = 'ACTIVE' then 'ACTIVE' else supl_code end);
    Table altered.
    --"Add a unique constraint on the virtual column.."
    SQL> alter table FS_MST_SUPPLIER add constraint cons1 unique(dummy_col);
    Table altered.
    SQL> insert into FS_MST_SUPPLIER(SUPL_CODE,SUPL_STATUS) values(1,'ACTIVE');
    1 row created.
    SQL> insert into FS_MST_SUPPLIER(SUPL_CODE,SUPL_STATUS) values(2,'ACTIVE');
    insert into FS_MST_SUPPLIER(SUPL_CODE,SUPL_STATUS) values(2,'ACTIVE')
    ERROR at line 1:
    ORA-00001: unique constraint (SCOTT.CONS1) violated
    SQL> insert into FS_MST_SUPPLIER(SUPL_CODE,SUPL_STATUS) values(2,'INACTIVE');
    1 row created.
    SQL> insert into FS_MST_SUPPLIER(SUPL_CODE,SUPL_STATUS) values(3,'INACTIVE');
    1 row created.
    SQL> update FS_MST_SUPPLIER set supl_status = 'INACTIVE';
    3 rows updated.
    SQL> insert into FS_MST_SUPPLIER(SUPL_CODE,SUPL_STATUS) values(5,'ACTIVE');
    1 row created.
    {code}
    Edited by: jeneesh on Oct 17, 2012 3:40 PM
    I did not have to use virtual columns or unique function index for any table in my career...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • One material in two company codes

    How can we maintain one material in two company codes?

    Hi Gopala,
    We will be maintaining the Materila master to a particular Plant Level and Sales Organisation and Distribution channel.any way the Plant will be assinged to the Company code.
    In this Thread. Scenario Like Inter Company Stock Transfer one Material should be maintained both the Plants for which will be having Two Different Company Codes.
    Hope this Clear your Doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • One Material with two Different In-House Production Days

    Dear Experts,
    We have 1 semi-finished material (HALB) that is common to two different locations (production version) with two different in-house Production days.  How can we separate the 2 different in- house prod. days for this specific material? Could we setup in the production version? if not, could you give us an advice.
    Ex:
    JDXZ011111 with Prod. version I000 = 3 days
    JDXZ011111 with Prod. version X000 = 1 day
    We are hoping for your help..
    Thank you.
    Regards,
    Marnelli

    Dear Mamelli,
    1.You cannot maintain  the in-house production time in the production version.
    2.In-house production time in days can be maintained in MRP2 view.
    3.If Lead time scheduling is carried out at the time of MRP run then the system uses the in-house time for the calcualtion onf basic
    start and end dates.Based on the routing data the system proposes the production start and end time.
    4.Generally exception messages 64     Production finish after order finish
    63     Production start before order start are  shown after MRP run.
    5.If basic scheduling is carried out then the system proposes only the basic dates.
    Regards
    S Mangalraj

  • Two prices for one material in sales order according condition type

    Hi,
    I configure the condition type according to following condition record:
    Plant/ Sales Organization/ Distribution channel/ Material / Customer
    (because system should calculate two prices for one material in two plants)
    In the sales order screen, when user firstly select material , quantity, plant ,  system calculate the related price correctly but if user select the material and quantity and enter and after that select the plant, system will show the error message in pricing procedure and to have a price for material, user should update the price in the price condition in sales order.
    It is so difficult for user to update one by one, because there are several sales orders which need to update.
    Is it any way to solve this problem?
    Thanks,

    > In the sales order screen, when user firstly select material , quantity, plant ,  system calculate the related price correctly but if user select the material and quantity and enter and after that select the plant, system will show the error message in pricing
    Hi,
    Why to let the user press Enter button before entering plant value Obviously, system will give error, because it doesnt get all the required value based on which you have maintained condition records.
    Ask the user to enter all the value at item level otherwise you will have go for the option that you are doing currently.
    It is said prevention is better than cure
    Hope you get some inputs
    regards,
    Sagar

  • Change entris on dimension table

    Hi All,
    We have two entries in DIM table one for Fixed currency info object in the cube like blow.
    1. DIMID   SID_0CURRENCY SID_0SALES_UNIT
        0          1000000044         2
    DIMID is zero beacuse we have created Info Object with fixed currency.
    Now we have to open this filed for all the currency but system not allowing to change the Info Object beacuse data in the cube and we have almost 2 Billion record in the cubes.
    So we are thinking to do the changes like below.
    We have another entries in the table for not fixed currency Info Object
    2.DIMID ;  SID_0CURRENCY SID_0SALES_UNIT
       2         1000000045         3
    SO now we are planning to overwrite record 1 with record 2. so my new record 1 look like below.
    1. DIMID   SID_0CURRENCY SID_0SALES_UNIT
       02         1000000045         3
    Please suggest me can we change the DIM table.
    Saleem.

    Hi Saleem
    Dont manupulate the dimension table values manaually,it may leads to inconsistency(after doing manual change RSRV sure will through error).If you do so the connection of Dimension table with Fact and SID will get distrub,same can be rectified by RSRV,repair objects.Not sure how for it will recreate the connections..
    Still if you want to take risk...dont delete the Fact table data...via SE38 (prog name DB_DROP TABLES*...Not sure about the program name,better search)  delete the Dimension table values(if its not permissible means same can be achieved by ABAP debugging),delete master table and freshly populate the master data table.
    Use SLG1 for more Txn data analysis.
    Thanks
    TG

  • How to find delete entries in custom table

    Hi,
    We have a custom table with table maintenance in Production. Some one deleted all the entries from the table. Can you please let me know how to retreive the old entries from the table and how to check who deleted the entries.
    Thanks
    Rama

    hi rama,
    Please refer to the below given link,
    [http://help.sap.com/saphelp_nw70/helpdata/en/43/0510abcda521abe10000000a1553f6/content.htm]
    I think it will sove ur problem,
    Reward points if usefull,
    Thanks,
    Kalyan.

  • First two entries

    how to get first two entries from  a table.
    regards,
    pradeep

    Hi,
    Use it.
    select * from <tablename)  into table <internal table> up to 2 rows.
    reward if helpful
    Regards
    Azad.

  • Two entries found in TFS DB for one user, how do I know which one to remvoe?

    We had issue with an account that TFS reported to there are multiple users with the same display name. I searched the database and found two entries with the same 'displayname'.
    First weird thing is that the account names are only different in some letters with or without capital (exactly "SIvakhno" and "sivakhno"), I thought TFS (and Microsoft) is not capital sensitive, right? Why does it consider the two accounts
    are different?
    My next question is, if I want to remove one to solve the 'multiple user' issue, which entry should I remove from the database? They have different 'Sid', 'Id', 'AccountName' (as above), 'UniqueUserId' (1 and 0, respectively), 'LastSync', 'SequenceId', all
    the other fileds are the same in the table.
    Thanks

    Hi Peter, 
    Thanks for your reply.
    There’s two users existing in your TFS Server databases, one is Slvakhno and another one is sivakhno, and they have different SID and Login name in your TFS database, right?
    What’s the login names of these two users, which one’s Login name is D_Name\sivakhno2, and which one’s Login name is D_Name\sivakhno?
    TFS recognize the user using SID value, every user has the unique SID value in AD although they may have the same display name. If the Slvakhno and slvakhno users have different SID value in TFS database, TFS will think they two different users. But you
    received the same SID value for the Slvakhno and slvakhno users after executed the tfssecurity /imx command line, that’s an issue in this scenario, please use these two users’ login name value in the tfssecurity /imx command line, then check the SID result
    again.
    You said it shows the same display name for D_Name\sivakhno2 and D_Name\sivakhno users after execute the tfssecurity /imx command line, which same display name shows in result? 
    According the D_Name\sivakhno2 False   False result, TFS Server think this D_Name\sivakhno2 is not available, please check this D_Name\sivakhno2 user in your AD, ensure it’s available and check its SID value, compare it with value
    in database.  
    For the change user’s display name will affect other AD groups issue, please contact AD experts for the better response.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I am running Windows7 on my PVC. When I log in I'm getting two Apple error messages. One says, " The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." The second says, "Apple Photostreams stop

    I am running Windows7 on my PVC. When I log in I'm getting two Apple error messages. One says, " The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." The second says, "Apple Photostreams Uploader has stopped working".  Help!

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. If that doesn't help read on...
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Fetch New Data shows two entries for one account

    I have on a variety of accounts on my iPhone and my iPad: an iCloud, an Exchange, a IMAP, and a couple of Gmail accounts.
    Earlier this week, I noticed that in the "Fetch New Data" setting (Settings > Mail, Contacts, Calendar > Fetch New Data), there are TWO entries for one of the Gmail accounts.
    One entry lists "Mail and Calendars." I use this for this particular Gmail account. I have these selected in the "Accounts" section of Settings > Mail, Contacts, Calendar.
    The other entry lists "Contacts and Calendars." I don't sync Contacts, but I do sync Calendars. Why is it listed twice?
    I tried deleting
    the offending Gmail account, but it did not delete the duplicate entries.
    erasing all settings
    all of my accounts, including iCloud, IMAP, and other accounts.
    The ghost account is still there, fetching calendars and contacts.
    Has anyone else seen this behavior?
    I considered erasing settings and content, but that seems pretty extreme for something that might not be that big of an issue.

    Exact same problem here!!! Iphone 5s with IOS 7.0.3, using Gmail among other email providers.
    So it is definately a bug - the "fetch new data ghost account". I hope it will be solved in a newer release. In the meantime, I switched the ghost account to "manual" so it shouldn't interfere...

  • ICACLS creates two entries instead of one

    I am using the command ICACLS to create permission for one user on the drive d:\. I use the following syntax.
    icacls d:\ /grant "wkusr":(X,RD,RA,REA,RC) /T
    icacls d:\ /deny "wkusr":(AD,WA,WEA,DC,D,WDAC,WO) /T 
    Instead of creating one entry in the Advanced Security Settings of drive D:\ I have two, one for the Allow and the other for deny. How can I have only one entry?
    Or does the above commands do exactly what I need no matter if I have one or two entries?
    Thanks

    Hi Louis,
    Do you mean tow permissions on one user in security->advanced->Permissions Tab?
    It is very normal because this is different type of permission modification. There will be tow entries even you grant permission by using GUI, it will be shown as two different permission in advanced->Permissions Tab (deny and allow). These two entries
    will do its job fine.
    If the commands has conflict, the new one will replace conflicts part in the older one.
    Regards
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Accounting Entry for Material has Standard Price

    Hi,
    If Material has standard price option, what is the accounting entry for the time of Direct Goods Receipt and from the production.
    Material Value is : Rs. 100/-
    Purchased value is : 90/-
    from production : 110/-
    Thanks in advance

    Hi,
    In STO, material posting with price valuated from issuing plant price. In your case, the transportation cost, you can capture to separate G/L account and pay to transport vendor.(In STO , one plant is vendor and another plant is customer, so a third party vendor involved for material transfer)
    OR else use separate own Custom Condition Type  with Special Condition Category instead of condition type P101 which have Condition Category "G", only responsible to pick  the internal price
    Regards,
    Biju K

  • ICal sync between two people if only one person has a .Mac account

    Is there a way for two people to sync/edit iCal calendars if only one person has a .Mac account? I'd only want to selectively share/sync part of my iCal calendar and not the entire iCal calendar.
    Any ideas?

    I think you meant to say "merge"
    I am trying at the moment with fingers crossed.
    One has Leopard the other Tiger. I hope it works.
    Oh I turned on airplane mode and disconnected from the internet just to be sure sync doesn't get stuck.
    Asked me to resolve 6 conflicts.. that's a good sign. It is taking a long time though. I hope it won't take so long every time I go from one computer to another. Otherwise it is easier to pass the files via iChat.
    The file for address book is addressbook data in library/applicationsupport/address book
    for iCal I make an export VCal file and then on the other computer delete the calendar and import the new one.
    On the computer with Music I set it to manage manually.
    OK I think I will have to do it like that because this took forever then it said it would have to modify 836 entries on my calendar for what was almost the same file.
    The photo sync is annoying but I just turn off iPhoto when it asks to find my library (or you can make another program be the default program when you attach a camera and that program will come on then you can just quit it). I find the auto photo sync annoying as it takes so long and I would rather do that manually.

  • One material two prices

    Hi Experts
                  Can we mention two prices for One Material for same Sales organization ,distribution channel , site division ?
    (e.g. in plant there is two material one material they want to sale at one price say $ 1 and another material they want to sale at $1.5 )
    Is it possible ?
    how ?
    Thanks in advance

    Hi
    200 % it is possible with careful customization
    In the condition table of the pricing procedure you need to add either Price list field or price group field
    Preferably price list field
    Material A So for a paricular Sales organization say 1000 ,distribution channel 10 , site 1000, division 00 + price list  say 01  whole sale then price in VK11 is  Rs 100
    Same material A for a paricular Sales organization say 1000 ,distribution channel 10 , site 1000, division 00 + price list say 02 Retail then price in VK11 is  Rs 200
    Same material A for a paricular Sales organization say 1000 ,distribution channel 10 , site 1000, division 00 + price list say 03 Internet sales then price in VK11 is  Rs 300
    Like that three condition records
    Now in sales order the price list field you will find it in item details SALES A or SALES B (i dont have SAP access right now to check exactly)
    You need to add this field in the incompletion log
    Then in sales order the user will fill either one price list
    If price list is 01 the price of Material A will be Rs 100 in Sales organization say 1000 ,distribution channel 10 , site 1000, division 00
    If price list is 02 the price of Material A will be Rs 200 in Sales organization say 1000 ,distribution channel 10 , site 1000, division 00
    Like that
    So the same material will have different prices according to the keys we are choosing
    Note Price list any no of keys you can define in IMG-SD-BASIC FUNCTIONS---PRICING
    Regards
    Raja

Maybe you are looking for

  • Time Machine stops writing to drive at 380 of 390 GB

    I'm using Time Machine to do a full backup of my computer for the first time. I have a WD MyBook Pro Edition II set as a striped 1T raid connected via FW800 with no other FW devices connected. After 4 hours the progress bar stopped at 380 of 390 GB a

  • Open old photos from DVD

    Hi, I've got old photos from iPhoto (2007 and older) saved on DVD and can't open it with the current version(11). Where is the problem? Thanks for help!

  • No Music after upgrade, help?

    I upgraded to iOS 5.0 on my iPad 2.  I used my dell laptop but none of my music shows up on my iPad in the new music icon??  Any suggestions?   PaThug

  • Changing profile/user name

    Hello, I would like to change my community username, as it is currently my full name (which shows up in Google search results). In the event that a username cannot be changed, then I will instead request that my community account be deleted entirely.

  • Auto-incrementing field?

    I am designing a publication which refers to numbers on a Reader Service Card and am looking for a technique to have these numbers auto-increment. Throughout the document, a Text Frame appears that reads "Circle# 10 on the Reader Service Card." This