Save More than 1000 chars in a field of (Z) Database Table?

Hi Friends,
I created a database table with few fields. In the table, one field is REMARKS which should save more than 1000 characters for every record. For that field,  I created domain & data element of char with 2000 length. But system gives an error representing that "Should not be more than 255 chars ".
Even, select statement is also retrieving 132 chars only, if remarks are less than 255 and greater than 150 chars.
Could you please provide me solution?
Thanks
Sarayu

Hi,
The Most simple solution for it can be that Divide the field REMARKS of size 1000 in multiples of 200 characters like REMARK1, REMARK2....REMARKn.
Now you can create two FMs :
zset_data:  To Store 1000 char long data in Table
Here you will divide the data of Variable (type char1024) in multiples of 200 and will store in REMARK1, REMARK2.....
zget_data: To Get 1000 char long data back from Table
Here you will concatenate REMARK1, REMARK2..... and will store in Variable of Type char1024.
This is the best solution if Table is not going to be maintained by Table Maintenance Generator.
Thanks
Ajay

Similar Messages

  • How to embed more than 393 chars in form fields

    how to embed more than 1000 character in the field.
    I have written a xsl template which is about 2 pages in length.
    How do I embed it in the word template fields.

    1. create a new template and flag it as sub template
    2. import this in rtf using <?import:xdo://APPCODE.TEMPLATE_CODE.lang.TERR?>
    where
    APPCODE is the Application code you assigned to the subtemplate in the Template Manager. For example, if you associated this template with the Receivables application, enter "AR".
    TEMPLATE_CODE is the template Code you assigned to the subtemplate in the Template Manager. For example, AR_CommonComponents.
    lang is the two-letter ISO 639 language code for the template language you specified for the subtemplate in the Template Manager (for example, English is "en"). This entry must be lowercase.
    TERR is the two-letter ISO 3166 country code for the template territory you specified for the subtemplate in the Template Manager (for example, United States of America is "US"). This entry must be uppercase.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Cant  we create a custom PA infotype whose size is more than 1000 chars?

    can we create a custom PA infotype whose size is more than 1000 characters
    i have tried this way i have given 4 fields in PM01 transaction with the data element 255 so the total size is 1020 it is throwing an error. pls help......

    Hi,
    as described in the following documentaion the length of the data could be 1500 bytes.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/4f/d526be575e11d189270000e8322f96/content.htm
    Regards
    Bernd

  • To display text field with more than 1000 length in ALV

    Hi Friends,
           I need to display material long text field which is more than 1000 length in ALV or Object oriented ALV.
    Please help me to resolve the issue.
    Regards,
    Jaya.

    Hi,
    U mean to say in a single cell of ALV ??
    It is not possible in ALV .. As per OSS note 857823
    Below is the reason for same.. I think you should to split in number of columns.
    Summary
    Symptom
    Entries in cells of the type CHAR or string are truncated after 128 characters in the SAP GUI.
    Other terms
    ALV Grid Control (cl_gui_alv_grid), function module (Full-screen)
    Grid (Reuse_alv_grid_display, SAPLSLVC_FULLSCREEN), SAPGUI, back end, front end
    Reason and Prerequisites
    The data table that is sent to the front end only allows character values with the length 128.
    Solution
    This is the standard system behavior and cannot be changed.

  • Is it possible to create a Large Text Field in OCOD, more than 255 Char?

    Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in OCOD?

    Not at this time.

  • Is it possible to Create a Long Text Field (more than 255 Char Long)?

    Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in Service Request Object??
    Thanks!

    Hi
    User can only create custom Long text field (255 Charcter) . Currently system does not support custom note creation

  • A field to be displayed in portal legth of 3 and r/3 more than 255 char

    Hi all,
    Kindly give me reply, I need to display one structure in portal, in this one field is of length 255 char.
    Need to change it to more than 255 characters but it should be display in portal as 3 or 5 char length only, can accept more than 255 char lengtjh.
    thanks & regards,
    Chandra sekhar.

    Hi Chandra sekhar,
    A similar kind of a probelm is explained in the link below:
    Link:
    The other requirement of displaying it as 3 - 5 chararcter field in portal can be done by creating the iView as required.
    Regards,
    Pranav.

  • Need to insert into a table 1 of the fields (CLOB)with more than 4000 chars

    Dear Gurus,
    As far I understood, I need to write a function which get as parameter the large text and using bind variables I can return a CLOB containing more than 4000 chars. I tried all I can do and feel I want to died. Please, can I get specified help in this issue?
    I APPRICIATE YOUR HELP, MARCELO.

    *** Duplicate Post ***
    Please, Marcelo, use the forum properly. Pick a single group and post there.
    Thank you.

  • To display text more length more than 1000

    Hi,
    I have Ztable which has a LCHAR field of length 1000. through a program i am populating records in to this table. But i am unable to see the complete text in Se11 or se16 not even in debugger (not showing more than 132 char). Is there a way to see that text. I wrote a program to read that text & display it is not fetching the required data means the 1000 Lchar text. Can you pl tell me how can this be done.
    Below is the code used to read & display the text.
    DATA : BEGIN OF zerr OCCURS 0,
             buildid LIKE zmm-buildid,
             message LIKE zmm-message,
            END OF zerr.
    SELECT buildid message
           FROM zmm
           INTO TABLE zerr.
    LOOP AT zerr.
      WRITE :/5 zerr-buildid.
      WRITE :/5 zerr-message.
    ENDLOOP.

    Hi
    U can try to use NEW-PAGE statament, here you can indicate line having a length longer than 255 char:  the maximum line length is 1023:
    DATA : BEGIN OF zerr OCCURS 0,
                   buildid LIKE zmm-buildid,
                   message LIKE zmm-message,
                END OF zerr.
    START-OF-SELECTION.
    SELECT buildid message FROM zmm
    INTO TABLE zerr.
    NEW-PAGE LINE-SIZE 1000.
    LOOP AT zerr.
      WRITE :/5 zerr-buildid.
      WRITE :/5 zerr-message.
    ENDLOOP.
    Anyway this doesn't mean you'll be able to print this layout, because you need to create a right format by SPAD transaction.
    Max

  • How to display more than 255 chars in background job with ALV Grid ????

    Hi All,
    I am using ALV grid with OO.
    I have used call screen for ALV grid display. I have to display more than 255 characters in width. While running it, I can see the list perfectly.
    But in background mode, the list is truncated after 255 chars.
    Can anybody help how to send complete list(width more than 255 chars) to spool.
    Thanks and Regards,
    Neha

    Hi SAP fan,
    <b>YES you can run the ALV report in background mode.
    To run the report in background do F9 instead of F8, then give immediate and save.
    Now goto Sm35 goto job overview and view the job listed
    Choose the job and press the spool button. It will show the list created on the next page. When u clcik the list u can see the ALV output.
    To see this the job should be in the finished status.
    How to define Periodic Jobs
    1.Execute transaction SM36
    2.Define Job name, Job class, Target server
    3.Click on 'START CONDITION' button
    4.Click on 'Date/Time' button
    5.Enter Scheduled start DATE & TIME. Check mark 'Periodic Job' field. Click on 'Period values' button and select 'Hourly' or 'Dialy' or 'Weekly' or 'Monthly' or Other period and SAVE. Go back to main screen.
    6.Click on 'STEPS' button and enter Program name and Variant under box 'ABAP Program'. Click on 'Print Specification' button and enter Printer name under 'Output device' and SAVE
    7.Click on SAVE button until you get message on bottom of the screen that describes 'Job XYZ saved with status: Scheduled'.
    8.Click on 'Job overview' button or execute SM37 transaction.
    9.Select the appropriate 'Job name', 'User name', 'Job Status' & Schedule date under 'Job start condition' and click on 'Execute' button or press F8.
    10.You will now see all your scheduled JOBS.
    <b>Case: 2</b>
    You can Run in Background but make sure it is alv list, not alv Grid FM. if you are uisng alv list not problem , but if you are using alv grid then you can code like this..
    if sy-batch = ' '.
    call 'REUSE_ALV_GRID_DISPLAY'.
    else.
    call 'REUSE_ALV_LIST_DISPLAY'.
    endif.
    if you are using OO alv then write this code..
    CALL METHOD cl_gui_alv_grid=>offline
                    RECEIVING e_offline = off.
        IF off IS INITIAL.
          CREATE OBJECT g_custom_container
                 EXPORTING container_name = g_container.
        ENDIF.
    <b>Case: 3</b>
    if you are using OO ALV.
    Just before creating the custom container check for the following condition.
    Batch or Web Reporting
    IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    CREATE OBJECT o_custcontainer
    EXPORTING
    container_name = lc_custcontrol
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    OTHERS = 6
    ENDIF.
    You can see the output in Spool in transaction SP01.</b>
    Good Luck and thanks
    AK

  • Can columns be more than 1000 in a select query (oracle 11 g)

    I am getting this error: "ORA-01792: maximum number of columns in a table or view is 1000"
    I have a dynamic query where number of column can increase according to the user input.
    They can expect more than 1000 columns. Is it possible to fetch more than 1000 rows in a query?
    I appreciate all your help.
    Edited by: user10232912 on Apr 26, 2012 2:07 AM

    >
    They can expect more than 1000 columns.
    Then they are idiots. IMO.
    Open challenge. Show me an entity with a 1000 attributes and I will show you a flawed data
    model and a total lack of grasping fundamentals of implementing that into a relation database product like Oracle.I second that - as someone who once had to ETL a system which had a table with 35.000 fields - that's 35K.
    It was a system which made extensive use of arrays - and arrays of arrays of arrays...
    Paul...

  • I am running a strain gage test and can't get more than 1000 samples

    A formor employee left a strain gage VI that I am attempting to reuse but no matter what I do I can,t get more than 1000 samples before needing to restart the loop. In the task timing (of NI-DAQmx) I have set the acquisition mode to N Samples and the clock settings to read 65000 samples at 25 Hz. There is a DAQmx timing(sample clock) VI that resets to finite samples and 1000 per channel when I close it but I have reset it to 65500 continious samples and left it open to no avail. There is a rate input to this sample clock on the front window that I have tried setting to several different rates to no avail. The Vi will run about 15 seconds, collect 1000 samples and then ask to verify the file location to save the data to. Upon verifying the file location the VI will run another 15 sec. loop before stopping for verification again.
    If the loop is stopped rather thanhaving the file verified an error is listed:
    Error-200278 occurred at DAQmx Read (Analog 1d WFm NChan NSamp).vi:1
    The given possible reason given is: attempted to read a sample beyond the final sample acquired.
    When I stop attempting to run the VI the block diagram opens with a dark block around file creation block. I need this VI to run for 10 min. collecting samples at about 25/sec. Can someone help me figure out what I am doing wrong?
    I have made screen shots of the VI and the error code to assist finding the incorrect programing.
    Thank you for your help.
    Jim Steinmeyer
    Jim Steinmeyer
    Design Engineer
    Reinke Mfg.
    PO 566
    Deshler NE 68340
    [email protected]
    Attachments:
    strain test error.doc ‏493 KB

    Thank you,
    I was just thinking about being able to increse the size of the doc.  for better visability. I have tried working with the rate input for the DaQmx for the sample clock and it does change the frequency of sampling, but I still get just the 1000 samples. I have included Jpegs this time. I have tried to exppand the two DAQ assistants that arn't expanded but am unable to, I also am unable to find a "propertys" command to open them up and see what exactly they do. The nested while loop for output also seems strange to me. Maybe I would be better to attempt a new program but being new to the language I thought using an existing program might be best.
    Jim
    Jim Steinmeyer
    Design Engineer
    Reinke Mfg.
    PO 566
    Deshler NE 68340
    [email protected]
    Attachments:
    block diagram.JPG ‏134 KB
    DAQmx.JPG ‏129 KB

  • How to save more than one Contact Person in CRM

    Hi experts,
                     How to save more than one contact persons in CRM opportunity Application?
    I am using following Function Module...
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_partner        = lt_partner_com
        CHANGING
          ct_input_fields   = lt_input_fields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
    I am giving the input field name as 'PARTNER_FCT', 'PARTNER_NO', 'DISPLAY_TYPE', 'NO_TYPE', 'MAIN_PARTNER' and 'RELATION_PARTNER'.
    The problem is it is saving only one contact person, not more than one.
    Please help me how to save more than one contact persons.

    In SPRO partner processing this needs to be configured.

  • How to create a text which can support more than 500 chars ?

    Hi all:
        In my interactive form, I have one text, the value inside this text is longtext, the length will be more than 500 chars.
        My problem is now , if there is more than 100 chars, there will be duplicated chars in this text.
        Can I make this text support overlap ? when the value have too many chars, it will display in next row ? is it possible ?

    Hi,
    The 2 points are compulsory for multiline display.
    Could you please let me know the following things.
    1. Is that field is wrapped by any position content subform.If this is the case, try making flow content.
    2. Is there any field below the text field and the 2 fields are wrapped in position content, In this case also make the subform as flow content.
    Refer the example form FP_TEST_01 in SFP transaction.Check the subform and field properties.
    Make a backup before making changes.
    Thanks and Regards,
    Pavan Meda

  • More than 1000 Line items

    Hi
    User has done the billing for 1300  line items by using transaction code VF01. After completing that process there is a option TO release Accounting, when user select on that button system throwing an error "Maximum number of items in FI
    reached".
    We know that from FI side system will not allow more than 999 line items. Since we are using 4.7 version.
    Invoice have already send to the customer. So, How to solve this issue.
    Please provide me the solution as early as possible.
    Your help would really appreciated.
    Regards,
    Schilukuri

    Hi to everyone,
    My issue has been resolved.
    My requirement is User has done billing (VF01) for more than 1000 line items. After that he was doing that billing document to release to accounting. That time system was throwing an error message." Maximum number of items in FI
    reached"
    Solution:
    Use Transaction OBCY and give work area VBRK  and there you have to give Table name BSEG and give Field name whichever the fields you want to give to group the same line items.(Document may have some same line items).
    refer SAP Note:36353.
    Regards,
    Schilukuri

