Issue with adding Long charater field in custom table

I have added a URL ( Internet address ) field ZZSSOURIADDR with data element AD_URI whose domain is long character and length 2048.On activation table gives an message in a log
   Field ZZSSOURIADDR does not have a preceding length field of type INT4.
What needs to be done to remove this error?

As specified in SAP documentation, this must be the last field, and the previous one must be the actual length field type INT2. (suggestion: use data element AD_URILNG)
LCHR: Character string of any length, but has to be declared with a minimum of 256 characters. Fields of this type must be located at the end of transparent tables (in each table there can be only one such field) and must be preceded by a length field of type INT2. If there is an INSERT or UPDATE in ABAP programs, this length field must be filled with the length actually required. If the length field is not filled correctly, this may lead to a data loss in the LCHR field! A fields of this type cannot be used in the WHERE condition of a SELECT statement.
If error message wasn't clear enough, then try a where-used in transparent table of the data element AD_URI.
NB: You could also use in your development the central address, actual URL would be stored in ADR12 and only ADRNR is in your custom database table, more development (look for BAPI BUPA) but smaller database.
Regards,
Raymond

Similar Messages

  • Issue with Vendor Master Data-field notes ID  (Table ADRT-REMARK)

    Hello,
    I have a issue related to Vendor Master Data maintenance.
    The client wants to maintain the u201CNotesu201D field in vendor master data. The field gets populated from the field u201CADTR-REMARKu201D table ADRT.
    Now client wants to maintain some alphabet to distinguish some of vendors (i.e. 1250) out of 5000 vendors. We tried to develop LSMW, however it is not getting generated as this field is not getting recorded as the field is inside the tab (next to e-mail id field) which requires click. It seems BDC also is also not working as it is not populating these fields except e-mail id.
    The table ADRT contains filed ADDRNUMBER which is the same field in LFA1, and it is ADRNR (Address number).
    Also please note that CATT/e CATT is not permitted at all the client level.
    Can any body suggest the way to change the master data through some way.
    Regards,
    Chepan

    Hi,
    Did you heard about SAP GUI Scripting? There is SAP functionality - seems to Excel Macros. You are able to record SAP  like macros, then after small code modifcation (code is in Visual Basic), and special excel origin (there could be excel prepared like for CATT) upload data to VMD.
    If you have any questions I try to help you?
    Best regards,
    Piotr
    Edited by: Piotr Wieczerzak on Jan 26, 2010 9:35 PM

  • Issue with the new COPA field added into the BBSEG Structure

    Hello All,
    I have an issue with the new COPA field added into the BBSEG Structure.
    I think its added becuase of test Operationa Conern Created by somebody.
    Can you please let me know how to remove that structure from BBSEG Structure.
    Thanks
    vsr

    Hi Monohar & Ankur,
      Thanks for your answers..
      main issue is suddenly new field called RKE_COPA_KOSTL has  been added to the BBESG Structure..
      Because of this RFBIBL00 Upload is not working. I heard that  this new fields will come by generating Operating Concerns by Transaction KEA0.I found an operating concern which was created as a test in developemt system..
      But I am not sure how to delete that operating concern.Even i am not sure if we delete the Operating Concern ..is it going to delete that field in BBESG Structure or not??
    Please advise me..
    Thanks
    sathi

  • Issue with Oracle LONG RAW data type

    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /

    Maddy wrote:
    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /below might work
    12:06:23 SQL> help copy
    COPY
    Copies data from a query to a table in the same or another
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                {APPEND|CREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[/password]@connect_identifier

  • Issue with filling out form fields in Safari?

    Hello,
    Has anyone noticed any issues with filling out form fields (specifically text boxes) in Safari 6.0.2 on Mac OS 10.8.2?  When I attempt to test forms I've created, there is a delay when typing values into text boxes.  Other types of input controls (check boxes, drop down lists, etc.) appear to work fine.  As far as I can tell, this only occurs with Safari 6.0.2 in Mac OS 10.8.2.  Prior versions of Safari do not have this issue, nor does Firefox in the same OS environment.  When I refresh the form, the delay is not as noticeable.  I'm searching the WebKit bug reports as well, but nothing seems to point to this issue.  Any hints would be greatly appreciated.

    From the menu bar, select
    Edit ▹ Substitutions
    and uncheck Text Replacement.

  • Long Text Field in a Table

    Hello Everyone,
    I am looking for a solution for including a Long Text Field in a Table. I was not able to find any UI Element for LongText Field in a table. Could anyone suggest me a solution for this. I greatly appreciate your help.
    Regards,
    Gopal.

    Hi Pankaj,
    Thanks for your reply. I know that we cannot insert "TextEdit" UI Element in a table as this option is not available in ABAP WD. I also know that we can increase the width of the table Cell editor. But we dont want the Long text field to look like that.
    We are looking for some thing that looks a bit meanigful for entering short paragraphs. It would be great if you can suggest us with some other ways of doing this.
    I hope you can understand my requirement. I appreciate your help.
    Regards,
    Gopal.

  • Problem while saving date field in custom table

    Hi,
    Iam facing the following problem while saving a date field in custome table
    i have a date field zdate in which the value is 02082010.
    now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
    How can i correct it..
    Regards
    Kumar

    just before saving u might have to use a string reverse FM and then save it..
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = p_string
        LANG            = sy-langu
    IMPORTING
       RSTRING          = r_string
    EXCEPTIONS
       TOO_SMALL        = 1
       OTHERS           = 2

  • Create search helps for fields of custom tables

    Hi,
    Could any one please provide me the step by step process to create search helps for fields in custom tables?
    Thanks in advance,
    Nobin.

    Hello Nobin
    There is basically no difference between a search help for standard vs. customer tables.
    An important choise is the selection method for your search help:
    Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
    Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
    (1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
    (2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
    Regards
      Uwe

  • Access 2010, Sharepoint 2010 issue with adding field to access db table

    I needed to add an additional field to one of my access tables contained in the sharepoint list. 
    My application is a front end Access DB (run locally), and the backend is the 'data' database contained in the sharepoint lists.
    I added the field to the database (called BOM).  When I open the access list (from sharepoint) , and also look at the database in access, the field is there and things are fine.
    However, it does not show up in my linked front end.  I deleted the linked sharepoint tables from my front end, and then re-imported.  Now I see the BOM field I created, but it has replaced the 'ID' field, which was the primary key.  I had
    added the 'BOM' field as the last field in the table.  Now it is the first field, having replaced the 'ID' field. 
    What's going on here? 
    Thanks in advance!

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, and the issue more related to Sharepoint 2010, I'll move your question to the Sharepoint 2010 forum
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/home?forum=sharepointgeneralprevious
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Adding Standard Infotype fields to Custom Infotype

    Hi,
    I have a Requirement where I've created a Custom Infotype. Now, client needs to add Standard KOSTL and Email Address fileds to it. Whenever, someone tries to create / change this Custom Infotype for any Employee, the Pernr's  KOSTL and Email Address should get populated automatically as in Standard Infotypes 0001 and 0105.
    Please guide me, how to achieve this functionality.
    Regards,
    Hems.

    Hi Salman,
    Thank you for your valuable information. I haven't Configured Dynamic Actions yet. Is it simple to write the Logic for Dynamic Actions. Is this the only way to solve this Issue?
    I tried by adding the standard fields, but they are not populating the values; but just appearing as Input Fields with Input help option.
    Please let me know if you have any suggestion in this direction?
    Regards,
    Hems.

  • Any issues with adding this card to my mac?

    I would like to add a card to my mac pro that will enable me to capture video from certain types of HD video cameras.
    1. Do I have a slot available to put in one of these cards?
    2. Are there any potential issues with doing this?
    3. I am guessing that by adding the card, it will create an open port on the back of the mac that will allow me to connect the camera.
    http://www.blackmagic-design.com/products/intensity/
    I have the Dual-Core Intel XeonProcessor Speed: 3 GHz.
    Thanks!!!!

    The Intensity HDMI card is normally used to capture UNCOMPRESSED video from an HD vidcam.
    Lets say, for example you get a Canon HV20 camera - it has both firewire and HDMI outs. The camera, being HDV, uses HDV compression to write to tape. So once video is on tape, you will be capturing HDV encoded video (just fine with FCP). The HDV standards dictate 1420x1080 even though the sensor of the HV20 is a native 1920x1080. But, since non-square pixels are used, consider it 1920x1080 aspect.
    If you hook the HV20 to your Mac Pro using HDMI and the Intensity card, you can capture uncompressed, native 1920x1080 video. However, you better have enormous and extremely fast Raid storage, as it requires sustained data rates roughly, what, 100 times greater than HDV? And you better have a really long extension cord if you plan to use it in the field, as, you must remember, once written to tape it will be compressed HDV video, so the small gain you'll get from native uncompressed 1920x1080 video is only available at the time you shoot, and only out of the HDMI port.
    HDV looks stunning as is, so unless you are a professional with special requirements (in which case I've not told you anything you don't already know), you may want to rethink this.
    If you shoot well exposed HDV video, and edit with FCP or iMovie HD for that matter, and play back from tape to a 1920x1080i HDTV, it is as good as watching the Discovery Channel HD.
    Good luck,
    John F

  • Facing issue with adding systems in SMSY - solution manager

    Hi all,
        We are facing an issue with the solution manager in tcode smsy. When i create a system in the corresponding component say ECC with product version ECC6.0.The next screen shows that the <SID> has been added successfully. But when i navigate to the path and i unable to see the system SID which i have created.
       Again i have tried to create the same system with same SID, but it shows that " SID already exists "
       Also i need another suggestion, we have planned to add 60 systems in the same solution manager. Kindly suggest me , how many systems we can add in single solution manager in maximum and for configuring EWA ?
    Thanks
    Raj

    Hi Raj,
    You can delete the old system entry and then try creating the saem again..
    Also while creating mention correct product and version and the installation number.
    You can also use the assistant for this.
    Have you added all your servers and DB?
    regards,
    Raja. G
    Edited by: Raja Gunasekaran on Aug 28, 2009 1:26 PM

  • Issues with old menu entries and old custom menus [Xfce]

    Hello, this is the issue:
    The main menu keep showing old entries for programs I already deleted: For example, I have an entry for the indie game FEZ even tough I already deleted this game. I know that programs have a .desktop file located in "~/.local/share/applications" and/or in "/usr/share/applications", but I already deleted both files and this is not happening just with the FEZ entry but with other old menu entries including custom entries. I don't know why the keep showing up even tough I removed both .desktop files for each one of those entries. I think that there is another file that I'm missing or some kind of menu cache that I have to update but I don't which nor how. Additionally I have to say that I'm using the whisker menu plugin but the entries also show up on the stock xfce4 menu.
    Any help will be greatly appreciated.
    Thanks in advance, Shadow_Reaper13
    Last edited by Shadow_Reaper13 (2014-09-20 01:13:14)

    I forgot to say that those annoying entries does not appear neither on menulibre nor in alacarte so I cannot delete them using one or another. Those entries does not appear on those menu editors even before I delete the .desktop files.

  • Adding new field in customized table ZPM_QMEL_EXT

    Hi all,
    My requirement is  to add a new field in ZPM_QMEL_EXT table numeric field no of  months due (ZZ_CO_MON_DUE) .
    Its value will be calculated as the # of invoices that were paid vs. what has not been paid and then from there, value of this field will be fetched.It has to be populated during the time of notifcation screen entry (iw51). The logic will be similar to this
      SELECT FAEDN FROM DFKKOP INTO TABLE IT_DU_DT
                                  WHERE GPART EQ WA_QMEL-KUNUM AND
                                        VKONT EQ WA_QMEL-ZZ_VKONT.
        SORT IT_DU_DT BY FAEDN ASCENDING.
        READ TABLE IT_DU_DT INTO WA_DU_DT INDEX 1.
        MOVE WA_DU_DT-FAEDN TO DUE_DT.
        CALL FUNCTION 'HR_MONTHS_BETWEEN_TWO_DATES'
          EXPORTING
            I_DATUM_BIS = SY-DATUM
            I_DATUM_VON = DUE_DT
          IMPORTING
            E_MONATE    = NO_MT.
        IF NO_MT IN P_DU_MT.
          WA_QMEL-DUE_MONTHS = NO_MT.
    Awaiting your kind help .
    Thanks
    hariom.

    Hi,
    There is only one option to include extra field for standard tables that is Append Structure other than we don't have any option.
    For Customizing tables we can use Append structure as well as Include Structure.
    Rules: Append Structure should be in last in Field column but include structure you can insert in any where it means between the fields.
    Delivery class option  and data class will take care automatically while upgrading the sap system one version to Another version.(upgrading).
    For that you should maintain the those properties when data base table creation.
    i hope the above information may helpful to you.
    Best Regards
    Sreenivas Pachva

  • Adding a new field to the table

    Hello friends,
    I have a custom table and is in  use from a long time now.
    Now i need to add a new field to that table.
    1 - can i go directly to the change mode and then add it or is their any other way that needs to be followed.
    2 - once added do i need to go to SE14 and do something thr for the changes done to the table.
    This table also has a table Maintenence generator. Do I need to do something thr.
    Thanks,
    Bob.

    Hi,
    Check whether the change in ur custom table is going to impact any Custom program or not.
    If its so then adjust ur ABAP code so as to fit with the new table.
    Decide whether this field is going to be aprt of primary key or simple field.
    Is there any data present in ur custom table already?
    Regards,
    Lakshman.

Maybe you are looking for

  • Mavericks Mail: Cannot exclude meeting.ics attachments from Smart Mailbox

    I'm trying to set up a smart mailbox in Mail (Mavericks 10.9.2) that searches for all email containing attachments, but excludes all meeting invitations (attachments with name = meeting.ics). Sounds simple, but I cannot figure out how to do it. I've

  • Can anyone please explain this code to me?

    I am a new (junior)programmer?Can anyone please explain this code to me in lame terms? I am working at a client location and found this code in a project. _file name is AtccJndiTemplate.java_ Why do we use the Context class? Why do we use the propert

  • How to change the column heading as the column changes

    dear memebrs, Take an example fo the table EMP. I need to create a report whose parameters are the table column names. so depending on the parameter(which is the column name) the report o/p changes. so i am dynamically selecting the table column name

  • Problem using LIKE function

    Hi Guyz, I am having small problem using LIKE function . The problem is I am using LIKE function in the WHERE clause to compare a column to a particular value, which gets this value from the front end. If the user has a single quote in the string he

  • Custom Based Message

    In my report there might be a chance that no records or fetched based on filter conditions. then the default message displayed is *"The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or