Subtotal Text not displaying in ALV

Hi All,
Text Sub total is not displayed in my ALV output. Below is my code snippet.
Edited by: Manas@SAP on Jul 22, 2010 3:08 PM

Hi,
Through this way it is difficult to understand....try to make it more readable form.
Nevertheless,please visit the links:
1. http://wiki.sdn.sap.com/wiki/display/Snippets/DisplaysubtotaltextinALV+grid
2. http://help.sap.com/saphelp_bw/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
3. Passing the Total/Subtotal Text in ALV
These links gives you the idea about the subtotal_text.
May this info helps you.
Regards.
DS

Similar Messages

  • Field of character length 255 not displaying in ALV output

    Dear all,
    i am trying to display a field of ztable with lenght 255 character, same is not displaying at ALV output.
    it is displaying only upto 128 characters in ALV output.
    table is Ztable-zfield with CHAR255 length.
    please help me.
    Regards,
    Sam.

    Hi Sam Johny,
    In ALV Grid the maximum characters can be displayed in one column is 128 Characters..
    But for your solution you can press Print Preview Button to view more text(or Press Ctrl + Shift + F10 )...
    Else try with ALV LIST
    and pass FIELDCAT-OUTPUTLEN = '255' for field in fieldcatalog
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Flash Text not displaying certain fonts

    Thanks as always…
    I am trying to use Flash text for some headings, but after an
    hour of pulling my hair out I've just realised it will only display
    certain fonts, such as Helvetica etc.
    I added the font I want to use to my font list but it still
    does not display…
    I'm using MX on OSX 10.3.9.
    Any ideas? Thansk.
    Flash Text not displaying certain fonts

    Fodderstompf wrote:
    > Thanks guys,
    >
    > I don't have Flash MX and it turns out the font is a
    Postscript Type 1.
    >
    > Didn't realise about the true-type thing, bit of
    nusiance (and completely the
    > opposite of the hassle I normally have with print
    work!).
    >
    > I'm gonna look and see I can get a true-type version of
    the font (Tabitha), or
    > is there any other work around?
    >
    > Thanks.
    >
    >
    Is your text in a dynamic text box, or static text box in
    flash?
    I don't think the issue concerns the "true-type" or not
    "true-type" font.
    In Flash, when text is part of a dynamic text box (which I
    assume is the case in your situation),
    then the font works just like in an html page:
    if the font is installed on the computer it will show, if
    not, it won't. The way around this, is to
    embed the font data in the authoring flash file, and link it
    to the dynamic text box, via actionScript.
    So if you cannot work on the authoring Flash file with Flash
    MX or Flash8, and if indeed we're
    talking about a dynamic text box, your only option is to use
    a web-safe font.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    An Ingenious WebSite Builder:
    http://sitelander.com

  • Why won't voice generated text not display as I speak?

    Why won't voice generated text not display on the screen as I speak?

    All you get in 10.6.5 is spoken COMMAND recognition.
    Dictation requires 10.8 Mountain Lion or later:
    Mac Basics: Dictation lets you speak text instead of typing

  • Column Heading are not displayed in ALV Report using CL_SALV_DISPLAY?

    Hi,
       I am using CL_SALV_DISPLAY class to display data. I Created an Internal Table Dynamically based fieldcatalog which was prepared based data at run time. When i displayed data using CL_SALC_DISPALY data is display in output but column headings are not displayed.
    can anyone suggest me how to display heading in ALV using CL_SALV_DISPLAY class, My code is
          CLASS lcl_report DEFINITION
    CLASS lcl_report DEFINITION.
      PUBLIC SECTION.
        METHODS:
          display  IMPORTING l_table  TYPE string
                             l_fcat   TYPE string.
    ENDCLASS.                    "lcl_report DEFINITION
          CLASS lcl_report IMPLEMENTATION
    CLASS lcl_report IMPLEMENTATION.
      METHOD display.
        DATA: gr_table   TYPE REF TO cl_salv_table.
        DATA: gr_columns TYPE REF TO cl_salv_columns_table,
              gr_column  TYPE REF TO cl_salv_column_table,
              ls_fcat    TYPE slis_fieldcat_alv.
        DATA: gr_display TYPE REF TO cl_salv_display_settings.
        DATA: l_o_functions TYPE REF TO cl_salv_functions_list,
              l_field    TYPE string.
        FIELD-SYMBOLS : <fs_table>    TYPE STANDARD TABLE,
                        <ft_fcat>     TYPE STANDARD TABLE.
    Get the ALV object refering to the output table
        ASSIGN (l_table) TO <fs_table>.
        ASSIGN (l_fcat)  TO <ft_fcat>.
        TRY.
            cl_salv_table=>factory(
              IMPORTING
                r_salv_table = gr_table
              CHANGING
                t_table      = <fs_table> ).
          CATCH cx_salv_msg.                                "#EC NO_HANDLER
        ENDTRY.
    Add basic default functionality in the ALV report
    Functions
        l_o_functions = gr_table->get_functions( ).
        l_o_functions->set_all( abap_true ).
        gr_columns = gr_table->get_columns( ).
        gr_columns->set_headers_visible( abap_true ).
    Display the list
        gr_table->display( ).
      ENDMETHOD.                    "extract
    ENDCLASS.                    "lcl_report IMPLEMENTATION
    *& start-of-selection declaration
    START-OF-SELECTION.
      PERFORM :
      get store codes
        get_storecodes    USING      p_stfile
                          CHANGING   it_t001w,
      fetching mard data
        read_mard_data,
      preparing fieldcatalog for Final Data
        create_filedcat   USING      it_t001w
                                     it_site
                          CHANGING   it_fieldcat,
      preparing structure & internal table for Final Data
        create_final_table_structure  USING  it_fieldcat,
      prepare output data
        prepare_final_data.
    *& end-of-selection declaration
    END-OF-SELECTION.
      PERFORM :
      display data
        display_data    USING l_table
                              l_fcat.
    *&      Form  get_storecodes
    FORM get_storecodes  USING    p_p_stfile
                         CHANGING p_it_t001w  LIKE it_t001w[].
      DATA  :
    internal table for RAW
      lt_raw    TYPE truxs_t_text_data,
      rs_site   LIKE LINE OF rt_site,
      l_index   LIKE sy-tabix.
      FIELD-SYMBOLS :
    field symbol for it_t001w
      <fs_t001w>   LIKE LINE OF p_it_t001w.
    calling function module to get Stores Data from File
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_line_header        = 'X'
          i_tab_raw_data       = lt_raw
          i_filename           = p_p_stfile
        TABLES
          i_tab_converted_data = p_it_t001w[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      SORT p_it_t001w BY werks.
      CLEAR rs_site.
      rs_site-sign   = 'I'.
      rs_site-option = 'EQ'.
      rs_site-low    = p_dccode.
      APPEND rs_site TO rt_site.
      IF it_t001w[] IS NOT INITIAL.
        LOOP AT p_it_t001w ASSIGNING <fs_t001w>.
          l_index   = sy-tabix.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = <fs_t001w>-werks
            IMPORTING
              output = <fs_t001w>-werks.
          MODIFY p_it_t001w FROM <fs_t001w> INDEX l_index.
          IF <fs_t001w>-werks GE s_site-low AND <fs_t001w>-werks LE s_site-high.
          append site to ranges
            CLEAR rs_site.
            rs_site-sign   = 'I'.
            rs_site-option = 'EQ'.
            rs_site-low    = <fs_t001w>-werks.
            APPEND rs_site TO rt_site.
            CONTINUE.
          ENDIF.
        ENDLOOP.
        SORT p_it_t001w BY werks.
        SORT rt_site.
      ENDIF.
    ENDFORM.                    " get_storecodes
    *&      Form  create_final_table_structure
    FORM create_filedcat   USING    p_it_t001w      LIKE it_t001w[]
                                    p_it_site       LIKE it_site[]
                           CHANGING p_it_fieldcat   LIKE it_fieldcat[].
      FIELD-SYMBOLS :
    field symbol for p_it_t001w
      <fs_t001w>     LIKE LINE OF p_it_t001w,
    field symbol for p_it_site
      <fs_site>      LIKE LINE OF p_it_site.
      DATA :
    fieldname
      l_fieldname    TYPE slis_fieldname,
    workarea for site ranges
      rs_site        LIKE LINE OF rt_site.
      CLEAR : l_fieldname, rs_site.
      l_fieldname    = p_dccode.
      PERFORM
    prepare fieldcatalog
      build_fieldcatalog USING :   'MTART'      'CHAR'        '5'  ,
                                   'MTBEZ'      'CHAR'        '25' ,
                                   'MATKL'      'CHAR'        '6'  ,
                                   'WGBEZ'      'CHAR'        '20' ,
                                   'MATNR'      'CHAR'        '18' ,
                                   'MAKTX'      'CHAR'        '30' ,
                                    l_fieldname 'CHAR'        '17' .
    create header for excel
      PERFORM create_excel_header USING  : 'Division',
                                           'Divsion Description',
                                           'MC Code',
                                           'MC Description',
                                           'Article',
                                           'Article Description',
                                            l_fieldname.
    loop for creating fieldcatalog
      LOOP AT it_site ASSIGNING <fs_site>.
        READ TABLE it_t001w ASSIGNING <fs_t001w> WITH KEY werks = <fs_site>-werks
                                                                  BINARY SEARCH.
        IF sy-subrc = 0           AND <fs_t001w> IS ASSIGNED AND
           <fs_site> IS ASSIGNED  AND <fs_site>-stock GT 0.
          CLEAR : l_fieldname, rs_site.
          l_fieldname    = <fs_site>-werks.
        prepare fieldcatalog
          PERFORM build_fieldcatalog USING : l_fieldname    'CHAR'   '17'.
        create header for excel
          PERFORM create_excel_header USING  l_fieldname  .
          CONTINUE.
        ENDIF.
      ENDLOOP.
      l_fcat  = 'it_fieldcat[]'.
    ENDFORM.                    " create_final_table_structure
    *&      Form  build_fieldcatalog
    FORM build_fieldcatalog  USING    p_fieldname      TYPE slis_fieldname
                                      p_datatype       TYPE datatype_d
                                      p_length         TYPE intlen.
      DATA : ls_fieldcat    LIKE LINE OF it_fieldcat.
      CLEAR  : ls_fieldcat.
      ls_fieldcat-fieldname   = p_fieldname.
      ls_fieldcat-datatype    = p_datatype.
      ls_fieldcat-intlen      = p_length.
      APPEND ls_fieldcat TO it_fieldcat.
    ENDFORM.                    " build_fieldcatalog
    *&      Form  create_final_table_structure
    FORM create_final_table_structure  USING    p_it_fieldcat.
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fieldcat
        IMPORTING
          ep_table        = t_table.
      ASSIGN t_table->*  TO <ft_final>.
    ENDFORM.                    " create_final_table_structure
    *&      Form  create_excel_header
    FORM create_excel_header  USING    p_p_fieldname.
      DATA : ls_header  LIKE LINE OF it_header.
      CLEAR ls_header.
      ls_header-col_name  = p_p_fieldname.
      APPEND ls_header TO it_header.
    ENDFORM.                    " create_excel_header
    *&      Form  prepare_final_data
    FORM prepare_final_data .
      DATA          : l_matnr       LIKE g_matnr,
                      l_werks       LIKE g_werks,
                      l_index       LIKE sy-tabix.
      FIELD-SYMBOLS : <fs_mard>     LIKE LINE OF it_mard.
    Getting No. of Lines in IT_MARD internal table
      DESCRIBE TABLE it_mard LINES g_lines.
      LOOP AT it_mard ASSIGNING <fs_mard>.
        l_index    = sy-tabix.
        IF l_matnr IS INITIAL.
          l_matnr  = <fs_mard>-matnr.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          UNASSIGN : <fs_value>, <fs_final>.
        Create dynamic work area and assign to FS
          CREATE DATA t_line LIKE LINE OF <ft_final>.
          ASSIGN t_line->*   TO <fs_final>.
          ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_mard>-matnr.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        getting Article Type,MC & its Descriptions
          PERFORM get_other_data    USING     l_matnr
                                              l_werks.
        ELSEIF l_matnr <> <fs_mard>-matnr.
          APPEND <fs_final> TO <ft_final>.
          CLEAR l_matnr.
          l_matnr  = <fs_mard>-matnr.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          UNASSIGN : <fs_value>, <fs_final>.
        Create dynamic work area and assign to FS
          CREATE DATA t_line LIKE LINE OF <ft_final>.
          ASSIGN t_line->*   TO <fs_final>.
          ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_mard>-matnr.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        getting Article Type,MC & its Descriptions
          PERFORM get_other_data    USING     l_matnr
                                             l_werks.
        ELSE.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        ENDIF.
        IF l_index = g_lines.
          APPEND <fs_final> TO <ft_final>.
        ENDIF.
      ENDLOOP.
      l_table  = '<ft_final>[]'.
    ENDFORM.                    " prepare_final_data
    *&      Form  get_other_data
    FORM get_other_data  USING    p_l_matnr
                                  p_l_werks.
      FIELD-SYMBOLS : <fs_mara>     LIKE LINE OF it_mara,
                      <fs_t023t>    LIKE LINE OF it_t023t,
                      <fs_t134t>    LIKE LINE OF it_t134t,
                      <fs_makt>     LIKE LINE OF it_makt.
      READ TABLE it_mara ASSIGNING <fs_mara> WITH KEY matnr = p_l_matnr.   " BINARY SEARCH.
      IF sy-subrc = 0 AND <fs_mara> IS ASSIGNED.
        ASSIGN COMPONENT 'MTART'  OF STRUCTURE <fs_final> TO <fs_value>.
        <fs_value>        = <fs_mara>-mtart.
        ASSIGN COMPONENT 'MATKL'  OF STRUCTURE <fs_final> TO <fs_value>.
        <fs_value>        = <fs_mara>-matkl.
        READ TABLE it_makt  ASSIGNING <fs_makt>  WITH KEY matnr =  <fs_mara>-matnr   BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_makt> IS ASSIGNED.
          ASSIGN COMPONENT 'MAKTX'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_makt>-maktx.
        ENDIF.
        READ TABLE it_t023t ASSIGNING <fs_t023t> WITH KEY matkl = <fs_mara>-matkl  BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_t023t> IS ASSIGNED.
          ASSIGN COMPONENT 'WGBEZ'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>      = <fs_t023t>-wgbez.
        ENDIF.
        READ TABLE it_t134t ASSIGNING <fs_t134t> WITH KEY mtart = <fs_mara>-mtart  BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_t134t> IS ASSIGNED.
          ASSIGN COMPONENT 'MTBEZ'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>      = <fs_t134t>-mtbez.
        ENDIF.
      ENDIF.
    ENDFORM.                    " get_other_data
    *&      Form  display_data
          text
    FORM display_data  USING    p_l_table
                                p_l_fcat.
      DATA:
    Variable for Object Creation
      o_report TYPE REF TO lcl_report.
      CREATE OBJECT o_report.
      o_report->display( EXPORTING l_table = p_l_table
                                   l_fcat  = p_l_fcat ).
    ENDFORM.                    " display_data

    I don't know how to read the code you pasted or I would have checked this myself.
    Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
    I made a method inside my local class to add the names:
            call method set_colname
              EXPORTING iv_tab = alv_tab
                        iv_colid = 'xxxx'  "fieldname from the table
                        iv_stxt = text-t54
                        iv_mtxt = text-t55
                        iv_ltxt = text-t55.
    METHOD set_colname .
      data:
              alv_cols type REF TO cl_salv_columns_table,
              alv_col type REF TO cl_salv_column.
      TRY .
    *... Change fieldnames
            call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
            call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
            IF iv_stxt <> ''.
              CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
            ENDIF.
            IF iv_mtxt <> ''.
              CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
            ENDIF.
            IF iv_ltxt <> ''.
              CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
            ENDIF.
       CATCH cx_salv_not_found.
      ENDTRY.
    ENDMETHOD. "set_colname

  • Sub total icon is not displaying in alv report output

    Hi friends ,
    In alv report display on menu bar the icon : subtotals is not displaying at the output , I should not give subtotal in each field catalog .
    Plz give me solution, points will be rewarded.
    with regards,
    prasad.

    Hi,
    I think u r using PF-STATUS parameter in function module,
    if u use this parameter, you sholud give the icon name etc..
    otherwise by default it will appear.
    Check your code again.
    Give me exact requirement, if possible paste the code.
    Regards,
    Chandu

  • Text not displayed in the Web Report

    Hi All,
    I have a query where user is expecting both Key and Text to displayed in the report for the Info object "Local Product High". This infoobject has text data available. But Iam not sure why this is not getting displayed even when I select both Key and Text in the properties screen.Only Key is getting displayed.
    Can some one throw some light on this.
    Regards,
    Srinivas

    I juct checked the Text table and I see the texts for the infoobject exists. I do not think CHange run will resolve this issue. but yes the master data is active .
    I will now try to run the report through Bex and come back.
    Thanks for the input..
    regards,
    Srinivas

  • PO Material text not displayed in PO

    Hi All,
    Please help me in finding a solution for my issue,
    We use SAP ERP 6.0, and recently upgraded from SRM 4.0 to SRM 7.0. whenever a PO is processed in SRM and replicated to SAP, "Item text" inputs entered in SRM is replicated to "Material PO Text" in SAP and when the PO is printed, those inputs are not displayed in the PO..
    However if I amend the same PO again in SRM (by just modifying the inputs in "Item text") and re-replicate to SAP and reprint the PO, the inputs are displayed in PO this time. becoz of this, we had to amend every PO again to have the Item text displayed in PO.
    Why the inputs are not displayed in PO at the first time and what made the system to display it after i amend the PO the second time???
    Any help is much appreciated.
    Thanks
    Vinoth

    Nabheet, Thanks for your response.
    I have already raised this with the tech team and they said they antcipate this to be fixed by this March. I have no idea if this takes so long to fix it. Since we had to process 100s of POs every day, it is affecting our SLA badly
    Vinoth

  • Arabic text not displaying correctly in Win Server 2008 R2

    Hi,
    We have an .mdb database stored on our Windows Server 2008 R2 server but when we view the contents some of the text has strange characters.
    When we view the same db in Windows Server 2003 we do not have these characters. I'm not sure what exactly we need to do to correct this issue..
    Any suggestions welcome..

    Hi,
    Thanks for your post.
    When you open a Web page or a text file that contains a string of Arabic characters, the string is not displayed correctly. This issue occurs when the following conditions are true:
    The Left-to-Right Override (LRO) Unicode control character is used in the string of Arabic characters.
    You specify a font that is not Simplified Arabic Fixed.
    Please apply the hotfix below:
    Incorrectly displayed Arabic characters in Windows 7 or in Windows Server 2008 R2
    https://support2.microsoft.com/kb/976525?wa=wsignin1.0
    And check the result.
    Regards.
    Vivian Wang

  • Info Record Text and Material Text not displayed in Subcon. PO printout

    Hi,
    I have this scenario, where the Info record text from Info Record PO text does not appear in Print out but appears in Print preview.
    Also the Info record text for  standard Purchase order is displayed in Print preview and Print output.
    The config settings for texts for Purchase order is the same for Purchase order with no Item Category (Standard) and Subcontracting (item category L).
    Also the texts in Purchase order automatically copies in Standard purchase order (adopt button not present) but not in Subcontract purchase order (Adopt text is present).
    I have checked the config for copying rule, for Info record text is automatically adopt.
    I am unable to identify the missing config for this.
    Also the same problem exists for Material text from Material Master PO text is not displayed in Fax output but appears in Print output.
    Please let me have your inptus,
    Regards, Muthuvel

    The solution to this is SPRO->SAP Reference IMG->Materials Management->Purchasing->Messages
    ->Text for Messages->Define Text for Purchase Order.
    Select Texts for Document Item folder - There will be a list by Document Type and Item Category. Make sure there are entries for your combination, otherwise they will not be part of the output message.

  • Text not displaying on components

    I have one swf file where im using the default textInput and
    button components. Just so the user can enter a zip code and click
    submit. When i publish that swf, everything looks fine. The problem
    is that i am loading that swf into a master swf and when i view it
    through the master swf, it displays the components without text.
    The submit button is blank, it should say 'submit' on it, and no
    characters display when you type into the textInput component. I am
    able to type characters and submit the form, but i can't see what
    im typing. I've tried messing with embedding fonts in the child swf
    as well as the master to no avail. If anyone has any suggestions,
    they would be greatly appreciated.

    Here's how to talk to your dynamic text box. Where you put
    this bit depends
    on how you are building the preloader, but since you say the
    progress bar
    works fine, I'll assume you know what you're doing there and
    will be able to
    get this in the right spot.
    // variable that calculates a number for the percent loaded
    preloaded = Math.floor((loadedBytes/totalBytes)*100);
    // this line is talking to a dynamic text box named
    "percentage_txt" that is
    inside a movieClip named "preloader_mc" on the root timeline
    // depending on your setup the path may be different, but
    make sure
    everything on the way to the text box is named
    _root.preloader_mc.percentage_txt.text = preloaded + "%";
    // You've probably left out the ".text = " bit. Just a guess,
    but that's
    the bit I always find
    // I've left out when I'm having trouble with dynamic text.
    // Also make sure your text color is not set to the same
    color as your
    background. Duh.
    Good luck.
    --KB
    "patbegg" <[email protected]> wrote in
    message
    news:ejuu12$bmd$[email protected]..
    > Hi,
    > Cheeky little problem. I cannot get the dynamix text to
    show on the
    > preloader
    > of a loaded movie. I am calling in a .swf which has a
    preloader in it, the
    > progress bar is fine but the text showing the percent
    will not display.
    >
    > I have tried the _lockroot method, but no joy. Any ideas
    anyone?
    >
    > Any help appreciated guys.
    >
    > Cheers,
    > Pat
    >

  • TextArea text not displayed correctly with ImageSnapshot

    I am having an issue with the ImageSnapshot.captureImage command capturing the text in a TextArea. Attached are two files illustrating the issue. The "screenshot.jpg" pic shows how the TextArea controls are displayed on the screen. The "created jpg.jpg" pic shows how the text is displayed in the jpg that is created. Below is the code that creates the snapshot, everything is pretty standard there as far as I can tell. The text is obviously not sized the same from one to the other. Any ideas whats going on here or what I can do to correct it?
    var myencoder:JPEGEncoder = new JPEGEncoder(50);
    var imgss:ImageSnapshot = ImageSnapshot.captureImage(viewstack.selectedChild, 100, myencoder);
    var fs:FileStream = new FileStream();
    var ssfile:File = File.applicationStorageDirectory.resolvePath("ProjectImages/snapshot.jpg");
    fs.open(ssfile, FileMode.WRITE);
    fs.writeBytes(imgss.data, 0, imgss.data.length);
    fs.close();
    Thanks,
    Scott

    Scott,
    Can you file a bug? http://bugs.adobe.com/flex
    Thanks,
    Jason

  • OTR text not displayed correctly

    Hi,
    I have view in which there are 3 tables with 3 colums each.
    All the data binding etc is fine and it is displayed correctly in the portal.
    My issue is with the OTR texts maintained. The text for column headings in the table is binded with the OTR texts (created through transaction sotr_edit) $OTR:<package>/<alias> in properties value field.
    We have an option to change the language in the portal. So when a language is selected, the texts for these column heading is displayed in the corresponding language selected.
    But for some langauges selected, the texts show some random language instead of the one selected.
    Any idea on how this can be corrected.

    Thanks for the reply Thomas.
    And sorry for delayed reply.
    I could see that the binding of the OTR was not correctly done with the texts.
    After i made the changes, the languages were displayed correctly.
    My concern here is that i have made the changes as this is a custom development and the issue was solved.
    But this same issue is seen in a standard component where the text was not displayed in the language selected and this issue is coming only for the users assigned to a particular role. And for all others, the texts are displayed with the language selected.
    Any inputs on this would be helpful.
    Thanks.

  • Public Holiday text not displaying in PT03 (Special Days)

    Hi Experts,
    For my client, I have to configure a public holiday and restrict it to only few WSRs. This public holiday is not part of any public holiday calendar. I have configured this holiday as a special day by defining the day type selection rule & special day.
    When I checked the work schedule in PT03, it is not displaying the holiday class and the text of the public holiday. It is only displaying the day type for this day.
    Please help.
    Many Thanks for your help in advance.
    Warm Rgds,
    Arun.M

                qPane = new JScrollPane(qTextArea);
                qPane.add(qTextArea);
                performedOpsPane = new JScrollPane(performedOpsTextArea);
                performedOpsPane.add(performedOpsTextArea);
                logPane = new JScrollPane();
                logPane.add(logTextArea); When you create a scrolled component, you either pass the component to the JScrollPane constructor or add it afterward, not both. If you're going to add it afterward, you use the setViewportView() method, not add().

  • Full Text not Displaying in table

    Hi Experts
    I am displaying Long text in Text elements in table But  It is not displaying full Text only Half of text is displaying.
    How to overcome this? Is there any length limitation for text elements in table.
    and Variable type is STRING
    i am concatenating lines from Read text FM.
    Regards
    Jagadish
    Edited by: acj_vy on Aug 17, 2010 10:23 AM

    Hi,
    You should not concatenate the text into string which you read using READ_TEXT.
    You should loop at the table and then display the text using work area of the table.
    It will be displayed line by line as it is getting displayed in your standard transaction.
    Thanks,
    Archana

Maybe you are looking for