Regarding Field Lengths

Hi All,
Suppose My Scenario is to Send the Vendor Details From SAP ECC To File.
Here In ECC we have the Fields with  Field Lengths with 20 Char , But in the File We have the Fields with Field Lengths with 10 Char.
So in this case Is the Data will be Posted to File Successfully OR Any Error will Come
How To do this in Mapping Time
Regards
Vamsi

Hey,
Don't complicate.
Just in FCC  set  NameA.fixedLengthTooShortHandling
= Ignore / Cut. Depending on the requirement.
<b>Ignore</b>:Ignore means that the system applies the value completely, regardless of it being too long.
<b>Cut</b>:Cut means that a value is shortened to the maximum permitted length
Further reference.
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
<b>Cheers,
*RAJ*</b>

Similar Messages

  • Regarding field length in alv

    hi experts,
    i have a small doubt in alv.
    In fieldcat i have one field called amount and am defining its length 19.
    but actual its length in database is 14.when i tried to display the this amount field using reuse_alv_list_display the data in amount field is showing only 14 digits,but i need to display its total length(even if it is greater than database length).........
    correct answers rewarded with maximum points????????????

    Hi
    Check while preparing Fieldcatalog you are giving length 19 to this amount fields .
    For this u have a option of output length in fieldcatalog .
    Try this .
    Hope this helps .
    Praveen
    Message was edited by:
            praveen parasiya

  • R/3 Field length 80, BW field max allowed 60

    Hi all,
    Field ABC is in R/3 production system.
    Its length is 80(CHAR).
    This field data is now to be extracted to BW.
    It is used in extract program and updated to an extract table(R/3), then this has be loaded into a master load(BW).
    But in BW the field length allowed is 60(Max).
    So how to get in this 80 char data into BW??
    Please let me know in detail.
    Also please share links pertaining to this if possible.
    Thanks,
    Sowrabh

    Hi Sowrabh,
    Create two Infoobjects one with length 60 and one with length 20.
    Now in transfer rules write routines for both.
    IOB1 = <r/3 field>+0(60)
    IOB2 = <r/3 field>+60(20)
    Regards,
    Mansi
    Edited by: mansi dandavate on Apr 23, 2009 6:23 PM

  • Table field length problem

    Hi Team,
    We r tring to create table with field length 250 and 'CHAR' type and one more field 'STRING 'for unlimited length.While creating table entries ,it is tsking only 130 length for all fields.it is not taking 250 characters for 250 length field.and it is not taking unlimited length for String field.Plz let me know.

    Hello Mohan,
    CHAR 250 is right. i am not facing any problem.
    can you please explain in detail what you have done and what error you are getting.
    Regards,
    Sujeet
    Edited by: Sujeet Mishra on Dec 2, 2009 4:42 AM

  • Idoc segment field length changes

    Hi friends,,
    I am new to idoc.
    My requirement is in my segment
    i am having 5 fields and also this segment is already realeased one.
    i wnat to change the field length from 10 to 20 . how to do this ?
    actually what i did is
    1. i cancel the release for that segment.
    2. in that field inside the dataelement i changed the field length from 10 to 20.
    3. data elemnt get chaged from 10 to 20 but Export length for that field in Idoc segment still retain the 10 only
    can you plz how to resolve this
    deva

    Hi,
    The way you used is right. ( cancel release or create a new segment )
    After you cancel release, try delete that field, and insert a new one.
    If it isn't valid still,  create a new segment instead.
    Regards
    Sam

  • What is the best way to declare field length 500 in internal table?

    Hi all,
    what is the best way to declare field length 500(constant value allways) in internal table?
    I am trying to send data from internal table to file format, and I have a field in internal table with 500 length (constant value always). So how do I can declare and append this field value to table?
    Thanks
    Murali

    Hi.  Please see the following example program, notice how I am filling the field with the constant value.
    report zrich_0001.
    *       CLASS lcl_main DEFINITION
    class lcl_main definition.
      public section.
        types: begin of ttab,
                fld1(500) type c,
               end of ttab.
        data: itab type table of ttab.
        data: xtab type ttab.
        methods: constructor,
                 write_itab.
    endclass.
    *       CLASS lcl_main IMPLEMENTATION
    class lcl_main implementation.
      method constructor.
    <b>
        xtab-fld1 =
          'This is one part of the total string which needs to be really' &
          ' long and this is a constant and we need to move it to a work' &
             ' area and then append it to the internal table which has a' &
              ' field with a length of five hundred characters'.
        append xtab to itab.</b>
      endmethod.
      method write_itab.
        loop at itab into xtab.
          write:/ xtab-fld1.
        endloop.
      endmethod.
    endclass.
    data: o_main type ref to lcl_main.
    start-of-selection.
      create object o_main.
      call method o_main->write_itab.
    Regards,
    Rich Heilman

  • Control an Integer field Length without using Validation ??

    Hi,
    I have Couple of fields where I need to configure them as Integers.
    Now each one has a fixed length that i need to limit to.
    But when i create a field of type: integer, i cannot select teh length!!!
    To achive this the idea i have is to write a validation which checks length..
    But can i achive it without going for a validation on each field???
    PS: I am aware that TEXT field can limit the length But it also allows me to enter text values, my requirement clearly says that to allow users to only enter Numeric values..
    Did anyone face a similar Case?
    Kind Regards
    Eva

    Hi Eva,
    I didn't try in the system, but I feel there are two solutions to achieve your requirement (*of course in both cases you will need to write a simple validation)
    Solution 1 : When field is defined as "Integer" in Console.
    lets take an example, you want to restrict an integer field with a limit of max 4 characters.
    Maximum value of a 4 character integer can be "9999". So, you can put a simple validation to compare the field value with 9999. if the value is less then this means fields values is less than 4 characters, else more than 5 characters.
    In this case Your validation expression in expression editor will be:
    FIELD NAME<= "9999"
    Solution 2 : When field is defined as "Text" in Console.
    In this case you can restrict the maximum field length through Console. But you will also need to write a validation to ensure that user is not entering any alphabets or special characters in this field.
    In this Case you can use below validation:
    HAS_ALL_CHARS(FIELD NAME, "0","9")
    This will ensure that field has all characters between 0 and 9 and doesn't hold any special character or alphabets.
    In Both cases you will need to set  "Automatic Execution" property as "Error". Also please do not manually type any function or value in expression editor. use drop down for fields, operators, functions etc.  and enter numeric values using the first blank box before dimension list.
    Kindly revert if you face any issues.
    -Shiv

  • FIXED FIELD LENGTH is not constant

    Hello Guru's,
        This is the question asked in IBM .
    What will you do if field length of a field in flat file is not constant or not equal to the FIXED FILED LENGTH ?.
    i.e. f1 is of length is 10 and in one row its length is only 9 what will happen and what will you do to overcome this situation.( consider its a FILE TO FILE SCENARIO )
    can anyone help me in this regard.
    Thanks in advance.

    >     This is the question asked in IBM .
    > What will you do if field length of a field in flat file is not constant or not equal to the FIXED FILED LENGTH ?.
    > i.e. f1 is of length is 10 and in one row its length is only 9 what will happen and what will you do to overcome this situation.( consider its a FILE TO FILE SCENARIO )
    The ans for this question is very simple.
    Since your FIXED FIELD LENGTH is 10 correct. now if any value comes of length 9 or less, then there will be no problem at all. It will work perfectly without doing anything. BUT if your length goes beyond 10 then it will throw an error message which you can see in RWB.
    Shorter length is never a problem in case of FIXED FIELD LENGTH.
    I hope now you got the ans, but good way to learn is, to create a simple scenario and test it. )
    Regards,
    Sarvesh

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • Info on CCM 2.0 characteristics - Fields length, data types & Desc

    Dear All,
    Does anybody know how or where I can get information about CCM 2.0 standard characteristics data structure?
    Or maybe the table name that holds this information?
    I need the following info:
    1. List of all Standard CCM 2.0 Characteristics
    2. Characteristics Data types (i.e Char)
    3. Characteristice Field lengths
    I have looked into the SAP help for CCM 2.o and the on SAP Servicemarketplace under instguides&IBC....could not find every thing I wanted.
    Regards,
    Grace

    Hi Grace,
    you can look in tables
    /CCM/C_CHAR
    /CCM/C_CHAR_ALS
    /CCM/C_CHAR_ASPT
    /CCM/C_CHAR_TXT
    /CCM/C_CHR_ALIAS
    and
    /CCM/C_DTYPE
    /CCM/C_DTYPE_HDR
    /CCM/C_DTYPE_T
    /CCM/C_DTYPE_TXT
    /CCM/C_DTYPE_VL
    /CCM/C_DTYPE_VLT
    in CCM to get the standard charcateristics and their default settings.
    Chris

  • How to set field length in Dynamic IT tab

    Hi All,
                 I am creating 1 dynamic internal table with refrence of field catalog, but in the dynamic IT tab and work area i am gettinf field length is 10 char.
    But i want to change this into 15 or 20 char like this....  how can i change this
    Please help me .
    DATA: ep_tab TYPE REF TO data,
          new_line  TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE table,
                   <l_line>  TYPE ANY.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          I_STYLE_TABLE   = c_char
          it_fieldcatalog = it_fieldcatalog
          I_LENGTH_IN_BYTE = ' '
        IMPORTING
          ep_table        = ep_tab.
      ASSIGN ep_tab->* TO <l_table>.
      CREATE DATA new_line LIKE LINE OF <l_table>.
      ASSIGN new_line->* TO <l_line>.
    This is my code.
    Regards,
    Arjun.

    Hi,
    try this
    ** ALV DECALRATION
    DATA : wa_lvc_cat TYPE lvc_s_fcat,
           gt_lvc_cat TYPE lvc_t_fcat.
    DATA : wa_fieldcat TYPE slis_fieldcat_alv,
           gt_fieldcat TYPE slis_t_fieldcat_alv.
    DATA : wa_slis_layout TYPE slis_layout_alv.
    PERFORM create_dynamic_itab.         " Fill fieldcatlog and create dynamic itab
    *&      Form  CREATE_DYNAMIC_ITAB
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM create_dynamic_itab .
      CLEAR g_pos .
      PERFORM fill_gt_lvc_cat_fld USING 'MATNR' 18 .  "fieldname outputlen.
      PERFORM fill_gt_fieldcat_field USING c_x 'MATNR'  'CHAR' 18   text-006.
      PERFORM fill_gt_lvc_cat_fld USING 'CODE' 40 .
      PERFORM fill_gt_fieldcat_field USING ' ' 'CODE'  'CHAR' 40  text-024.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_lvc_cat
        IMPORTING
          ep_table        = new_table.
    ENDFORM.                    " CREATE_DYNAMIC_ITAB
    *&      Form  FILL_gt_lvc_cat_FLD
    *       text
    *      -->P_0006   text
    *      -->P_18     text
    FORM fill_gt_lvc_cat_fld  USING   p_fieldname TYPE any
                                      p_outputlen TYPE any.
      wa_lvc_cat-fieldname =  p_fieldname .  " 'MATNR'
      wa_lvc_cat-outputlen =  p_outputlen.   " 18
      APPEND wa_lvc_cat TO gt_lvc_cat.
      CLEAR wa_lvc_cat.
    ENDFORM.                    " FILL_gt_lvc_cat_FLD
    *&      Form  FILL_GT_FIELDCAT_FIELD
    *       text
    *      -->P_C_X  text
    *      -->P_0012   text
    *      -->P_0013   text
    *      -->P_18     text
    *      -->P_TEXT_006  text
    FORM fill_gt_fieldcat_field  USING    p_key        TYPE any
                                          p_fieldname  TYPE any
                                          p_datatype   TYPE any
                                          p_outputlen  TYPE any
                                          p_seletext_m TYPE any.
      g_pos = g_pos + 1.
      wa_fieldcat-col_pos    = g_pos.        " 1.
      wa_fieldcat-key        = p_key .       " c_x.
      wa_fieldcat-fieldname  = p_fieldname.  " 'MATNR'.
      wa_fieldcat-datatype   = p_datatype.   " 'CHAR'.
      wa_fieldcat-outputlen  = p_outputlen.                     " 18.
      wa_fieldcat-seltext_m  = p_seletext_m. " text-006.   "'Material'.
      APPEND wa_fieldcat TO gt_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " FILL_GT_FIELDCAT_FIELD
    PERFORM fill_output_layout.          " Fill the output data into field symbol
    *&      Form  FILL_OUTPUT_LAYOUT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_output_layout .
      ASSIGN new_table->* TO <fs_table>.
      CREATE DATA new_line LIKE LINE OF <fs_table>.
      ASSIGN new_line->* TO <fs_line>.
      LOOP AT  gt_mseg INTO wa_mseg.
          ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_line> TO <fs_field>.
          <fs_field> = wa_mseg-matnr.
        READ TABLE  gt_grdtrans INTO wa_grdtrans WITH KEY mawerk = wa_mseg-WERKS
                                                             matnr  = wa_mseg-matnr
                                                             mat_doc = wa_mseg-mblnr binary search.
            IF sy-subrc = 0.
            LOOP AT gt_qmfe INTO wa_qmfe WHERE qmnum = wa_grdtrans-qmnum.
             READ TABLE gt_qpct2 INTO wa_qpct2 WITH KEY  codegruppe   = wa_qmfe-fegrp
                                                         code        = wa_qmfe-fecod
                                                         BINARY SEARCH .
              IF sy-subrc = 0.
              ASSIGN COMPONENT 'CODE' OF STRUCTURE <fs_line> TO <fs_field>.
              <fs_field> = wa_qpct2-kurztext.
             ENDIF.
             endloop.
             clear wa_qmfe.
            ENDIF.
    ENDLOOP.
        CLEAR wa_mseg.
    PERFORM fill_layout.                 " Filling the layout of REUSE_ALV_GRID_DISPALY
    *&      Form  FILL_LAYOUT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_layout .
      wa_slis_layout-zebra             = c_x.
      wa_slis_layout-colwidth_optimize = c_x.
    ENDFORM.                    " FILL_LAYOUT
    Edited by: ShaliniSinha on Mar 30, 2009 1:49 PM
    Edited by: ShaliniSinha on Mar 30, 2009 1:55 PM

  • TCURR field TCURR_UKURS - field length is too short

    Has ECC6 addressed the field length issue of 9 characters (5 decimals) in table TCURR field UKURS to cater for weak currencies, to avoid using ratios of 1000:1

    Hi,
    I don't see any issue. UKURS field has 9 characters, that's right; but, as you rightly mentioned, it should not pose any problem considering the ratio. Why ratio of 1000:1 is posing a problem for you?
    Regards,
    Eli

  • I want to extend table "hr_location_extra_info_lei" column name "lei_information3" field length from 16 to 30 and was wondering if I can do this and how?

    I am trying to extend the field length for colun lei_information 3 from 16 characters to 30 characters in the table hr_location_extra_info_lei, but cannot seem to do this.  Can the length be changed and if so how?
    Many thanks
    Louise

    Hi Louise,
    All the "lei_informationX" columns in   hr_location_extra_info  table are of size VARCHAR2(150) (Oracle EBS R12).
    So I understand why you're saying it's limited to 16 characters.
    May it's only a question of your setup limiting it to 16 car., in which case you can easily change it to 30 by unfreezing the DFF and modifying it.
    Regards,
    Rajen

  • Form field length with CSS

    Can I set the length of a from field with CSS? I set it via
    html and it
    seems to be longer in Mozilla over Safari and it breaks my
    design that
    way. So I am wondering, if there is a way to do this with CSS
    in a more
    precise way.
    Thank you,
    Brian

    Consistent form field lengths are possible. See this article
    for a 'how to' guide.
    regards
    Nick Barling
    www.barkingweb.com

  • Custom IDOC type Segment-field length change

    Hello,
    We have a custom segment developed for triggering Outbouds. I'm tring to change the Field length of a deta element used for one of the fields in the segment.
    But after chaning the data element and activating it also, the changes are not effecting in WE31/ in the structure of the segment.
    Process I'm following:
    we31 <segment>
    ......cancel release
    Change data element and activate
    ....set release.
    Please suggest if something else can be done
    Thanks,
    Lucky.

    > @Sarvesh: The IDOC segment has been released.  I also re-imported the IDOC into XI - is that what you mean by 'reloaded'?
    No, re-importing in XI is different from reloading the metadata into ABAP stack of XI using IDX2 transaction. So if you have not done this, then this could be the main reason of truncating the length.
    Regards,
    Sarvesh

