Apply check tables to database tables

how to apply check tables to database tables???
plz help

Hi
Check Table: means the Table that contains the Primary key in the Foreign key definition.
It has 2 important uses:
1. To validate the inputs in the foriegn key field (For Eg: MARC-MATNR) with the values existing in the check table - Primary key field (Eg: MARA-MATNR)
Here MARA is the Check table for the MARC-MATNR
2. To provide the input help(F4) for foreign key field
check table is the field level checking. we can use the Cardinality based on ur requirment.
see the example.
if ur using two tables like ekko and ekpo.
ekko tables having the fields ebeln , bukrs and lifnr.
here primery key is ebeln.
ebeln bukrs lifnr
101 1000 1000
102 1000 1000
103 2000 1001(this is entry for ekko).
we want to insert the entry based on ekko tables.so ekko table is the ckeck table.
ekpo table is the itam table.
ekpo tables having the fields ebeln , matnr , menge .
here forign key is ebeln.
ebeln matnr menge
101 m-1 10
101 m-2 2
101 m-4 18
102 m-8 7
103 m-5 8
in ekpo table we can't enter other than ekko-ebeln value.
so we can enter only based on ekko-ebeln table entries.

Similar Messages

  • Inserting records into Table with check table logic in place

    I want to insert records into a table, and have the check table to not allow invalid entries.  Is there a function out there that will allow this?  I am currently using the insert statement and it is working except that it is not giving an error when the value does not exist in the check table for the particular fields.
    INSERT INTO ZSD_XREF VALUES WA_XREF.
    That is the basic statement I'm using ZSD_XREF has several fields one being the material number field tied to the check table which happens to be MAKT file.  The insert statement is not validating the material numbers using the check table, or at least it is not giving an error.  Any ideas?

    Paul,
    Unfortunately, open SQL statements such as INSERT, UPDATE do not go through the check table logic as they directly hit the database layer. Check table checks are performed only if you go through application layer that is when you enter the same data through a screen.
    You have to do the checks yourself.
    Happy checking!!!
    Srinivas

  • Error "Check Table TFBEFU_CR : entry 10 does not exist" getting

    Hi All ,
    While doing Goods Receipt for Prodn Order , error "Check Table TFBEFU_CR : entry 10 does not exist" getting Prompted.
    Could u pls help me to solve it
    Regards
    Sandeep

    you need to apply the OSS  note 107588. it is excatly for the same problem yoy mentioned here.
    check the note

  • Function Module/Table to retrieve check table for standard fields

    Hi,
    Is there any function module or database table that holds the check table for standard field? Ex. BUKRS = T001.

    Hi MArc,
    Goto DD03L table
    Enter fieldname and tablename, you will get check table in CHECKTABLE field.
    e.g. fname - MATNR, tbname MARD then CHECKTABLE - MARA
    Reg,
    Sachin

  • Foriegn key concept not working with check table

    Consider, there are two tables like emp_personal and emp_official.
    In emp_personal table , the fields are empid, empname, dob for example. In this table, empid is the primary key field.
    In emp_official table, the fields are empid, dept, designation for example. In this also, empid is the Primary key.
    Now we relate these two tables using the foreign key relationship.
    Now, emp_personal is the Check table .
    emp_official table is the Foreign key table.
    for example create some 5 records in the emp_personal table .
    Table : emp_personal :   Primary Key - empid
    empid       empname       empdob             Status 
       1            AAA            1.1.1990           Record saved successfully
       2            BBB            2.2.1990           Record saved successfully
       3            CCC            3.3.1990           Record saved successfully
       4            DDD           4.4.1990           Record saved successfully
       5            EEE            5.5.1990           Record saved successfully
    Records are saved in the table : emp_personal.
    Now, Am tryiing to create records in emp_official table.
    Table : emp_official :   Primary Key or not a Primary Key - empid
    empid        dept              designation        Status 
       1            Dept1           S.E                   Record saved successfully
       2            Dept2           S.SE                 Record saved successfully
    Now, if am  try to create the record which is not in the table emp_personal, which has the empid = 6.Normaly it'll not allow us to create the record 6,
    But the think is its allow to create.
       6            Dept6           P.M                  Here also status is record saved
    Kindly help me out.

    did you read the documentation for "screen check"/"check required" flag in foreign key screen? it says:
    Flag for check of input values wanted on screen
    Definition
    This flag defines whether an input check should be executed on the screen for the field. This definition is applies to all the screens on which the check field appears.
    The check can be switched off again with the flag set for certain screens (by canceling the flag 'For. key' in the attributes of the corresponding screen field).
    Use
    Switching off the screen check can be useful in the following cases:
    if for test reasons there is to be no check
    if a semantic foreign key is used for the aggregate definition but no input check is to be executed.

  • Error: Table /1FB/MD___M8006P error in DDIC - Check table with SE14

    Hi Friends,
    I've a problem related to the activation table, if I want to activated always problematic because there are fields POSITION, there are errors like this view :
    Activation of worklist (MST.EKA / 15.04.2011 / 11:20:59 /)
    =========================================================================
    Technical log for mass activation
       See log XXX 20110415112056:ACT
    TABL /1FB/MD___M8006P was not activated
    Check table /1FB/MD___M8006P (XXX/15.04.11/11:20)
    POSITION is a reserved word (Select another field name)
    Field name MANDT can be provided in this system. Please do not use.
    Field name SID can be provided in this system. Please do not use.
    Field name TABNAME can be provided in this system. Please do not use.
    Field name FIELDNAME can be provided in this system. Please do not use.
    Field name AS4LOCAL can be provided in this system. Please do not use.
    Field name AS4VERS can be provided in this system. Please do not use.
    Field name POSITION can be provided in this system. Please do not use.
    Index /1FB/MD___M8006P-01 is not in the customer namespace
    Table /1FB/MD___M8006P must be created in the database
    Check on table /1FB/MD___M8006P resulted in errors
    =========================================================================
    End of activation of worklist
    please guide what must I do ... ??
    Thanks
    Eka Sumargo

    Hi Eka,
    the acticvation will not work because of the existence of the field POSITION
    "POSITION is a reserved word"
    POSITION is a reserved word; these reserved words are stored in table
    TRESE, and the reason should be there also.
    You will have to change the field name for the activation to complete.
    Kind regards,
    Paul

  • Error: Table /1FB/MD___M8001X error in DDIC - Check table with SE14

    Hi Buddy,
    I have some trouble with copy client 000 to 400, Error: Table /1FB/MD___M8001X error in DDIC - Check table with SE14.
    TABL /1FB/MD___M8001X was not activated
    Check table /1FB/MD___M8001X (MST.EKA/14.04.11/10:33)
    POSITION is a reserved word (Select another field name)
    Field name MANDT can be provided in this system. Please do not use.
    Field name SID can be provided in this system. Please do not use.
    Field name TABNAME can be provided in this system. Please do not use.
    Field name FIELDNAME can be provided in this system. Please do not use.
    Field name AS4LOCAL can be provided in this system. Please do not use.
    Field name AS4VERS can be provided in this system. Please do not use.
    Field name POSITION can be provided in this system. Please do not use.
    Index /1FB/MD___M8001X-01 is not in the customer namespace
    Table /1FB/MD___M8001X must be created in the database
    Check on table /1FB/MD___M8001X resulted in errors
    how to solve this problem...??
    Thanks & Regards
    Eka Sumargo

    Hi MST Support
    Are there any other errors in SCC3. What kind of client copy you're performing SAP_ALL or CUST?
    As per the logs in your post it seems that the table MD___M8001X does not exist in the database.You could try SE11 or SE14 to check the table.
    Any other info would be really helpful.
    Regards,

  • Domain vs. Check Table

    I am a functional person but came across the topic of domains vs. check tables when discussing the addition of additional customer fields into ECC.  What is the difference between these two and when should either be used?

    Domain Values, refer to all the possible values that the particular domain can take. These values will be taken up from a table, that will be specified in the 'value table' field during the domain definition.
    Check Table, refers to the foriegn key table that is associated with the corresponding table field.
    Foriegn Key table, is the table with which any value being entered for the corresponding field, is checked. If this value is found in this table only then is it added/changed in the database table.
    They are primarily used to restrict values on a field.
    Example. If there is a Domain zemp_numb, which is used to store the employee numbers.
    The Value table for this table - znumbers, has values defined from 1 to 9999.
    If this domain is used in a table field, then the first filter is set the domain value, by restricting on the values present in znumbers ie 1 - 9999.
    Additonally, if a foriegn key relationship is specified, then the values are futher restricted, to those present in the this table.
    if the check table is say zemp_num having number only from 1 to 100. Then the field for which this is a check table can take values only from 1 to 100 and not from 1 too 9999.

  • Check Table with Constant Field

    I created table ZTEST with fields MANDT and MATNR, and also created check table MARA for field  ZTEST-MATNR, so the current check logic is:
    ZTEST-MANDT = MARA-MANDT and
    ZTEST-MATNR = MARA-MATNR.
    But I just wonder whether I can put one more creteria to only check a specified material type (MARA-MTART) such as 'ZAWA', and there is NO such a field MTART in ZTEST. That is, I want to put one more field from MARA for foreign key check, the new logic is:
    ZTEST-MANDT = MARA-MANDT and
    ZTEST-MATNR = MARA-MATNR and
    MARA-MTART = 'ZAWA'.
    Thanks in advance

    Hi,
    Create a database view in the DDIC..With the conditions as MARA-MTART = 'ZAWA' in the selection conditions tab..
    Then use the view as the check table for the matnr field in your ztable..
    Thanks,
    Naren

  • How to check tables integrity

    Hello all,
    we have a big problem in CO area. Since last week we can't calculate production order costs and product costs.
    We have check all the things we can, including notes, and the only thing we think that could solve the problem is to check the integrity of tables.
    Is there any program, transaction, or anything to make it?.
    thanks a lot.

    Hi,
    Please try this once more.
    Go to SE11.
    Enter the data dictionary table in the 'Database Table' field.
    Click 'Display' and press 'Enter'.
    The page 'Dictionary: Display Table' will open.
    Please click on the 'Entry Help/Check' tab.
    Observe the fields 'Foreign Key' and 'Check Table'.
    Reward if this is of help.

  • Existing Customized COPA characteristic to add check table

    Hi,
    I already have this customized COPA characteristic- tied to an operating concern. This COPA characteristic uses a customized data element.
    Now I want to add a check table to it. I have already added a Value Table to the domain of the characteristic's data element. But in t-code: KEA5, the characteristic still does not show the check table under the 'Validation' section. Also in KEA5, it does not allow me to edit the characteristic.
    Does anyone know how I can add the check table under the 'Validation' section in KEA5? Your help is very much appreciated!
    Thank you.

    Hello, I have to apply the scenario 3 of the sapnote 70623 also, but I am having problem when try to change the domain for the data element RKEG_WW403.. Object name RKEG_WW403 reserved for generated objects in package KEG0. 
    Object name RKEG_WW403 reserved for generated objects in package KEG0
    Message no. TR247
    Diagnosis
    The object name belongs to a name range protected for generated objects.
    This name is used by generation functions and is reserved for package KEG0.
    Procedure
    Create object:
    Choose a different object name.
    If you want to keep this object name for a particular reason, enter package KEG0. The object is automatically flagged as generated when it is created.
    Change object:
    To allow repairs, the object can be changed.
    Thanks for your help!!!!

  • Regarding check table

    Hi,
    Is it possible to enter a value into our ztable which not in check table?
    please clarify  on value and check table.
    regards
    ram.

    Hi
    Difference between a check table and a value table
    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator. Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Check table
    For example you have Employee master table & Employee Transaction table.
    When ever an employee Transacts we need to check whether that employee exists , so we can refer to the employee master table.
    This is nothing but a Parent & Child relationship . Here data can be maintained at client level , no development involved.
    As per DBMS what we call foregin key table, is called as check table in SAP.
    There is 1 more important Difference in Value Table and Check Table is that:
    1. The contents of the check will be used as an input help(F4 Help) for a particular field on which a check table is assigned.
    But the contents of Value Table are never used in Input Help.
    The Heirarchy which decides from where to used the Input Help is:
    1. Input help defined explicitly in ABAP Program or Dialog Module.
    2. Input Help Attached to the referenced Database Table field.
    3. Using the contents of Check Table as an input help if neither (1) or (2) help are there.
    4. Input help from Fixed value or Value range given in Domain.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • About' Checkbox' of apply in Table.

    Please help me solve a problem:
    My Web dynpro is a Apply a table generate of call Web service EJB.
    Be used a table ,the Table include Checkbox .
    The Checkbox is binding a boolean context. Type is com.sap....booleanObject.
    Why I runned the Checkbox is single select? I’m think it's multi select. why?
    Thank u everyone.

    Hi
    You can use the Checkbox by group for this.In your case u are use the Single check box.
    See this Sample and help.
    Re: check box and radio button tutorial?
    Kind Regards
    Mukesh

  • Values from check table to Dropdown

    Hi Experts,
                    I have a requirement like, i want to show the values from a check table in dropdown list. i have two transparent table of which i made a foreign key relation with the second one with some value restrictions. That all working fine.  
        I tried creating an input box with reference to the field in the first table.then the search help is comming correctly with the valus from check table. But when i tried to attach the same to dropdown its not displaying the value.
    please suggest a solution to display the values in drop down.
    Regards
    Sarath
    Message was edited by:
            sarath satheesan

    hi sarath.........
              consider you want to have some 10 purchase order numbers in your drop down.
              you will be assigning a node to your drop down.
              in its supply function, write the codings to fill your node by using a select query.
               just like filling a table.
               in this case, your drop down gets filled automatically.
    --regards,
      alex b justin

  • Check table TFBEFU_CR: entry 10   does not exist

    Dear all
    When i am doing GR for Order (T.Code : MB31),the system displays the following message.
    Check table TFBEFU_CR: entry 10   does not exist
    plz give me the solution as early as possible,bcaz it is very urgent to me.
    Thanks in advance.
    Regards
    Basava sreenu

    Dear Mr.Basava,
    I'm not sure,but try with this.
    For the particular material which you are using in MB31 for Good's receipt for
    Order,check whether the storage location is present in  T code MMSC-Extend
    material storage location.If not add and save,then try in MB31.
    If useful reward points.
    Regards
    Mangal

Maybe you are looking for

  • How do i reset my admin password without losing all of my data?

    i have just got a macbook pro from kijiji and the seller and i both don't know the admin password. how do i reset it without losing evrything?

  • BPS vs BI Integrated Planning

    Hi All, I was trying to get the functionality of users editing/entereing the comments in the web report and that gets stored in the cube. Creatde a infoobject as a place holder with no master data. I followed this How to Guide: How To... Flexibly Cha

  • MacBook and Pro Design

    I have a MB and I love it. However, maybe someone can tell me why Apple doesn't include a memory card reader and why do the USB ports have to be right next to each other? Sometimes there isn't room for two devices. Why not space them or put them on o

  • Ecrire dans un fichier

    Bonjour, J'ai 2 problèmes dans mon programmes  pouvez-vous m'aide svp ! 1.J'ai besoin d'écrire dans un fichier et de récupérer les données dans un fichier Excel, mais je veux écrire que RMS pour les deux tensions (alternateur et moteur synch). 2.Vers

  • Does your Ipad speakers make a static noise?

    Hi world, I am curious to hear from others about whether or not they are getting a static hiss from their iPad when any system notification sounds or music is paused. You may need to place your ear up to the speaker but mine is audible in a quiet roo