Runtime Error : MOVE_TO_LIT_NOTALLOWED_NODATA after ALV execution

Hi experts
I'm facing this runtime error after execute an interface and show an ALV grid for data processed.
ShrtText
    Assignment error: Overwriting a protected field.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKKBL" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Error analysis
The program tried to assign a new value to the field "<L_UNIT>" even though
    it is protected against changes.
    The following objects are protected:
    - Character or numeric literals
    - Constants (CONSTANTS)
    - Parameters of the category IMPORTING REFERENCE for functions
      and methods
    - Untyped field symbols to which a field has not yet been assigned
      using ASSIGN
    - TABLES parameters if the corresponding actual parameter is protected
      against changes
    - USING reference parameters and CHANGING parameters for FORMs if
      the actual parameter for this is protected against changes
    - Field symbols if the field assigned using ASSIGN or ASSIGNING
      is protected against changes
    - External write accesses to READ-ONLY attributes
    - Key components of lines in internal tables of the type HASHED or
      SORTED TABLE
      SORTED TABLE.
What I must check on ABAP code for fix it. When I debug I found that the totals(in Yellow) are of two lines. The first line displays with the total values of the respective columns, but the second line is blank. So During the debug it clears the value "lflg_show" which causes the short dump.
Pleaase help me with this.
Thanks in advance.

Hi experts
I'm facing this runtime error after execute an interface and show an ALV grid for data processed.
ShrtText
    Assignment error: Overwriting a protected field.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKKBL" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Error analysis
The program tried to assign a new value to the field "<L_UNIT>" even though
    it is protected against changes.
    The following objects are protected:
    - Character or numeric literals
    - Constants (CONSTANTS)
    - Parameters of the category IMPORTING REFERENCE for functions
      and methods
    - Untyped field symbols to which a field has not yet been assigned
      using ASSIGN
    - TABLES parameters if the corresponding actual parameter is protected
      against changes
    - USING reference parameters and CHANGING parameters for FORMs if
      the actual parameter for this is protected against changes
    - Field symbols if the field assigned using ASSIGN or ASSIGNING
      is protected against changes
    - External write accesses to READ-ONLY attributes
    - Key components of lines in internal tables of the type HASHED or
      SORTED TABLE
      SORTED TABLE.
What I must check on ABAP code for fix it. When I debug I found that the totals(in Yellow) are of two lines. The first line displays with the total values of the respective columns, but the second line is blank. So During the debug it clears the value "lflg_show" which causes the short dump.
Pleaase help me with this.
Thanks in advance.

