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

Similar Messages

  • 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

  • Font not displaying on Reports Output (RHEL 5) for 10g

    Hi, I know I've posted a question in the past about a font not displaying on Report Output for my Arial, Arial Narrow, and Courier New fonts. I worked with Oracle Support and found that Metalink Note#261879.1 fixed my problem with those 3 fonts. I ran the scripts and now that part works great.
    However, I have one font "ARIALUNI.TTF" that will not work. This is out specific barcode font we use. I've pushed it on Linux from my Windows by pushing it as a binary file to the ORACLE_HOME/guicommon/tk/admin/TTF directory. I even put it in the directory for TTF on Metalink Notoe 261829.1 and let it create the files, but it still doesn't find it when I ran a report that uses this font.
    I tried using font subsetting via the uiprint.ali and make a reference but it still doesn't seem to work.
    Is there something I'm missing that would cause any of these not to work. I thought maybe some files had to be created under the guicommon/tk/admin/AFM file directory but I'm not sure.
    I just want to have my 2 or 3 reports that use this barcode to work. Once I get them, I'm done and all my font issues are resolved. Any help is appreciated.
    Chris

    They are probably a very old Type 1 font. Try checking the dates on the font files. Your best bet would be to get the OpenType versions of those fonts and install them.

  • Character counter does not display data on IE when counter is 0

    Hi,
    I am implementing a character counter in ADF using Javascript (referencing this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/10-char-input-counter-169133.pdf).
    I display the string --> 'x' characters left
    The problem that I am facing is: when my character counter becomes 0 (can no longer enter any text, the maxlimit of the input field is reached) then on IE browsers, it does not show the character '0'. It displays a blank. On Firefox and Chrome, however, the UI gets displayed as expected i.e. 0 characters left.
    Can I get any pointers how to fix this on IE. Have tested with IE versions 7,8,9. JDev version is 11.1.1.5.0
    Here is the code snippet that I am using:
    Javascript:
    function showCharacterCount(event) {
    var keyCodePressed = event.getKeyCode();
    if (keyCodePressed == AdfKeyStroke.TAB_KEY
    || keyCodePressed == AdfKeyStroke.ARROWLEFT_KEY
    || keyCodePressed == AdfKeyStroke.ARROWUP_KEY
    || keyCodePressed == AdfKeyStroke.ARROWRIGHT_KEY
    || keyCodePressed == AdfKeyStroke.ARROWDOWN_KEY) {
    event.cancel();
    else {
    textfield = event.getCurrentTarget();
    textfieldValue = event.getSource().getSubmittedValue();
    textfieldLength = textfieldValue.length;
    textfieldMaxLength = textfield.getMaximumLength();
    o = AdfPage.PAGE.findComponent('characterCounter');
    characterCounterValue = o.getValue();
    characterCounterValue = textfieldMaxLength - textfieldLength;
    o.setValue(characterCounterValue);
    UI:
    <af:panelGroupLayout id="pgl3" layout="horizontal">
    <af:outputText id="characterCounter" clientComponent="true" value="325"
    inlineStyle="text-align:right; display:block; width:100.0px;"
    binding="#{viewScope.myBean.characterCounterBndg}"/>
    <af:outputText value="characters left" id="ot7"
    inlineStyle="padding-left:5.0px;"/>
    </af:panelGroupLayout>
    <af:inputText id="it2" rows="4" columns="53"
    value="#{viewScope.myBean.text}" maximumLength="325" clientComponent="true"
    simple="true">
    <af:clientListener method="showCharacterCount"
    type="keyUp"/>
    </af:inputText>
    Thanks in advance.

    Try converting from dynamic data, that seems to take care of the problem. Also, you could use the regular field point VIs instead of the FP express VI. Check out the attached VI.
    -Alan A.
    Attachments:
    FP_Read.vi ‏30 KB

  • Newly added field not getting displayed in ALV output

    Hi All,
       I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA: BEGIN OF it_salary OCCURS 0,
            pernr LIKE pa0000-pernr,
            ename LIKE pa0001-ename,
            rtext like lv_rtext, -
    added field
            waers LIKE pa0008-waers
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = driver
          i_internal_tabname     = 'IT_SALARY'
          i_client_never_display = 'X'
          i_inclname             = driver
        CHANGING
          ct_fieldcat            = lv_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = driver
          it_fieldcat             = lv_fieldcat[]
          i_default               = 'X'
          i_save                  = 'A'
          is_variant              = lv_tmplt
          is_layout               = lv_ls_layout
         i_callback_user_command = 'USER_COMMAND'
        TABLES
          t_outtab                = it_salary
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
    Please provide suggestion for this issue.
    Regards,
    Sridevi S

    Hi,
    Fieldcat is buffered - so use
    I_BYPASSING_BUFFER = 'X'
    Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
    A simple use would be:
    data: gt_output type standard table of (adjust!).
    *simple ALV output
    data go_alv type ref to cl_salv_table.
    data go_functions type ref to cl_salv_functions_list.
    data go_columns type ref to cl_salv_columns_table.
    data go_column type ref to cl_salv_column_table.
    *Exceprion handlig
    data: go_exception  type ref to cx_root,
          gv_errortext   type string.
    ** fill table gt_output ...
    ** ALV output
    if not gt_output is initial.
        try.
            call method cl_salv_table=>factory
              importing
                r_salv_table = go_alv
              changing
                t_table      = gt_output.
          catch cx_salv_msg into go_exception.
            gv_errortext = go_exception->get_text( ).
            message gv_errortext type 'A'.
        endtry.
    * enable all standard ALV functions
        go_functions =  go_alv->get_functions( ).
        go_functions->set_all( ).
    * hide MANDT
        go_columns = go_alv->get_columns( ).
        go_column ?=  go_columns->get_column( columnname = 'MANDT' ).
        go_column->set_technical( ).
        go_alv->display( ).
    Kind regards,
    Holger

  • How to add new field to table control data not displayed

    hi
    I have added some nwe fields to already existing table control added three new fields...
    though the recoreds are inserted in teh table properly with the three new fields user id data and time fields
    but on display only the data is not shown in these three columns though the data is coming in internal table...but not to the screen output
    pls suggest where the problme may be
    nishant

    First try the small button Configuration on top right of the table control, as displayed when you run the program. Hit 'Administrator' and see if the fields are checked as invisible. Uncheck them, activate and save.
    If the fields are not in that list at all, then check if the table control is initialized for the screen you use. For example
    CONTROLS: tc_ent_lines TYPE TABLEVIEW USING SCREEN '0100'.
    but you copied your screen and use the same table control in the new screen 0200. Then all you have to do is
    REFRESH CONTROL 'TC_ENT_LINES' FROM SCREEN '0200'.
    before you show the screen.

  • Values for htmldb_item.text  field do not display in CSV output

    HTML DB experts,
    I have a report query with the following 2 items in the SELECT statement:
    wwv_flow_item.display_and_save(2, DOC_CD, 10) DOC_CD,
    htmldb_item.text(3, DOC_DESC, 50, 255) DOC_DESC
    I have enabled the CSV output for this report. The problem is, when I generate a csv file, only the DOC_CD (wwv_flow_item.display_and_save) displays. The values for the DOC_DESC (htmldb_item.text) do not display. What do I need to do to get the DOC_DESC to display?
    Thanks for your help.
    Message was edited by:
    [email protected]

    Items rendered using htmldb_item generate HTML tags on the form, not plain text. You are right, the CSV export excludes them.
    Your best best is to create another report region on some other page with the same query except replace all the htmldb_item() calls with regular columns i.e. make it a read-only report and use the "export: CSV" template and put up a link to this page at the bottom of your editable report (instead of the builtin CSV link). This way when you click on this link, it will generate your report and immediately offer to export it to CSV
    Hope this helps.

  • Spouse, Children fields from Outlook - syncing, but not displayed

    I discovered something rather curious, and am wondering if anyone has any more information about this.
    I use the Children and Spouse fields in my Outlook records. When I sync to iPhone, these fields are not shown. However, if I choose to "share a contact", it sends a vCard, which does include these fields! So the iPhone is clearly copying it over, but not displaying it? What's the point of that? I can understand a reluctance to make some fields uneditable, but storing them without displaying them?
    Also of note: the vCard does not include the Anniversary field, even though it does sync this and includes other fields in the vCard like Birthday. That looks like a bug to me. Anyone care to confirm?
    Thanks,
    Keith

    Hi,
    It depends what you require...suppose in the multiprovider you want the filed from the ODS then you should select the fiel from the ODS but if you want the filed to get the value from the navigational attribute then you should go fro the navigation attribute in the options.
    Navigation attribute will show up in the left if you have made them navigation in the cube as well.
    identification gives you an option to map the the multiprovoder fileds with the fields of the underlying infoproviders.....if you go for create recoomendations then it will chose the optimal mapping that is one to one mapping.....A to A etc...but in certain case you want A to map to B such as in sone cases shipt-to-party can take data from sold-to-party....depends upon the requirement.
    The options in the left gives you the char which will show up in the query and by selecting the char from the right from different inforproviders you actually defeine which filed from the infoproviders it should take data from.
    So just make sure that all the fields in the right which are going to show up in the query should get have the identiication from the different infoproviders and there respective char....a navigation mapped to a navigation....and a direct char to a direct char from the infoprovider.
    Hope it explains.
    Thanks

  • New field not displaying in ALV

    Hi all,
    I have worked with ALV before, but currently I'm facing the problem of adding a new field to the ALV but it was not display on the screen. I have checked the fieldcatalog table and internal table right before the call of GRID-> SET_TABLE_FOR_FIRST_DISPLAY. All seems to be fine at this moment. Just that the new field was not displayed on the screen. Any idea?

    Hello Mil
    If you are using the old-fashioned ALV you will find several push-buttons for changing the ALV layout.
    If you are using OO-based ALV then you will have a single push-button in the ALV toolbar with dropdown menu to select the specific function.
    In any case, choose function "Change layout...". Usually you will get a popup with two lists of fields:
    - on the left side you see the currently displayed fields in the ALV list
    - on the right side you see fields that can additionally displayed
    For sure you will find your missing field there.
    Regards
      Uwe

  • Field not displaying in ALV but going in column-set...

    Hello Gurus,
    I am facing a strange issue in ALV.  I am specifying the column position when I create the field list.
    But when I execute the ALV, that field goes out of ALV. I have to goto ALV layout setting to move that feild from column set to be dispalyed on ALV. I am not sure why this is happening ? Can someone please help ?
    Regards,
    Tushar.

    Hi,  Please check the how the fieldcatalouge is built.
    Also check whether there is any default layout assigned in alv layout management.

  • Why a field with javascript formula is not displaying result on .pdf form

    I have created a .pdf form from an exel file.
    I have assigned java script formula such as
    if (QtyRow1 > 0) { QtyRow1, €UPRow1;}else{€TotalPriceRow1="";}
    Problem is, result is not displayed on form.
    What should I do?
    J'ai créer un formulaire en format .pdf depuis un fichier exel.
    J'ai assigné une formule dans le script de calcul personnalisé:
    if (QtyRow1 > 0) { QtyRow1, €UPRow1;}else{€TotalPriceRow1="";}
    Mon problème est que le résultat ne s'affiche pas sur la forme.
    Que dois-je faire pour remédier à ce problème?
    Merci

    The idea behind the formula might be correct, but you can't just invent
    your own syntax and expect it to work...
    On Thu, Jan 29, 2015 at 9:06 PM, christophef13812813 <

  • New field category not display in ALV report

    Hi,
    Hi, I modifying an existing ALV report.
    I have a problem to insert the new field into the ALV report.
    The field and column title have been populated in alv field category correctly, but when FM 'REUSE_ALV_GRID_DISPLAY'  executed, the new field and column didn't appear.
    Anybody can help me.
    Regards
    Nislina

    hi
    Add that new field in the fieldcatalog and populate the value in the value in the internal table.
    loop at it_fieldcatalog into wa_fieldcatalog.
    wa_fieldcatalog-fieldname = 'NEW_FIELD'.
    wa_fieldcatalog-outputlen = '15'.
    append wa_fieldcatalog to it_fieldcatalog.
    clear wa_fieldcatalog,
    endloop.
    regards
    ravish
    <b>plz reward points if helpful</b>

  • 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

  • 0.00 is currency not displaying in ALV REPORT......

    Hi All,
    There is a currency field in the internal table which is not displaying only value 0.00 if the value is 0.03 then it is displaying in ALV.
    I have checked the Internal Table passed in the FM: REUSE_ALV_LIST_DISPLAY but it is carrying the value 0.00. But while displaying it is not displaying in the report.
    I have also checked the Field catalogue there is no such conditions mentioned.
    Kindly help me.
    Thanks in Advance.
    MP

    Hi MP,
    while handling witht eh currency fields make sure that the following are taken care of
    in the field catalog use:
    gs_field-datatype = 'CURR'.
    gs_field-inttype = 'C'.
    also the following
    fieldcatalog-no_zero = 'X'. should be taken care of otherwise it will not display the zeros appearing in the final internal table for ALV display.
    Hope its helpful
    Thanks,
    Srikanth.P

  • Proxy output not displayed in the output XML

    Hi,
    I have created a web service and is calling the service using SOAP UI tool. To do it i have created an RFC Fm and inported to SAP PI and activated it with the input and output parameters that i need. When i am calling the service through the SOAP UI, in debugging( in the provider class of the service interface of the sproxy transaction ) i am able to see the values filled in one of the parameters but the same is not getting displayed in the output XML.(Response). Can any one please suggest what cud be the reason.
    Thanks

    Hi,
    can give us a hint? Code output, screenshot? btw I hope your service is a Synchronous service.
    Thanks Nick.

Maybe you are looking for

  • Previous replies here that solved the "dll initialization routine failed" problem for others aren't working for me.

    Hello everyone, I place the DLL, LVLIB and all the VI files from a VXIPnP LabVIEW instrument driver folder-tree under the "instr.lib" folder under the LabVIEW 8.2 installation folder, like I've always done before with no issues. But because this part

  • What's wrong with my tween?

    Below is the script for one of two MC on stage. I've used this script in other projects and it works just fine. For some reason it's not doing anything with the current project. The following is for "MC2" which, when pressed, should tween the alpha v

  • Out of Sync Audio

    I know this topic has been posted hundreds of times but none of the solutions i've read have helped heres the problem: i have a project in FCE (of course) made up of assets from livetype after effects and then raw footage from my friends camcorder. H

  • NetNanny MacBook Pro Internet problem.

    From about the time that I got NetNanny on my Pro, it has been acting very strange. It says I'm connected to the internet, when I actually am not, and I can't get on anything that involves internet/wifi. All help would be great, if my loss of interne

  • Premiere changes fonts to Courier after closing

    I have a project that uses lots of text created in Premiere Pro. Every time I close the project and reopen it the fonts have changed from Alegre Sans to Courier. Alegre Sans is installed on the computer and I have already changed the font from Courie