How to create a field with  1200 chars length

Hi,
Will anybody let me know how to create a field with length 1200 in a table.
Regards,
Madhavi

Hi Madhvi,
Other thing what you can do is
1. First create a Table type.
     Goto SE11-> Dataelements ->Table type
     There on the next screen select Predefine radio button & there provide data type & size.
2. Create a structure having a field typa of Table type created before. say that field is quant.
Now in your program refer that structure to create an internal table & work area.
Now if u append ur text to the field quant.
try creating line type of size more that 255 if it works then fine other wise reduce it.
Note:: This will be a deep structure.
so first append value to the field quant,  the at the end of first record append valu to ur internal table.
thanks
Satyam

Similar Messages

  • How to create a field with unlimited size (length)

    Hello guys
    I have to create a field in a table that holds a very long string of data (no maximum length known). Is there a way to handle this type of situation. If so what kind of field type should i be using.
    Thanks
    Ram

    Hi Prashanth
    I am an XI certified consultant with some self learning of abap and basis also. Because our company is small I am the only person incharge of our SAP work. So that is the reason I am using SDN's help in getting many of my questions answered and people have been very helpful here.
    One of the members had suggested to use VARC type, but when I try to use it, it said that this is not supported anymore.
    Hope to hear some feed back regarding this.
    Tks
    Ram

  • How to create a field with combo or check box group in a form

    1 - i created a database table messages (sender_name , date , message_type , message_body)
    message type accept only COMPLAINT , SUGESSTION OR OPENION
    2 - I created a form which has a field called message_type
    3 - i want the message type appear in the runtime as a checkbox group or as combo box (with values COMPLAINT , SUGESSTION OR OPENION)
    PLEASE GUIDE ME STEP BY STEP TO DEVELOP IT
    Regards
    Mohamed Hammed

    Hi,
    You can create another table to hold the unique values COMPLAINT, SUGESSTION and OPINION. You can then dynamically query this table in a Dynamic Page & construct the HTML code within a function like this :-
    CREATE OR REPLACE FUNCTION FN_GET_RADIO_OPTIONS
    RETURN VARCHAR2
    AS
    ln_return_html VARCHAR2(32767);
    BEGIN
    FOR rec IN ( SELECT ROWNUM,MESSAGE_TYPE FROM SCOTT.MESSAGES_TYPES )
    LOOP
    ln_return_html := ln_return_html || '<INPUT TYPE=RADIO NAME=rd'||rec.ROWNUM||' VALUE='||rec.MESSAGE_TYPE||' />';
    END LOOP;
    RETURN ln_return_html;
    END;
    /You can then get something out of Dynamic Page like this :-
    <ORACLE>
    DECLARE
    ln_SQL VARCHAR2(32767);
    BEGIN
    ln_SQL:= FN_GET_RADIO_OPTIONS;
    HTP.P(ln_SQL);
    END;
    </ORACLE>Of course, you do the same in a million other ways - using Java, etc - this is just an example to give you an idea.
    Regards,
    Sandeep

  • How to create a field with underscore

    I want to create something like this:
    ___n___ # scrubbed
    ___x___ of __n____ did scrub correctly
    The user will fill in n and x fields to compare if x = n.
    I don't want to use text field. Is there some way to achieve this?
    Thanks.
    Message was edited by:
    user575351

    Hi Madhvi,
    Other thing what you can do is
    1. First create a Table type.
         Goto SE11-> Dataelements ->Table type
         There on the next screen select Predefine radio button & there provide data type & size.
    2. Create a structure having a field typa of Table type created before. say that field is quant.
    Now in your program refer that structure to create an internal table & work area.
    Now if u append ur text to the field quant.
    try creating line type of size more that 255 if it works then fine other wise reduce it.
    Note:: This will be a deep structure.
    so first append value to the field quant,  the at the end of first record append valu to ur internal table.
    thanks
    Satyam

  • Can we create a table field with more than 1200 char length

    Hi,
       As per business requirement, need to create new table - and one of the field should contain 1200 char length. i found the sap data element but when i was activating it was throwing an error.. is there any alternative for this.
    Thanks in advance.

    hi jayasri,
    Can you use datatype as LCHR for the character string.
    before creating the string you need to decalre one INTEGER field.
    you can refer to the table EDID4 where SDATA field declared.
    check for the data  type EDI_SDATA.
    Hope this will solve your problem.
    Regards,
    Madhavi

  • How to create pdf files with text field data

    how to create pdf files with text field data

    That looks like it should work, but it doesn't.
    I opened the PDF I had created from Word in Acrobat (X Pro). Went to File > Properties. Selected "Change Settings". I then enabled "Restrict editing...", set a password, set "Printing Allowed" to "none", "Changes Allowed" to "none", and ensured that "Enable copying of text..." was disabled.
    I saved the PDF file, closed Acrobat, opened the PDF in Reader, and I was still able to select text and graphical objects.
    I reopened the PDF in Acrobat, and the document summart still shows everything as allowed. When I click on "show details" (from File > Properties) it shows the correct settings.
    Any ideas?

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

  • How to create a table with events in smartforms?

    How to create a table with events view in smartforms?
    It doesn't like general table with header, main area and footer.
    for example:
    in smartforms: LE_SHP_DELNOTE
    table name is TABLEITEM(Delivery items table)

    Vel wrote:
    I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
    Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
    Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
    EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
    EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
    I'm using Oracle 10.2.0.4 version.
    Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements.

  • I need your expert opinion on how to create a map with multiple conditions.

    Hello.
    I need your expert opinion on how to create a map with multiple conditions.
    I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
    How can i create a cursors within the map?
    My function creates table and cursor.
    Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
    The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
    In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
    I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
    In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
    having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
    I would appreciate any help / advise on this.
    Thank you very much

    thanks a lot for your reply - i will look into this option :-)
    it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
    At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
    Anyway, thank you very much for your suggestion.

  • How to create a GregorianCalendar with timezone information

    Hello All,
    Can any one tell me how to create a GregorianCalendar with time zone information i.e
    I have following information with me
    year
    month
    day
    hour
    minutes
    seconds
    deci-seconds
    direction from UTC "+" / "-" (in ascii notation)
    hours from UTC minutes from UTC
    How can i construct a calender out of it?

    How to construct a calendar:
    Calendar.getInstance()
    Did you consider looking at the API docs with the set() method for calendar and the field constants for the values you can set?
    Although I wonder whether it's simpler to just concatenate the data to a String and parse it to a Date instance using SimpleDateFormat.

  • How to map Idoc fields with external file

    Hi All,
    How to map Idoc fields with external file.
    I want to check the settings where Idoc fields are mapped with external file.
    Thanks in advance.
    Regards,
    Govind.

    If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment

  • How to create ios environment with adobe id?

    Hi , i am trying to create ios environment in windows platform.
    can any one please tell me, how to create IOS environment with adobe id.
    I a created adobe id and inserted code into it. But its running (Since one hour), and no response.
    Any one have idea on it, please let me know.
    Thanks in advance....
    Message was edited by: pathi rskumar

    Hi,
    If you have already set the number range as an external range.
    Then just passing the transaction type to field 'process_type' and external id to field 'object_id' of table ct_orderadm_h. Sales order will created with the assigned external id.
    Hope this help.
    cheers,

  • How to create table view with reference table

    Hi experts,
    How to create table view with reference table in SE11, plz gve me stp by stp procedure.
    pints grnded for hlp.

    Hi
    Go to Tcode se11 choose view and enter the name and create a popup opens up choose database view option
    enter the description
    On the left hand side choose the table name.
    Click on view fields tab and choose your table fields.Here you can choose which fields you want in your view.
    Save and then activate.
    Hope this helps.
    Regards,
    Harish

  • How to create a field group.

    Hi all,
    Can anyone please explain how to create a field group for few fields?
    My requirement is i want to Create a specific fieldgroup for maintenance of the fields for the contacts TAB on the customer master
    KNVK-NAME1
    KNVK-NAMEV
    KNVK-ABTNR
    KNVK-PAFKT
    KNVK-BRYTH
    How todo this? please anyone can explain the steps.
    Mohana

    If you are creating these fields with Business Data Tool Set.
    Then you will have field group and fields.
    Field are attached to field groups,
    Field groups are attached to view
    Views are attached to Section
    Sections are attached screen : you are calling as a tab
    Regards,
    Shiva Kumar
    removed by moderator
    Edited by: Jan Stallkamp on Dec 19, 2008 2:33 PM

  • How to create required field in alv?

    hi friends^^
    how to create required field in alv?
    i don't find required option in fieldcatalog and others.
    is it possible?

    Source code..
    PLANETYPE is key_sel = 'X'.
    But does't required field...
    REPORT  zs32editable1  .
    TYPE-POOLS : slis.
    DATA : gt_sflight  TYPE TABLE OF sflight.
    DATA : gt_fieldcat TYPE slis_t_fieldcat_alv,
           gs_fieldcat LIKE LINE OF gt_fieldcat,
           gs_layout   TYPE slis_layout_alv.
    START-OF-SELECTION.
      SELECT *
        INTO CORRESPONDING FIELDS OF TABLE gt_sflight
        FROM sflight.
      gs_layout-colwidth_optimize = 'X'.
      gs_layout-edit = 'X'.
      gs_fieldcat-fieldname = 'PLANETYPE'.
      gs_fieldcat-key_sel = 'X'.
      append gs_fieldcat to gt_fieldcat.
    END-OF-SELECTION.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_STRUCTURE_NAME = 'SFLIGHT'
          is_layout        = gs_layout
          IT_FIELDCAT      = gt_fieldcat
        TABLES
          t_outtab         = gt_sflight
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

Maybe you are looking for

  • Buzzing?

    My ac adapter for my mac buzzes and gets very hot to the touch and it has done that ever since I got my mac and I don't know what to do. Suggestions?

  • Compiler fails to compile the file for iOS

    I have been on porting a flash project on the iOS platform. At first I was able to convert small files to iOS without any error. But when i started compile a big file (fla of around 5-6 MB and 100-120 .as files) for the same it gave me an error. Erro

  • My Satellite won't load home page

    My laptop won't load home screen, it just says, configuring windows features 100 % complete Don't turn off your computer, it has been like this over an hour, new laptop 3 wewks ago.

  • Important Questions for MAC AMATEUR photographers - is it worth it to change what works

    Greetings, I have been following this products evolution. Currently I have a system that works very well. After a shoot I follow the following workflow. 1) BAck up originals on a external drive. 2) Import into Apple iphoto 3) Preview and set keywords

  • Spinning ball of death upon launch

    Hello, Suddenly, Color will only get to the launch window where the list of projects to open are and it essentially crashes. The spinning beach ball spins and I have to force quit. A while back, I switched the render directory to a dedicated drive, r