Current Position:Home > ALV BLOCK LIST Dump

ALV BLOCK LIST Dump

Update:11-30Source: network consolidation
Advertisement
Hello All,
I'm using the FM REUSE_ALV_BLOCK_LIST_DISPLAY.
I'm getting the Output from the Block List FMs as intended.
But when I'm performing any action on user-command the program is going for a dump saying :
Field symbol has not yet been assigned.
You attempted to access an unassigned field symbol
(data segment 97).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
  that has been deleted
- You address a field symbol that had previously been reset using
  UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
  though the relevant function module is not active,
  that is it is not in the list of active calls. You can get the list
  of active calls from the this short dump.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"GETWA_NOT_ASSIGNED" C
"SAPLSALV" or "LSALVF02"
"USER_COMMAND"
I checked the FM REUSE_ALV_BLOCK_LIST_DISPLAY by passing the INTERFACE_CHECK PARAM as 'X'.
I get an output saying :
Invalid value SAPLSALV of the parameter I_CALLBACK_PROGRAM
Diagnosis
The I_CALLBACK_PROGRAM parameter contains the ABAP List Viewer program names.
Possible sources oe error:
Assigning I_CALLBACK_PROGRAM = SY-REPID in the ABAP List Viewer call interface.
Procedure
Assign SY-REPID to an auxiliary variable before calling the ABAP List Viewer and pass it in the call interface parameter I_CALLBACK_PROGRAM.
But I'm passing the call_back program param to only one FM
  call function 'REUSE_ALV_BLOCK_LIST_INIT'
    exporting
      i_callback_program       = lv_repid
      i_callback_pf_status_set = 'EVENT_SET_STATUS_01'
      i_callback_user_command  = 'EVENT_USER_COMMAND'.
Can u guys tell me where is the actual problem ?
Regards,
Deepu.K

The Best Answer

Advertisement
Hi
The problem is when the fm REUSE_ALV_BLOCK_LIST_APPEND is called: here the ALV function assign the data and the header line of every table is transfered (max 19 tables can be displayed at the same list):
FUNCTION REUSE_ALV_BLOCK_LIST_APPEND.
*"*"Lokale Schnittstelle:
*"       IMPORTING
*"             VALUE(IS_LAYOUT) TYPE  SLIS_LAYOUT_ALV
  CASE GS_STATUS-COUNTER_OF_LISTS_ADDED.
    WHEN 1.
      ASSIGN T_OUTTAB[] TO <HEADER_TABLE01>.
      ASSIGN T_OUTTAB   TO <HEADER_TABLE01_WA>.
    WHEN 2.
      ASSIGN T_OUTTAB[] TO <HEADER_TABLE02>.
      ASSIGN T_OUTTAB   TO <HEADER_TABLE02_WA>.
Now if u use an internal table defination without headerline the command like "ASSIGN T_OUTTAB   TO <HEADER_TABLE01_WA>" fails, so the field-symbols like <HEADER_TABLE01_WA> is not assigned.
So after displaying the list if you press a command of toolbar, the system trigger the standard routine for user comand defined in the include LSALVF02:
*       FORM USER_COMMAND                                             *
*  -->  R_UCOMM                                                       *
*  <->  RS_SELFIELD                                                   *
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                        RS_SELFIELD TYPE SLIS_SELFIELD.     "#EC CALLED
  IF GS_STATUS-FLG_CHECKBOXES_ACTIVE = 'X'.
    CALL FUNCTION 'K_KKB_MARK_INFO_GET'
         IMPORTING
              ET_ROWMARK = LT_ROWMARK.
    DO GS_STATUS-COUNTER_OF_LISTS_ADDED TIMES.
      L_INDEX = SY-INDEX.
      READ TABLE GT_STACK INDEX L_INDEX.
      IF SY-SUBRC NE 0. MESSAGE X000(0K). ENDIF.
      CASE L_INDEX.
        WHEN 1.
          IF GT_STACK-ITEM_TABNAME IS INITIAL.
            ASSIGN GT_DUMMY[] TO <ITEM_TABLE01>.
            ASSIGN GT_DUMMY   TO <ITEM_TABLE01_WA>.
          ENDIF.
          PERFORM E10_CHECKBOX_FILL
                      TABLES
                        <HEADER_TABLE01>
                        <ITEM_TABLE01>
                      USING
                         GT_STACK
                         LT_ROWMARK[]
                         <HEADER_TABLE01_WA>
                         <ITEM_TABLE01_WA>.
So as soon as the system call the routine E10_CHECKBOX_FILL a dump occurs as just the field-symbols <ITEM_TABLE01_WA> is not assigned.
Max
  • ALV BLOCK LIST Dump Update:11-30

    Hello All, I'm using the FM REUSE_ALV_BLOCK_LIST_DISPLAY. I'm getting the Output from the Block List FMs as intended. But when I'm performing any action on user-command the program is going for a dump saying : Field symbol has not yet been assigned.

  • Check box in ALV BLOCK List Update:10-11

    Hi All, iam Using ALV BLOCK list to print the output along with check boxes, iam able to print the output along with the check boxes but when i select any of the check box and click button on application tool bar it is going to dump  and saying, FIEL

  • Issue with Secondary list display in ALV BLocked List Update:10-11

    Hi all, I am using ALV Blocked List consissting of 3 blocks. For my requirement, in the 1st block, I need to make a colum clickable, for which I have used the User_Command Event. But this is not working. The second list is not gettin displayed. Here'

  • Problem in ALV BLOCK Display Update:10-11

    HI, PLZ help me . By using this code I select data from TXT  file and insert data in CS13 transaction  then I want to show each material which present in TXT file as ALV BLOCK  DISPLAY. Suppose txt file contain four material so report will show 4  li

  • Problem in ALV Block List Update:10-11

    Hi All, I am trying to displaying BOM explosion for materials in ALV Block list. I am taking the materials to be exploded from a local file. Taking the contents of the file in an internal table and then passing the parameters like material number bom

  • Problem while using Alv Block List Update:10-11

    HI All, PLZ help me . By using this code I select data from TXT file and insert data in CS13 transaction then I want to show each material which present in TXT file as ALV BLOCK DISPLAY. Suppose txt file contain 4 material so report will show 4 list

  • Need to download the ALV blocked output in to excel sheet Update:10-11

    I have a requirement where there is a need to download the Alv block output to excel sheet. when i click on excel button which is on output only header block data is coming in excel sheet.but i need both header block and item block data into excel.Hi

  • Pdf output problem in ALV Block Display Update:10-11

    Hi , I have z custom report of ALV BLOCK LIST DISPLAY which creates Spool using ABAP submit statement and then this spool is feed to FM CONVERT_ABAPSPOOLJOB_2_PDF to create PDF file . PDF file generates but output is coming on two pages. I want to di

  • Sving layout with ALV block list Update:10-11

    1) I am not able to save layout for alv block. How this can be done? 2) Can this be saved for all blocks if the fields of all blocks are the same?Hi, 1. not possible with the ALV BLOCK list. 2. No option avaialble for this in case of Block list. for

  • Events in ALV block list Update:10-11

    Hi, Im using ALV block list to display the output. In that one column is highlighted using HOT SPOT. I have to capture that event and display the information as pop-up. can anyone tell me how to do this? Thanks, AmalHi Check with the Handling the Hot