Maybe you are looking for

  • SUBMIT REPORT statement issue in abap

    Hi Experts, I am facing issue while doing SUBMIT REPORT statement. Below are the details for the Issue: 1. We want to execute another report ZTEST2 from one report , so we have written code in report ZTEST1 as below:                       SUBMIT ZTES

  • How to draw a line in smartforms!

    Hello ABAPers, In smartform, I am having a table. Every 3 rows I want to draw a line. How can I do that in Smartforms? Thanks,

  • B&W G3 won't boot OSX Panther

    I have rev2 B&W G3/450, 640 mb RAM, 2 video cards (ATI Rage128 and ATY RV100) each connected to a Sony TFT display, and 2 scsi cards. The computer has the newest firmware. ATA drive has OS 9.2 which works fine. I want to be able use Panther on that c

  • Prolem building DB's in Oracle 8i over nt 4.0

    Dear All, After finishing installation of 8i over NT 4.0. when i am trying to create Database its giving an Error " ORA-04031: Unable to allocate 93530872 bytes of shared memory " shared pool " unknown object " sga heap " db_block_buffers. Pls help m

  • How do I sort by Client Revenue in Slicer

    Hi, I created a pivot table with slicer is client Name list.  It is alpha order.  How do I show Client list by their revenue Large to Small order?  I cannot create a custom list since List changes every month. Thanks