Similar Messages

  • Runtime Errors MOVE_TO_LIT_NOTALLOWED_NODATA

    I am getting this error when i perform sum in ALV on particular field.
    Runtime Errors        MOVE_TO_LIT_NOTALLOWED_NODATA                                               
    Date and Time          08.05.2014 04:40:38                                                         
    Short text                                                                                       
        Error at assignment: Overwritten protected field.                                           
    What happened?                                                                                   
        Error in the ABAP Application Program                                                       
        The current ABAP program "SAPLKKBL" had to be terminated because it has                     
        come across a statement that unfortunately cannot be executed.                               
    What can you do?                                                                                 
        Note down which actions and inputs caused the error.                                         
        To process the problem further, contact you SAP system                                       
        administrator.                                                                               
        Using Transaction ST22 for ABAP Dump Analysis, you can look                                 
        at and manage termination messages, and you can also                                         
        keep them for a long time.                                                                   
    Error analysis                                                                                   
        A new value is to be assigned to the field "<L_UNIT>", although this field is               
        entirely or partly protected against changes.                                               
        The following are protected against changes:                                                 
        - Character literals or numeric literals                                                     
        - Constants (CONSTANTS)                                                                     
        - Parameters of the category IMPORTING REFERENCE for functions and                           
        methods                                                                                     
        - Untyped field symbols not yet assigned a field using ASSIGN                               
        - TABLES parameters if the actual parameter is protected against changes                     
        - USING reference parameters and CHANGING parameters for FORMs, if the                       
        actual parameter is protected against changes and                                           
        - Accesses using field symbols if the field assigned using ASSIGN is                         
        protected (or partially protected, e.g. key components of an internal                       
        table with the type SORTED or HASHED TABLE) against changes                                 
        - Accesses using references, if the field bound to the reference is                         
        protected (or partially protected) against changes                                           
        - External write accesses to READ-ONLY attributes,                                           
        - Content of a shared object area instance accessed using a shared lock                     
        (ATTACH_FOR_READ).     
    Source Code Extract                                                                             
    Line
    SourceCde                                                                                 
    2975
    *        IF LS_FIELDCAT-NO_OUT NE 'X'.                                                     
    2976
    *          LFLG_SHOW = 'X'.                                                               
    2977
    *          EXIT.                                                                           
    2978
    *        ENDIF.                                                                           
    2979
    *      ENDIF.                                                                             
    2980
    *    ENDLOOP.                                                                             
    2981
    2982
    *  Wenn die Einheit gleichzeitig das aktuelle                                             
    2983
    *  Zwischensummenkriterium ist                                                           
    2984
        if ls_dep_field-s_dep_fieldcat-fieldname =          "INS K_SUBTOTEH                   
    2985
                          rs_sort-fieldname. "INS K_SUBTOTEH                                   
    2986
    *    in einer Split-Zeile nie die Einheit ausgeben,                                       
    2987
    *    da diese in der aktuellen Zwischensumme immer                                       
    2988
    *    homogen sein muß und deshalb schon in der ersten                                     
    2989
    *    Zeile ausgegeben wurde                                                               
    2990
          if vflg_splitline = 'X'.        "INS K_SUBTOTEH                                     
    2991
            clear lflg_show.              "INS K_SUBTOTEH                                     
    2992
    *    in der ersten Zeile immer die Einheit ausgeben,                                     
    2993
    *    da diese Zwischensummenkrit. ist und deshalb                                         
    2994
    *    auch erscheinen muß, falls keine Kennzahl diese                                     
    2995
    *    referenziert                                                                         
    2996
          else.                            "INS K_SUBTOTEH                                     
    2997
            lflg_show = 'X'.              "INS K_SUBTOTEH                                     
    2998
          endif.                          "INS K_SUBTOTEH                                     
    2999
        endif.                            "INS K_SUBTOTEH                                     
    3000
    3001
        if lflg_show is initial.                                                               
    3002
    *    assign component <ls_dep_field>-s_dep_fieldcat-fieldname                             
    3003
          assign component ls_dep_field-s_dep_fieldcat-fieldname                               
    3004
                of structure t_outtab to <l_unit>.                                           
    >>>>>
          clear <l_unit>.                                                                     
    3006
        endif.                                                                                 
    3007
      endloop.                                                                                 
    3008
    3009
    endform.                              " SPLIT_LINE_CHECK                                 
    3010
    3011
    *&      Form  SUM_EXPA_SINGLE_NEW                                                         
    3012
    3013
    *      text                                                                               
    3014
    3015
    *      -->P_LFLG_KOMP  text                                                               
    3016
    *      -->P_L_SUBRC  text                                                                 
    3017
    3018
    form sum_expa_single_new using rflg_komp type c                                           
    3019
                                  r_subrc like sy-subrc.                                     
    3020
    3021
      data: ls_levels type kkblo_sort_extend.                                                 
    3022
      data: ls_groups type kkblo_grouplevels.                                                 
    3023
      data: ls_groups_static type kkblo_grouplevels.                                           
    3024
      data: l_subrc like sy-subrc.

    Hello Zia,
    line 3002 is the key to the issue you have experienced:
    *    assign component <ls_dep_field>-s_dep_fieldcat-fieldname                             
    The component of a structure field-symbols get assigned to a 2nd field-symbol. The structure field-symbols is most likely assigned to a line of an internal table. This internal table is possibly an importing parameter (not changable) or the table is of kind sorted/hased and the structure component part of the table key.
    Hope this helps
      Klaus

  • Runtime error  MOVE_TO_LIT_NOTALLOWED_NODATA.....urgent

    Hi All,
    I am stuck up at one point which is giving
    Runtime error  MOVE_TO_LIT_NOTALLOWED_NODATA.....
    I am giving the details of the dump:
    Error analysis                                                                                |    A new value is to be assigned to the field "<A>", although this field is                  
    |    entirely or partly protected against changes.                                             
    |    The following are protected against changes:                                          
    - Character literals or numeric literals                                                     CONSTANTS)
    |    - Parameters of the category IMPORTING REFERENCE for functions and                        
    |    methods                                                                               
    |    - Untyped field symbols not yet assigned a field using ASSIGN                          
    |    - TABLES parameters if the actual parameter is protected against changes                   
    |    - USING reference parameters and CHANGING parameters for FORMs, if the                     
    |    actual parameter is protected against changes and                                        
    |    - Accesses using field symbols if the field assigned using ASSIGN is                       
    |    protected (or partially protected, e.g. key components of an internal                       
    |    table with the type SORTED or HASHED TABLE) against changes                               
    |    - Accesses using references, if the field bound to the reference is                        
    |    protected (or partially protected) against changes                                         
    |    - External write accesses to READ-ONLY attributes,                                         
    |    - Content of a shared object area instance accessed using a shared lock                     
    (ATTACH_FOR_READ).       
    How to correct the error                                                                         
    |    The field to be overwritten is a parameter or a                                              
    field symbol:
    |    Declare the parameter as VALUE parameter or transfer a help field, to                        
    |    which you assigned the constant before, and assign the help field                            
    |    instead of the constant to the field symbol.                                                 
    Sorce code where error occured:      
       FORM get_constants  
    FIELD-SYMBOLS: <a>.    
    DATA: t_bc_const TYPE zbc_const OCCURS 100 WITH HEADER LINE.
    SELECT  progname fieldname num type sign opti low high     FROM  zbc_const    INTO  CORRESPONDING FIELDS OF TABLE t_bc_const   WHERE progname EQ sy-repid.                                            
      LOOP AT t_bc_const.
        IF sy-subrc = 0.
          CASE t_bc_const-type.
            WHEN 'C'.     "PARAMETER OR CONSTANT
              ASSIGN (t_bc_const-fieldname) TO <a>.
              <a> = t_bc_const-low.
            WHEN OTHERS.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " GET_CONSTANTS
    SY-subrc eq 4
    at the statement.
    ASSIGN (t_bc_const-fieldname) TO <a>.
    PLease provide me with proper solution,or reason for the error

    Hi,
    Dynamic ASSIGN
    FIELD-SYMBOLS <fs> TYPE ANY.
      ASSIGN (name) TO <fs>.
    But in your code  '='  is there.
    Your code :
    ASSIGN (t_bc_const-fieldname) TO .
    = t_bc_const-low.
    COREECT CODE :
    ASSIGN (t_bc_const-fieldname) TO  <FS>.
    't_bc_const' should be   Field symbol.

  • ABAP runtime errors - MOVE_TO_LIT_NOTALLOWED_NODATA

    Dear all,
    In customize program, im using OOP Method CL_GUI_ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY to output the result in ALV list.
    Result display in ALV list successfully, then i click on on "Print Preview" button.
    System will lead me to another screen, and shortdump MOVE_TO_LIT_NOTALLOWED_NODATA will hits after i click on "Total"/"Summation" button on a numeric field.
    Detail shortdump for MOVE_TO_LIT_NOTALLOWED_NODATA:
    Assignment error: Overwriting a protected field.
    What happened?
    The current ABAP/4 program "SAPLKKBL " had to be terminated because
    one of the statements could not be executed.
    This is probably due to an error in the ABAP/4 program.
    How to correct the error
    The field you want to overwrite is a parameter or a field symbol:
    Declare the parameter as a VALUE parameter or pass an auxiliary field
    to which you assigned the value from the constant before the call.
    Alternatively, you can assign the auxiliary field to the field symbol
    instead of the constant.
    If the error occurred in one of your own programs or in an SAP program
    that you modified, try to correct it yourself.
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "MOVE_TO_LIT_NOTALLOWED_NODATA"
    "SAPLKKBL " or "LKKBLF98 "
    "SUM_UNIT_OUT_CHECK"
    Im seaching upside down to get the related OSS note for my SAP version 4.6C but im not able to get anything. And furthermore the short dump only hits at Production server but there is no problem at Dev. and QAS system.
    Your comment is highly appreciated.
    Thanks in advance.

    hi Friend,
    please have a look at OSS note 914863.
    <a href="http://service.sap.com/notes">OSS Link</a>
    Symptom
    The following problems can occur in the order information system:
    The column for a unit is missing in the output list or in the column set.
    The ALV consistency check (Note 504384) displays error message 0K 510.
    The MOVE_TO_LIT_NOTALLOWED_NODATA runtime error occurs in the SAP List Viewer (ALV).
    Other terms
    Production order information system, process order information system, 0K510, <L_UNIT>, SAPLKKBL, LKKBLF98, SUM_UNIT_OUT_CHECK
    Reason and Prerequisites
    In Customizing (report RCOTX000), the column for the unit is hidden. At least one other column that refers to this unit is displayed.
    Solution
    After you have implemented the source code corrections, it is no longer the setting in the RCOTX000 report that determines whether the columns for a unit are displayed. The system displays them only if at least one respective value column is displayed.
    Hope this helps,
    Sajan Joseph.

  • Runtime error while executing ALV

    Hi all,
    I have implemented an ALV in OOPS concept and whenevr I am executing it I am getting a runtime error as GET WA NOT ASSIGNED
    Error analysis:
    You attempted to access an unassigned field symbol
    (data segment 32821).
    This error may occur if
    - You address a typed field symbol before it has been set with
       ASSIGN
    - You address a field symbol that pointed to the line of an
       internal table that was deleted
    - You address a field symbol that was previously reset using
       UNASSIGN or that pointed to a local field that no
       longer exists
    - You address a global function interface, although the
       respective function module is not active - that is, is
       not in the list of active calls. The list of active calls
       can be taken from this short dump.
    Trigger Location of Runtime Error
        Program                                 SAPLSLVC
        Include                                 LSLVCF36
        Row                                     3.231
        Module type                             (FORM)
        Module Name                             FILL_DATA_TABLE
    3201                               alv_style_align_center_top.
    3202         endif.
    3203
    3204         append ls_lvc_data to ct_lvc_data.
    3205       endif.
    3206
    3207 ************************************
    3208 * Column per Fieldcat Entry
    3209 ************************************
    3210       loop at it_fcat_local assigning <ls_fcat>.
    3211         clear: ls_lvc_data-href_hndl,
    3212                ls_lvc_data-drdn_hndl,
    3213                ls_lvc_data-style,
    3214                ls_lvc_data-style2,
    3215                ls_lvc_data-style3,
    3216                ls_lvc_data-style4,
    3217                ls_lvc_data-maxlen.
    3218
    3219         clear: lt_color_lvc, lt_color_slis.
    3220
    3221         add 1 to ls_lvc_data-col_pos.
    3222
    3223         if not <ls_fcat>-indx_field is initial.
    3224           assign component <ls_fcat>-indx_field
    3225                            of structure <ls_data> to <l_field_value>.
    3226         else.
    3227           assign component <ls_fcat>-fieldname
    3228                            of structure <ls_data> to <l_field_value>.
    3229         endif.
    3230
    >>>>         macro_cell_data_get
    3232           <ls_fcat>
    3233           <ls_data>
    3234           <l_field_value>
    3235           ls_lvc_data-value.
    3236
    3237 *>>> new API
    3238         if ir_salv_adapter is bound.
    3239           clear ls_lvc_data-style.
    3240
    3241 * color
    3242           if g_gui_type ne 1.
    3243             if <ls_fcat>-key eq abap_true.
    3244               ls_lvc_data-style = alv_style_color_int_key.
    3245             elseif l_style_color is initial
    3246                   and ( <ls_fcat>-emphasize is initial or
    3247                         <ls_fcat>-emphasize = '$' ).
    3248               if <ls_stin>-counter is initial.
    3249                 ls_lvc_data-style = alv_style_color_normal.
    3250               else.
    Please help me to sort out this issue

    FORM s_build_fldctlg .
      v_repid = sy-repid.
      DATA lw_fldctlg TYPE lvc_s_fcat.
      REFRESH i_fldctlg[].
      v_cpos = 0.
    * Column 1
      lw_fldctlg-col_pos = v_cpos.
      lw_fldctlg-row_pos = c_1.
      lw_fldctlg-ref_table = 'I_OUTPUT'.
      lw_fldctlg-fieldname = c_unlpt.
      lw_fldctlg-coltext = 'Unloading Point'.         "Unloading Point
      APPEND lw_fldctlg TO i_fldctlg.
      CLEAR  lw_fldctlg.
    * Column 2
      v_cpos = v_cpos + 1.
      lw_fldctlg-col_pos = v_cpos.
      lw_fldctlg-row_pos = c_1.
      lw_fldctlg-ref_table = 'I_OUTPUT'.
      lw_fldctlg-fieldname = c_vdrloc.       "Vendor Location
      lw_fldctlg-coltext = text-003.
      APPEND lw_fldctlg TO i_fldctlg.
      CLEAR  lw_fldctlg.
    * Column 3
      v_cpos = v_cpos + 1.
      lw_fldctlg-col_pos = v_cpos.
      lw_fldctlg-row_pos = c_1.
      lw_fldctlg-ref_table = 'I_OUTPUT'.
      lw_fldctlg-fieldname = c_nopkgs.       "No of packages
      lw_fldctlg-coltext = text-004.
      APPEND lw_fldctlg TO i_fldctlg.
      CLEAR  lw_fldctlg.
    * Column 4
      v_cpos = v_cpos + 1.
      lw_fldctlg-col_pos = v_cpos.
      lw_fldctlg-row_pos = c_1.
      lw_fldctlg-ref_table = 'I_OUTPUT'.
      lw_fldctlg-fieldname = c_delnote.     "Delivery Note
      lw_fldctlg-coltext = text-005.
      APPEND lw_fldctlg TO i_fldctlg.
      CLEAR  lw_fldctlg.
    * Column 5
      v_cpos = v_cpos + 1.
      lw_fldctlg-col_pos = v_cpos.
      lw_fldctlg-row_pos = c_1.
      lw_fldctlg-ref_table = 'I_OUTPUT'.
      lw_fldctlg-fieldname = c_reason.      "Reason
      lw_fldctlg-coltext = text-006.
      APPEND lw_fldctlg TO i_fldctlg.
      CLEAR  lw_fldctlg.
    * Column 6
      v_cpos = v_cpos + 1.
      lw_fldctlg-col_pos = v_cpos.
      lw_fldctlg-row_pos = c_1.
      lw_fldctlg-ref_table = 'I_OUTPUT'.
      lw_fldctlg-fieldname = c_status.
      lw_fldctlg-coltext = text-007.
      APPEND lw_fldctlg TO i_fldctlg.
      CLEAR  lw_fldctlg.
    ENDFORM.                    " S_BUILD_FLDCTLG
    This is my code.
    When i execute it without any values in my final table the ALV is getting displayed.
    But when I put some data in the final table I am getting this error

  • While loading data Runtime error MOVE_TO_LIT_NOTALLOWED_NODATA

    Dear Masters
      While loading data from r/3 to PSA only, I am getting below error
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    There is no long text, when I clicked Error message, I got below message only
        <b> Job terminated in source system   > Request set to red</b>
    In r/3 side in st22, I got below runtime errors
    Runtime Errors         <b>MOVE_TO_LIT_NOTALLOWED_NODATA</b>
    Short text
        Error at assignment: Overwritten protected field.
    any other sap notes to fix this issue
    Please help me to resolve below issue
    Thanks in advance
    Raja S

    Hi Raja,
    Your error message suggests that there is some overlapping of the filed while you have  done the mapping and at the time of extraction this particular field is being tried to be overwritten by some other mapping which is not possible.
    Check in your mappings again and load it.
    Cheers!
    Amit

  • Getting runtime Error 'UC_OBJECTS_NOT_CHARLIKE'  for ALV grid

    Hi,
    When I call method SET_TABLE_FOR_FIRST_DISPLAY of ALV I get runtime error 'UC_OBJECTS_NOT_CHARLIKE'.
    Actually i have set in the fieldcatalog the field 'CHK' of internal table as checkbox.
    wa_fcat-fieldname = 'CHK' .
    wa_fcat-coltext = 'Clear' .
    wa_fcat-seltext = 'Clear' .
    wa_fcat-checkbox = 'X' .
    wa_fcat-edit = 'X' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    Field CHK is of type c.
    when i dont set the field as checkbox, I stop getting the error.
    Please find a solution.
    regards,
    auro

    Relevant parts of code are:
    Data Declaration:
    types:  begin of tt_revenue_det,
           chk type c,
           budat like zefit0006-zefibudat,
           racct_txt like skat-txt50,
           amount like zefit0006-zefihsl,
           pbar_txt like tgsbt-gtext,
           sgtxt like zefit0006-zefisgtxt,
           costcentertxt like cskt-ktext,
           bar_txt like skat-txt50,
           doctype like zefit0006-zefiblart,
           ch_flag type c,
           end of tt_revenue_det,
    data:    gt_revenue_det type table of tt_revenue_det.
    FIELD CATALOG
    *&      Form  set_fieldcatalog_rev_det
          text
         -->P_LT_FIELDCATALOG  text
    form set_fieldcatalog_rev_det  using    p_lt_fieldcatalog type lvc_t_fcat.
    data:wa_fcat type lvc_s_fcat.
    wa_fcat-fieldname = 'P_GT_REVENUE_DET-CHK' .
    wa_fcat-coltext = 'Clear' .
    wa_fcat-seltext = 'Clear' .
    wa_fcat-checkbox = 'X' .
    wa_fcat-edit = 'X' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'BUDAT' .
    wa_fcat-coltext = 'Posting Date' .
    wa_fcat-seltext = 'Posting Date' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'RACCT_TXT' .
    wa_fcat-coltext = 'Account Item Text' .
    wa_fcat-seltext = 'Account Item Text' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'AMOUNT' .
    wa_fcat-coltext = 'Amount' .
    wa_fcat-seltext = 'Amount' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'PBAR_TXT' .
    wa_fcat-coltext = 'Partner Business Area' .
    wa_fcat-seltext = 'Partner Business Area' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'SGTXT' .
    wa_fcat-coltext = 'Item Text' .
    wa_fcat-seltext = 'Item Text' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'COSTCENTERTXT' .
    wa_fcat-coltext = 'Cost Center' .
    wa_fcat-seltext = 'Cost Center' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'BAR_TXT' .
    wa_fcat-coltext = 'Business Area' .
    wa_fcat-seltext = 'Business Area' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'DOCTYPE' .
    wa_fcat-coltext = 'Type' .
    wa_fcat-seltext = 'Type' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    wa_fcat-fieldname = 'CH_FLAG' .
    wa_fcat-coltext = 'Split' .
    wa_fcat-seltext = 'Split' .
    APPEND wa_fcat to p_lt_fieldcatalog .
    endform.                    " set_fieldcatalog_rev_det
    CREATE ALV
    *&      Form  create_alv_revenue_det
          text
         -->P_GT_REVENUE_DET  text
    form create_alv_revenue_det  using    p_gt_revenue_det.
    ALV related data declaration
    DATA: lf_layout TYPE lvc_s_layo,  "alv layout
          lt_fieldcatalog type table of lvc_s_fcat, "field catalog internal table
          wa_fieldcatalog type lvc_s_fcat. "work area for field catalog
    create alv only if container is initial
    IF G_CUSTOM_CONTAINER_REV_DET IS INITIAL.
    lf_layout-no_toolbar = 'X'. " no toolbar
    lf_layout-sel_mode = 'B'.
    populate field catalog
    perform set_fieldcatalog_rev_det using lt_fieldcatalog.
    create instance of container class
        CREATE OBJECT G_CUSTOM_CONTAINER_REV_DET
               EXPORTING CONTAINER_NAME = G_CONTAINER_REV2.
    create instance of alv grid class
        CREATE OBJECT GR_ALVGRID_REV_DET
               EXPORTING I_PARENT = G_CUSTOM_CONTAINER_REV_DET.
    call method to display table in alv grid by passing layout and fieldcatalog
        CALL METHOD GR_ALVGRID_REV_DET->SET_TABLE_FOR_FIRST_DISPLAY
             EXPORTING
             is_layout = lf_layout
             CHANGING
             IT_OUTTAB        = p_gt_revenue_det
             IT_FIELDCATALOG  = lt_fieldcatalog.
      ENDIF.
    endform.                    " create_alv_revenue_det

  • Runtime Error 217 after GroupWise closes (C# C3PO)

    Hello,
    I made a C3PO with C#, everything works fine until i close the GroupWise Client (8.0.2, Win 7 , 32 Bit). 2 seconds after closing, I get a GroupWise-MessageBox: 'Runtime Error 217'.
    The Windows Event Log says the error occured in the Kernelbase.dll.
    Did anyone have this error some time and knows how to fix this?

    Hi Sankar,
    Clearly RFC destination WORKFLOW_LOCAL_250 doesnot exist. But please don't create it directly using Sm59.
    Log into client 250 and go to transaction SWU3. Here you will get option for creating RFC destination making use of user WF-BATCH. In case there is workflow expert in your project take his help.
    Once this is done this dump should not come.
    Regards.
    Ruchit.

  • Runtime Error! after installation of Photoshop Elements 10

    Yesterday I installed Photoshop Elements 10 and Premier Elements 10. After installation, whenever I log into my user account in Windows 7, I receive a Microsoft Visual C++ Runtime Library Runtime Error! It further says Program: C:\Program Files (x86)\Adobe... This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. In addition to logging into the windows account, the same error sometimes occurs when Photoshop Elements Organizer, editor and Premier Elements is started. My wife has another account in windows and does not get this error in any of the above cases. After clearing the error, I seem to be able to use the programs, but this occurs every now and then.
    What can I do to repair the installation? I tried uninstalling and reinstalling, but the problem remains. Any help with this would be appreciated. Thanks.

    More information. I tried uninstalled PSE and then set up a new user account. Reinstalled PSE from the new account. Everything works fine in the new user account and my wife's user account. The account with problems continues to get the same error when logging in or starting PSE.
    Checked the error using event viewer and found that the problem is with dynamiclinkmanager.exe. After logging in to the working accounts dynamiclinkmanager is running, but is not in the problem account. Cannot find any differences between the accounts. Below is the event viewer data. Any help is appreciated.
    Log Name:      Application
    Source:        Application Error
    Date:          1/9/2012 5:50:34 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Desktop-VM
    Description:
    Faulting application name: dynamiclinkmanager.exe, version: 3.0.0.0, time stamp: 0x4e5e6ffc
    Faulting module name: MSVCR90.dll, version: 9.0.30729.4940, time stamp: 0x4ca2ef57
    Exception code: 0x40000015
    Fault offset: 0x0005beae
    Faulting process id: 0xdb4
    Faulting application start time: 0x01cccf21115396c1
    Faulting application path: C:\Program Files (x86)\Adobe\Elements 10 Organizer\CAHeadless\32\dynamiclinkmanager.exe
    Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb 9a742\MSVCR90.dll
    Report Id: 56d13743-3b14-11e1-a1e8-bcaec523a610
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-01-09T22:50:34.000000000Z" />
        <EventRecordID>48682</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Desktop-VM</Computer>
        <Security />
      </System>
      <EventData>
        <Data>dynamiclinkmanager.exe</Data>
        <Data>3.0.0.0</Data>
        <Data>4e5e6ffc</Data>
        <Data>MSVCR90.dll</Data>
        <Data>9.0.30729.4940</Data>
        <Data>4ca2ef57</Data>
        <Data>40000015</Data>
        <Data>0005beae</Data>
        <Data>db4</Data>
        <Data>01cccf21115396c1</Data>
        <Data>C:\Program Files (x86)\Adobe\Elements 10 Organizer\CAHeadless\32\dynamiclinkmanager.exe</Data>
        <Data>C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916 076bcb9a742\MSVCR90.dll</Data>
        <Data>56d13743-3b14-11e1-a1e8-bcaec523a610</Data>
      </EventData>
    </Event>

  • Runtime Error during export ALV Grid to Local File and Print Priview

    Hi all,
             While Exporting ALV grid to local file using menu List->export->local file , I m getting following runtime error,
             Field Symbol has not yet been assigned.
    Details of Errors:
    Program : SAPLKKBL
    Include :   LKKBLF99
    Module Type : (FORM)
    module name : GEN_FIELD_OUT2
    So. pls Suggest any good solution.
    Thanks & Regards,
    Sandip Sonar.

    hi
    this is happening just because you might have declared that your ALV list should have a checkbox, but defined no field as "checkbox" into your internal table.
    and one more thing to check up is that before you call the REUSE_ALV_GRID_DISPLAY, you need to fill a few parameters for instance is_layout. This one has a field box_fieldname, in which you have to enter the name of the field of the internal table that will store the 'X' as and when the checkbox is checked.
    hope this helps
    regards
    Aakash Banga

  • Runtime Error "RUNT_ILLEGAL_SWITCH" after Kernel upgrade to 640 (274)

    Hi All,
    We have upgraded our kernel from 640 (175) to 640 (274) after which we are getting frequent runtime errors RUNT_ILLEGAL_SWITCH in thousands. The program that is terminating is "SAPMSDYP" because of the incorrect system state.
    We are on Sun Solaris, Oracle 9.2.0.4 with SAP 4.7 (640)
    This is specifically happening in Test system. TheDev system is fine with the new kernel. This also happens only on the central Instance of the test system.
    Can you please help me if you have had this situation and steps to solve it.
    Thanks
    Vijay

    Hi,
    This is most likely due to buffer inconsistancy problem, have you tried rebooting the server?
    Also take a look at SAP note 351695.
    Best regards,
    Warren

  • Getting a runtime error in block alv that field symbol has been assigned

    hi to all experts ,
    im getting a runtime error that field symbol has not been assigned in functionmodule reuse_alv_block_list_display
    i tried a lot to rectify the error ,im unable to do it thats i have posted here
    *& Report  ZHAI_ALV_BLOCK_LIST
    REPORT  ZHAI_ALV_BLOCK_LIST.
    type-pools:slis.
    tables:mara.
    DATA:BEGIN OF  IT_MARA OCCURS 0,
            MATNR LIKE MARA-MATNR,
            MBRSH LIKE MARA-MBRSH,
            MATKL LIKE MARA-MATKL,
            END OF IT_MARA.
    data: begin of IT_DESC OCCURS 0,
             MATNR like MAKT-MATNR,
             MAKTX like MAKT-MAKTX,
         end of IT_DESC.
    data: begin of IT_MARD occurs 0,
            MATNR like mard-matnr,
            WERKS  like  mard-werks,
            LGORT  like  mard-lgort,
            LABST like mard-labst,
          end of IT_MARD.
    data: IT_FCAT TYPE SLIS_T_FIELDCAT_ALV ,
          WA_FCAT LIKE LINE OF IT_FCAT,
          IT_FCAT1 type  slis_t_fieldcat_alv,
          WA_FCAT1 LIKE LINE OF IT_FCAT1,
          IT_FCAT2 TYPE SLIS_T_FIELDCAT_ALV,
          WA_FCAT2 LIKE LINE OF IT_FCAT2,
          wa_layout type  SLIS_LAYOUT_ALV,
          it_event type SLIS_T_EVENT,
          wa_event like line of it_event,
         wa_layout like line of it_layout,
          V_REPID LIKE SY-REPID.
    select-options:so_matnr for mara-matnr.
    start-of-selection.
    perform f_select_data.
    DEFINE ADD_CATALOGUE1.
    WA_FCAT-COL_POS = &1.
    WA_FCAT-fieldname = &2.
    WA_fcat-tabname = &3.
    wa_fcat-emphasize = &4.
    wa_fcat-ref_tabname = &5.
    APPEND WA_FCAT TO IT_FCAT.
    END-OF-DEFINITION.
    DEFINE ADD_CATALOGUE2.
    WA_FCAT1-COL_POS = &1.
    WA_FCAT1-fieldname = &2.
    WA_fcat1-tabname = &3.
    wa_fcat1-emphasize = &4.
    wa_fcat1-ref_tabname = &5.
    APPEND WA_FCAT1 TO IT_FCAT1.
    END-OF-DEFINITION.
    DEFINE ADD_CATALOGUE3.
    WA_FCAT2-COL_POS = &1.
    WA_FCAT2-fieldname = &2.
    WA_fcat2-tabname = &3.
    wa_fcat2-emphasize = &4.
    wa_fcat2-ref_tabname = &5.
    APPEND WA_FCAT2 TO IT_FCAT2.
    END-OF-DEFINITION.
    perform f_build_fcat.
    *perform f_build_fcat1.
    perform f_build_fcat2.
    PERFORM F_BUILD_LAYOUT.
    PERFORM F_BUILD_EVENTS.
    PERFORM F_BLOC_DISPLAY.
    *&      Form  f_select_data
    FORM f_select_data .
    select matnr
           mbrsh
           matkl
         from mara into  table it_mara where matnr
    in so_matnr.
    if it_mara[] is not initial.
    select matnr
           maktx
           from makt
           into   table it_desc
           for all entries in it_mara
           where matnr eq it_mara-matnr.
    endif.
    if it_desc[] is not initial.
    select matnr
           werks
           lgort
           labst
           from mard
           into  table it_mard
           for all entries in it_desc
           where matnr eq it_desc-matnr.
    endif.
    ENDFORM.                    " f_select_data
    *&      Form  f_build_fcat
    FORM f_build_fcat .
    ADD_CATALOGUE2:
    '1' 'MATNR' 'IT_MARA' 'C500' 'MARA',
    '2' 'MBRSH' 'IT_MARA' 'C600' 'MARA',
    '3' 'MATKL' 'IT_MARA' 'C300' 'MARA'.
    ENDFORM.                    " f_build_fcat
    **&      Form  f_build_fcat1
    FORM f_build_fcat1 .
    ADD_CATALOGUE1:
    '1' 'MATNR' 'IT_DESC' 'C500' 'MAKT',
    '2' 'MAKTX' 'IT_DESC' 'C600' 'MAKT'.
    ENDFORM.                    " f_build_fcat1
    *&      Form  f_build_fcat2
    FORM f_build_fcat2.
    ADD_CATALOGUE3:
    '1' 'MATNR' 'IT_MARD' 'C500' 'MARD',
    '2' 'WERKS' 'IT_MARD' 'C600' 'MARD',
    '3' 'LGORT' 'IT_MARD' 'C200' 'MARD',
    '4' 'LABST' 'IT_MARD' 'C300' 'MARD'.
    ENDFORM.                    " f_build_fcat2
    *&      Form  F_BLOC_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM F_BLOC_DISPLAY .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = wa_layout
        IT_FIELDCAT                      = it_fcat
        I_TABNAME                        = 'IT_MARA'
        IT_EVENTS                        = it_event
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = IT_MARA
    EXCEPTIONS
      PROGRAM_ERROR                    = 1
      MAXIMUM_OF_APPENDS_REACHED       = 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.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = wa_layout
        IT_FIELDCAT                      = it_fcat1
        I_TABNAME                        = 'IT_DESC'
        IT_EVENTS                        = IT_EVENT
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = IT_DESC
    EXCEPTIONS
      PROGRAM_ERROR                    = 1
      MAXIMUM_OF_APPENDS_REACHED       = 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.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = wa_LAYOUT
        IT_FIELDCAT                      = IT_FCAT2
        I_TABNAME                        = 'IT_MARD'
        IT_EVENTS                        = IT_EVENT
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = IT_MARD
    EXCEPTIONS
      PROGRAM_ERROR                    = 1
      MAXIMUM_OF_APPENDS_REACHED       = 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.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
    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.                    " F_BLOC_DISPLAY
    *&      Form  F_BUILD_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM F_BUILD_LAYOUT .
    wa_layout-edit = 'X'.
    wa_layout-window_titlebar = 'MOHAMMED ABDUL HAI'.
    wa_layout-zebra = 'X'.
    ENDFORM.                    " F_BUILD_LAYOUT
    *&      Form  F_BUILD_EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM F_BUILD_EVENTS .
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
       I_LIST_TYPE           = 0
    IMPORTING
       ET_EVENTS             = IT_EVENT
    EXCEPTIONS
       LIST_TYPE_WRONG       = 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.
    SORT IT_EVENT BY NAME.
    READ TABLE it_event INTO wa_event WITH KEY NAME = 'TOP_OF_PAGE' bINARY
    SEArch.
    if sy-subrc eq 0.
    wa_event-form = 'F_TOP_OF_PAGE'.
    ENDIF.
    MODIFY IT_EVENT FROM WA_EVENT INDEX SY-TABIX TRANSPORTING FORM.
    READ TABLE IT_EVENT INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND' BINARY SEARCH.
    WA_EVENT-FORM = 'F_USER_COMMAND'.
    MODIFY IT_EVENT FROM wa_event INDEX SY-TABIX TRANSPORTING FORM.
    ENDFORM.                    " F_BUILD_EVENTS

    Hi,
    When does this runtime error occur? When displaying output (calling FM) or.....
    I copied your coding and made a few minor changes and It's working fine for my now:
    REPORT ZHAI_ALV_BLOCK_LIST.
    TYPE-POOLS:slis.
    TABLES:mara.
    DATA:BEGIN OF it_mara OCCURS 0,
    matnr LIKE mara-matnr,
    mbrsh LIKE mara-mbrsh,
    matkl LIKE mara-matkl,
    END OF it_mara.
    DATA: BEGIN OF it_desc OCCURS 0,
    matnr LIKE makt-matnr,
    maktx LIKE makt-maktx,
    END OF it_desc.
    DATA: BEGIN OF it_mard OCCURS 0,
    matnr LIKE mard-matnr,
    werks LIKE mard-werks,
    lgort LIKE mard-lgort,
    labst LIKE mard-labst,
    END OF it_mard.
    DATA: it_fcat TYPE slis_t_fieldcat_alv ,
          wa_fcat LIKE LINE OF it_fcat,
          it_fcat1 TYPE slis_t_fieldcat_alv,
          wa_fcat1 LIKE LINE OF it_fcat1,
          it_fcat2 TYPE slis_t_fieldcat_alv,
          wa_fcat2 LIKE LINE OF it_fcat2,
          wa_layout TYPE slis_layout_alv,
          it_event TYPE slis_t_event,
          wa_event LIKE LINE OF it_event,
    *      wa_layout like line of it_layout,
    v_repid LIKE sy-repid.
    SELECT-OPTIONS:so_matnr FOR mara-matnr.
    START-OF-SELECTION.
      PERFORM f_select_data.
      DEFINE add_catalogue1.
        wa_fcat-col_pos = &1.
        wa_fcat-fieldname = &2.
        wa_fcat-tabname = &3.
        wa_fcat-emphasize = &4.
        wa_fcat-ref_tabname = &5.
        append wa_fcat to it_fcat.
      END-OF-DEFINITION.
      DEFINE add_catalogue2.
        wa_fcat1-col_pos = &1.
        wa_fcat1-fieldname = &2.
        wa_fcat1-tabname = &3.
        wa_fcat1-emphasize = &4.
        wa_fcat1-ref_tabname = &5.
        append wa_fcat1 to it_fcat1.
      END-OF-DEFINITION.
      DEFINE add_catalogue3.
        wa_fcat2-col_pos = &1.
        wa_fcat2-fieldname = &2.
        wa_fcat2-tabname = &3.
        wa_fcat2-emphasize = &4.
        wa_fcat2-ref_tabname = &5.
        append wa_fcat2 to it_fcat2.
      END-OF-DEFINITION.
      PERFORM f_build_fcat.
      PERFORM f_build_fcat1.
      PERFORM f_build_fcat2.
      PERFORM f_build_layout.
      PERFORM f_build_events.
      PERFORM f_bloc_display.
    *& Form f_select_data
    FORM f_select_data .
      SELECT matnr
      mbrsh
      matkl
      FROM mara INTO TABLE it_mara WHERE matnr
      IN so_matnr.
      IF it_mara[] IS NOT INITIAL.
        SELECT matnr
        maktx
        FROM makt
        INTO TABLE it_desc
        FOR ALL ENTRIES IN it_mara
        WHERE matnr EQ it_mara-matnr.
      ENDIF.
      IF it_desc[] IS NOT INITIAL.
        SELECT matnr
        werks
        lgort
        labst
        FROM mard
        INTO TABLE it_mard
        FOR ALL ENTRIES IN it_desc
        WHERE matnr EQ it_desc-matnr.
      ENDIF.
    ENDFORM. " f_select_data
    *& Form f_build_fcat
    FORM f_build_fcat .
      add_catalogue2:
      '1' 'MATNR' 'IT_MARA' 'C500' 'MARA',
      '2' 'MBRSH' 'IT_MARA' 'C600' 'MARA',
      '3' 'MATKL' 'IT_MARA' 'C300' 'MARA'.
    ENDFORM. " f_build_fcat
    **& Form f_build_fcat1
    FORM f_build_fcat1 .
      add_catalogue1:
      '1' 'MATNR' 'IT_DESC' 'C500' 'MAKT',
      '2' 'MAKTX' 'IT_DESC' 'C600' 'MAKT'.
    ENDFORM. " f_build_fcat1
    *& Form f_build_fcat2
    FORM f_build_fcat2.
      add_catalogue3:
      '1' 'MATNR' 'IT_MARD' 'C500' 'MARD',
      '2' 'WERKS' 'IT_MARD' 'C600' 'MARD',
      '3' 'LGORT' 'IT_MARD' 'C200' 'MARD',
      '4' 'LABST' 'IT_MARD' 'C300' 'MARD'.
    ENDFORM. " f_build_fcat2
    *& Form F_BLOC_DISPLAY
    * text
    FORM f_bloc_display .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          i_callback_program = sy-repid.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
      is_layout = wa_layout
      it_fieldcat = it_fcat1
      i_tabname = 'IT_MARA'
      it_events = it_event
    *IT_SORT =
    *I_TEXT =
      TABLES
      t_outtab = it_mara
      EXCEPTIONS
      program_error = 1
      maximum_of_appends_reached = 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.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
      is_layout = wa_layout
      it_fieldcat = it_fcat1
      i_tabname = 'IT_DESC'
      it_events = it_event
    *IT_SORT =
    *I_TEXT =
      TABLES
      t_outtab = it_desc
      EXCEPTIONS
      program_error = 1
      maximum_of_appends_reached = 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.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
      is_layout = wa_layout
      it_fieldcat = it_fcat2
      i_tabname = 'IT_MARD'
      it_events = it_event
    *IT_SORT =
    *I_TEXT = ' '
      TABLES
      t_outtab = it_mard
      EXCEPTIONS
      program_error = 1
      maximum_of_appends_reached = 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.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
      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. " F_BLOC_DISPLAY
    *& Form F_BUILD_LAYOUT
    FORM f_build_layout .
      wa_layout-edit = 'X'.
      wa_layout-window_titlebar = 'MOHAMMED ABDUL HAI'.
      wa_layout-zebra = 'X'.
    ENDFORM. " F_BUILD_LAYOUT
    *& Form F_BUILD_EVENTS
    FORM f_build_events .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = it_event
        EXCEPTIONS
          list_type_wrong = 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.
      SORT it_event BY name.
    READ TABLE it_event INTO wa_event WITH KEY name = 'TOP_OF_PAGE' BINARY
    SEARCH.
      IF sy-subrc EQ 0.
        wa_event-form = 'F_TOP_OF_PAGE'.
      ENDIF.
      MODIFY it_event FROM wa_event INDEX sy-tabix TRANSPORTING form.
    READ TABLE it_event INTO wa_event WITH KEY name = 'USER_COMMAND' BINARY
    SEARCH.
      wa_event-form = 'F_USER_COMMAND'.
      MODIFY it_event FROM wa_event INDEX sy-tabix TRANSPORTING form.
    ENDFORM. " F_BUILD_EVENTS

  • Runtime error during PO workflow execution

    Hi,
    We have a custom workflow and today i received a runtime error while i was executing the approval process for the purchase order.
    In our workflow a work item is going to be sent to the proper approver, and inside this item, there are several possibilites for the approver: approve, reject, etc.
    Until this item, everything is fine, but when i decide to approve the PO, the system gives me an error: "Runtime Errors: GETWA_NOT_ASSIGNED".
    I did not do any changes on the workflow in the last few days (and i don't think so anybody else did any modification on it) and i don't know what should be the problem.
    If you have any idea for the solution, please let me know!
    Thanks in advance for your help!
    Best Regards,
    Attila

    Hello,
    Searching for GETWA_NOT_ASSIGNED in OSS brings up 2467 notes - see which one applies to you and your version.
    regards
    Rick Bakker
    Hanabi Technology

  • Runtime Error DYNPRO_NOT_FOUND after transport of customer subscreen

    Hi,
    We have created a new customer subscreen 9002 using transaction OXK1. When the subscreen was transported to the quality system, the subscreen was not generated thereby causing a dump (error DYNPRO_NOT_FOUND) in transaction FB01 which was using the subscreen.
    Are customer subscreens not regenerated automatically when they are transported?
    Thanks.
    Ekit

    HEllo,
    Sometimes error happen in this process. Please re-generate your scrren.
    goto  OXK1 Select the screen and go to the menu option Subscreen -> Generate.  
    REgards,
    REnan Correa

  • Runtime Error 1009 After Converting from Flex 3.6 to 4.5.1

    I am in the process of converting my application from SDK 3.6 to 4.5.1.  The process is going smoothly thanks to the many resources out there including Greg Lafrance's series http://www.adobe.com/devnet/flex/articles/migrating-flex-apps-part1.html
    I am now getting an error while the application is loading in the browser.  The error text is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at main/initApp()...
    The error occurs in the AS code where I am attempting to get the URL from the player using the mx.utils.URLUtil library.  In particular, I am setting a global variable in my app to the URL of the visitor.  The specific code for this is:
    this.stServerName=URLUtil.getServerName(mainApp.url);
    Is URLUtil still in use in Flex 4.5.1?  If not, is there another way to get the server name from the host?
    Thanks!
    Lee

    URLUtil still exists.  I would verify what is null.

Maybe you are looking for

  • MacBook Pro crashes when closing lid while in windows 8.1

    I use a late-2011 MacBook Pro with Mavericks for work and run Windows 8.1 as my daily driver via Boot Camp. I've been running this setup for about a month without incident, but within the past week whenever I close the laptop it starts acting really

  • How do i have itunes on my ipod touch

    Does anyone know how to get the itunes icon on a ipod touch? i updated my ipod touch so everything is not on itunes but i havent got it on the touch anymore?

  • Reoprts server itdrep already exists in the network

    Hi I have two AIX machines with different hostnames and have application server 10gR2 standalone installed on both the machines.I created a new report server with the name "ITDREP" on both the machines(same name on both the machines). Now when i try

  • Link between workflow id , document number

    Hi all, If we raise an workflow for any sales document, can anybody tell me in which workflow tables we can find the document number and its corresponding workflow id. If the possible outcome of task is approve or reject, after user executing the tas

  • Role Upload - System Aliases not used

    We are having a strange occurance during role upload. In the migrated content area, iViews are being created in folders that refer to system aliases used (e.g. R3, BW, etc.).  However, the "System" property of each iView is set to the logical system