Alv-field text-80 characters needed.

Hi experts,
in my alv report, field text is coming like below.
Emp (excl. apprentices & temp. emp on si----upto this only it is coming.
i need like this.
Emp (excl. apprentices & temp. emp on site) - Beginning of year   
how to get like this  -
i need the complete text....
i am writing like this
gs_fieldcat-fieldname = 'E_BEG_YEAR'
  gs_fieldcat-tabname   = 'GT_FINAL_HCT'.
  gs_fieldcat-outputlen = '70'.
  gs_fieldcat-seltext_l = text-006.
  gs_fieldcat-do_sum    = 'X'.
  APPEND gs_fieldcat TO gt_fieldcat.
  CLEAR gs_fieldcat.
can u give any modification for this.suggest me........................................

Hi,
First check the internal table i.e. the field that is holding the value of text. Check whether its length is sufficient or not.
Second declare the layout for e.g.
w_layout TYPE slis_layout_alv.
and do.
w_layout -colwidth_optimize = 'X'.
and pass the layout to the alv function module .
I hope this will help you.
Help children of U.N World Food Program by rewarding them and encourage others to answer your queries

Similar Messages

  • 1000 CHARACTER TEXT IN ALV FIELD

    Hi Experts,
    I have a String type variable containing 1000 character text that I am passing in a field on ALV. But ALV field can display on 132 characters. So now my requirement is that when a user double clicks on that field... then a popup or a screen appears where the user can read the entire text of that field.
    I have tried some FMs (like POPUP_TO_CONFIRM, POPUP_TO_INFORM, POPUP_DISPLAY_TEXT etc...), but all have length restriction.
    Please suggest if there is any FM to get the entire 1000 character text on a popup....  OR if there is any other way to do this...
    Thanks in advance
    Regards,
    Ashish Goyal

    I am using this code provided by you, facing error : Field "OB_GUI_DIALOGBOX_CONTAINER" is unknown. It is neither in one of   the specified tables nor defined by a "DATA" statement. 
    Please take a look and suggest.
    Using REUSE ALV GRID to display ALV.
       TYPES: BEGIN OF tp_text_x .
    TYPES: tdname      TYPE thead-tdname ,
           tdobject    TYPE thead-tdobject ,
           tdid        TYPE thead-tdid ,
           tdspras     TYPE thead-tdspras ,
           tdtxtlines  TYPE thead-tdtxtlines .
    TYPES: tdline      TYPE tline-tdline ,
           it_tline    TYPE tline_tab .
    TYPES: END OF tp_text_x .
    CLASS cl_event_reciever DEFINITION DEFERRED.
    DATA v_event_reciever TYPE REF TO cl_event_reciever.
    CLASS cl_event_receiver DEFINITION .
      PRIVATE SECTION.
        METHODS: close
                 FOR EVENT close OF cl_gui_dialogbox_container
                 IMPORTING sender.
        METHODS: init_container .
        METHODS: display_textedit
                 IMPORTING value(st_text_x) TYPE tp_text_x .
    ENDCLASS .                    "cl_event_receiver DEFINITION
    CLASS cl_event_receiver IMPLEMENTATION.
      METHOD close .
        CALL METHOD sender->set_visible
          EXPORTING
            visible = abap_false.
      ENDMETHOD .                    "handle_close
      METHOD init_container .
    *    DATA: ob_gui_dialogbox_container TYPE REF TO cl_gui_dialogbox_container.
        IF ob_gui_dialogbox_container IS NOT INITIAL .
    *    IF EDITOR_CONTAINER IS NOT INITIAL .
          me->close( EXPORTING sender =  ob_gui_dialogbox_container ) .   " EDITOR_CONTAINER ).
        ENDIF .
        CREATE OBJECT ob_gui_dialogbox_container
          EXPORTING
            parent   = cl_gui_container=>screen0
            top      = 40
            left     = 200
            lifetime = cntl_lifetime_dynpro
            width    = 600
            height   = 100.
      ENDMETHOD.                    "init_container
      METHOD display_textedit .
        me->init_container( ) .
        DATA: ob_gui_textedit TYPE REF TO cl_gui_textedit .
    *    DATA: ob_gui_dialogbox_container TYPE REF TO cl_gui_dialogbox_container.
        CREATE OBJECT ob_gui_textedit
          EXPORTING
            parent = ob_gui_dialogbox_container.
        CALL METHOD ob_gui_textedit->set_readonly_mode
          EXPORTING
            readonly_mode = cl_gui_textedit=>true.
        DATA: it_tdline TYPE TABLE OF tdline .
        DATA: st_tdline LIKE LINE OF it_tdline .
        FIELD-SYMBOLS: <st_tline> LIKE LINE OF st_text_x-it_tline .
        LOOP AT st_text_x-it_tline ASSIGNING <st_tline> .
          APPEND <st_tline>-tdline TO it_tdline .
        ENDLOOP .
        CALL METHOD ob_gui_textedit->set_text_as_stream
          EXPORTING
            text = it_tdline.
      ENDMETHOD.                    "display_textedit
    ENDCLASS .                    "cl_event_receiver IMPLEMENTATION
    INITIALIZATION.
    CREATE OBJECT v_event_reciever.
    DATA: ob_gui_dialogbox_container TYPE REF TO cl_gui_dialogbox_container.
    CREATE OBJECT ob_gui_dialogbox_container.
    START-OF-SELECTION.
    v_event_reciever->display_textedit( EXPORTING st_text_x = <st_alv_data_1>-text_1 ) .

  • I am creating a request for proposal form and I need to add a commission structure field.  I created a table using the ranking field and now I need to delete the "dots/buttons" and turn them into text fields, is this possible?

      I created a table using the ranking field and now I need to delete the "dots/buttons" and turn them into text fields, is this possible?

    It sounds like what you are trying to do is edit the choices in a likert field to something other than the default radio button. This is not something that you can do in Formscentral at this time.
    Andrew

  • Alv-subtotals texts

    hi all,
        i need to display the short texts of the field at the subtotals.for instance,for an order i need to sum up currency and i need to dispaly its short description at the subtotal column..for this i'm using layout-subtotals_text..
    and i'm sending the field to this alv field..
    Thanks in Advance.

    HI venkata
    for this you need to do using handlers
    in local classs , you need a event for sub total text,
    and set the handler for it, then sub total text will come.
    FORM method_subtotal_text USING es_subtottxt_info TYPE lvc_s_stxt
    ep_subtot_line TYPE REF TO data
    e_event_data TYPE REF TO
    cl_alv_event_data.
    DATA ls_sflight LIKE sflight.
    FIELD-SYMBOLS: <fs1> STRUCTURE sflight DEFAULT ls_sflight,
    <fs2>.
    IF es_subtottxt_info-criteria = 'PLANETYPE'.
    ASSIGN ep_subtot_line->* TO <fs1>.
    ASSIGN e_event_data->m_data->* TO <fs2>.
    CONCATENATE es_subtottxt_info-keyword ': '
    <fs1>-planetype INTO <fs2>.
    ENDIF.
    regards
    kishore

  • Length of field TEXT in structure MTREEITM

    Hello,
    I would like to build up a tree control but the lenght of the field TEXT seems too less(72 chars) in structure MTREEITM. I would like to use strings with 255 characters in the tree.
    Is any other way to build up a tree control and not using structure MTREEITM?
    Best,
    Gabor

    Hi Gabor,
    you can use the Class CL_GUI_COLUMN_TREE for this requirement. In the method ADD_NODES_AND_ITEMS you have the following three importing parameters:
    NODE_TABLE
    ITEM_TABLE
    ITEM_TABLE_STRUCTURE_NAME
    The structure need not be the MTREEITM structure always. I would suggest you to create a new DB structure which would include MTREEITM and an extra field for your CHAR255...
    When  calling the ADD_NODES_AND_ITEMS method pass the new Structure name and Item table based on the new structure...
    Hope this works for you....
    Regards,
    Sitakant

  • Error in updating ALV field catalog in selection tool for Planning Book

    Hi ,
    I am Implementing BADI  '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
    This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
    1). INIT_OBJECT_LIST
    2). F4
    3). LOC_PROD_VALUE_LIST
    Please help on the same if u have any idea or clue.
    Thanks.

    Hi Srinivas!
    Where did you get your implementation from?
    It would be nice if you could debug your code!
    For the F4 method, have you seen this note?
    Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
    Also check this note. It contains selection modifications in the BAdI:
    Note 376902 - SDP selector: Basis corrections for BADI
    I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
    Thank you!
    Will
    SCM Support Consultant

  • Is there a way to Search (List search) for more then one field text from a column for Bulk uploading?

    I've been trying to find more information on this and I apologies if this has already been answered. I just don't know the correct way to ask this. We have a SharePoint List at the company that we have people input information into different columns. The
    problem is most of those information are very repetitive. Is there a way for me to search more then one field text in the column and just input that same information in?
    ex:
    Column 1
    Column 2
    Date:
    883851
    MidWest
    User input 
    8831518
    MidWest
    User input
    On the search field in the SharePoint List, I would need to search for 883851, 8831518 etc,  would view those requested numbers, then I would click edit and change dates to those rows. Does that make sense? I'm sorry I'm fairly new at sharepoint.

    I think what you're asking is about having repetitive options in a list, show up easily for new items being created.
    This can be done by setting the columns that contain repetitive information to Choice fields.  In the configuration of the Choice field, check the box for "Allow custom values".  Now as users are entering data into the list, the dropdown of options
    for a given field grows and users can quickly see and select previously entered and thus repetitive values for the given fields.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Field Text is a required field for G/L account 1000 301001

    Dear All,
    I face this problem when i am trying to post the taxes in to the g/l account.
    Field Text is a required field for G/L account 1000 301001.Earlier i was able to post the taxes.I checked with my FI consultant and he said that he has made text field manadatory and hence i need to make an entry in this text field.
    Kindly help me by telling me what i should do to do postings in the gl accounts.
    Your timely help is requested and award points for the same is assured.
    Thanking you,
    Best regards,
    R.Srinivasan

    Dear All,
    I face this problem when i am trying to post the taxes in to the g/l account.
    Field Text is a required field for G/L account 1000 301001.Earlier i was able to post the taxes.I checked with my FI consultant and he said that he has made text field manadatory and hence i need to make an entry in this text field.
    Kindly help me by telling me what i should do to do postings in the gl accounts.
    Your timely help is requested and award points for the same is assured.
    ITS VERY URGENT PLEASE
    Thanking you,
    Best regards,
    R.Srinivasan

  • How to enlarge the text or characters on web pages permanently

    I need to know how to enlarge the text or characters permanently. I have difficulty reading the characters of each new page. Every time I zoom in to enlarge characters, the new page automatically returns to small characters. Please help.
    Cheng Lin
    [email protected]

    Try one of these extensions:
    *Default FullZoom Level: https://addons.mozilla.org/en-US/firefox/addon/6965
    *NoSquint: https://addons.mozilla.org/en-US/firefox/addon/2592/
    **More NoSquint info: http://urandom.ca/nosquint/
    <br />
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Shockwave Flash 10.0 r42
    *Next Generation Java Plug-in 1.6.0_22 for Mozilla browsers
    **No security issues corrected in version 1.6.0_23, but, according to Oracle/Java, some stability issues resolved.
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''. Note separate links for:
    #**Plugin for Firefox and most other browsers
    #**ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Decimal Value display in ALV Field display

    Hi Expert,
    I need to dispaly one ALV Field "Routine Work Hour" value up to 2 decimal place in ALV output i.e if value is 2.5 then it should display as 2.50.The field which refers to this is ISMNW and the database table is AFRU.Now if this value is maintained in MINUTE unit, then code converts into HOUR unit and correctly outputs to ALV output up to 2 decimal after i changed the field decimal lenght.But for the value which is mainatined in HOUR unit, it correctlty populated into the final internal table upto 2 decimal and this table data while passing into FM " REUSE_GRID_DISPLAY" it only outputs upto 2 deciamal value for the value which is maintained as MINUTE unit in database table AFRU in ALV output, but for other value(Which are maintained in HOUR unit in table AFRU)  it still shows 1 decimal length.But the internal table correctly populates these values up to 2 decimal for all unit of work(MINUTE/HOUR) while passing though this above FM.
    Please advise where i need to look into.
    Thanks

    hi,
    pass these parameters to fieldcatlog.
    e.g.
    Fcat-ref_fieldname = 'ISMNW'.
    fcat-ref_tabname  = 'AFRU'.
    fcat-decimalsout = 2.
    Hope this will help you.
    Regards,
    Vijay

  • Field - Text in F-54

    Hi Experts,
    Is there a way to have field Text (SGTXT) in F-54 down payment clearing. I checked in table settings in F-54 and i don't see the field Text in there. And in configuration I don't see any other place of configuring this.
    Thanks.
    Jen

    Thanks Sunoj:
    For Z reports do you think I'll need to get the report done by an ABAPer? Or will I have to do it myself?
    As regards audit trail, can you elaborate a little on that? I am not sure what you are referring to here.
    Thanks again for your time!
    VR

  • Matrix report - row field text extends into cell field's display space

    The horizontal elasticity of the row field in the matrix is set to VARIABLE. This row field's horizontal elasticity needs to be VARIABLE (not FIXED).
    However, this causes problems because if the row field's text length is long, the matrix does not change accordingly, i.e. the cell field does not move to the right to make room for the row field. So the row field extends into the display space of the cell field, and the text of the row and cell field overlap, and so the text is almost impossible to read (as well as ugly).
    I have tried to put a frame around the row and cell field so that they are together and move accordingly, but this hasn't helped. I have also tried anchors but they cause the fields to appear NULL when they are not.
    Any help is appreciated.
    -nelson
    [email protected]

    I think you'll need to revert to a fixed sized field and increase the height of the field to cope with the number of rows that you could have.
    You might be able to create a repeating frame above the matrix that tracks the matrix and pushes the whole matrix down as it expands, but I don't see how you could do this within the matrix structure itself.

  • ALV Weddynpro : Text color for a row(for a particular record)

    Hello Friends,
    Situation : Webdynpro App utilizing re-usable ALV component to Edit(changed/modify) Employee records.
                     I have used to the class cl_salv_wd_uie_a_input to make certain columns read_only and colored(cell background only).
    My requirement :
    Suppose there are 4  rows and based on  if a certain condition is staisfied(lets say 2 rows), then i have to  changed the color ONLY THE TEXT(to RED). There is certain meaning for the rows for such records which users can easily interpret.
    I have tried to used CL_SALV_WD_UIE_TEXT_VIEW(which i have successfully color coded the texts),  but i lose the editing capabilities.
    The webdynpro App uses a EDITABLE-ALV meaning that, user can  insert/modify/delete records and save them in the DB.
    Is there anyway to have both this features using above said situations and consequences?
    OR
    Pls share any workaround if anyone has tried this before?
    Regards
    Vinay.
    Example.
      PERNR
      COL1
      COL2
      102984
      UYYER
      IIIELX
      102983
      DFKLJJ
      DOFUOU
      102985
      DOFJDOFU
      DFOIUOIU
      102988
      DFOADSFUOU
      OSDUFOU

    Hi,
    We can assign semantic colors only to text view fields. So in this case since you are forcibly changing the  view to text view, for text coloring, we are losing the edit fields capabilities. Instead setting the type of field( text view / input view ) based on the your condition could be best, so that editing capabilities is also not missed and text coloring is also not missed.
    Or you can set all fields to input fields and set the read only/edit property based on the condition and set the cell design of the fields accordingly, so that the users can distinguish easily.
    Regards,
    Harsha

  • Adding field text values

    Hi,
    I am trying to add field text values to Nakisa i.e Personnel Area 01 but I want to display Personnel Area = England. I have found that the text values sit in a transparent table in SAP so I have downloaded it via the schema.
    How do I add these values to the appresources??? I can't see how they replace the numeric values???
    thanks

    A table join is the most efficient way but seeing as you already have your table an update statement will work. Something like this example should work for both Oracle and SQL Server:
    Update EmpDetailsCombined set EEGroupText = (select PTEXT from EEGroupTextTable where PERSG = EmpDetailsCombined.PERSG)
    I hope that helps! If you need more you should google your database type and the type of statement (update) - there is a wealth of knowledge on this subject all over the internet.

  • ALV field, max length?

    Hello all,
    When entering data on the screen into the ALV, field VALID will allow only 128 characters.  But the field has 255 characters.
    Is the max field lenth in an ALV 128 characters? 
    The fieldcat has these values for field VALID:
    DATATYPE        char
    INTLEN               255
    DD_OUTLEN     255  
    The Layout has just 2 fields populated, ZEBRA and GRID_TITLE.
    Here is the bits of code I'm using.
    DATA: w_container TYPE scrfname VALUE 'ZCONTAINER1',
          w_grid  TYPE REF TO cl_gui_alv_grid,
           w_custom_container TYPE REF TO cl_gui_custom_container.
    DATA: i_alv TYPE TABLE OF zalv_zfxxu004.  " ALV table - displayed
    DATA: w_outtab  TYPE zalv_zfxxu004.           " ALV table row
    *zalv_zfxxu004 is a structure with the following fields.
    *AUFNR CHAR     12
    *BUKRS CHAR     4
    *KTEXT CHAR     40
    *VALID CHAR     255
               Create an instance of the container displayed on screen 100
      CREATE OBJECT w_custom_container
             EXPORTING container_name = w_container.
               Create an instance of the grid displayed in the container
      CREATE OBJECT w_grid
             EXPORTING i_parent = w_custom_container.
      CALL METHOD w_grid->set_table_for_first_display
        EXPORTING
          i_bypassing_buffer   = 'X'
          is_layout            = l_layout
          it_toolbar_excluding = lt_exclude
        CHANGING
          it_fieldcatalog      = il_fieldcat
          it_outtab            = il_outtab.
    Any thoughts?
    Thanks
    Bruce

    Hello,
    Check SAP note 857823.
    This is the standard system behavior and cannot be changed.
    Regards,
    David

