ALV SUM error

Hi all !!
I'm dipalying CURR field on alv. When trying to do sum on i get short dump.
that is my fieldcat definition:
  ls_fieldcat-fieldname    = 'NETWR'.
  ls_fieldcat-ref_fieldname  = 'NETWR'.
  ls_fieldcat-ref_tabname  = 'VBRP'.
  ls_fieldcat-datatype = 'CURR'.
  ls_fieldcat-cfieldname = 'WAERK'.
  ls_fieldcat-ctabname = 'VBRK'.
What is my error ??
BR, JAcek

Nothing of that doesnt work fine on my system (4.7).
(ST22 Error):  MESSAGE_TYPE_X
assign component
          <ls_fieldcat>-fieldname of structure rt_data to <g_field>.
   if sy-subrc ne 0.
     message x000(0k).
   endif.
or when using in fieldac:
ls_fieldcat-cfieldname = 'WAERS'.
what was suggested in similiar problem in that formum sone times ago:
(st22)
Invalid dynamic line component.
When the ABAP program "SAPLSKBH" attempted to process the internal
table "RT_COLLECT00[]" with "SORT", a component "WAERS " was specified
dynamically
as the contents of the field "L_UFIELDNAME".
One of the following errors then occurred:
- The line type "u" of the internal table "RT_COLLECT00[]" contains no
  component "WAERS ".
- "WAERS " contained an invalid offset or length specification (for
  example, you may have tried to access part of a field with type I or
  STRING).
- The program "SAPLSKBH" is a Unicode program. In Unicode programs, you
  can only apply offset/length access to a structure within its
  character-type initial section. The system went beyond the
  boundaries of "WAERS " 's initial section in this case.
- "WAERS " contains a declaration of the form "A->B" for dynamically
  accessing an object attribute. At present, attributes can only be
  addressed in this way statically.
- "WAERS " contained significant trailing spaces (only possible with type
  STRING).
Message was edited by: Jacek Slowikowski

