Table field set as "Initial" is not acceptinf duplicate entries

Hi all,
I have inserted a custom include structure(which has only one field and is made as Initial) into a standard field.
Then values inserted using
INSERT <table> FROM TABLE <Internal table> ACCEPTING DUPLICATE KEYS.
But if the internal table contains an entry which has the custom field value same as one of the value in database table, the insert statement is not working and is returning sy-subrc value 4.
The custom field is not a key field in the table.
Any pointers will be very helpful.
Thanks in advance,
Sreekanth

Hi,
first just provide some entries into the database table using SE16 then check whether the new field is containing data or not.
if not just goto menu->utilities->database object->adjust & activate the table.
if still there is no change than in the report check
if the <internal table> line type is same as that of the database table.
ie all the fields are arranged in the same order as in database table
hope this help
thanks
ravi aswani

Similar Messages

  • Attach search help to standard table field

    Hi,
    I need to attach search help to standard table field VBKD-EMPST.
    I have create a z search help and taken acess key from SAP.
    But unable to attach this to standard table field.
    Kindly help.
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Oct 27, 2010 6:11 PM

    Hi,
    just go throw this link
    Re: Attaching Search Help to a field
    I hope this will help u
    Thanks
    Regards
    Akhilesh Singh

  • When importing pictures from my iPhone, I select to NOT import duplicates, but it always does. How do I fix this?, When importing pictures from my iPhone, I select to NOT import duplicates, but it always does. How do I fix this?

    How do I set my iphoto to not import duplicates when downloading from my i Phone.  I always tell it to NOT
    import duplicates, but it always does. Please help!!!

    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN 

  • Jaznmigrationtool - why not finding duplicates ?

    Hi,
    During jaznmigrationtool process, we found out the jaznmigrationtool creates ldiff file with entries of groups/policy which are already present in OID, its not checking duplicates.
    Is there command-line option, to check for duplicates and tell dont create those entries ?
    Frank however replied for my thread, which i posted in wrong forum(Jdeveloper instead of OC4j),
    jaznmigrationtool - why not finding duplicates ?
    How should i file for possible bug or Enhancement Request against JAZN in OC4J ?
    Thanks in advance
    Ayaps

    Hi,
    there is no option for this. However, the LDIFF upload should fail for the duplicates, which means that running it should not create duplicate entries in OID. Please note that jaznmigrationtool is part of OC4J, not JDeveloper, which means that a possie bug or Enhancement Request needs to be filed against JAZN in OC4J
    Frank

  • Not able to set values in drop down for a table field

    Hi All,
    I am not able to set values in drop down for a table field. Although I am able to set these values to a stand alone field but its not happening for a particular table field. I am using ABAP web dynpro for coding.
    Pls help.
    Regards,
    Bhaskar

    Hi Otto,
    Here is the code I am using:
    * navigate from <CONTEXT> to <DATASOURCE> via lead selection
      lo_nd_datasource = wd_context->get_child_node( name = wd_this->wdctx_datasource ).
    * navigate from <DATASOURCE> to <CHANGING_PARAM> via lead selection
      lo_nd_changing_param = lo_nd_datasource->get_child_node( name = wd_this->wdctx_changing_param ).
    * navigate from <CHANGING_PARAM> to <EDUCATION_TAB> via lead selection
      lo_nd_education_tab = lo_nd_changing_param->get_child_node( name = wd_this->wdctx_education_tab ).
      node_info = lo_nd_education_tab->get_node_info( ).
      REFRESH ddlb_value_set.
      DATA: wa_edu_est TYPE t517t.
      SELECT * FROM t517t INTO wa_edu_est WHERE sprsL = 'EN'.
        s_element-text = wa_edu_est-stext.
        s_element-value = wa_edu_est-slart.
        APPEND s_element TO ddlb_value_set.
      ENDSELECT.
      SORT ddlb_value_set BY text.
    *    Set Value_sets to node_info
      node_info->set_attribute_value_set(
         name      = 'EDU_EST'
         value_set = ddlb_value_set ).
    Regards,
    Bhaskar

  • How to set table field mantatary in data dictinary?

    how to set the table field mantatary in data dictinary?
    exampl
    null value not allowed.

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19187532&messageID=2575276]

  • Power Pivot Slicer options not showing in the Pivot Table Field list

    Excel 2013. In all the tutorials I watch when you create a Pivot Table using Power Pivot there are Slicer options in the
    Pivot Table Fields list.  Slicer Horizontal, Slicer Vertical These do not show for me.   I see Filters, Value, Row, Column only.   Is there a setting I need to turn on?   When I click on PowerPivot
    at the top, the first icon on the bar is Manage Data model, not Powerpivot as I have seen on some of the youtube tutorials.   Thank you in advance.

    Thank you for trying but it's not what I am after.  I understand how to use Slicers with pivot tables.   My question relates to Pivot Tables created using PowerPivot.   Directly under the Pivot Fields list on the right is a section where
    you choose what you want to pivot  i.e  Filters, Values, Rows, Columns.   These are standard with any pivot table.  When I watch videos on PowerPivot there are 2 additional options in the section.  Slicer Vertical, Slicers Horizontal.
     The video comments  they only show in when creating a pivot table using PowerPivot.  These 2 options are not there for me.  I don't know why. It maybe the version of office I am using which is Microsoft Office Plus 2013. I'd like them
    included.  Appreciate you taking the time to help.  

  • Two LVO link to the same not base table field

    I would like to know if it possible to relate two LOV to the same not base table field. If it possible, how to do it.
    Thanks,
    Julia

    You can set the LOV with set_item_property(<item>,LOV_NAME,<lov>). This way you can associate 2 or more different LOV's with an item. Of course only one LOV can be active at any given time.

  • Check which fields are covered by one set of views and not another

    Hi all,
    I am having some problems formulating a query to find the set of fields that are covered by one set of views and not another.
    I won't paste the abomination I'm currently butting heads with but basically I'm using INFORMATION_SCHEMA.VIEW_COLUMN_USAGE
    I need underlying field name (not alias), view that includes it and table that it comes from.
    Any pointers would be greatly helpful

    Hi, with the script below you can find all the dependencies of all view
    USE AdventureWorks2012;
    GO
    SELECT OBJECT_NAME(referencing_id) AS referencing_entity_name,
    o.type,
    o.type_desc AS referencing_desciption,
    COALESCE(COL_NAME(referencing_id, referencing_minor_id), '(n/a)') AS referencing_minor_id,
    referencing_class_desc, referenced_class_desc,
    referenced_server_name, referenced_database_name, referenced_schema_name,
    referenced_entity_name,
    COALESCE(COL_NAME(referenced_id, referenced_minor_id), '(n/a)') AS referenced_column_name,
    is_caller_dependent, is_ambiguous
    FROM sys.sql_expression_dependencies AS sed
    INNER JOIN sys.objects AS o ON sed.referencing_id = o.object_id
    WHERE
    o.[type] = N'V'
    --and referencing_id = OBJECT_ID(N'Sales.vSalesPerson')
    GO
    You can specify the name of a view in the WHERE clause
    hope this will help you
    Questo post è fornito &quot;così com'è&quot;. Non conferisce garanzie o diritti di alcun tipo. Ricorda di usare la funzione &quot;segna come risposta&quot; per i post che ti hanno aiutato a risolvere il problema e &quot;deseleziona
    come risposta&quot; quando le risposte segnate non sono effettivamente utili. Questo è particolarmente utile per altri utenti che leggono il thread, alla ricerca di soluzioni a problemi similari. ENG: This posting is provided &quot;AS IS&quot;
    with no warranties, and confers no rights. Please remember to click &quot;Mark as Answer&quot; on the post that helps you, and to click &quot;Unmark as Answer&quot; if a marked post does not actually answer your question. Please Vote This As
    Helpful if it helps to solve your issue. This can be beneficial to other community members reading the thread.

  • User Table Key set up in User defined field management

    Dear  Expert,
    what is use of User Table Key set up in User defined field management in SAP B1.
    Thanks.
    Sridharan.R
    Edited by: Sridharan.R on Oct 4, 2011 8:26 AM

    Hi,
    Once a UDF is created and a value is entered in it, the same cannot be retrieved in any of the layouts and reports unless a Key is generated for that UDF. By assigning a Key to that UDF, the same UDF can be used in Crystal Reports or any other Reporting tool to extract its values from SAP. These reporting tools searches the Uniqueness of the UDF Values with this Keys only.
    For eg.: When you develop a report and select a table from which you need the fields to be shown in the layout. In that, the only fields whose keys are generated are only available to use in the report.
    Hope its clear to you.
    Regards,
    Papil

  • MARA table field STAWN (Comm./imp. code EU ) is not updating in MARC table

    Dear Experts,
    From MARA table field STAWN (Comm./imp. code EU ) is not updating in MARC table field STAWN (Comm./imp. code EU ) by MM02 Transaction
    Is there any SAP standard functionality to over come above issue or needed  ABAP coding for the same ????
    Regards
    Hanumant

    Dear All,
    Thanks for your reply
    I tried to update the the field after adding plant and other detail actually that field will be gray mode (display) and cannot update
    my question i want to update MARC_STAWN field (Forign trade import) for my existing all material , those material MARA_STAWN (basic data 3 ) is also blank but system is allowing me to update in MARA_STAWN (basic data 3) but system will not update to MARC_STAWN (Forign trade import) field.
    What is the best method to Coppy all MARA Stawn fields to the MARC Stawn field.
    Regards
    Hanumant.

  • ALV fields which are not referenced to data dictionary table fields

    Hello,
    I am using function module reuse_alv_popup_to_select.
    How do I display fields in ALV which are not referenced to
    data dictionary table fields.
    I am showing 4 columns in alv out of which first column is checkbox
    and remaining 3 columns are from data dictionary and it works fine.
    Now I need to add one more column which is of type checkbox.
    I have added this field in my ITAB as flag(1) type C.
    When I add this flag field in the field catalog, I get exception.
    Regards,
    Vishal.

    Hey guys,
    Finally I got rid of such a stupid problem.
    There were no problem in the code.
    while assigning fieldname to field catalog I had given fieldname
    in lowercase.
    I changed it to uppercase and problem got solved.
    Thanks,
    Vishal.

  • How to check if date field is initial or not in script layout?

    hi all,
    i have a requirement, i need to check if a particular field is initial or not in script.
    i am checking like this
    /: if &VTTK-DALEN& is initial.
    its not working
    even if not .... is initial is also not working.
    i have used all capital letters only....
    thanks in advance.

    You can not use that syntax in sapscript.  You might try this.
    /: IF &VTTK-DALEN& = ' '
    Regards,
    Rich Heilman

  • New table / field in SAP MDM not being reflected in SAP EP

    Hi,
    I have added a lookup- flat table in MDM and added a field corresponding to this table in my main Products table.
    I have maintained data in both the main table and the look up table thru Data manager
    Problem:
    I want to populate this field through the SAP EP. I am using std MDM iView Details template. When I check the drop down to select the table, I see only the ones which had come with the MDM std business content. The added tables/ fields are not visible on the portal to select :(.
    Can you help me out Please? Are there some settings that need to be done?
    Regards,
    Alpana

    As a mandatory requirement after completing the deployment process, the Web Application Server should be restarted for the changes made by the deployment to take effect and appear in the Portal.
    Have you restarted Web Application Server after deployment?
    Also check, User Mapping for the Connected MDM System
    Search for the User (Portal User) which needs to be mapped to the appropriate MDM User.
    It is quite interesting that you are getting all other tables in std i-view template except newly added.
    It could be also because you have already there connection of EP with MDM before that table and new field exists in MDM.
    And it is showing same existing table and fields, I mean not reflected now newly added table and field. I would suggest you to create the MDM connection with EP from scratch. Just give MDM System Name and ID, MDM Server, Repository, Language, Creating an Alias for the connected MDM System, User Mapping and connection Test for the Connected MDM System.
    May be it result in reflecting newly added Table and field which is not visible in EP as of now. Just give it a try.
    Hope it helps...
    Thanks and Regards,
    Mandeep Saini

  • Check an internal table is initial or not..

    Hello experts,
    I need to check whether an internal table is initial or not in AMDP.....
    Lets say i have an internal table IT_TAB[].
    I need a statement similar to IT_TAB[] IS NOT INITIAL (in ABAP)
    I already tried with COUNT(*), but it returns me an internal table with a column name COUNT with the total number of entries and found it not useful.
    Thanks in Advance,
    Ramesh

    Well do it by below way.
    DECLARE LV_LINE VARCHAR(3);
    SELECT COUNT(*) INTO LV_LINE FROM :IT_TAB;
    Regards,
    Amol

Maybe you are looking for

  • How do I install an OS on a blank harddrive

    Hi, I've got a problem with my harddrive, it's on its way out. The Mac will still start, but after a while, the HDD gets stuck and so it's time to replace. I have a full backup on my time machine external hard drive - my question is, how do I get thi

  • Licence   is not included for the material - J1IH

    Hi All We are working on ECC 6.0. While doing J1IH ( Additional Excise) with Subtransaction Type 01, we are getting a warning message as - Licence   is not included for the material Message no. 8I993 However if we process without any Subtransaction T

  • Thinkpad T400 with Vista OS won't start up

    Hello all, I'm a relatively non-proficient computer user with a T400 that is having some issues with starting up all the way.  For some background, this is a pretty old computer obviously, and has had its share of trouble already.  It has had one bat

  • Opening a pdf with ai then having text problems.

    Hello people When i open a PDF document in ai i get a problem with the text. All paragraphs of text are no longer grouped, it is if i have used a type box for every single letter. The spacing is different also. is there a way to ensure that all text

  • Lost my mouse/system freeze

    Hello, I have had my macbook lock up a few times in the last couple of days. The first thing I notice is my mouse pointer vanishes and the whole system freezes up. The only way I have been able to get it back is to do a hard reboot via the power butt