Character Length restrictions in BW

Dear BW Experts,
We are getting data from an external source. We have a field whose length is more than 60. I am unable to bring this field in to BW since BW has the restriction of not more than 60 character length. I cannot split the field since it is like a comment field.
Could you tell me if there are other ways of getting such data in to BW where the length is more than 60 say like 500 or 1000 in length.
Thanks,
Sai

Hi Sai,
As we all know maximum length of info object is 60.The only way to get the data more than 60 is create another info object and add this as attributes to the base info object and make this attributes as display attributes.
check the below blog, you have clear explanation
/people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
Regards,
Venkatesh

Similar Messages

  • For all entries Where condition character length partilally has to be used

    Hi,
    I need to fetch all the data reocrds of one internal table into the other with the condition that in one of the field of first internal table only partial length of the character has to be used as a where condition.
    Example:
    Select xxxx
              yyyyy
              zzzzz
    into it_tab2
    for all entries in itab1
    where field2 = itab1-field1(4).
    where field1 of itab1 has length of 8 and field2 belongs to itab2.
    As it throws the error msg :
    it will ignore the length restriction mentioned in where condition of the for all entries

    Hi.
    If you are trying to fetch from any database table based on your modified table use this logic.
    Dfine another internal table same as itab1, with field one lenght as 4 char.
    ex:
    data: begin of it_tab2.
            field1(4),
    end of it_tab2.
    loop at it_tab1.
    it_tab2 = itab1+0(4).
    append it_tab2.
    clear it_tab2.
    endloop.
    now you can fetch from database table....using it_tab2.
    Select xxxx
    yyyyy
    zzzzz
    into it_tab3
    for all entries in itab2
    where field2 = itab2-field1(4).
    If you only want to move the entries form one internal table to another internal table and truncate the field1 of itab1.
    then no need to use any for all entries...
    apply this logic
    data: begin of it_tab2.
            field1(4),
    end of it_tab2.
    loop at it_tab1.
    it_tab2 = itab1+0(4).
    append it_tab2.
    clear it_tab2.
    endloop.
    Regards,
    Satish

  • Problem with the field length restrictions in the WSDL file

    Hi all,
    We have created a XSD file where we have defined fields and given some restrictions (like minLength, maxLength) for each field. See below one ex of one element "Id":
    {code     <xs:simpleType name="Id">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="40"/>
              </xs:restriction>
         </xs:simpleType>
    {code}
    Here we have defined maxLength of this field as 40 chars. Our WSDL uses (refers/import) this XSD file and we ganerates java skeleton using RAD. But at runtime if we set more than 40 chars then also it is accepting. It is not throwing an exception. (In the generated java skeletion these restrictions are not reflected antwhere)
    I have one question that, if such restrictions defined in the XSD file works or not? and is it a industry standard to define restriction in the XSD file?
    If yes then what i need to do more to make it working?
    If not then is there any way to do such validation of the fields that are input to the webservice? Or shall i have to just write my own java class to validate each field?
    Regards,
    Ravi

    Or is it possible that we give length restrictions in the XSD (and import this XSD in WSDL) and generate java skeleton from WSDL then the restrictions defined in XSD are mapped into java classes?
    For ex:
    <xs:simpleType name="Id">
        <xs:restriction base="xs:string">
            <xs:maxLength value="40"/>
        </xs:restriction>
    </xs:simpleType>so when in generated java skeleton we set value to "Id" element which is more than 40 charsthen it should throw a exception?
    Is it possible by default or do we need to write custom validation classes to do validations on such fields?
    Has anybody worked in such scenerios?
    Or how to do field validations in webservice? Simple question.
    Thanks In Advance.

  • Querying CHAR columns with character length semantics unreliable

    Hi again,
    It appears that there is a bug in the JDBC drivers whereby it is highly unlikely that the values of CHAR columns that use character length semantics can be accurately queried using ResultSet.getString(). Instead, the drivers return the value padded with space (0x#20) characters out to a number of bytes equal to the number of characters multiplied by 4. The number of bytes varies depending on the number and size of any non-ascii characters stored in the column.
    For instance, if I have a CHAR(1) column, a value of 'a' will return 'a ' (4 characters/bytes are returned), a value of '\u00E0' will return '\u00E0 ' (3 characters / 4 bytes), and a value of '\uE000' will return '\uE000 ' (2 characters / 4 bytes).
    I'm currently using version 9.2.0.3 of the standalone drivers (ojdbc.jar) with JDK 1.4.1_04 on Redhat Linux 9, connecting to Oracle 9.2.0.2.0 running on Solaris.
    The following sample code can be used to demonstrate the problem (where the DDL at the top of the file must be executed first):
    import java.sql.*;
    import java.util.*;
    This sample generates another bug in the Oracle JDBC drivers where it is not
    possible to query the values of CHAR columns that use character length semantics
    and are NOT full of non-ascii characters. The inclusion of the VARCHAR2 column
    is just a control.
    CREATE TABLE TMP2
    TMP_ID NUMBER(10) NOT NULL PRIMARY KEY,
    TMP_CHAR CHAR(10 CHAR),
    TMP_VCHAR VARCHAR2(10 CHAR)
    public class ClsCharSelection
    private static String createString(char character, int length)
    char characters[] = new char[length];
    Arrays.fill(characters, character);
    return new String(characters);
    } // private static String createString(char, int)
    private static void insertRow(PreparedStatement ps,
    int key, char character)
    throws SQLException
    ps.setInt(1, key);
    ps.setString(2, createString(character, 10));
    ps.setString(3, createString(character, 10));
    ps.executeUpdate();
    } // private static String insertRow(PreparedStatement, int, char)
    private static void analyseResults(PreparedStatement ps, int key)
    throws SQLException
    ps.setInt(1, key);
    ResultSet results = ps.executeQuery();
    results.next();
    String tmpChar = results.getString(1);
    String tmpVChar = results.getString(2);
    System.out.println(key + ", " + tmpChar.length() + ", '" + tmpChar + "'");
    System.out.println(key + ", " + tmpVChar.length() + ", '" + tmpVChar + "'");
    results.close();
    } // private static void analyseResults(PreparedStatement, int)
    public static void main(String argv[])
    throws Exception
    Driver driver = (Driver)Class.forName(
    "oracle.jdbc.driver.OracleDriver").newInstance();
    DriverManager.registerDriver(driver);
    Connection connection = DriverManager.getConnection(
    argv[0], argv[1], argv[2]);
    PreparedStatement ps = null;
    try
    ps = connection.prepareStatement(
    "DELETE FROM tmp2");
    ps.executeUpdate();
    ps.close();
    ps = connection.prepareStatement(
    "INSERT INTO tmp2 ( tmp_id, tmp_char, tmp_vchar " +
    ") VALUES ( ?, ?, ? )");
    insertRow(ps, 1, 'a');
    insertRow(ps, 2, '\u00E0');
    insertRow(ps, 3, '\uE000');
    ps.close();
    ps = connection.prepareStatement(
    "SELECT tmp_char, tmp_vchar FROM tmp2 WHERE tmp_id = ?");
    analyseResults(ps, 1);
    analyseResults(ps, 2);
    analyseResults(ps, 3);
    ps.close();
    connection.commit();
    catch (SQLException e)
    e.printStackTrace();
    connection.close();
    } // public static void main(String[])
    } // public class ClsColumnInsertion

    FYI, this has been mentioned as early as November last year:
    String with length 1 became 4 when nls_lang_semantics=CHAR
    and was also brought up in Feburary:
    JDBC thin driver pads CHAR col to byte size when NLS_LENGTH_SEMANTICS=CHAR

  • Convert all VARCHAR2 data types to character length semantics

    Hi,
    I am wondering if there is an easy way to convert all columns in the database of data type VARCHAR2(x BYTE) to VARCHAR2(x CHAR)?
    Regards
    Håkan

    The DMU does not allow character length semantics migration for the following type of objects:
    - Columns already in character length semantics
    - Data dictionary columns
    - Columns under Oracle-supplied application schemas
    - CHAR attribute columns of ADT
    - Columns in clusters
    - Columns on which partition keys are defined
    Please check if the disabled nodes you observed in the wizard fall under one of these categories.

  • How set maximum character length in Fxml

    Hey can any body help me set Maximum character length in Fxml.
    thanx in advance

    I wrote my own TextField.
    I can't give you the code right now, but it's easy to create it by yourself.
    0 - create a private method that deletes any unwanted char/s: restoreRightLength();
    1 - Add a listener on the textProperty of your TextField/TextArea that calls restoreRightLength() method.
    2 - Override  the following methods:
    @Override
    public void replaceText(int start, int end, String text) {
    super.replaceText(start, end, text);
    restoreRightLength();
    @Override
    public void replaceSelection(String text) {
    super.replaceSelection(text);
    restoreRightLength();

  • Is wpg_docload.download filename length restricted to 78 Characters ?

    All,
    I am using the wpg_docload.download procedure successfully download files. I have encountered a problem when the FILENAME values on the content-disposition attachment tag exceeds 78 characters. Is this a true and limitation of the procedure or have I done something wrong in the construction of my call to the procedure? I have read the threads concerning the upload procedure and noticed filename length restrictions. Do these apply here also ?
    Thanks In Advance,
    Tom
    Edited by: raudabat on Apr 23, 2009 6:38 AM

    Ben,
    Thanks for your reply. My code is very generic in its call to the procedure setting the mime type 'application/pdf' or 'application/ms-excel' and setting the attachment filename parameter. I wouldn't think the results SaveAs filename would have any restrictions in size dealing with directories since it is not allowed to specify the destination directory. My filename is pulled from the database. When I had a filename greater than 78 the wpg_docload function does not do anything or does not raise an error. This really restricts how a user can name there files. I dynamically create PDF and store them into the database using the document title as the filename for the download. However, if I have this limitation, I have to restrict how my user title there documents (or figure how to compress into meaningful titles).
    I have no problem with the download functionality, just the filename length aspect. Hopefully, this can be changed or I will have to live with this limitation. Any insight helpful.
    My site is on a intra-network server.
    Tom

  • Extend character length of an idoc segment

    Hello Gurus,
    Our client requires a longer character length for NAME2 and STRAS. SAP standard is that character length for this is 35. Is there a way to extend the length of these idoc segments? Thanks in advance.

    About which IDOC are you talking?
    And why do you need more characters?
    If you are talking about CREMAS vendor or DEBMAS customer,
    then you should consider the ADRMAS Idoc as well.
    Because addresses are stored in central address managment tables sind 4.6 release.
    CREMAS and DEBMAS do not support central address management.
    Please read OSS note 306275 and 384462 for migration of addresses

  • Problem of character length

    I have a question about the length of character. If i set the variable  (e.g. GG) of internal table and its character length is 1000.    <e.g. data:  gg(1000).>
    and put it into one of the columns of the report listing.
    but that column only can see part of it (from 0 to 128 characters only).
    So if i want to change to excel, then the latter part of this field is omitted... How can i retain all the characters when export to excel format.
    coz i don't want to miss any data from here.

    but all the fields is get from the table (in the program)....
    for example:
    itab-CLOSING = xxxx-xxxxx. (which contains more than 255 characters)
    (i've use strlen( itab-CLOSING ) to check the length, it's normal ), but
      wa-fieldname = 'CLOSING'.
      wa-reptext_ddic = 'Closing Date/Time'.
      append wa to fcat.
      clear wa.
    the column itab-closing just show in the screen for the first 128 characters only. so i can't still get the whole data when export to excel ...

  • Character length of an editable fields

    hi frnz,
       I have created an editable field in an ALV report.My client wants the character length of this editable field as 1000.I have made the data type as 'STRINGS' and length as '1000', but still in this editable field i am able to feed only upto character length of 128 not beyond this value.The text which my client wants to feed is of 950 characters. Could anyone give some solution for this
    Thanks
    Praveen

    Hi, i think you have to give intlen and outputlen in field catalog
    FIELDCAT-INTLEN = 1000.
    FIELDCAT-OUTPUTLEN = 1000.
    Please check the doc of field catalog
    [http://help.sap.com/saphelp_erp2004/helpdata/en/ff/4649a6f17411d2b486006094192fe3/content.htm]
    Regards,
    Ben

  • Character Length in the Alias Naming

    Is there a limitation to character length in the alias of a member name?

    Thanks, Was running into issues and thought this to be the case, just did not know the exact limitation!

  • How can we increase the character length of SAP batch???

    HI MM guru's,
    we want to increase the character length for the SAP batch i.e raise it to 14 characters. how can we posibbly do that live.
    Regards,
    Sameer Jalal

    thanks,
    but any alternative?
    Regards,
    Sameer Jalal

  • Length restriction scan

    Looking for a way to "overcome" the length restriction on the HP DesignJet t1200 MFD when scanning extremely long documents. I believe the device cannot scan a document longer than 104", but I frequently work with documents (roll plans) with lengths exceeding 20 ft. Can anyone help?

    Hi @TheKarlBear  ,
    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
    Here is a link to your product to start your search.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Can I remove the length restriction on YouTube videos?  YouTube no longer has this restriction.

    Can I remove the length restriction on YouTube videos?  YouTube no longer has this restriction.

    Welcome to the forum.
    As John T. points out, PrE was written when YouTube had restrictions of 10 min., and then they added Extended Subscriptions, and then lifted Duration limits.
    The instructions in that thread, to which John T. linked, will tell you how to Share/Publish from PrE, to then manually upload via your YouTube/Google account. I would guess that with PrE 12 (probably due in Oct. 2013?), the direct PrE to YouTube uploading will reflect the YouTube specifications - unless YouTube changes the game, after it is written.
    I doubt that there will be an update for PrE, just to reflect changes in YouTube, based on the history of the limited PrE updates. IIRC, PrE 3.0 got an update for Windows Vista, which was released, just after PrE 3.0 was, and the 2 updates for PrE 8, that fixed some pretty major Bugs. I do not recall any other PrE updates.
    Good luck,
    Hunt

  • Length restriction on literal value for constant defined declaratively

    When defining a program data item which is a constant varchar2(120) - I am restricted to a default value of length 60 (about 50 short of requirements). Does any one know why this length restriction is applied. Is there an intention to remove this limitation?

    1. In Forms 6i, there is a limit of 255 characters on the FORMS60_PATH. The
    forms runtime crashes, if the length becomes 256 characters or more.
    This is documented in Note 125007.1 Access Violation in Ora805.dll Caused By
    Forms When Forms60_path Longer Than 255 Chars
    2. In Forms 9i/10g, the limitation is 511 characters. If FORMS90_PATH contains
    512 or more characters, it is ignored. ORACLE_HOME cannot be more than 39 characters long.
    3. In Forms 10.1.2, the limit has been increased, that is, FORMS_PATH length has been doubled (1024).
    The new limit for ORACLE_HOME is 68 characters.
    A workaround
    Set ORACLE_PATH
    Regards

Maybe you are looking for

  • How can I remove a mobile as a machine from firefox sync?

    I have 3 Windows PCs and an android phone, all running the latest firefox versions. All of them participate in firefox sync. Now, on the windows version, there is an option to disable/remove a machine from participation in syncing. This actually mean

  • Please help, need to install photoshop cs6 on new macbook pro

    I just purchased a macbok pro and would like to install photoshop cs6 on it which i purchased last year for my imac but can't figure out how to do it without a cd drive. I really don't want to have to purchase it again since we are allowed to install

  • Problems viewing pdfs after upgrade to acrobat reader 8.0

    After uograding to acrobat reader 8.0, employees are getting garbage characters when they open docs created in acrobat 7.0.  Everyone is running Windows XP.  They have saved docs to desktop and tried to open but still no luck... any suggestions?

  • Oracle Database 10g Release 2 for HP-UX Itanium

    I cannot find this specific db in the Oracle downloads - there is one for RELEASE 1 but not Release 2. Does anyone know if there IS a release 2, and if not "out" yet when it will be?

  • /SAPAPO/PROMOTION_REPORTING

    Hello All, Has anybosy used this report /SAPAPO/PROMOTION_REPORTING in SCM 5.1. I tried to use the Promotion reporting tool in SCM 5.1, but is there a separate report which only gives a list of promotions? The only way to see individual promotions th