Similar Messages

  • While importing a request error message' Check-sum error in data file'

    Hi Friends
    I have a problem.
    We are trying to inport a request after putting the files in cofile and data file folders( 4.6C System).While doing so an error message is seen in the log " Check-sum error in data file after XXXX bytes".
    Can some one help me with this?
    Thanks
    Regards
    Ankur

    Hi Ankur,
    It is sure your file is corrupted or not present.
    Check in cofiles and data directory under /usr/sap/trans your transport request number.
    Best Wishes.
    Kumar

  • SAPinst stuck while installing ECC 6.0 Ehp4 - check sum error

    Dear All
    I am installing ECC 6.0 EHP4. While installing i am stuck in 4th step Unpack SAP Archives.
    error log from SAPinst is below:
    ERROR      2011-12-14 16:19:03.118
               CJSlibModule::writeError_impl()
    MUT-03011  Execution of the command "C:\DOCUME1\ADMINI1.SAP\LOCALS~1\Temp\1\sapinst_exe.208.1323859657\SAPCAR.exe -x -v -g -i -R D:/usr/sap/ECD/SYS/exe/uc/NTAMD64 -f D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR," finished with return code 12. Output:
    SAPCAR: processing archive D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR (version 2.01)
    x classes12.jar
    x dbclient.lst
    x full
    x full/oraociei10.dll
    SAPCAR: checksum error in D:/usr/sap/ECD/SYS/exe/uc/NTAMD64/full/oraociei10.dll (error 12).
    TRACE      2011-12-14 16:19:03.118 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2011-12-14 16:19:03.196 [sixxcstepexecute.cpp:950]
    FCO-00011  The step unpack with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Unpack|ind|ind|ind|ind|8|0|unpack was executed with status ERROR ( Last error reported by the step :Execution of the command "C:\DOCUME1\ADMINI1.SAP\LOCALS~1\Temp\1\sapinst_exe.208.1323859657\SAPCAR.exe -x -v -g -i -R D:/usr/sap/ECD/SYS/exe/uc/NTAMD64 -f D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR," finished with return code 12. Output:
    SAPCAR: processing archive D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR (version 2.01)
    x classes12.jar
    x dbclient.lst
    x full
    x full/oraociei10.dll
    SAPCAR: checksum error in D:/usr/sap/ECD/SYS/exe/uc/NTAMD64/full/oraociei10.dll (error 12).).
    TRACE      2011-12-14 16:19:03.227 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing option Enhancement Package 4 for SAP ERP 6.0 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step :Execution of the command "C:\DOCUME1\ADMINI1.SAP\LOCALS~1\Temp\1\sapinst_exe.208.1323859657\SAPCAR.exe -x -v -g -i -R D:/usr/sap/ECD/SYS/exe/uc/NTAMD64 -f D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR," finished with return code 12. Output:
    SAPCAR: processing archive D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR (version 2.01)
    x classes12.jar
    x dbclient.lst
    x full
    x full/oraociei10.dll
    SAPCAR: checksum error in D:/usr/sap/ECD/SYS/exe/uc/NTAMD64/full/oraociei10.dll (error 12).). You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/CENTRAL/. </p> </body></html>
    Please suggest me how to remove this check sum error
    thanks
    sandeep

    Hi,
    ERROR 2011-12-14 16:19:03.118
    CJSlibModule::writeError_impl()
    MUT-03011 Execution of the command "C:\DOCUME1\ADMINI1.SAP\LOCALS~1\Temp\1\sapinst_exe.208.1323859657\SAPCAR.exe -x -v -g -i -R D:/usr/sap/ECD/SYS/exe/uc/NTAMD64 -f D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR," finished with return code 12. Output:
    SAPCAR: processing archive D:/ext/51036972/OCL_WINDOWS_X86_64/OCL10264.SAR (version 2.01)
    x classes12.jar
    x dbclient.lst
    x full
    x full/oraociei10.dll
    SAPCAR: checksum error in D:/usr/sap/ECD/SYS/exe/uc/NTAMD64/full/oraociei10.dll (error 12).
    Above error implies some problem in extracting the OCL10264.SAR file from your DVD path.
    There are 2 options
    1) Try to extract that file manully using the command
         sapcar -xvf d:/ext/51036972/OCL_Windows_x86_64/OCL10264.SAR
         If this works, then try to update your SAPINST.EXE and repeat installation process
    2) In case step 1 fails, then your source is corrupt. You need to re-download or recopy the Oracle Client DVD.
    Hope this is useful.
    Regards,
    Deepak Kori

  • My iphone 4 8gb is not updating or restoring to ios6.1.3 its shows sum error (21) or your iphone is not eligible for this build

    my iphone 4 8gb is not updating or restoring to ios6.1.3 its shows sum error (21) or your iphone is not eligible for this build

    Read this for error 21
    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.

  • Print ALV List error

    Hello,
    We have a custom ALV report which is very wide (more than 1000 chars).
    Now, when I try to print the list the field with the number of columns is grey (for some users it is grey and for some users it is editable). The format is set to X_65_255.
    When I don't change the number of columns to 255 and trigger the printout I receive the gui error "The memory could not be read blablabla" and the GUI closes. When I change the number of columns to 255 the printout is ok.
    Do you know why for some users the field is grey (user profiles are the same)? What I can do not to receive the gui error while printing.
    Regards,
    Piotr

    Hi,
    See this thread ALV Program errors
    Regards,
    Flavya

  • Check Sum Error A215-7427

    I have developed a new problem. Almost every time I start up the computer I get a check sum error. At first it would not come up at all, now it will after pushing <F1>, or going into bios. If I shut the computer down and immediately boot it up, there is no error. I have had a system battery error, but it doesn't appear very often and the date is correct.
    Other symptoms include the battery level in the system tray always shows 100%, and plugged in, no matter what state it is in. The Fn key no longer brings the options down, nor does it put the computer to sleep with <FN><F4>. I have the computer set to put it to sleep when I close the cover, but that does occur either. When I put it to sleep, and open the cover it boots, gives me the check sum error and then tells me that windows did not shut down right.

    You have multiple problems and probably are going to need multiple solutions.
    Checksum errors are typically caused by settings in the Bios or the RAM. Make sure that you have the latest Bios. Next, go into the Bios and set the Bios to its default, Save & Exit. See if that takes care of the Checksum error. If not, look at your RAM. Remove one module, leave the other one in and see if that takes care of the Checksum error. If not, switch the RAM and try again.
    Are you sure that the computer set to go to sleep when the lid is closed? Go to Control Panel. Click on the Power Options icon and then click on Change plan settings under whichever power plan that you are using. Now click on the "Change advanced power settings" link toward the bottom of the window. A new window will open. Click on the plus sign (+) to the left of Power buttons and lid. Finally click on the plus sign (+) next to Lid close action.  Verify that the computer is really set to go to Sleep when the lid is closed. If not, hit the down arrow to select Sleep mode, click the Apply and OK buttons at the bottom of the screen and the sleep problem should be gone. If not, you probably have a Windows problem and may have to reinstall the operating system.
    The FN key combinations are run thru the Toshiba Value Added Package for Windows Vista. Reload the program and try again. The program is on your Recovery CDs and this website.

  • Msi-6390:cmos check sum error

    please help me:
    i bought a 6390-msi motherboard.
    the problem is that when i start the system after checking the ram and cpu (it understand the correct cpu and the correct amount of ram) this message appear:
    "Cmos check sum error.loaded default"
    and when ever i change any thing in the setup program and save the changes (for example changing the boot sequence in the bios features) the system doesnt boot again and i have to clear the cmos by changing the jumpers.
    i asked some expert ,they said maybe the problem is the battery ..but i changed the battery but the problem is still appear.
    please help me ...
    thx :(

    There's a slight chance that you got a dud battery, or dirty contacts on the battery holder.
    Check the battery voltage reading in the BIOS settings - it should be at least 3.0V (a fresh battery should be around 3.2V).
    As I said, it's only a slight chance that it's the above problem, but when the obvious solutions don't work, you have to explore the more obscure choices.
    Cheers

  • Error on ALV Sum

    Hi Expert,
    I have created a ALV like this,
    FORM fill_fieldcat  USING i_fieldcat TYPE slis_t_fieldcat_alv .
      CLEAR wa_fieldcat. 
      REFRESH : i_fieldcat.
        PERFORM fill_fields USING  :
                     'COUNT'        'SR.NO.'                             ' ',
                     'VBELN'        'LOADING MEMO NO'         ' ',
                     'BLDAT'        'DATE'                                ' ',
                     'TRAID'        'TRUCK NO'                         ' ',
                     'LFIMG'        'QUANTITY'                         'X',
                    'VTEXT'        'TRANS.DESC.'                      ' '.
    FORM fill_fields  CHANGING value(f_field)
                               value(f_fdesc)
                               value(do_sum).
      ADD 1 TO sr.
      wa_fieldcat-col_pos    = sr.
      wa_fieldcat-row_pos    = 1.
      wa_fieldcat-tabname    = 'git_fchl'.
      wa_fieldcat-just       = 'l' .
      wa_fieldcat-do_sum     = do_sum.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " fill_fields
    I have to do this for doing grand total and sub total. but when i run this it given a error.
    Error analysis
        Short text of error message:
        Long text of error message:
        Technical information about the message:
        Message class....... "0K"
        Number.............. 000
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    Please help me in this regards ..
    Regards,
    Shri

    I think what you have obviously missed is fieldname in fieldcatalog + data type for each field. This can be taken from the tablename field you have, but it must be provided in uppercase. So, basically it should look like:
    wa_fieldcat-fieldname = "NAME_OF_FIELD_IN_UPPERCASE".
    wa_fieldcat-tabname = "NAME_OF_TAB_IN_UPPERCASE".
    Cheers
    Marcin

  • ALV sums of lines depending on value of field of the line?

    Hi,
    We have an ALV and would like to get the sums depending on the value of a field of each line.
    For example: imagine we have an ALV, and there are two kinds of lines: one have a counter=1, and others have a counter=2. Is it possible to receive two totals in the ALV, one for the lines that have counter=1, and one for the lines that have counter=2? And that when a filter is being applied, the sums change automatically?
    Thx!

    Hi,
    Please the below code which ill help to change the subtotal text, you need do manula total and replace with the wa of the subtotal with you calculated sum. In the below code i replaced a break point where you need to add your coding
    *& Report  Z_ALV_SUBTOTAL
    REPORT Z_ALV_SUBTOTAL.
    *& Table declaration
    TABLES: EKKO.
    *& Type pool declaration
    TYPE-POOLS: SLIS. " Type pool for ALV
    *& Selection screen
    SELECT-OPTIONS: S_EBELN FOR EKKO-EBELN.
    *& Type declaration
    *Type declaration for internal table to store EKPO data
    TYPES: BEGIN OF X_DATA,
           EBELN  TYPE CHAR30,  " Document no.
           EBELP  TYPE EBELP,   " Item no
           MATNR  TYPE MATNR,   " Material no
           MATNR1 TYPE MATNR,   " Material no
           WERKS  TYPE WERKS_D, " Plant
           WERKS1 TYPE WERKS_D, " Plant
           NTGEW  TYPE ENTGE,   " Net weight
           GEWE   TYPE EGEWE,   " Unit of weight
           END OF X_DATA.
    *& Internal table declaration
    DATA:
         * INTERNAL TABLE TO STORE EKPO      DATA
    I_EKPO TYPE STANDARD TABLE OF X_DATA INITIAL SIZE 0,
    Internal table for storing field catalog information
    I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
    Internal table for Top of Page info. in ALV Display
    I_ALV_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
    Internal table for ALV Display events
    I_EVENTS TYPE SLIS_T_EVENT,
    Internal table for storing ALV sort information
    I_SORT TYPE  SLIS_T_SORTINFO_ALV,
    I_EVENT TYPE SLIS_T_EVENT.
    *& Work area declaration
    DATA:
    WA_EKKO TYPE X_DATA,
    WA_LAYOUT     TYPE SLIS_LAYOUT_ALV,
    WA_EVENTS         TYPE SLIS_ALV_EVENT,
    WA_SORT TYPE SLIS_SORTINFO_ALV.
    *& Constant declaration
    CONSTANTS:
    C_HEADER   TYPE CHAR1 VALUE 'H',                    "Header in ALV
    C_ITEM     TYPE CHAR1 VALUE 'S'.
    *& Start-of-selection event
    START-OF-SELECTION.
    Select data from ekpo
      SELECT EBELN " Doc no
      EBELP " Item
      MATNR " Material
      MATNR " Material
      WERKS " Plant
      WERKS " Plant
      NTGEW " Quantity
      GEWEI " Unit
      FROM EKPO
      INTO TABLE I_EKPO
      WHERE EBELN IN S_EBELN
      AND NTGEW NE '0.00'.
      IF SY-SUBRC = 0.
        SORT I_EKPO BY EBELN EBELP MATNR .
      ENDIF.
    * TO BUILD THE PAGE HEADER
    PERFORM SUB_BUILD_HEADER.
    * TO PREPARE FIELD CATALOG
      PERFORM SUB_FIELD_CATALOG.
    * PERFORM TO POPULATE THE LAYOUT STRUCTURE
      PERFORM SUB_POPULATE_LAYOUT.
    * PERFORM TO POPULATE THE SORT TABLE.
      PERFORM SUB_POPULATE_SORT.
    PERFORM TO POPULATE ALV EVENT
      PERFORM SUB_GET_EVENT.
    END-OF-SELECTION.
      * PERFORM TO DISPLAY ALV REPORT
      PERFORM SUB_ALV_REPORT_DISPLAY.
    *&      Form  sub_build_header
          To build the header
          No Parameter
    FORM SUB_BUILD_HEADER .
      * LOCAL DATA DECLARATION
      DATA: L_SYSTEM     TYPE CHAR10 ,          "System id
      L_R_LINE     TYPE SLIS_LISTHEADER,   "Hold list header
      L_DATE       TYPE CHAR10,           "Date
      L_TIME       TYPE CHAR10,           "Time
      L_SUCCESS_RECORDS TYPE I,           "No of success records
      L_TITLE(300) TYPE C.                "Title
    Title  Display
      L_R_LINE-TYP = C_HEADER.               " header
      L_TITLE = 'Test report'(001).
      L_R_LINE-INFO = L_TITLE.
      APPEND L_R_LINE TO I_ALV_TOP_OF_PAGE.
      CLEAR L_R_LINE.
    * RUN DATE DISPLAY
      CLEAR L_DATE.
      L_R_LINE-TYP  = C_ITEM.                " Item
      WRITE: SY-DATUM  TO L_DATE MM/DD/YYYY.
      L_R_LINE-KEY = 'Run Date :'(002).
      L_R_LINE-INFO = L_DATE.
      APPEND L_R_LINE TO I_ALV_TOP_OF_PAGE.
      CLEAR: L_R_LINE, L_DATE.
    ENDFORM.                    " sub_build_header
    *&      Form  sub_field_catalog
          Build Field Catalog
          No Parameter
    FORM SUB_FIELD_CATALOG .
      *  BUILD FIELD CATALOG
      PERFORM SUB_FILL_ALV_FIELD_CATALOG USING:
                '01' '01' 'EBELN'  'I_EKPO' 'L'  'Doc No'(003) ' ' ' ' ' ' ' ',
                '01' '02' 'EBELP'  'I_EKPO' 'L'  'Item No'(004) 'X' 'X' ' ' ' ',
                '01' '03' 'MATNR'  'I_EKPO' 'L'  'Material No'(005) 'X' ' ' ' ' ' ',
                '01' '03' 'MATNR1' 'I_EKPO' 'L'  'Material No'(005) ' ' ' ' ' ' ' ',
                '01' '04' 'WERKS'  'I_EKPO' 'L'  'Plant'(006) 'X' ' ' ' ' ' ',
                '01' '04' 'WERKS1' 'I_EKPO' 'L'  'Plant'(006) ' ' ' ' ' ' ' ',
                '01' '05' 'NTGEW'  'I_EKPO' 'R'  'Net Weight'(007) ' ' ' ' 'GEWE' 'I_EKPO'.
    ENDFORM.                    " sub_field_catalog*
    *&     Form  sub_fill_alv_field_catalog
    *&     For building Field Catalog
    *&     p_rowpos   Row position
    *&     p_colpos   Col position
    *&     p_fldnam   Fldname
    *&     p_tabnam   Tabname
    *&     p_justif   Justification
    *&     p_seltext  Seltext
    *&     p_out      no out
    *&     p_tech     Technical field
    *&     p_qfield   Quantity field
    *&     p_qtab     Quantity table
    FORM SUB_FILL_ALV_FIELD_CATALOG  USING  P_ROWPOS    TYPE SYCUROW
                                            P_COLPOS    TYPE SYCUCOL
                                            P_FLDNAM    TYPE FIELDNAME
                                            P_TABNAM    TYPE TABNAME
                                            P_JUSTIF    TYPE CHAR1
                                            P_SELTEXT   TYPE DD03P-SCRTEXT_L
                                            P_OUT       TYPE CHAR1
                                            P_TECH      TYPE CHAR1
                                            P_QFIELD    TYPE SLIS_FIELDNAME
                                            P_QTAB      TYPE SLIS_TABNAME.
      * LOCAL DECLARATION FOR FIELD CATALOG
      DATA: WA_LFL_FCAT    TYPE  SLIS_FIELDCAT_ALV.
      WA_LFL_FCAT-ROW_POS        =  P_ROWPOS.     "Row
      WA_LFL_FCAT-COL_POS        =  P_COLPOS.     "Column
      WA_LFL_FCAT-FIELDNAME      =  P_FLDNAM.     "Field Name
      WA_LFL_FCAT-TABNAME        =  P_TABNAM.     "Internal Table Name
      WA_LFL_FCAT-JUST           =  P_JUSTIF.     "Screen Justified
      WA_LFL_FCAT-SELTEXT_L      =  P_SELTEXT.    "Field Text
      WA_LFL_FCAT-NO_OUT         =  P_OUT.        "No output
    WA_LFL_FCAT-TECH           =  P_TECH.       "Technical field
    WA_LFL_FCAT-QFIELDNAME     =  P_QFIELD.     "Quantity unit
    WA_LFL_FCAT-QTABNAME       =  P_QTAB .      "Quantity table
      IF P_FLDNAM = 'NTGEW'.
        WA_LFL_FCAT-DO_SUM  = 'X'.
      ENDIF.
      APPEND WA_LFL_FCAT TO I_FIELDCAT.
      CLEAR WA_LFL_FCAT.
    ENDFORM.                    " sub_fill_alv_field_catalog
    *&      Form  sub_populate_layout
          Populate ALV layout
          No Parameter
    FORM SUB_POPULATE_LAYOUT .
      CLEAR WA_LAYOUT.
      WA_LAYOUT-COLWIDTH_OPTIMIZE = 'X'." Optimization of Col width
    ENDFORM.                    "SUB_POPULATE_LAYOUT
    " sub_populate_layout
    *&      Form  sub_populate_sort
          Populate ALV sort table
          No Parameter
    FORM SUB_POPULATE_SORT .
      * SORT ON MATERIAL
      WA_SORT-SPOS = '01' .
      WA_SORT-FIELDNAME = 'MATNR'.
    WA_SORT-TABNAME = 'I_EKPO'.
      WA_SORT-UP = 'X'.
      WA_SORT-SUBTOT = 'X'.
      APPEND WA_SORT TO I_SORT .
    CLEAR WA_SORT."* SORT ON PLANT
    WA_SORT-SPOS = '02'.
    WA_SORT-FIELDNAME = 'WERKS'.
    WA_SORT-TABNAME = 'I_EKPO'.
    WA_SORT-UP = 'X'.
    WA_SORT-SUBTOT = 'X'.
    APPEND WA_SORT TO I_SORT .
    CLEAR WA_SORT.
    ENDFORM.                    " sub_populate_sort
    *&      Form  sub_get_event
          Get ALV grid event and pass the form name to subtotal_text
          event
          No Parameter
    FORM SUB_GET_EVENT .
      CONSTANTS : C_FORMNAME_SUBTOTAL_TEXT TYPE SLIS_FORMNAME VALUE 'SUBTOTAL_TEXT'.
      DATA: L_S_EVENT TYPE SLIS_ALV_EVENT.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE     = 4
        IMPORTING
          ET_EVENTS       = I_EVENT
        EXCEPTIONS
          LIST_TYPE_WRONG = 0
          OTHERS          = 0.
      * SUBTOTAL
      READ TABLE I_EVENT  INTO L_S_EVENT WITH KEY NAME = SLIS_EV_SUBTOTAL_TEXT.
      IF SY-SUBRC = 0.
        MOVE C_FORMNAME_SUBTOTAL_TEXT TO L_S_EVENT-FORM.
        MODIFY I_EVENT FROM L_S_EVENT INDEX SY-TABIX.
      ENDIF.
    ENDFORM.                    "SUB_GET_EVENT
    " sub_get_event
    *&      Form  sub_alv_report_display
          For ALV Report Display
          No Parameter
    FORM SUB_ALV_REPORT_DISPLAY .
      DATA: L_REPID TYPE SYREPID .
      L_REPID = SY-REPID .
    * THIS FUNCTION MODULE FOR DISPLAYING THE ALV REPORT
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = L_REPID
         I_CALLBACK_TOP_OF_PAGE = 'SUB_ALV_TOP_OF_PAGE'
         IS_LAYOUT              = WA_LAYOUT
          IT_FIELDCAT            = I_FIELDCAT
          IT_SORT                = I_SORT
          IT_EVENTS              = I_EVENT
         I_DEFAULT              = 'X'
         I_SAVE                 = 'A'
        TABLES
          T_OUTTAB               = I_EKPO
        EXCEPTIONS
          PROGRAM_ERROR          = 1
          OTHERS                 = 2.
      IF SY-SUBRC <> 0.
       MESSAGE i000 WITH 'Error in ALV report display'(055).
      ENDIF.
    ENDFORM.                    " sub_alv_report_display
          FORM sub_alv_top_of_page
          Call ALV top of page
          No parameter
    FORM SUB_ALV_TOP_OF_PAGE.                                   "#EC CALLED
    To write header for the ALV
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         IT_LIST_COMMENTARY = I_ALV_TOP_OF_PAGE.
    ENDFORM.                    "alv_top_of_page
    *&      Form  subtotal_text
          Build subtotal text
          P_total  Total
          p_subtot_text Subtotal text info
    FORM SUBTOTAL_TEXT CHANGING
                   P_TOTAL TYPE ANY
                   P_SUBTOT_TEXT TYPE SLIS_SUBTOT_TEXT.
    Material level sub total
      IF P_SUBTOT_TEXT-CRITERIA = 'MATNR'.
        P_SUBTOT_TEXT-DISPLAY_TEXT_FOR_SUBTOTAL  = 'Materia  l'(009).
        BREAK-POINT.
    here calucate the total and change the p_total    
      ENDIF.
      * PLANT LEVEL SUB TOTAL
      IF P_SUBTOT_TEXT-CRITERIA = 'WERKS'.
        P_SUBTOT_TEXT-DISPLAY_TEXT_FOR_SUBTOTAL = 'Plant level total'(010).
      ENDIF.
    ENDFORM.                    "subtotal_text

  • SUM ERROR UNABLE TO LAUNCH APPLICATION

    Hi, All
    i uncared the SUM version: 1.0.12.6 and started the sum tool in RHEL6 using SIDADM as user and using http://hostname:4239 to start the sum tool GUI in windows PC with JAVA version in JAVA8 i'm facing below error which relaeted to JAVA version but i'm not sure i'm attaching all the screenshots please suggest to solve the issue.
    Regards,
    Chidananda

    Hello Chidananda,
    Please check following 2 points :
    1. Make sure you are using right jcs files as specified in the following SAPnotes # 1238121 and #1240081.
    2. Check the section "Starting the Software Update Manager GUI" from upgrade guide and make sure all requirements are fullfilled.
    If this is not helpful please provide the command used to start the SUM and the results.
    Regards,
    Tomas Black

  • ALV Display - Error in field catalog

    Hi ,
    I am facing a problem in ALV... Field catalot is not getting populated... I am getting a message field catalog not found...
    Can anyone please help me....... <URGENT DOES NOT EXIST HERE>...
    I am enclosing my code also.. please go thourh it and help it....
    REPORT ZINVENTORY
          LINE-SIZE  120
           LINE-COUNT 64.
          MESSAGE-ID Z2
          NO STANDARD PAGE HEADING..
    type-pools : slis.
    Tables                                                               *
    tables: zasset,
            anla,
            itob,
            equi.
    data: v_repid LIKE sy-repid.
    Selection Screen                                                     *
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
    SELECT-OPTIONS : S_bukrs FOR anla-bukrs OBLIGATORY ,
                     S_kostl FOR itob-kostl .
    SELECTION-SCREEN : END OF BLOCK B1 .
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS: p_screen RADIOBUTTON GROUP gr1,
                p_list RADIOBUTTON GROUP gr1 DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK b2.
    Internal Tables                                                      *
    types: BEGIN OF ty_zasset, " occurs 0,
             equnr  like zasset-equnr,
             ANLN1 LIKE zasset-ANLN1, " Asset number
             ANLN2 LIKE zasset-ANLN2, " Sub Asset number
             BUKRS LIKE zasset-BUKRS, " Company Code
             KOSTL  like zasset-kostl,
             SCANNEDBY type zasset-scannedby,
             SCANNINGDATE type zasset-SCANNINGDATE,
             SCANNINGTIME type zasset-scanningtime,
             UPDATEDATE   type zasset-updatedate,
             UPDATETIME type zasset-updatetime,
           END OF ty_zasset.
    DATA: wa_zasset   TYPE ty_zasset.
    DATA: it_zasset TYPE TABLE OF ty_zasset with header line..
    types: BEGIN OF ty_zasset1, " occurs 0,
            equnr  TYPE equi-equnr,
             ANLN1 LIKE anla-ANLN1, " Asset number
             ANLN2 LIKE anla-ANLN2, " Sub Asset number
             BUKRS LIKE anla-BUKRS, " Company Code
             ernam like anla-ernam,
             erdat like anla-erdat,
            KOSTL  like anlz-kostl,
            SCANNEDBY type zasset-scannedby,
            SCANNINGDATE type zasset-SCANNINGDATE,
            SCANNINGTIME type zasset-scanningtime,
            UPDATEDATE   type zasset-updatedate,
            UPDATETIME type zasset-updatetime,
           END OF ty_zasset1.
    DATA: wa_zasset1   TYPE ty_zasset1.
    DATA: it_zasset1 TYPE TABLE OF ty_zasset1 with header line..
    types: BEGIN OF ty_zasset2, " occurs 0,
             equnr  like itob-equnr,
             ANLNr LIKE itob-ANLNr, " Asset number
             ANLuN LIKE itob-ANLuN, " Sub Asset number
             BUKRS LIKE itob-BUKRS, " Company Code
             timbi like itob-timbi,
             kostl like itob-kostl,
            KOSTL  like anlz-kostl,
            SCANNEDBY type zasset-scannedby,
            SCANNINGDATE type zasset-SCANNINGDATE,
            SCANNINGTIME type zasset-scanningtime,
            UPDATEDATE   type zasset-updatedate,
            UPDATETIME type zasset-updatetime,
           END OF ty_zasset2.
    DATA: wa_zasset2   TYPE ty_zasset2.
    DATA: it_zasset2 TYPE TABLE OF ty_zasset2 with header line..
    types: begin of ty_final , "occurs 0,
            equnr like itob-equnr,
            anln1 like anla-anln1,
            anln2 like anla-anln2,
            bukrs like anla-bukrs,
           ernam
           erdat
            kostl like itob-kostl,
            end of ty_final.
    DATA: wa_final   TYPE ty_final.
    DATA: it_final TYPE TABLE OF ty_final with header line..
    *DATA: it_zasset TYPE TABLE OF ty_zasset.
    *data: it_zasset1 type table of ty_zasset1.
    *data:wa_zasset type ty_zasset.
    *data:wa_zasset1 type ty_zasset1.
    Flags and Variables                                                 *
    DATA : F_ERROR.                   " Flag for No Data
    *pop field cat for f7
    data: V_SYREPID LIKE SY-REPID,
          IT_FLDCAT type slis_t_fieldcat_alv , "with header line,
          wa_fldcat   type slis_fieldcat_alv.
    *DATA : IT_FLDCATS TYPE SLIS_T_FIELDCAT_ALV.
    data: itab_events type slis_t_event,
          wa_events   type slis_alv_event.
    *data: wa_layout type slis_layout_alv.
    DATA : IT_COMMENTS TYPE SLIS_T_LISTHEADER,
           WA_COMMENTS TYPE SLIS_LISTHEADER.
    DATA : IT_SORTINFO TYPE SLIS_T_SORTINFO_ALV,
           WA_SORTINFO TYPE SLIS_SORTINFO_ALV.
    Initialization                                                       *
    initialization.
      SY-REPID = V_REPID.
    At Selection Screen                                                  *
    AT SELECTION-SCREEN.
      PERFORM validation.
    Start Of Selection                                                   *
    start-of-selection.
    perform select_data.
    IF P_LIST = 'X'.
    perform get_field_catalog.
    PERFORM MODIFYFIELDCAT.
    perform get_events.
    perform write_comments.
    perform grid_display.
    *perform list_display.
    ENDIF.
    IF sy-subrc = 0.
       IF p_list = 'X'.
       loop at it_final.
       perform get_events.
       endloop.
       endif.
       endloop.
       else.
    *endif.
    End Of Selection                                                     *
    END-OF-SELECTION.
    *perform display_Recorsds.
    *loop at zasset.
    *&      Form  validation
          text
    -->  p1        text
    <--  p2        text
    FORM validation.
    *Local variables.
      DATA:
            lv_bukrs type anla-bukrs,
            lv_kostl type itob-kostl,
            lv_anln1 TYPE anla-anln1,        "MAterial Number
            lv_anln2 TYPE anla-anln2.
    *Validation for company code
      if not s_bukrs is initial.
        select single bukrs from anla
               into lv_bukrs
               where bukrs in s_bukrs.
        if sy-subrc <> 0.
    *Message used : Invalid company code.
        endif.
      endif    .
    Validation for cost center
      if not s_kostl is initial.
        select single kostl from itob
               into lv_kostl
               where kostl in s_kostl.
        if sy-subrc <> 0.
    *Message used : Invalid company code.
        endif.
      endif  .
    ENDFORM.                    " validation
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display.
      write :/15 it_final-anln1,
      it_final-anln2,
                sy-vline.
    *-bukrs,
           it_zasset-anln1.
    ENDFORM.                    " display
    *&      Form  get_field_catalog
          text
    -->  p1        text
    <--  p2        text
    FORM get_field_catalog.
    *REFRESH IT_FLDCAT.
    *CLEAR IT_FLDCAT.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = V_REPID
       I_INTERNAL_TABNAME           = 'IT_FINAL'
       I_INCLNAME                   = V_REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = IT_FLDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " get_field_catalog
    *&      Form  get_events
          text
    -->  p1        text
    <--  p2        text
    FORM get_events.
      WA_COMMENTS-TYP = 'H'.
      WA_COMMENTS-KEY = 'THIS IS THE HEADING.'.
      WA_COMMENTS-INFO = 'LIST OF SALES ORDERS'.
      APPEND WA_COMMENTS TO IT_COMMENTS.
    ENDFORM.                    " get_events
    *&      Form  grid_display
          text
    -->  p1        text
    <--  p2        text
    FORM grid_display.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
       I_CALLBACK_TOP_OF_PAGE            = 'FIRST PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      =  'LIST OF FLIGHT DETAILS'
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       =  it_fldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =  itab_events
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = it_final
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " grid_display
    *&      Form  write_comments
          text
    -->  p1        text
    <--  p2        text
    FORM write_comments.
      WA_COMMENTS-TYP = 'H'.
      WA_COMMENTS-KEY = 'THIS IS THE HEADING.'.
      WA_COMMENTS-INFO = 'LIST OF SALES ORDERS'.
      APPEND WA_COMMENTS TO IT_COMMENTS.
    ENDFORM.                    " write_comments
    *&      Form  select_data
          text
    -->  p1        text
    <--  p2        text
    FORM select_data.
      clear: it_zasset, it_zasset[].
      select  equnr "bukrs
              anln1
              anln2
              bukrs
              KOSTL
              SCANNEDBY
              SCANNINGDATE
              SCANNINGTIME
              UPDATEDATE
              UPDATETIME
              into table it_zasset "(g_anln1,g_anln2)
              from zasset
              where bukrs = zasset-bukrs..
          and   kostl = zasset-kostl.
      if sy-subrc = 0.
        sort it_zasset by anln1 anln2.
      endif.
    append it_zasset.
      clear it_zasset1.
      select
             equnr
              anln1
              anln2
              bukrs
              ernam
              erdat
             bukrs
             KOSTL
             SCANNEDBY
             SCANNINGDATE
             SCANNINGTIME
             UPDATEDATE
             UPDATETIME
              into table it_zasset1 "(g_anln1,g_anln2)
              from  anla
             where bukrs = it_zasset-bukrs.
      WHERE BUKRS IN S_BUKRS.
    and   kostl = anla-kostl.
      if sy-subrc = 0.
        select equnr
               anlnr
               anlun
               bukrs
               timbi
               kostl
               into table it_zasset2
               from itob
               for all entries in it_zasset1
              where bukrs = it_zasset1-bukrs
               WHERE   anlnr = it_zasset1-anln1.
      endif.
      APPEND IT_ZASSET1.
      IF SY-SUBRC = 0.
    *loop at it_zasset1 into wa_zasset1.
    loop at it_ZASSET1 into wa_zasset1.
    move wa_zasset1-bukrs to wa_final-bukrs.
        move wa_zasset1-anln1 to wa_final-anln1.
        move wa_zasset1-anln2 to wa_final-anln2.
    append wa_final to it_final.
    endloop.
    ENDIF.
    sort it_final.
    *LOOP AT IT_FINAL.
    *ENDLOOP.
    *ENDIF.
    *if sy-subrc = 0.
    *loop at it_zasset into wa_asset.
    *read table it_zasset into wa_asset with key anln2 = wa_asset-anln2
    *binary search.
    *read table it_final into wa_final with key anln2 = wa_final-anln2
    *binary search.
    *if wa_asset-anln2 = wa_final-anln2.
    *write : / 'error'.
    *endif.
    If sy-subrc <> 0.
       f_error = 'X'.
       write :  'No data Exists for the given selection in FA table'.
    else.
       loop at it_final.
         perform display.
       endloop.
    records exits in anla table also.
    endif.
    ENDFORM.                    " select_data
    *&      Form  MODIFYFIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFYFIELDCAT.
      LOOP AT IT_FLDCAT INTO WA_FLDCAT.
         CASE WA_FLDCAT-FIELDNAME.
            WHEN 'EQUNR'.
    WA_FLDCAT-COL_POS = 1.
              WA_FLDCAT-SELTEXT_L = 'aSSET'.
            WHEN 'ANLN1'.
            wa_FLDCAT-KEY = 'X'.
              WA_FLDCAT-COL_POS = 5.
              WA_FLDCAT-SELTEXT_L = 'aSSET'.
            WHEN 'ANLN2'.
              WA_FLDCAT-KEY = 'X'.
              WA_FLDCAT-COL_POS = 6.
            wa_FLDCAT-HOTSPOT = 'X'.
            WHEN 'BUKRS'.
              WA_FLDCAT-CURRENCY = 'INR'.
             WA_FLDCAT-SYMBOL = 'X'.
          ENDCASE.
        MODIFY IT_FLDCAT FROM WA_FLDCAT.
    *IT_FLDCAT-fieldname   = 'EQUNR'.
    IT_FLDCAT-seltext_m   = 'DOCUM_TYPE'.
    IT_FLDCAT-col_pos     = 1.
    IT_FLDCAT-outputlen   = 10.
    IT_FLDCAT-emphasize   = 'X'.
    IT_FLDCAT-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
    append IT_FLDCAT TO IT_FLDCAT.
    IT_FLDCAT-fieldname   = 'ANLN1'.
    IT_FLDCAT-seltext_m   = 'DOCUM_TYPE'.
    IT_FLDCAT-col_pos     = 1.
    IT_FLDCAT-outputlen   = 10.
    IT_FLDCAT-emphasize   = 'X'.
    IT_FLDCAT-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
    append IT_FLDCAT TO IT_FLDCAT.
      ENDLOOP.
    ENDFORM.                    " MODIFYFIELDCAT
    *&      Form  list_display
          text
    -->  p1        text
    <--  p2        text
    *FORM list_display.
    *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BUFFER_ACTIVE                = ' '
      I_CALLBACK_PROGRAM             = V_SYREPID
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = 'FRM_USER_COMMAND'
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      = wa_layout
      IT_FIELDCAT                    = IT_FLDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = 'A'
      IS_VARIANT                     =
      IT_EVENTS                      = ITAB_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
    TABLES
       T_OUTTAB                       = IT_FINAL
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
    *IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    *ENDFORM.                    " list_display
    Edited by: Craig Cmehil on Jul 18, 2008 10:01 AM

    The problem is with this...
    types: begin of ty_final , "occurs 0,
    equnr like itob-equnr,
    anln1 like anla-anln1,
    anln2 like anla-anln2,
    bukrs like anla-bukrs,
    ernam
    erdat
    kostl like itob-kostl,
    end of ty_final.
    DATA: wa_final TYPE ty_final.
    DATA: it_final TYPE TABLE OF ty_final with header line.
    when you are using Fieldcatalog merge you have to avoid using the TYPES Declaration of the internal table.
    Instead of that you can do this
    data: begin of it_final occurs 0,
    equnr like itob-equnr,
    anln1 like anla-anln1,
    anln2 like anla-anln2,
    bukrs like anla-bukrs,
    ernam
    erdat
    kostl like itob-kostl,
            end of it_final.

  • Alv edit error

    i'm using fieldcatalog to rename the column header(name) like this..
    CLEAR g_wa_fieldcat.
      g_wa_fieldcat-coltext    = 'Module'.
      g_wa_fieldcat-fieldname  = 'MODULETYPE'.  
      g_wa_fieldcat-style      = cl_gui_alv_grid=>mc_style_enabled.
      g_wa_fieldcat-ref_table  = 'G_IT_DEV_LIST'.
      g_wa_fieldcat-just = 'C'.           
      g_wa_fieldcat-col_opt  = 'X'.     
      APPEND g_wa_fieldcat TO g_fieldcat.
    and after edit the alv
    CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
          i_structure_name = 'ZDEVELOP_LIST'
          is_layout        = g_layout
        CHANGING
          it_outtab        = g_it_dev_list
          it_fieldcatalog  = g_fieldcat.
    after i renamed the column name..
    after edit or add the new column and  when i use
    CALL METHOD g_grid->check_changed_data.
    the errors are occur!!
    Selected Logs(Local Time) : 2007.10.09 03:07:
    NameOfTheColumn  | Message Text
    &#51648;&#50672;                   Field G_IT_DEV_LIST-LIGHT is not in the ABAP Dictionary
    Module                     Field G_IT_DEV_LIST-MODULETYPE is not in the ABAP Dictionary
    ID                     Field G_IT_DEV_LIST-ID is not in the ABAP Dictionary
    T-CODE                     Field G_IT_DEV_LIST-T_CODE is not in the ABAP Dictionary
    g_it_dev_list has above fieldname. if i don't rename the column name, it doesn's occur!!
    plz help me!!!!
    Message was edited by:
            Seung Chul Yang

    Hi,
    Instead of passing value to <b>ref_table</b> pass the value to <b>tabname.</b>
    <b>correct one.</b>
    g_wa_fieldcat-coltext = 'Module'.
    g_wa_fieldcat-fieldname = 'MODULETYPE'.
    g_wa_fieldcat-style = cl_gui_alv_grid=>mc_style_enabled.
    *comment below line
    *g_wa_fieldcat-ref_table = 'G_IT_DEV_LIST'.
    *Add below line
    <b>g_wa_fieldcat-tabnam = 'G_IT_DEV_LIST'.</b>
    g_wa_fieldcat-just = 'C'.
    g_wa_fieldcat-col_opt = 'X'.
    APPEND g_wa_fieldcat TO g_fieldcat.
    <b></b>

  • ALV: Runtime error when calling only few columns of tables in ALV rpt

    Dear ABAP Gurus N Experts,
    I am new for ABAP.
    I am creating an ALV for fetching the data from ztable. It works fine, If I select all column than .
    SELECT * FROM zshipment01 INTO TABLE gi_zshipment01.
    But when I try to select only few column it gives an error. Runtime errors: DBIF_RSQL_INVALID_RSQL, Exception:  CX_SY_OPEN_SQL_DB
    SELECT container shipment_no bill_of_lad bl_date DATE_OF_PORT ARRIVAL_NO1 ED_TRUCKING
    FROM zshipment01 INTO TABLE gi_zshipment01.
    I am using following function:, which is called in program as PERFORM load_data_into_grid.
    FORM load_data_into_grid.
    SELECT * FROM zshipment01 INTO TABLE gi_zshipment01.
    Load data into the grid and display them
    CALL METHOD go_grid->set_table_for_first_display
           EXPORTING i_structure_name = 'zshipment01'
           CHANGING  it_outtab        = gi_zshipment01.
       ENDFORM.                    " load_data_into_grid
    Early response will be highly appreciated.
    With thanks,
    DSC
    Moderator Messge: Basic questions are not allowed. Search before you post.
    Edited by: kishan P on Feb 29, 2012 2:22 PM

    Hi Devendra,
    Try to use "corresponding" statement.
    SELECT field1 field1 etc FROM zshipment01 *INTO CORRESPONDING FIELD OF TABLE* gi_zshipment01.
    Regards,
    Dondi.
    Points unassigned
    Edited by: kishan P on Feb 29, 2012 2:22 PM

  • NW 7.20 upgrade using SUM error with SQL

    Hi All,
    I am in the process of upgrading a client from NW 7.20 to 7.40. I have successfully done so with the DEV environment, but i seem to be having issues with the QA server.
    SQL 2008 R2 is a distributed installation and resides on a different server. When SUM starts doing its system checks though, it looks locally for the OSQL and SQLCMD files. Unfortunately, these files arent on the server and cannot be installed due to company policy.
    How should I go about upgrading the server?
    Error message:
    “Severe error(s) occurred in phase PREP_PRE_CHECK/INITPUT_PRE!
    Last error code set: OSQL call failed for MSSUPGGETREL<br/>”
    PHASES log:
    1 ETQ201 Entering upgrade-phase "PREP_PRE_CHECK/INITPUT_PRE" ("20140529095730")
    2 ETQ367 Connect variables are set for standard instance access
    4 ETQ399 System-nr = '00', GwService = 'sapgw00' Client = '000'
    4 ETQ399 Environment variables:
    4 ETQ399   dbs_mss_schema=<null>
    4 ETQ399   auth_shadow_upgrade=<null>
    1 ETQ206 Executing pre-phase DB specific actions.
    1 ETQ206 Executing pre-phase OS specific actions.
    1 ETQ399 Reading value:
    1 ETQ399 HKEY_CURRENT_USER\Environment\DIR_LIBRARY
    1 ETQ399 failed:
    1 ETQ399 ErrorMessage: The system cannot find the file specified.
    1 ETQ200 Executing actual phase 'PREP_PRE_CHECK/INITPUT_PRE'.
    1 ETQ207 Executing post-phase DB specific actions.
    2 ETQ399 Empty putsteps - configuring at least parallel batches and main import processes.
    2 ETQ399 Distribute 3 parallel processes to 2 tp and 2 R3trans.
    3 ETQ399 20140529095731: PID 6188 execute 'T:\usr\sap\RQ3\SYS\exe\uc\NTAMD64\tp "pf=C:\SUM\abap\var\DEFAULT.TPP" getdbinfo RQ3' , output written to 'C:\SUM\abap\log\TOOLOUT.LOG'.
    3 ETQ399 20140529095731: PID 6188 exited with status 0 (time 0.000 real)
    3 ETQ399 20140529095731: PID 7248 execute 'C:\Windows\system32\cmd.exe /C copy C:\SUM\abap\bin\MSSUPGGETREL.SQL+C:\SUM\abap\bin\MSSUPGGETREL.SBK C:\SUM\abap\bin\MSSUPGGETREL.SQL' , output written to 'PERS.PRT'.
    3 ETQ399 20140529095731: PID 7248 exited with status 0 (time 0.000 real)
    1EETQ399 Calling registered function with pattern 'INITPUT*' failed!
    1EETQ399 Last error code set is: OSQL call failed for MSSUPGGETREL
    1EETQ204 Upgrade phase "INITPUT_PRE" aborted with severe errors ("20140529095731")
    Regards,
    Nish

    Dear Nishalan,
    You need to install SQLCMD (MSSQL Native Client ) on the CI. Install the MSSQL Native client and it will resolve your issue.
    With Regards
    Ashutosh Chaturvedi

  • How to delete trailing zeros after the decimal point in the ALV sum

    Hello Expert,
    In my alv output, I need to sum up one column, but in the sum result, I don't want to display zeros after the decimal point.
    for example,
    If the sum is 134.00, I only want to display 134 on the alv.
    Does any expert have idea about it?
    Thanks in advance,
    best regards, Johnny

    Hi ,
    Use following
    SHIFT variable RIGHT/LEFT DELETING TRAILING '0'.
    For more variations ,
    just write SHIFT and press f4 , it will show you the information you need.
    Hope this is helpful,
    Regards,
    Uma Dave

Maybe you are looking for

  • How do i simulate a digital instrument using FP

    Hi I am a new user of LabView and need to construct an application to verify the operation of data logger programs.  I need simulate data from various analogue and digital instruments using standard test data from a spreadsheet.  I have just about fi

  • -9972 upon trying to verify harddrive (Kernal panic linked...)

    Hey everyone, I having a major kernalpanic that I am having major trouble repairing. I tried running first aid (I do not own Disk warrior- and I'm on a student budget) and it was not able to successfully verify and repair my disk. I was returned the

  • Is there a hotkey to send in iMessage from a Bluetooth Keyboard

    I am new to the Community and need to know if there is a way to send an iMessage from an Apple Bluetooth keyboard with out touching the send on iMessage?  If not can I create a hotkey that will do this on the iPad

  • Logical Table source problem - Agg Tables

    Hello, I need to know is there any possibility to make following scenario. - A "SalesAmount" column in the presentation layer. - Two aggregate tables; one of them is aggregation according to months and one of them is aggregation according to years. I

  • Place Multiple objects

    anyone know a script, plugin or any other way of placing multiple pictures / objects at once the same way Indesign CS3 does? ie.. selecting 5 epicures and clicking 5 times instead of: file>place select photo - put in document file>place select photo