Maybe you are looking for

  • Routing with a multihomed Mac

    Hi, I have a Mac running Leopard 10.5.4 with two network cards in it, and I'm trying to get it to act as a router. The setup is very simple: A ---- M ---- B M is the Mac with two nics. The nic (en0) on computer M connected to computer A has an IP of

  • 15" iMac G4 800Mhz will not boot up

    Hello all, I have a 15" iMac 800Mhz G4 system with 512ram that will not boot up unless I take out the memory and reinsert it every time before a start up. I get a blank grey screen unless I pull the memory stick out and put it back in. Any ideas ? I

  • XML Data Source

    I try to use XML files as data source with Oracle Report 9i. Even if the .xml and the .dtd files are well-formed and validate is OK, Oracle Report doesn't recognize the groups, columns,... How to format correctly DTDs file?? With easy .dtd it works,

  • I am replacing my broken MacBook pro, do I need to remove it from iCloud? If so how please

    Hi there, I recently dropped and killed my MacBook pro and have a new one arriving today,   Do I need to remove the old one from iCloud like we used to with sinc?   If so please let me know how. Thanks Jules

  • Music XML Import & Export

    I use Sibelius for composing scores and would love to see audition support music xml import to the midi sequencer for final production to audio instead of requesting native notation features within AA. At the same time on a related feature request, I