Maybe you are looking for

  • Feature Request: Raw-Lite for the F5/F55

    Hi Sony Staff, Here's a feature request that I've been pondering for a long time now. Raw Lite on the F5(5). Is it a possibility? I'm a huge fan of the conventional 3:1 compressed 4K 16-bit Linear Raw from the AXS-R5. It provides a supremely high qua

  • Getting Job Output

    Hi there. I have a job that I run as a DBA Script that does the following: 1)Runs dbms_stats.gather_schema_stats with the STALE option to get stale stats. 2) If this first job fails then does a dbms_stats.gather_schema_stats on the whole schema. (the

  • Adobe, we beg you, please give us something - a statement, as Adonit has...

    Adobe, please give us something - a statement, as Adonit has, addressing the incompatibility issues with Ink & Slide and iPad Air 2. We need assurance that you are working on it also and an honest answer to the question: Should we wait before purchas

  • Netboot and DHCP Issue - Setting up AST Diagnostic Gateway

    Hi everyone, I recently set up a new Mac Mini as a stand-alone server for the Apple Service Toolkit Diagnostic Gateway. Here are the specs of the Mini, if needed by anyone: Mac OS X 10.6 Server (patched to 10.6.8) 2.66GHz Core 2 Duo 8 GB DDR3 RAM I h

  • Music problems on iPad mini

    I have an iPad mini and when tap on a song in a playlist, the song above it plays, help me!