CL_ABAP_STRUCTDESCR

Hello,
I have to create a internal table like the structur of a DB-Table of a remote system.
Therefore i wanted to something like the following
  l_r_descr_ref ?= cl_abap_structdescr=>describe_by_name( p_name = l_active_table_name ).
  CREATE DATA l_r_line TYPE HANDLE l_r_descr_ref.
Is there a possibility to call the method from a remote system ?
Thanks for your help.
Dieter

Hi Dieter,
I'm on vacation right now, no SAP system around.
You can never transfer object references from system to system because the object referenced is available only in one system.
I assume you can use a method of CL_ABAP_STRUCTDESCR to GET the components table in the source system. Transfer this table to the RFC function in target system. Use the component table to create a TYPEDESCR object to create the table.
I found this [thread|Dynamic Internal Table Creation using selected fields from any db table; that shows you the way - some thinking still required.
Regards,
Clemens

Similar Messages

  • Dynamic ALV and cl_abap_structdescr Create method

    Hi
    In the process of creation of Dynamic ALV, as I have char_name and char_descr fields, I have to use char_descr as column header of ALV because char_name which has entries something like DVS_******(that do not make any sense to user). I am facing 2 problems here using the scenario above.
    1. char_descr contains characters like '[', ']', ' /', '.', space which are invalid characters for method cl_abap_structdescr=>create(). How to handle scenario like this?
    2. assign (lv_value) to <value>.
            if sy-subrc = 0.
              <value> = ls_bapi_char_value-charvalue.
              if <value> is assigned.
                move ls_bapi_char_value-charvalue to <value>.
    where-> concatenate '<table_dyn_wa>-' ls_bapi_char-char_descr into lv_value
                   <value> type any
                  <table_dyn_wa>- is dynamic table with structure created with cl_abap_tabledescr=>create( p_line_type = stru_type )
    with above code for few fields data is being assigned and for few sy-subrc = 4. The table from where I am reading the field contains char_name associated with it and not char_descr. For the fields whose char_name and char_descr matches exactly, ALV displays data for it.
    How to resolve the issue so that I could get all the data?
    Let me know if further details are needed.
    Thanks, in advance
    Trupti
    Edited by: TRUPTI KALLURWAR on Jul 9, 2010 7:08 PM

    Hello Srikanth,
    CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE( ) uses the GENERATE SUBROUTINE POOL technique to create the dynamic internal tables.
    And as per the SAP documentation,
    In an internal mode, a maximum of 36 temporary subroutine pools may be created.
    Source: [http://help.sap.com/abapdocu_702/en/abapgenerate_subroutine_pool.htm]
    Btw why are you crating 36 dynamic internal table? That's way too far-fetched even for the RTTC classes
    BR,
    Suhas

  • Getting cl_abap_structdescr for method parameters of LOCAL classes?

    Hi guys
    I have a bit of a of a problem with getting an instance of the cl_abap_structdescr class for a method parameter type of a local class. The RTTI structure abap_parmdescr can only be used to diffrentiate between the basic built-in ABAP types and whether types are structures, tables or references. The question now arrives that once you have diffentiated that the parameter is a structure how do you determine the actual structure TYPE name for local classes to create an instance of the cl_abap_structdescr to continue your run-time analysis. For dictionary classes the parameter type name can be retrieved from the seosubcodf table, to me it looks as if one would have to resort to scanning the source code of local classes to arrive at the actual  structure type name, but before I go to THAT kind of trouble I was wondering whether somebody out there might have a better solution for me. Your help would be grreatly appreciated and rewarded ;).
    Kind regards
    Ettienne Hugo

    Hello Uwe
    Thanks for your reply, I checked out the CL_OO_LOCAL_CLASSES class, unfortunately the class actually operates on the local classes declared for a dictionary class. I think to clarify my question I should point out that the parameters I'm trying to process are parameters that belong to classes that are defined and implemented using include programs, these include programs would then typically be used in Function Groups to construct applications so the classes that I refer to are actually not in any way related to dictionary classes. The cl_abap_classdescr class works fine on these types of classes when you refer to them using the "\PROGRAM=my_program\CLASS=my_class" format with the describe_by_name method, unfortunately the class just does not provide sufficient information for structure type parameters to actually construct them during run-time...
    Stay well
    Ettienne

  • On-value request and cl_abap_structdescr

    Hi,
    I want to use on-value request to get the field names of a table, but I can't make it work.
    I already tried finding a solution on the forum but without success.
    This is my code:
    DATA:
          lt_order  TYPE TABLE OF crmd_orderadm_h,
          g_container TYPE scrfname VALUE 'G_CONTAINER',
          g_filter  TYPE string,
          g_custom_container TYPE REF TO cl_gui_custom_container,
          g_grid TYPE REF TO cl_gui_alv_grid,
          ls_variant TYPE disvariant,
          lv_select TYPE string,
          lr_struct TYPE REF TO cl_abap_structdescr,
          lt_tab    TYPE ddfields.
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE text-123.
    PARAMETERS:
                p_number  TYPE  i,
                p_fname   TYPE string,
                p_varian TYPE c AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK sel1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
      CALL METHOD lr_struct->get_ddic_field_list
        EXPORTING
          p_langu                  = SY-LANGU
          p_including_substructres = ABAP_FALSE
        receiving
          p_field_list             = lt_tab
        EXCEPTIONS
          not_found                = 1
          no_ddic_type             = 2
          others                   = 3
    If u run my program and press F4 I get the following error:
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL       
    Short text                                             
        Access via 'NULL' object reference not possible. 
    This is where it goes wrong:  CALL METHOD lr_struct->get_ddic_field_list
    What do i need to do with lr_struct before the method call?
    Edited by: Kevv00 on Sep 20, 2011 4:11 PM

    lr_struct ?= CL_ABAP_STRUCTDESCR=>describe_by_name( p_name = 'crmd_orderadm_h' ).
    thanks, but I'm still missing something because it doesn't do anything now.. when I click it twice I get this in the status bar: 'Function code cannot be selected'
    Could you also explain the method DESCRIBE_BY_NAME please? I tried the description but I don't understand what it actually does.
    Maybe I misplaced the at selection screen code? This is my whole program:
    DATA:
          lt_order  TYPE TABLE OF crmd_orderadm_h,
          g_container TYPE scrfname VALUE 'G_CONTAINER',
          g_filter  TYPE string,
          g_custom_container TYPE REF TO cl_gui_custom_container,
          g_grid TYPE REF TO cl_gui_alv_grid,
          ls_variant TYPE disvariant,
          lv_select TYPE string,
          lr_struct TYPE REF TO cl_abap_structdescr,
          lt_tab    TYPE ddfields.
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE text-123.
    PARAMETERS:
                p_number  TYPE  i,
                p_fname   TYPE string,
                p_varian TYPE c AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK sel1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
      lr_struct ?= CL_ABAP_STRUCTDESCR=>describe_by_name( p_name = 'crmd_orderadm_h' ).
      CALL METHOD lr_struct->get_ddic_field_list
        EXPORTING
          p_langu                  = SY-LANGU
          p_including_substructres = ABAP_FALSE
        receiving
          p_field_list             = lt_tab
        EXCEPTIONS
          not_found                = 1
          no_ddic_type             = 2
          others                   = 3
      FORM subr_select.
      CONCATENATE '%' g_filter '%' INTO lv_select.
      SELECT (p_fname)
      FROM crmd_orderadm_h
      INTO CORRESPONDING FIELDS OF TABLE lt_order
      UP TO p_number ROWS
      WHERE description LIKE lv_select.
    ENDFORM.                    "subr_select
    START-OF-SELECTION.
      PERFORM subr_select.
      IF p_varian = 'X'.
        ls_variant-variant = '/ZSTD8'.
      ENDIF.
      IF g_grid IS INITIAL.
        CREATE OBJECT g_custom_container
          EXPORTING
            container_name = g_container.
        CREATE OBJECT g_grid
          EXPORTING
            i_parent = g_custom_container.
        ls_variant-report = sy-cprog.
        CALL METHOD g_grid->set_table_for_first_display
          EXPORTING
            i_structure_name              = 'CRMD_ORDERADM_H'
            is_variant                    = ls_variant
            i_save                        = 'A'
          CHANGING
            it_outtab                     = lt_order
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error                 = 2
            too_many_lines                = 3
            OTHERS                        = 4.
      ELSE.
        CALL METHOD g_grid->refresh_table_display
    *     EXPORTING
    *       is_stable      =
    *       i_soft_refresh =
          EXCEPTIONS
            finished       = 1
            OTHERS         = 2
      ENDIF.
      CALL SCREEN 100.
      INCLUDE zst08_alv_ex1_status_0100o02.
      INCLUDE zst08_alv_ex1_user_command_i01.

  • Cl_abap_structdescr= create causes CX_SY_STRUCT_COMP_Ndump for invalid char

    Hello experts,
    when generating a copy of a system generated ITAB with RTTI/C I get a CX_SY_STRUCT_COMP_NAME  dump for invalid character.
    The error is caused at statement:
    go_sdescr_new  = cl_abap_structdescr=>create( gt_components ).
    Dump excerpt:
    The reason for the exception is:
    Component Name '0FISCVARNT' of the Component 1 Contains an Invalid Character
       70        if comp-name+off(1) cn 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_' or
       71           comp-name+off(*) cn 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789'.
       72 *        illegal character in component name
             raise exception type CX_SY_STRUCT_COMP_NAME
    Within SAP BI-IP ABAP-Exit function I am trying to create a copy of the system generate ITAB1 in which the data is delivered to me by the system. I want to add a few columns to this copy, perform calculations and write the data back to the result table ITAB2
    The first component (out of 80) of the table ITAB1 is the SAP standard infoobject 0FISCVARNT ...
    Excerpt (line 1) gt_components:
    1     0FISCVARNT     ->
    Since 0FISCVARNT contains a 0 as first character I cannot use this name in my copy of ITAB1.
    I desperately need a work around!
    I apprecate any suggestions
    Greetings,
    Martin

    Did try you passing
    P_STRICT = space
    to the method CREATE ?

  • Cl_abap_structdescr= create  is missing in ECC 4.7

    Hi,
          We have ECC 4.7 developement system in our landscape.  Programmers are want to use the method cl_abap_structdescr=>create . But this method is not existing in this version. 
    Do we have any sap oss note to get this method in 4.7.
    Thanks
    Srikanth

    Hello Srikanth,
    CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE( ) uses the GENERATE SUBROUTINE POOL technique to create the dynamic internal tables.
    And as per the SAP documentation,
    In an internal mode, a maximum of 36 temporary subroutine pools may be created.
    Source: [http://help.sap.com/abapdocu_702/en/abapgenerate_subroutine_pool.htm]
    Btw why are you crating 36 dynamic internal table? That's way too far-fetched even for the RTTC classes
    BR,
    Suhas

  • Runtime error in abap report

    error analysis as in ST22 TRANSACTION:
    AN EXCEPTION OCCURED THE EXCEPTION ASSIGNED TO CLASS CX_SY_CONVERSION_NO_NUMBER WAS NOT CAUGHT WHICH LED TO AN ERROR. THE REASON FOR THIS EXCEPTION IS :
    THE PROGRAM TRIED TO INTERPRET VALUE ':4' AS NUMBER SINCE THE VALUE CONTRAVENES THE CORRECT NUMBER FORMAT THIS WAS NOT POSSIBLE.
    ATTACHED IS MY PROGRAM
    REPORT ZVXR0303
          LINE-COUNT 60(3)
          LINE-SIZE 132
           MESSAGE-ID VN.
    Tables: VBEP, VBAP, NAST.
    DATA: BEGIN OF HEADER,
          ORDER(15) VALUE  'ORDER',
           LINE(5)  VALUE  'LINE',
      MATERIAL(14)  VALUE  'MATERIAL',
           DUE(15)  VALUE  'DUE (MAD)',
       CREATED(10)  VALUE  'CREATED',
           QTY(10)  VALUE  'QUANTITY',
            KEY(5)  VALUE  'KEY',
           TYPE(5)  VALUE  'TYPE',
           END OF HEADER.
    DATA: Begin of IDAT OCCURS 0,
      VBELN         LIKE VBAP-VBELN,
      POSNR         LIKE VBAP-POSNR,
      werks         LIKE VBAP-WERKS,
      cuobj         LIKE vbap-CUOBJ,
      MBDAT         LIKE vbep-mbdat,
      ERDAT         LIKE VBAP-ERDAT,
      MATNR         LIKE VBAP-MATNR,
      KWMENG        LIKE VBAP-KWMENG,
      QTY           TYPE I,
      END of IDAT.
    class cl_abap_char_utilities definition load.
    constants: tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    DATA: t_record(1000) TYPE C.
    DATA: C_KWMENG(20)   TYPE C.
    data: OUTFILE(50) value '/usr/users/ftpsapfi/locks_540318'.
    DATA: BEGIN OF TKOMCON OCCURS 50.
            INCLUDE STRUCTURE CONF_OUT.
    DATA: END   OF TKOMCON.
    DATA: iKEY         TYPE I,
          offset       TYPE I,
          KeyTypeLOC   TYPE I,
          KeyNumberLOC TYPE I,
          type(15)     TYPE C.
        select-options: sVBELN FOR VBEP-VBELN obligatory,
                        sMAD FOR VBEP-MBDAT obligatory,
                        sERDAT FOR VBAP-ERDAT,
                        sMATNR FOR VBAP-MATNR,
                        sWERKS FOR VBAP-WERKS,
                        sKWMENG FOR VBAP-KWMENG.
    SELECT
      vbap~vbeln
      vbap~POSNR
      vbap~werks
      vbap~cuobj
      VBEP~MBDAT
      VBAP~ERDAT
      VBAP~MATNR
      VBAP~KWMENG
    INTO CORRESPONDING FIELDS of IDAT
    FROM ( VBEP INNER JOIN VBAP ON vbepvbeln = vbapvbeln
    AND vbepposnr = vbapposnr )
    WHERE BMENG > 0
    AND vbep~MBDAT IN sMAD
    AND VBEP~VBELN in sVBELN
    AND VBAP~werks IN sWERKS
    AND VBAP~ERDAT IN sERDAT
    AND VBAP~MATNR IN sMATNR
    AND VBAP~KWMENG IN sKWMENG
    AND VBAP~ABGRU = SPACE.
      APPEND IDAT.
    ENDSELECT.
    PERFORM TOP-OF-PAGE.
    if sy-batch = 'x'.
    OPEN DATASET OUTFILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    TRANSFER t_record  TO OUTFILE.
    endif.
    IF SY-SUBRC = 0.
      LOOP at IDAT.
       write IDAT-KWMENG DECIMALS 0 TO C_KWMENG.
        REFRESH TKOMCON.
        CALL FUNCTION 'VC_I_GET_CONFIGURATION'
             EXPORTING
                  INSTANCE      = idat-cuobj
                  LANGUAGE      = NAST-SPRAS
             TABLES
                  CONFIGURATION = TKOMCON
             EXCEPTIONS
                  OTHERS        = 4.
        LOOP AT TKOMCON
          WHERE ATNAM = 'S_SK_SPEC_KEY' OR ATNAM = 'S_MK_SPEC_KEY'
          OR ATNAM = 'S_SK_CONSC_KEY' OR ATNAM = 'S_MK_CONSC_KEY'.
          IF TKOMCON-ATNAM = 'S_SK_CONSC_KEY'
          OR TKOMCON-ATNAM = 'S_MK_CONSC_KEY'.
            KeyTYPELOC = 0.
            keynumberloc = 2.
            TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.
            IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.
              iKey = TKOMCON-ATWRT+KeyNumberLOC(4).
              IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )
              OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).
                PERFORM OUT-OF-RANGE-FOUND.
              ENDIF.
            ENDIF.
          Else.
            Offset = 0.
            DO.
              IF offset <= 9.
                offset = offset + 1.
                If TKOMCON-ATWRT+Offset(1) = ':'.
                  KeyTypeLOC = Offset + 1.
                  KeyNumberLOC = Offset + 3.
                  EXIT.
                ENDIF.
              ELSE.
                EXIT.
              ENDIF.
            ENDDO.
            TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.
            IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.
              iKey = TKOMCON-ATWRT+KeyNumberLOC(4).
              IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )
              OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).
                IDAT-KWMENG = TKOMCON-ATWRT(3).
                PERFORM OUT-OF-RANGE-FOUND.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    ENDIF.
    CLOSE DATASET OUTFILE.
          FORM OUT-OF-RANGE-FOUND                                       *
    FORM OUT-OF-RANGE-FOUND.
      WRITE: / IDAT-VBELN.
      WRITE: 10 IDAT-POSNR.
      WRITE: 20 IDAT-MATNR.
      WRITE: 35 IDAT-MBDAT.
      WRITE: 50 IDAT-ERDAT.
      WRITE: 65(3) IDAT-KWMENG DECIMALS 0.
      WRITE: 75 TKOMCON-ATWRT+KeyTypeLOC(6).
      IF TKOMCON-ATNAM = 'S_SK_CONSC_KEY'
         OR TKOMCON-ATNAM = 'S_MK_CONSC_KEY'.
        WRITE: 85 'Consecutive'.
      ELSE.
        WRITE: 85 'Specific'.
      ENDIF.
      IF TKOMCON-ATNAM = 'S_SK_CONSC_KEY'
         OR TKOMCON-ATNAM = 'S_MK_CONSC_KEY'.
        TYPE = 'Consecutive'.
      ELSE.
        TYPE = 'Specific'.
      ENDIF.
    * PREPARING A RECORD TO BE SENT TO FILE
      CONCATENATE
      IDAT-VBELN
      IDAT-POSNR
      IDAT-MATNR
      IDAT-MBDAT
      IDAT-ERDAT
      C_KWMENG
      TKOMCON-ATWRT+KeyTypeLOC(6)
      TYPE
      INTO t_record SEPARATED BY tab.
      if sy-batch = 'x'.
      TRANSFER t_record  TO OUTFILE.
      endif.
    ENDFORM.
          FORM TOP-OF-PAGE                                              *
    FORM TOP-OF-PAGE.
      WRITE: / 'ORDER'.
      WRITE: 10 'LINE'.
      WRITE: 20 'MATERIAL'.
      WRITE: 35 'DUE (MAD)'.
      WRITE: 50 'CREATED'.
      WRITE: 65 'QTY'.
      WRITE: 75 'KEY'.
      WRITE: 85 'TYPE'.
    PREPARING A RECORD TO BE SENT TO FILE
      CONCATENATE
      header-ORDER
      header-LINE
      header-MATERIAL
      header-DUE
      header-CREATED
      header-QTY
      header-KEY
      header-TYPE
      INTO t_record SEPARATED BY tab.
    ENDFORM.
    THIS IS WORKING FINE WITH DIFFERENT RANGES BUT WHEN I USE RANGE
    Sales Order 1250000 TO 2250000
    MAD 01/18/2005 TO 03/02/2005
    Material LOCK9250FR TO LOCK9250XF
    PLANT 4500
    IT GIVES THE RUNTIME ERROR I MENTIONED ABOVE
    ANY HELP WOULD BE GREATLY APPRECIATED
    THANKS.

    HI ROB YOUR REPLY LOOKS TO BE VERY CLOSE OTHER GUYS SAID IT MIGHT BE PROBLEM WITH VARIABLE C_KWMENG BUT I REMOVED THAT PIECE OF CODE WITH C_KWMENG BUT STILL I WAS GETTING THE ERROR ATTACHED IS THE COMPLETE ERROR DETAILS FROM ST22
    Runtime Errors         CONVT_NO_NUMBER              
    Exception              CX_SY_CONVERSION_NO_NUMBER
           Occurred on     09/29/2005 at 14:33:21
    Unable to interpret "04:" as a number.                                        
    What happened?
    Error in ABAP application program.                                                                               
    The current ABAP program "ZVXR0303" had to be terminated because one of the              
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                    
    What can you do?
    Print out the error message (using the "Print" function)                                 
    and make a note of the actions and input that caused the                                 
    error.                                                                               
    To resolve the problem, contact your SAP system administrator.                           
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer                 
    termination messages, especially those beyond their normal deletion                     
    date.                                                                               
    Error analysis
    An exception occurred. This exception will be dealt with in more detail                  
    below. The exception, assigned to the class 'CX_SY_CONVERSION_NO_NUMBER', was            
    not caught, which                                                                       
    led to a runtime error. The reason for this exception is:                               
    The program attempted to interpret the value "04:" as a number, but                      
    since the value contravenes the rules for correct number formats,                        
    this was not possible.                                                                               
    How to correct the error
    Integers are represented in ABAP using a sequence of digits and, in some                 
    cases, a preceding sign.                                                                
    The system offers the following options for displaying floating point                    
    numbers:                                                                               
    [mantissa]E[sign][exponent]                                                      
      [whole number part].[fractional part]                                            
    e.g. -12E+34, +12E-34, 12E34, 12.34                                                                               
    If the error occurred in one of your own programs or in an SAP program                   
    that you modified, try to correct it yourself.                                                                               
    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:                                                                               
    "CONVT_NO_NUMBER" CX_SY_CONVERSION_NO_NUMBERC                                            
    "ZVXR0303" or "ZVXR0303"                                                                 
    "START-OF-SELECTION"                                                                     
    If you cannot solve the problem yourself, please send the                                
    following documents to SAP:                                                                               
    1. A hard copy print describing the problem.                                             
       To obtain this, select the "Print" function on the current screen.                    
                                                                                    2. A suitable hardcopy prinout of the system log.                                        
       To obtain this, call the system log with Transaction SM21                             
       and select the "Print" function to print out the relevant                             
       part.                                                                               
    3. If the programs are your own programs or modified SAP programs,                       
       supply the source code.                                                               
       To do this, you can either use the "PRINT" command in the editor or                   
       print the programs using the report RSINCL00.                                                                               
    4. Details regarding the conditions under which the error occurred                       
       or which actions and input led to the error.                                          
    System environment
    SAP Release.............. "620"                                                                               
    Application server....... "grrsap54"                                                     
    Network address.......... "10.80.96.102"                                                 
    Operating system......... "HP-UX"                                                        
    Release.................. "B.11.11"                                                      
    Hardware type............ "9000/800"                                                     
    Character length......... 8 Bits                                                         
    Pointer length........... 64 Bits                                                        
    Work process number...... 3                                                              
    Short dump setting....... "full"                                                                               
    Database server.......... "grrsap54"                                                     
    Database type............ "ORACLE"                                                       
    Database name............ "D01"                                                          
    Database owner........... "SAPR3"                                                                               
    Character set............ "en_US.iso88591"                                                                               
    SAP kernel............... "640"                                                          
    Created on............... "Aug 28 2005 20:25:49"                                         
    Created in............... "HP-UX B.11.00 A 9000/800"                                     
    Database version......... "OCI_920 "                                                                               
    Patch level.............. "88"                                                           
    Patch text............... " "                                                                               
    Supported environment....                                                                
    Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE                    
    10.1.0.."                                                                             
    SAP database version..... "640"                                                          
    Operating system......... "HP-UX B.11"                                                   
    User, transaction...
    Client.............. 050                                                                 
    User................ "NSHAKER"                                                           
    Language key........ "E"                                                                 
    Transaction......... "SE38 "                                                             
    Program............. "ZVXR0303"                                                          
    Screen.............. "SAPMSSY0 1000"                                                     
    Screen line......... 6                                                                   
    Information on where terminated
    The termination occurred in the ABAP program "ZVXR0303" in                               
    "START-OF-SELECTION".                                                                   
    The main program was "ZVXR0303 ".                                                                               
    The termination occurred in line 156 of the source code of the (Include)                 
    program "ZVXR0303"                                                                      
    of the source code of program "ZVXR0303" (when calling the editor 1560).                 
    Source code extract
    Caution: Program has changed            
    Caution: At time of termination,  Active source code no longer available
    001260 ?         TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.            
    001270 ?         IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.             
    001280 ?           iKey = TKOMCON-ATWRT+KeyNumberLOC(4).                        
    001290 ?                                                                        
    001300 ?           IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )    
    001310 ?           OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).  
    001320 ?             PERFORM OUT-OF-RANGE-FOUND.                                
    001330 ?           ENDIF.                                                       
    001340 ?         ENDIF.                                                         
    001350 ?       Else.                                                            
    001360 ?         Offset = 0.                                                    
    001370 ?         DO.                                                            
    001380 ?           IF offset <= 9.                                              
    001390 ?             offset = offset + 1.                                       
    001400 ?             If TKOMCON-ATWRT+Offset(1) = ':'.                          
    001410 ?               KeyTypeLOC = Offset + 1.                                 
    001420 ?               KeyNumberLOC = Offset + 3.                               
    001430 ?               EXIT.                                                    
    001440 ?             ENDIF.                                                     
    001450 ?           ELSE.                                                        
    001460 ?             EXIT.                                                      
    001470 ?           ENDIF.                                                       
    001480 ?         ENDDO.                                                         
    001490 ?                                                                        
    001500 ?         TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.            
    001510 ?                                                                        
    001520 ?         IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.             
    001530 ?           iKey = TKOMCON-ATWRT+KeyNumberLOC(4).                        
    001540 ?           IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )    
    001550 ?           OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).  
    ?             IDAT-KWMENG = TKOMCON-ATWRT(3).                            
    001570 ?             PERFORM OUT-OF-RANGE-FOUND.                                
    001580 ?           ENDIF.                                                       
    001590 ?         ENDIF.                                                         
    001600 ?       ENDIF.                                                           
    001610 ?     ENDLOOP.                                                           
    001620 ?   ENDLOOP.                                                             
    001630 ? ENDIF.                                                                 
    001640 ? CLOSE DATASET OUTFILE.                                                 
    001650 ?                                                                        
    001660 ? *----
    001670 ? *       FORM OUT-OF-RANGE-FOUND                                       *
    001680 ? *----
    001690 ? *       ........                                                      *
    001700 ? *----
    001710 ? FORM OUT-OF-RANGE-FOUND.                                               
    001720 ?                                                                        
    001730 ?   WRITE: / IDAT-VBELN.                                                 
    001740 ?   WRITE: 10 IDAT-POSNR.                                                
    001750 ?   WRITE: 20 IDAT-MATNR.                                                
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 0                             SY-INDEX 44                           
    SY-TABIX 7                             SY-DBCNT 1                            
    SY-FDPOS 4                             SY-LSIND 0                            
    SY-PAGNO 2                             SY-LINNO 18                           
    SY-COLNO 94                            SY-PFKEY                              
    SY-UCOMM                               SY-TITLE Out of Range Keys            
    SY-MSGTY I                             SY-MSGID SF                           
    SY-MSGNO 616                           SY-MSGV1                              
    SY-MSGV2                               SY-MSGV3                              
    SY-MSGV4                              
    Active calls / events
    No.... Type........ Name..........................
           Program                                
           Include                                  Line    
           Class                                  
         1 EVENT        START-OF-SELECTION                                          
           ZVXR0303                               
           ZVXR0303                                   156
    Chosen variables
         1 EVENT        START-OF-SELECTION                                          
           ZVXR0303                               
           ZVXR0303                                   156
    %_SPACE                                                                               
    2                                      
                                   0                                      
    SY-REPID                       ZVXR0303                               
                                   5555333322222222222222222222222222222222
                                   A682030300000000000000000000000000000000
    TKOMCON-ATWRT                  04:XF1260                              
                                   333543333222222222222222222222         
                                   04A861260000000000000000000000         
    KEYNUMBERLOC                   5                                      
                                   0000                                   
                                   0005                                   
    SYST-REPID                     ZVXR0303                               
                                   5555333322222222222222222222222222222222
                                   A682030300000000000000000000000000000000
    SY-LDBPG                       SAPDB__S                               
                                   5454455522222222222222222222222222222222
                                   31042FF300000000000000000000000000000000
    IKEY                           1260                                   
                                   000E                                   
                                   004C                                   
    KEYTYPELOC                     3                                      
                                   0000                                   
                                   0003                                   
    SY                             ###,####################################
                                   0002000000000001000000000000000000000000
                                   000C00020007000E00000001000A000000000000
    ... +  40                      ###########^###<########################
                                   0000000000050003000100080000000000000009
                                   00010004000E000C000200040000000000000000
    ... +  80                      ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000000A00000000000000000000
    ... + 120                      #######################################_
                                   0000000000000000000000000000000000010005
                                   00000000000000000000000000000000000A000F
    ... + 160                      ############ÿÿ¹°XC#############   E2  X1
                                   000000000000FFBB540000000000000222432253
                                   0000000A0000FF90830040000C0000C000520081
    ... + 200                      000         ####__S                 050
                                   3332222222220000555222222222222222223332
                                   0000000000000000FF3000000000000000000500
    ... + 240                           00                                
                                   222223322222222                        
                                   000000000000000                        
    SVBELN                         IBT00012500000002250000                
                                   44533333333333333333333                
                                   92400012500000002250000                
    IDAT-KWMENG                    ########                               
                                   00000000                               
                                   0000000C                               
    TKOMCON-ATWRT+0(3)             04:                                    
                                   333                                    
                                   04A                                    
    SYST                           ###,####################################
                                   0002000000000001000000000000000000000000
                                   000C00020007000E00000001000A000000000000
    ... +  40                      ###########^###<########################
                                   0000000000050003000100080000000000000009
                                   00010004000E000C000200040000000000000000
    ... +  80                      ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000000A00000000000000000000
    ... + 120                      #######################################_
                                   0000000000000000000000000000000000010005
                                   00000000000000000000000000000000000A000F
    ... + 160                      ############ÿÿ¹°XC#############   E2  X1
                                   000000000000FFBB540000000000000222432253
                                   0000000A0000FF90830040000C0000C000520081
    ... + 200                      000         ####__S                 050
                                   3332222222220000555222222222222222223332
                                   0000000000000000FF3000000000000000000500
    ... + 240                           00                                
                                   222223322222222                        
                                   000000000000000                        
    OUTFILE                        /usr/users/ftpsapfi/locks_540318       
                                   2777277677267776766266667533333322222222
                                   F532F53523F64031069FCF3B3F54031800000000
    ... +  40                                                                               
    2222222222                             
                                   0000000000                             
    Application Calls
    No dump information available                    
    Application Information
    No dump information available                    
    Internal notes
    The termination occurred in the function "ab_Move" of the SAP                            
    Basis System, specifically in line 529 of the module                                     
    "//bas/640_REL/src/krn/runt/abmove1.c#6".                                               
    The internal operation just processed is "MOVE".                                         
    The internal session was started at 20050929142552.                                      
    Active calls in SAP kernel
    ( 0)  0x4000000001751924   CTrcStack2 + 0x2bc  dw.sapD01_DVEBMGS00                    
    ( 1)  0x4000000001751658   CTrcStack + 0x18  dw.sapD01_DVEBMGS00                      
    ( 2)  0x4000000001db7478   rabax_CStackSave__Fv + 0x100  dw.sapD01_DVEBMGS00          
    ( 3)  0x4000000001dc3abc   ab_rabax + 0x1e1c  dw.sapD01_DVEBMGS00                     
    ( 4)  0x4000000001b44cb4   ab_cnverr__FiPcPCvN21T2 + 0x18c  dw.sapD01_DVEBMGS00       
    ( 5)  0x40000000016c96f8   ab_Move + 0x1910  dw.sapD01_DVEBMGS00                      
    ( 6)  0x40000000016d4434   ab_jmove__Fv + 0x384  dw.sapD01_DVEBMGS00                  
    ( 7)  0x4000000001022348   ab_extri__Fv + 0x17a0  dw.sapD01_DVEBMGS00                 
    ( 8)  0x4000000001726dc8   ab_xevent__FPCc + 0x38  dw.sapD01_DVEBMGS00                
    ( 9)  0x40000000019f7efc   ab_trigg__Fv + 0x94  dw.sapD01_DVEBMGS00                   
    (10)  0x40000000019dc9ec   ab_run + 0xc4  dw.sapD01_DVEBMGS00                         
    (11)  0x4000000000f65e0c   N_ab_run + 0x14  dw.sapD01_DVEBMGS00                       
    (12)  0x4000000000f5fa88   dynpmcal + 0x198  dw.sapD01_DVEBMGS00                      
    (13)  0x4000000000f5d500   dynppai0 + 0x830  dw.sapD01_DVEBMGS00                      
    (14)  0x4000000000f5b8b4   dynprctl + 0x43c  dw.sapD01_DVEBMGS00                      
    (15)  0x4000000000f56728   dynpen00 + 0x2118  dw.sapD01_DVEBMGS00                     
    (16)  0x400000000102f1b4   Thdynpen00 + 0x69c  dw.sapD01_DVEBMGS00                    
    (17)  0x400000000102e1e4   TskhLoop + 0x523c  dw.sapD01_DVEBMGS00                     
    (18)  0x4000000001022f50   tskhstart + 0x1e0  dw.sapD01_DVEBMGS00                     
    (19)  0x4000000000dce3c4   DpMain + 0x484  dw.sapD01_DVEBMGS00                        
    (20)  0x40000000022784cc   nlsui_main + 0x14  dw.sapD01_DVEBMGS00                     
    (21)  0x4000000000a39534   main + 0x14  dw.sapD01_DVEBMGS00                           
    (22)  0xc00000000000a588   $START$ + 0xa0  /usr/lib/pa20_64/dld.sl                    
    List of ABAP programs affected
    Type  Program                            Gen. Date  Time       Load Size 
    Prg   ZVXR0303                           09/29/2005 14:25:42       39936 
    Prg   SAPMSSY0                           05/01/2005 00:21:19       66560 
    Prg   SAPMSSYD                           06/05/2002 17:09:33       16384 
    Prg   SAPFSYSCALLS                       02/14/2002 14:22:47        6144 
    Prg   RSDBRUNT                           06/13/2004 00:43:20      226304 
    Typ   RSSCR                                /  /       : m:15        5120 
    Prg   RSDBSPBL                           01/07/2003 18:47:02       59392 
    Prg   SAPDB__S                           02/14/2002 14:22:47       15360 
    Typ   VARID                              05/12/1997 16:51:30        4096 
    Prg   %_CSYDB0                           02/14/2002 14:22:46       28672 
    Prg   RSDBSPVA                           09/06/2005 22:54:22      112640 
    Prg   SAPLSVAR                           09/06/2005 22:57:28      625664 
    Typ   VARIS                              05/12/1997 15:27:21        2048 
    Typ   RSVAMEMKEY                         05/07/1997 13:07:49        2048 
    Prg   RSDBSPMC                           06/05/2002 17:09:26       66560 
    Typ   DDSHDESCR                          09/03/1997 03:05:16        3072 
    Typ   SPPARAMS                           05/07/1997 13:10:38        2048 
    Typ   SPPARAMS                           05/07/1997 13:10:38        2048 
    Typ   RSSELINT                           04/04/1995 16:12:37        2048 
    Prg   SAPLICON                           03/12/2004 06:57:52       23552 
    Prg   %_CICON                            02/14/2002 14:22:46       65536 
    Prg   SAPLSABE                           02/14/2002 14:22:47       11264 
    Prg   SAPLSECU                           05/23/2005 14:04:05       64512 
    Typ   RSSUBINFO                          10/14/1999 22:01:03        3072 
    Prg   %_CRSDS                            02/14/2002 14:22:46        8192 
    Typ   RSDSEXPR                           08/20/1998 10:57:18        2048 
    Prg   SAPLDSYA                           02/14/2002 14:22:47       39936 
    Prg   SAPFSDS1                           01/07/2003 18:32:17       47104 
    Typ   TDCLD                              11/02/1998 09:51:35        5120 
    Prg   SAPLSDOD                           04/30/2005 22:53:50       39936 
    Typ   DOKIL                              05/12/1997 16:46:17        3072 
    Prg   SAPCNVE                            02/14/2002 14:22:47        6144 
    Prg   SAPLLANG                           02/14/2002 14:22:47        8192 
    Typ   T002                               02/14/1998 10:24:58        2048 
    Typ   RSEXFCODE                          08/13/1997 12:52:57        1024 
    Prg   SAPFSPOR                           03/13/2004 19:20:44       12288 
    Prg   SAPLOMCV                           05/01/2005 00:14:10       16384 
    Prg   CL_EXITHANDLER================CP   06/13/2004 00:40:58       26624 
    Prg   SAPLSEXV                           09/06/2005 22:55:26      107520 
    Prg   CL_BADI_FLT_DATA_TRANS_AND_DB=CP   05/01/2005 00:21:35       33792 
    Typ   SXS_ATTR                           08/20/2001 12:23:27        4096 
    Typ   V_EXT_ACT                          11/09/2000 14:27:05        2048 
    Typ   SXC_EXIT                           11/09/2000 14:23:43        2048 
    Prg   CL_EX_BADI_MATN1==============CP   05/01/2005 00:14:04       22528 
    Prg   IF_EX_BADI_MATN1==============IP   06/13/2004 00:48:55        4096 
    Typ   TMCNV                              02/24/1999 03:33:25        3072 
    Prg   SAPLSCNT                           02/14/2002 14:22:47       24576 
    Typ   DYCBOX                             08/20/1998 11:16:53        2048 
    Prg   SAPLSVSM                           01/07/2003 18:35:45       22528 
    Prg   SAPLSGUI                           01/09/2003 17:15:12       31744 
    Prg   SAPLSTTM                           05/01/2005 00:24:04       75776 
    Prg   SAPLSBDC                           05/23/2005 14:05:19       38912 
    Prg   CL_DATAPROVIDER===============CP   02/14/2002 14:22:46       40960 
    Prg   %_CCNTL                            02/14/2002 14:22:46       13312 
    Typ   OBJ_RECORD                         02/14/1998 08:30:43        2048 
    Prg   SAPLSTUP                           05/23/2005 14:03:46       65536 
    Prg   SAPLCNDP                           05/23/2005 14:05:47      167936 
    Prg   SAPFGUICNTL                        01/09/2003 17:18:52       20480 
    Prg   SAPLOLEA                           05/23/2005 14:03:56       79872 
    Prg   SAPLSFES                           09/06/2005 22:53:55      191488 
    Prg   SAPLSPLUGIN                        02/14/2002 14:22:48        6144 
    Typ   ARFCRDATA                          11/09/2000 14:04:16        6144 
    Prg   SAPLGRFC                           02/14/2002 14:22:47       13312 
    Typ   SWCBCONT                           11/15/2000 17:55:11        3072 
    Typ   OLE_VERBS                          04/04/1995 16:02:20        2048 
    Typ   OLE_PA                             04/04/1995 16:02:19        2048 
    Prg   SAPSHDTV                           03/12/2004 06:40:27       28672 
    Typ   SSCRTEXTS                          09/03/1997 03:12:33        3072 
    Typ   SSCRFIELDS                         05/13/1997 12:54:26        4096 
    Prg   CL_GUI_PROPS_CONSUMER=========CP   01/07/2003 18:26:56       26624 
    Prg   SAPLTHFB                           09/06/2005 22:52:48      306176 
    Prg   CL_DYNAMIC_GUI_EXTENSIONS=====CP   02/14/2002 14:22:46       33792 
    Prg   CL_GUI_DATAMANAGER============CP   05/01/2005 00:20:36       70656 
    Prg   CL_ABAP_CHAR_UTILITIES========CP   05/01/2005 00:14:49       11264 
    Prg   RSDBSPVD                           05/01/2005 00:15:44       73728 
    Typ   RVARI                              03/30/1998 09:40:50        4096 
    Typ   RSVARIVDAT                         04/04/1995 16:12:54        2048 
    Typ   VBEP                               01/27/2003 16:50:17       10240 
    Typ   VBAP                               09/15/2005 11:15:36       44032 
    Prg   SAPLCEI0                           09/22/2005 14:34:40      936960 
    Typ   API_VALUE                          02/20/1998 08:46:47        2048 
    Prg   SAPLCUEV                           06/07/2001 18:26:56       10240 
    Prg   SAPLSUNI                           06/13/2004 00:42:30      131072 
    Typ   TFDIR                              07/29/1998 19:49:08        3072 
    Prg   %_CIBCO2                           03/13/2004 14:32:13       12288 
    Typ   IBINCOM                            06/01/1999 11:56:27        3072 
    Typ   IBINCONF                           06/01/1999 11:56:27        2048 
    Typ   IBSTCONF                           06/01/1999 11:56:28        1024 
    Prg   SAPLCUCB                           05/23/2005 15:20:17      192512 
    Typ   TCUIBSPECIAL                       06/07/2001 17:50:37        1024 
    Prg   %_CIBXX                            03/13/2004 14:38:45       49152 
    Typ   BAL_S_MSG                          12/04/2000 13:04:01        6144 
    Prg   CX_CBASE_ERROR================CP   01/27/2003 16:58:10       10240 
    Typ   SCX_SRCPOS                         11/09/2000 14:12:15        2048 
    Typ   BAL_S_CONT                         11/02/1998 09:43:07        2048 
    Typ   BAL_S_PARM                         12/04/2000 12:45:14        3072 
    Typ   BAL_S_CLBK                         11/02/1998 09:43:07        2048 
    Prg   CX_STATIC_CHECK===============CP   02/14/2002 14:22:47        8192 
    Prg   CX_ROOT=======================CP   02/14/2002 14:22:47        9216 
    Prg   CL_CBASE======================CP   05/23/2005 15:19:44       87040 
    Typ   T371G                              04/29/1998 10:42:48        2048 
    Prg   SAPLIBCO                           03/13/2004 15:32:40      269312 
    Prg   %_CIBCO                            03/13/2004 14:38:45       11264 
    Prg   SAPLIBXX                           03/13/2004 14:38:46       11264 
    Prg   SAPLIBIBF                          03/13/2004 14:38:46      179200 
    Prg   %_CIBIB                            03/13/2004 14:38:45       18432 
    Prg   SAPLIBINF                          06/12/2004 22:20:22      415744 
    Prg   %_CIBIN                            03/13/2004 15:32:40       48128 
    Prg   CL_IBASE_STRUC================CP   06/07/2001 19:59:10      106496 
    Prg   %_CIBST                            03/13/2004 14:38:45       37888 
    Prg   CL_IBASE_STRUC_BUF============CP   06/07/2001 19:59:10       89088 
    Prg   CL_IBASE_STRUC_STAT===========CP   06/07/2001 19:59:10        8192 
    Prg   CL_IBASE_STRUC_BUF_IBSTREF====CP   06/07/2001 19:59:10       35840 
    Prg   %_CIBCO1                           03/13/2004 14:38:45       14336 
    Typ   IBINVAL                            09/18/2001 10:02:52        2048 
    Prg   SAPLIBCU                           03/13/2004 14:38:46       12288 
    Prg   SAPLIBCUT                          06/07/2001 18:27:19       12288 
    Typ   T371B                              05/14/1998 22:58:43        2048 
    Typ   V_IBINR                            03/13/2004 15:32:40        5120 
    Typ   V_IBINR_CM                         03/13/2004 15:32:40        5120 
    Prg   CL_IBASE_SERVICE==============CP   06/07/2001 19:59:10       13312 
    Prg   CL_IBASE_T371D_BUF============CP   06/07/2001 19:59:10       12288 
    Typ   T371D                              08/27/1999 18:19:44        2048 
    Prg   CL_IBASE_R3_MATERIAL==========CP   05/23/2005 15:08:24       59392 
    Typ   MARA                               05/23/2005 15:08:18       22528 
    Typ   MAKT                               08/28/1997 08:52:19        2048 
    Typ   ICON                               01/03/1996 15:34:02        3072 
    Prg   CL_ABAP_TYPEDESCR=============CP   05/01/2005 00:20:10       21504 
    Prg   CL_ABAP_ELEMDESCR=============CP   05/01/2005 00:20:33       20480 
    Prg   CL_ABAP_DATADESCR=============CP   03/12/2004 07:16:33       14336 
    Prg   CL_ABAP_REFDESCR==============CP   03/12/2004 07:17:23       16384 
    Prg   CL_ABAP_STRUCTDESCR===========CP   05/01/2005 00:20:33       20480 
    Prg   CL_ABAP_COMPLEXDESCR==========CP   03/12/2004 07:16:33       13312 
    Prg   CL_ABAP_TABLEDESCR============CP   03/12/2004 07:17:23       17408 
    Prg   CL_ABAP_CLASSDESCR============CP   03/12/2004 07:17:23       23552 
    Prg   CL_ABAP_OBJECTDESCR===========CP   03/12/2004 07:17:23       25600 
    Prg   CL_ABAP_INTFDESCR=============CP   03/12/2004 07:16:33       19456 
    Prg   CL_ABAP_SOFT_REFERENCE========CP   03/29/2001 16:42:12        7168 
    Prg   CL_ABAP_REFERENCE=============CP   02/14/2002 14:22:46        6144 
    Prg   IF_EX_CM_BADI_VERSION=========IP   01/07/2002 16:09:04        3072 
    Prg   %_CABAP                            01/07/2003 18:31:23       23552 
    Typ   SXS_INTER                          11/30/1998 15:55:16        2048 
    Prg   CL_EX_CM_BADI_VERSION=========CP   05/01/2005 00:14:04       13312 
    Prg   %_CSXRT                            06/13/2004 00:40:55       11264 
    Prg   CL_EXIT_MASTER================CP   06/13/2004 00:40:58       13312 
    Typ   V_EXT_IMP                          11/09/2000 14:27:05        2048 
    Typ   V_EXT_IMP                          11/09/2000 14:27:05        2048 
    Typ   SXC_IMPSWH                         11/09/2000 14:23:44        2048 
    Prg   CL_IM_CM_BADI_VERSION_DEF=====CP   04/17/2002 11:01:00        6144 
    Prg   SAPLASTAT_TRIG                     02/14/2002 14:22:47       11264 
    Typ   ASTAT_TYP2                         11/10/1998 05:35:18        2048 
    Prg   IF_CM_BASELINE================IP   05/23/2005 15:08:24        9216 
    Prg   IF_IBASE_IBOF_TREE_OBJECT=====IP   05/23/2005 15:08:24        5120 
    Prg   IF_IBASE_INSTALL==============IP   06/07/2001 20:08:54        4096 
    Prg   IF_IBASE_MATERIAL=============IP   06/07/2001 20:08:54        3072 
    Prg   IF_IBASE_OBJECT===============IP   06/07/2001 20:08:54        4096 
    Prg   SAPLBOMA                           02/14/2002 14:15:40       10240 
    Typ   IONRA                              03/12/2004 02:09:40       23552 
    Typ   IBIBCOM                            08/30/2001 17:56:57        4096 
    Typ   IBIB                               03/13/2004 14:32:13        5120 
    Prg   CL_IBASE_STRUC_SERVICE========CP   06/07/2001 19:59:10       17408 
    Prg   CL_CU_CBASE_ENQUEUE_CORE======CP   06/07/2001 19:58:59       11264 
    Prg   CL_CU_CBASE_ENQUEUE===========CP   06/07/2001 19:58:59       16384 
    Typ   T371F                              06/01/1999 12:00:49        2048 
    Typ   V_IBIN_SYVAL                       03/13/2004 15:32:41        4096 
    Typ   IBIN                               09/18/2001 10:02:52        6144 
    Typ   IBINOWN                            02/01/2000 14:56:07        2048 
    Prg   CL_IBASE_T371F_BUF============CP   06/07/2001 19:59:11        8192 
    Prg   CL_IBASE_STRUC_FILT_02========CP   06/07/2001 19:59:10       11264 
    Prg   CL_IBASE_STRUC_FILT===========CP   06/07/2001 19:59:10       10240 
    Typ   IBST                               09/18/2001 10:02:52        4096 
    Typ   IBST                               09/18/2001 10:02:52        4096 
    Typ   IBSTREF                            04/15/1998 00:20:43        2048 
    Typ   IBSTREF                            04/15/1998 00:20:43        2048 
    Prg   IF_CBASE_E====================IP   06/07/2001 20:08:25        3072 
    Prg   %_CCXTAB                           02/14/2002 14:22:46        6144 
    Prg   SAPLCUCQ                           09/15/2005 11:15:38       79872 
    Typ   CUCO                               09/18/2001 10:02:34       18432 
    Typ   CUCO_OBJ                           09/18/2001 10:02:34       18432 
    Prg   SAPLCLCA                           09/06/2005 23:33:29       68608 
    Typ   TCLA                               03/13/2004 14:10:20        5120 
    Typ   TCLAO                              08/13/1997 13:57:22        4096 
    Prg   SAPLCUOB                           05/23/2005 14:31:35       31744 
    Typ   INOB                               09/03/1997 03:20:02        4096 
    Prg   SAPLCLSE                           05/23/2005 14:32:26      167936 
    Prg   %_CCC01                            05/01/2005 00:34:57       53248 
    Typ   TABLEKEY                           07/06/1998 21:01:06        2048 
    Typ   KSSK                               09/18/2001 10:02:58        3072 
    Prg   SAPLCLEF                  

  • How to Get data into I_ table which is Created dynamically

    Hi Guys ,
    I created one dynamic internal table , now I am want to display same internal table in my ALV? , how can I populate data into this internal table from my internal table based on some condition.
    My Requirement is?
    I have to display like this
    1.This is my heading (field_cat of my ALV in which pack size may varry based on the flavor).
    Plant flavor pack_size1----
    pack_size-n
    2. I have internal table( itab2) with all the pack-sizes and plant details.
    3. how can I pass the these data into (itab1) which going to display in ALV ?
    I can loop at itab2.
    How to pass this data into itab1 relevent fields ?
    Looking for Val. Inputs
    With Best Regards
    Prabhu
    TC-Team SAP
    Pepsi India
    [email protected]

    Hi,
    This is a code snippet.
        DATA: r_dyn_table      TYPE REF TO data,
              r_wa_dyn_table   TYPE REF TO data,
              l_fields_table type SOI_FIELDS_TABLE.
        FIELD-SYMBOLS: <t_dyn_table>    TYPE STANDARD TABLE,
                       <wa_dyn_table>   TYPE ANY,
                       <w_field1>        TYPE ANY,
                       <w_field2>        TYPE ANY.
        DATA: l_oref_structure TYPE REF TO cl_abap_structdescr,
              l_abap_compdescr type abap_compdescr.
        data: check1 type i,
              check2 type i,
              l_range(20).
        r_dyn_table = IL_DYNDATA-r_dyn_table.
        ASSIGN r_dyn_table->* TO <t_dyn_table>.
        CREATE DATA r_wa_dyn_table LIKE LINE OF <t_dyn_table>.
        ASSIGN r_wa_dyn_table->* TO <wa_dyn_table>.
        l_oref_structure ?= cl_abap_typedescr=>describe_by_data(
                             wa_supl ).
        loop at il_fill_itab into wa_supl.
          loop at l_oref_structure->COMPONENTS into l_abap_compdescr.
            ASSIGN COMPONENT l_abap_compdescr-name
                   OF STRUCTURE wa_supl TO <w_field1>.
            check1 = sy-subrc.
            ASSIGN COMPONENT l_abap_compdescr-name
                   OF STRUCTURE <wa_dyn_table> TO <w_field2>.
            check2 = sy-subrc.
            if check1 = 0 and check2 = 0.
              <w_field2> = <w_field1>.
            endif.
          endloop.
          APPEND <wa_dyn_table> TO <t_dyn_table>.
        endloop.
    You can access your dynamic internal table via a field symbol.
    Svetlin

  • Error run time  DYNPRO_FIELD_CONVERSION

    I have a dump:
    Errore run-time        DYNPRO_FIELD_CONVERSION
           Verific. il     28.11.2007 h  02:12:16
    A conversion error occurred.
    Causa dell'errore
    The current screen processing was terminated, since a situation
    occurred from which it could not continue processing.
    This is probably due to an error in the current screen of the ABAP
    program.
    Possibili soluzioni
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Analisi errori
    The program flow was interrupted and could not be resumed.
    Program "SAPMM06B" tried to display fields on screen 0106. However, an
    error occurred while this data was being converted.
    Indic. per la correzione
    A conversion error occurred while the program was trying to
    display data on the screen.
    The ABAP output field and the screen field may not have the
    same format.
    Some field types require more characters on the screen than
    in the ABAP program. For example, a date field on a screen needs
    two characters more than it would in the program. When attempting to
    display the date on the screen, an error will occur that triggers the
    error message.
                  Screen name.............. "SAPMM06B"
                  Screen number............ 0106
                  Screen field............. "EBAN-MENGE"
                  Error text............... "FX015: Sign lost."
    Further data:
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    It is probably not possible to eliminate the system error
    with ABAP alone.
    If you have access to SAPnet, you can search for a relevant note
    using the following keywords:
    "DYNPRO_FIELD_CONVERSION" " "
    "SAPMM06B" bzw. "MM06BO0R_RM06B-EPSTP"
    "RM06B-EPSTP"
    Ambiente sistema
    SAP Release.............. "620"
    Application server....... "assapoa"
    Network address.......... "10.58.19.23"
    Operating system......... "AIX"
    Release.................. "5.2"
    Hardware type............ "00CB585E4C00"
    Character length......... 8 Bits
    Pointer length........... 64 Bits
    Work process number...... 26
    Short dump setting....... "full"
    Database server.......... "ars005sapdb"
    Database type............ "ORACLE"
    Database name............ "PRD"
    Database owner........... "SAPR3"
    Character set............ "it_IT.ISO8859-1"
    SAP kernel............... "640"
    Created on............... "Jul 16 2006 20:40:53"
    Created in............... "AIX 1 5 00538A4A4C00"
    Database version......... "OCI_920 "
    Patch level.............. "139"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
    10.2.0.."
    SAP database version..... "640"
    Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
    Utente, transazione.....
    Client.............. 300
    User................ "CONSULENTI"
    Language key........ "I"
    Transaction......... "ME52 "
    Program............. "SAPMM06B"
    Screen.............. "SAPMM06B 0106"
    Screen line......... 26
    Informazioni punto di interr.
    The termination occurred in the ABAP program "SAPMM06B" in "RM06B-EPSTP".
    The main program was "SAPMM06B ".
    The termination occurred in line 14 of the source code of the (Include)
    program "MM06BO0R_RM06B-EPSTP"
    of the source code of program "MM06BO0R_RM06B-EPSTP" (when calling the editor
    140).
    The program "SAPMM06B" was started as a background job.
    Errore verificatosi durante un'elaborazione Batch-Input
    Dettaglio cd. sorgente
    000010   *eject
    000020   *----
    000030   * Positionstyp aufbereiten                                             *
    000040   *----
    000050   MODULE RM06B-EPSTP OUTPUT.
    000060
    000070   CALL FUNCTION 'ME_ITEM_CATEGORY_OUTPUT'
    000080        EXPORTING
    000090             PSTYP = EBAN-PSTYP
    000100        IMPORTING
    000110             EPSTP = RM06B-EPSTP
    000120             PTEXT = T163Y-PTEXT.
    000130
      ENDMODULE.
    Contenuto campi sistema
    Cmpo SY  Contenuto.................... Cmpo SY  Contenuto....................
    SY-SUBRC 0                             SY-INDEX 0
    SY-TABIX 1                             SY-DBCNT 1
    SY-FDPOS 1                             SY-LSIND 0
    SY-PAGNO 0                             SY-LINNO 1
    SY-COLNO 1                             SY-PFKEY VU
    SY-UCOMM
    SY-TITLE Richiesta d'acquisto mod.: Riepilogo pos.
    SY-MSGTY                               SY-MSGID
    SY-MSGNO 000                           SY-MSGV1
    SY-MSGV2                               SY-MSGV3
    SY-MSGV4
    Richiami/eventi attivi
    N..... Tipo........ Nome..........................
           Programma
           Include                                  Riga
           Classe
         1 MODULE (PBO) RM06B-EPSTP
           SAPMM06B
           MM06BO0R_RM06B-EPSTP                        14
    Variabili selezionate
         1 MODULE (PBO) RM06B-EPSTP
           SAPMM06B
           MM06BO0R_RM06B-EPSTP                        14
    DIEN                           DIEN
                                   4444
                                   495E
    EBAN-PSTYP                     0
                                   3
                                   0
    LIM                            LIM
                                   4442
                                   C9D0
    RM06B-EPSTP
                                   2
                                   0
    POTE                           TXP
                                   5552
                                   4800
    T163Y-PTEXT                    Standard
                                   57666676222222222222
                                   341E4124000000000000
    Chiamate applicazione
    Il dump non riporta informazioni relative
    Informazioni applicazione
    Il dump non riporta informazioni relative
    Note interne
    The termination occurred in the function "dynpconv.c" of the SAP
    Basis System, specifically in line 701 of the module
    "//bas/640_REL/src/krn/dynp/dybas.c#4".
    The internal operation just processed is "ENDM".
    The internal session was started at 20071128021215.
    Application server....... "assapoa"
    Network address.......... "10.58.19.23"
    Operating system ........ "AIX"
    Release.................. "5.2"
    Hardware type............ "00CB585E4C00"
    Database server.......... "ars005sapdb"
    Database type............ "ORACLE"
    Database name............ "PRD"
    Database user ID......... "SAPR3"
    Rich. attivi nel nucleo SAP
    => 64 bit R/3 Kernel
    => 64 bit AIX Kernel
    => Heap limit      = unlimited
    => Stack limit     = unlimited
    => Core limit      = 1073741312
    => File size limit = unlimited
    => Heap address  = 0x11dd952a0
    => Stack address = 0xfffffffffffa920
    => Stack low     =  0xfffffffffffa920
    => Stack high    =  0xffffffffffff910
    => Stack Trace:
         AixStack() at 0x1000206bc
         CTrcStack2() at 0x1000207b4
         rabax_CStackSave__Fv() at 0x1001520d4
         ab_rabax() at 0x10014ef04
         dyHandleError() at 0x1005a6850
         dypcnvoXt() at 0x100cbd6cc
         dynplend() at 0x1010cf268
         dynpmcal() at 0x1010c6f60
         dynppbo0() at 0x1010c5134
         dynprctl() at 0x1010ce40c
         dynpen00() at 0x100bd0c30
         Thdynpen00() at 0x1000a1f7c
         TskhLoop() at 0x1000a5298
         tskhstart() at 0x1000bb0d8
         DpMain() at 0x101579ca0
         nlsui_main() at 0x10154d428
         __start() at 0x1000002fc
    !!! Invalid stack address encountered: 0x0
    !!! Stack corrupted.
    Lista dei programmi ABAP in oggetto
    Tipo
    Programma
    DataGen   Ora
    Dim.car.
    Prg
    SAPMM06B
    25.09.2007 16:07:55
    514048
    Prg
    SAPMSSYD
    05.06.2002 17:09:33
    16384
    Prg
    SAPFSYSCALLS
    14.02.2002 14:22:47
    6144
    Typ
    T160
    12.05.1997 15:22:15
    2048
    Prg
    SAPFMMEX
    18.11.2007 09:34:59
    177152
    Typ
    TSTCT
    14.02.1998 14:31:34
    2048
    Typ
    TMED
    27.08.1994 21:59:16
    2048
    Typ
    TPRG
    14.02.1998 14:06:12
    2048
    Typ
    T160D
    11.02.2000 14:20:36
    5120
    Typ
    T160V
    14.05.1998 22:44:11
    6144
    Typ
    T168T
    28.08.1997 09:05:04
    2048
    Prg
    SAPLMEXF
    18.11.2007 09:35:00
    166912
    Typ
    T162
    02.10.2001 13:56:13
    2048
    Prg
    SAPLSTUP
    17.06.2004 12:05:43
    65536
    Prg
    SAPLCNDP
    17.06.2004 15:06:47
    163840
    Prg
    SAPFGUICNTL
    09.01.2003 17:18:52
    20480
    Prg
    SAPLOLEA
    17.06.2004 15:12:42
    78848
    Prg
    SAPLSGUI
    09.01.2003 17:15:12
    31744
    Prg
    SAPLSTTM
    17.06.2004 15:08:30
    75776
    Prg
    SAPLSBDC
    07.01.2003 18:31:25
    38912
    Prg
    SAPLSFES
    17.06.2004 15:15:58
    174080
    Prg
    SAPLURFC
    17.06.2004 14:25:28
    16384
    Prg
    SAPLSPLUGIN
    14.02.2002 14:22:48
    6144
    Typ
    SWCBCONT
    15.11.2000 17:55:11
    3072
    Typ
    OLE_VERBS
    04.04.1995 16:02:20
    2048
    Typ
    OLE_PA
    04.04.1995 16:02:19
    2048
    Prg
    SAPLSCNT
    14.02.2002 14:22:47
    24576
    Prg
    SAPSHDTV
    17.06.2004 11:46:16
    28672
    Typ
    EBANW
    17.06.2004 15:55:16
    21504
    Prg
    CL_CONTEXTFIELD_MM============CP
    25.09.2007 16:07:49
    9216
    Prg
    /1BCDWBEN/SAPLMEN0000
    18.11.2007 09:35:16
    237568
    Prg
    SAPLSENA
    17.06.2004 14:19:40
    28672
    Typ
    EBAN
    13.11.2006 11:19:59
    20480
    Prg
    CL_PROCESS_STATE_MM===========CP
    25.09.2007 16:07:50
    16384
    Prg
    SAPLSWUG
    17.06.2004 14:22:25
    53248
    Typ
    SWCONT
    04.04.1995 16:18:01
    2048
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Typ
    SWOTOBJID
    04.05.1995 15:20:52
    2048
    Typ
    SWHACTOR
    04.04.1995 16:18:07
    2048
    Prg
    CL_GOS_MANAGER================CP
    11.04.2001 13:02:00
    17408
    Prg
    CL_GOS_VIEW_MANAGER===========CP
    24.01.2002 20:31:22
    22528
    Typ
    SIBFLPOR
    15.11.2000 17:53:54
    2048
    Typ
    SGOS_MVOBJ
    24.07.2001 09:18:06
    3072
    Typ
    BORIDENT
    28.08.1997 08:38:50
    2048
    Prg
    SAPLSUU1
    17.06.2004 15:13:06
    165888
    Typ
    USR02
    17.06.2004 15:05:37
    7168
    Typ
    USREFUS
    07.01.2003 18:24:17
    2048
    Typ
    SIBFLPORB
    15.11.2000 17:53:55
    2048
    Prg
    CL_GOS_TOOLBOX_MODEL==========CP
    17.06.2004 15:04:37
    38912
    Typ
    SGOS_MODL
    24.07.2001 09:18:05
    4096
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Prg
    SAPLSWOR
    17.06.2004 15:08:55
    270336
    Typ
    SWOTRI
    03.01.1996 15:29:13
    2048
    Typ
    SWOTRETURN
    20.08.1998 10:59:29
    3072
    Prg
    SAPLSWOH
    14.02.2002 14:22:48
    7168
    Typ
    SWOTENV
    11.02.2000 14:20:34
    4096
    Typ
    TOJTD
    15.11.1995 03:08:46
    2048
    Prg
    SAPLRHS0
    14.02.2002 14:22:47
    11264
    Prg
    SAPLSDIFRUNTIME
    17.06.2004 14:20:44
    82944
    Typ
    DFIES
    09.11.2000 14:07:05
    8192
    Typ
    X031L
    15.11.2000 18:03:28
    5120
    Prg
    SAPLSDNT
    17.06.2004 12:06:43
    199680
    Prg
    SAPLSUGS
    21.11.2002 10:20:02
    29696
    Typ
    TOJTD
    15.11.1995 03:08:46
    2048
    Typ
    TOJTB
    14.02.1998 14:02:55
    8192
    Typ
    SWOTLI
    04.04.1995 17:30:59
    2048
    Typ
    T100
    28.08.1997 09:04:45
    2048
    Prg
    CL_EXITHANDLER================CP
    17.06.2004 15:04:37
    26624
    Prg
    CL_ABAP_TYPEDESCR=============CP
    17.06.2004 14:19:33
    21504
    Prg
    CL_ABAP_ELEMDESCR=============CP
    17.06.2004 14:19:13
    18432
    Prg
    CL_ABAP_DATADESCR=============CP
    17.06.2004 14:19:13
    14336
    Prg
    CL_ABAP_REFDESCR==============CP
    17.06.2004 14:19:33
    16384
    Prg
    CL_ABAP_STRUCTDESCR===========CP
    17.06.2004 14:19:33
    19456
    Prg
    CL_ABAP_COMPLEXDESCR==========CP
    17.06.2004 14:19:13
    13312
    Prg
    CL_ABAP_TABLEDESCR============CP
    17.06.2004 14:19:33
    17408
    Prg
    CL_ABAP_CLASSDESCR============CP
    17.06.2004 14:19:33
    23552
    Prg
    CL_ABAP_OBJECTDESCR===========CP
    17.06.2004 14:19:33
    25600
    Prg
    CL_ABAP_INTFDESCR=============CP
    17.06.2004 14:19:13
    19456
    Prg
    CL_ABAP_SOFT_REFERENCE========CP
    29.03.2001 16:42:12
    7168
    Prg
    CL_ABAP_REFERENCE=============CP
    14.02.2002 14:22:46
    6144
    Prg
    IF_EX_GOS_SRV_SELECT==========IP
    04.12.2000 16:22:18
    4096
    Prg
    %_CABAP
    07.01.2003 18:31:23
    23552
    Typ
    SXS_INTER
    30.11.1998 15:55:16
    2048
    Prg
    SAPLSEXV
    17.06.2004 15:04:40
    106496
    Prg
    CL_BADI_FLT_DATA_TRANS_AND_DB=CP
    17.06.2004 15:04:37
    33792
    Typ
    SXS_ATTR
    20.08.2001 12:23:27
    4096
    Typ
    V_EXT_ACT
    09.11.2000 14:27:05
    2048
    Typ
    SXC_EXIT
    09.11.2000 14:23:43
    2048
    Prg
    CL_EX_GOS_SRV_SELECT==========CP
    17.06.2004 15:04:37
    13312
    Prg
    %_CSXRT
    17.06.2004 15:04:37
    11264
    Prg
    CL_EXIT_MASTER================CP
    17.06.2004 15:04:37
    13312
    Typ
    V_EXT_IMP
    09.11.2000 14:27:05
    2048
    Typ
    V_EXT_IMP
    09.11.2000 14:27:05
    2048
    Prg
    SAPLBDLS
    17.06.2004 11:45:48
    176128
    Typ
    T000
    11.09.1997 10:17:18
    4096
    Typ
    SWOTRTIME
    14.02.1998 10:19:46
    3072
    Prg
    %_CSWOB
    14.02.2002 14:22:46
    13312
    Typ
    SWOTINVOKE
    14.02.1998 10:18:40
    6144
    Typ
    SWOTLV
    04.12.2000 14:59:45
    10240
    Prg
    SAPLSWCD
    17.06.2004 15:06:55
    78848
    Prg
    RBUS2105
    13.11.2006 11:20:02
    57344
    Prg
    CL_GOS_PUBLICATION============CP
    13.11.2000 16:31:37
    15360
    Prg
    SAPLSGOSHIST
    17.06.2004 14:23:50
    46080
    Typ
    EBKN
    16.06.2004 13:09:57
    9216
    Typ
    T161
    16.06.2004 13:14:35
    5120
    Typ
    T161T
    14.02.1998 10:55:58
    2048
    Typ
    CMMDA
    18.09.2001 10:02:31
    4096
    Prg
    SAPLMMDA
    04.09.2006 11:00:54
    65536
    Typ
    TWLAD
    13.08.1997 14:04:45
    2048
    Typ
    TTXID
    27.08.1999 17:40:33
    3072
    Prg
    SAPLSTXD
    17.06.2004 15:06:22
    347136
    Typ
    STEXTNAME
    18.09.2001 10:03:52
    1024
    Typ
    STXDRID
    26.02.1999 14:48:42
    2048
    Typ
    STXDRLANG
    26.02.1999 14:48:42
    2048
    Typ
    STXDRNAME
    26.02.1999 14:48:42
    2048
    Typ
    STXDROBJ
    26.02.1999 14:48:42
    2048
    Typ
    THEAD
    09.11.2000 14:15:08
    6144
    Prg
    CL_ABAP_CHAR_UTILITIES========CP
    07.01.2003 18:31:23
    11264
    Typ
    STXH
    17.06.2004 14:15:46
    6144
    Typ
    TCATALOG
    25.05.1998 12:19:20
    3072
    Typ
    T168F
    27.05.1992 20:16:27
    3072
    Typ
    T168
    27.05.1992 17:53:38
    3072
    Prg
    SAPLMECCP
    25.09.2007 16:07:53
    39936
    Prg
    CL_BADI_MM====================CP
    08.01.2003 16:43:11
    9216
    Prg
    %_CCXTAB
    14.02.2002 14:22:46
    6144
    Prg
    SAPLEINH
    25.09.2007 16:07:53
    56320
    Typ
    T001W
    16.06.2004 13:14:17
    9216
    Prg
    SAPLVDAT
    19.02.2002 12:59:51
    25600
    Typ
    T163Y
    28.08.1997 09:05:01
    2048
    Prg
    SAPCNVE
    14.02.2002 14:22:47
    6144
    Prg
    SAPLOMCV
    17.06.2004 10:54:26
    16384
    Prg
    CL_EX_BADI_MATN1==============CP
    17.06.2004 10:27:52
    22528
    Prg
    IF_EX_BADI_MATN1==============IP
    17.06.2004 10:53:59
    4096
    Typ
    TMCNV
    24.02.1999 03:33:25
    3072
    Typ
    RM06B
    17.06.1998 03:23:02
    10240
    Lista tabelle interne
    Il dump non riporta informazioni relative
    Indice delle tabelle applicative
    Programma
      Nome................ Contenuto..1.......2........3........4........5....+....
    SAPMM06B
      SYST                 |00000000000x010000000000000000
      EBAN                 |300001100895000010NB  B  NB           1  Elena Varett20071
      *EBAN                |             00000                                   00000
      EBKN                 |             0000000 00000000            000000x0C
      AEBAN                |3000011008950NB     BBEUR  |
      EBANW                |300001100895000010NB  B  NB           1  Elena Varett20071
      RM06B                |                           00000000000000000010       00
      *RM06B               |                           00000000000000000000       00
      RM06E                |          000000000000000    00000000          00000
      TPRG                 |300IW2Formato settimana   Sett. |
      T001W                |3006   PIATTAFORMA DI LEINI'         6   CEDI6     0000000
      T023                 |
      T024                 |
      T160                 |300ME52                VB        B |
      T160V                |300C1XX A              XX X                   X   |
      T161                 |300BNB   000100102NBB                 NB         00000
      T161T                |300INB  BRichiesta d'acquisto|
      T168                 |300B AB  ***   1 106       0x0C0x0C0x0C0x0C|
      T168F                |300B AB  XXX                                |
      T168T                |300IB0106002 |
      TTXID                |EBAN      B04        X
      T163K                |                       |
      T163Y                |     Standard             |
      T001L                |
      T160D                |     XXXXXXXXXXXXXXXXXXXXXX
      T161E                |                         |
    SAPFMMEX
      TMED                 |300BB     |
    SAPLMEXF
      T161                 |300BNB   000100102NBB                 NB         00000
      T162                 |300PT0B                ...................................
    SAPLSUU1
      USR02                |300CONSULENTI  ÷x9Fw'x97[æÆ0000000000000000A
      USREFUS              |300CONSULENTI
    SAPLSWOR
      TOJTB                |BUS2105   XI          RBUS2105
      SWOTLV               |BUS2105   EXISTENCECHECK                  M
      TOJTD                |                                 |
    SAPLBDLS
      T000                 |300Mandante produzione      Arenzano                 EUR
    SAPMM06B
      *RM06E               |          000000000000000    00000000          00000
      MARA                 |                      00000000            00000000
      T006                 |        00          00000000000000x0C 0
    SAPLVDAT
      TPRG                 |300IW2Formato settimana   Sett. |
    SAPLOMCV
      TMCNV                |300MATCONV  0x120000000x12
    Directory delle tabelle applicative (inf. di gestione)
    Programma
      Nome.......................... tempo..........lungh....
    SAPLOMCV
      SYST                           20010612125650 00002404
      EBAN                           20061113111959 00000892
      *EBAN                          20061113111959 00000892
      EBKN                                          00000421
      AEBAN                          20000323224119 00000027
      EBANW                                         00000896
      RM06B                          20000323224119 00000529
      *RM06B                         20000323224119 00000529
      RM06E                          20020124202505 00001154
      TPRG                           20000323231030 00000032
      T001W                          20040617141548 00000338
      T023                           20040616131428 00000102
      T024                           20040616131429 00000352
      T160                                          00000035
      T160V                                         00000050
      T161                           20040616131435 00000095
      T161T                                         00000029
      T168                                          00000035
      T168F                                         00000044
      T168T                                         00000013
      TTXID                                         00000058
      T163K                          20000323230840 00000023
      T163Y                                         00000026
      T001L                          20000323230832 00000069
      T160D                                         00000069
      T161E                          20000323230840 00000025
    SAPFMMEX
      TMED                                          00000010
    SAPLMEXF
      T161                                          00000095
      T162                                          00000234
    SAPLSUU1
      USR02                                         00000226
      USREFUS                                       00000067
    SAPLSWOR
      TOJTB                                         00000453
      SWOTLV                                        00000701
      TOJTD                                         00000033
    SAPLBDLS
      T000                                          00000107
    SAPMM06B
      *RM06E                         20020124202505 00001154
      MARA                           20071118093457 00001118
      T006                           20001109142345 00000080
    SAPLVDAT
      TPRG                                          00000032
    SAPLOMCV
      TMCNV                                         00000062
    Blocchi di contr. CONT ABAP
    Include                                 Riga  Codice sorg.
    Ind.  Nome FI Co Par01 Par2. Par3. Par4. Tab.
    MM06BO0R_RM06B-EEIND                       25 EXIT.
    2502 BRAX 00
    MM06BO0R_RM06B-EEIND                       27 ENDSELECT.
    2503 BRAX 00
    2504 SQLS 08
    MM06BO0R_RM06B-EEIND                       31 ENDMODULE.
    2505 ENDM 00
    2506 -
    MM06BO0R_RM06B-EPSTP                        7 CALL FUNCTION 'ME_ITEM_CATEGOR
    2507 FUNC 00
    2508 FUNC 00
    2509 PAR2 02     0336
    2511 FUNC 10
    2512 PAR2 01     03B9
    2514 PAR2 01     03BA
    2516 FUNC FF
    MM06BO0R_RM06B-EPSTP                       14 ENDMODULE.
    >>>>> ENDM 00
    2518 -
    MM06BO0V_VRTKZ                              6 CASE EBAN-VRTKZ.
    2519 BREL 04
    MM06BO0V_VRTKZ                              7 WHEN '1'.
    2520 when 00 02  0090
    2522 BRAN 02
    2523 BRAX 00
    MM06BO0V_VRTKZ                              8 RM06B-MKNTW = '3 '. "3 Nachkom
    2524 MOVL 00 02  0136
    MM06BO0V_VRTKZ                              9 WHEN '2'.
    2526 BRAX 00
    Fine dell'analisi err. run-time
    Help me.
    Thank you

    Hello Maurizio,
    Thre screen field EBAN-MENGE is unable to handle a sign along with the value.
    Regards,
    Ammey Kesarkar

  • Runtime error

    HI all.....
    please look at this runtime error...... help me to solve this....
    Table name:- ZRDSSTOCK.
    Data class:- APPL1.
    Size category:- 5.
    Buffering not allowed .
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
           Occurred on     26.11.2007 at 12:38:44
    An SQL error occurred when accessing a table.
    What happened?
    What can you do?
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure "SAVE_DATA"
    "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    How to correct the error
    The exception must either be prevented, caught within the procedure "SAVE_DATA"
    "(FORM)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Database error text........: "ORA-01654: unable to extend index
    SAPPRD.ZRDSSTOCK~0 by 128 in tablespace PSAPPRDUSR"
    Internal call code.........: "[RSQL/INSR/ZRDSSTOCK ]"
    Please check the entries in the system log (Transaction SM21).
    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:
    "DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
    "YKSD010 " or "YKSD010 "
    "SAVE_DATA"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    System environment
    SAP Release.............. "620"
    Application server....... "venus"
    Network address.......... "192.168.1.151"
    Operating system......... "SunOS"
    Release.................. "5.9"
    Hardware type............ "sun4u"
    Character length......... 8 Bits
    Pointer length........... 64 Bits
    Work process number...... 1
    Short dump setting....... "full"
    Database server.......... "venus"
    Database type............ "ORACLE"
    Database name............ "PRD"
    Database owner........... "SAPPRD"
    Character set............ "en_US"
    SAP kernel............... "620"
    Created on............... "Nov 17 2004 01:43:57"
    Created in............... "SunOS 5.8 Generic_108528-07 sun4u"
    Database version......... "OCI_817_64 "
    Patch level.............. "1732"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.1.7.."
    SAP database version..... "620"
    Operating system......... "SunOS 5.8, SunOS 5.9"
    User, transaction...
    Client.............. 400
    User................ "MMUSER"
    Language key........ "E"
    Transaction......... "ZRDSEN "
    Program............. "YKSD010 "
    Screen.............. "YKSD010 0100"
    Screen line......... 41
    Information on where termination occurred
    The termination occurred in the ABAP program "YKSD010 " in "SAVE_DATA".
    The main program was "YKSD010 ".
    The termination occurred in line 685 of the source code of the (Include)
    program "YKSD010 "
    of the source code of program "YKSD010 " (when calling the editor 6850).
    Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
    the
    procedure "SAVE_DATA" "(FORM)" but was not handled locally, not declared in the
    RAISING clause of the procedure.
    The procedure is in the program "YKSD010 ". Its source code starts in line 662
    of the (Include) program "YKSD010 ".
    Source code extract
    006550
    006560
    006570   *&----
    006580   *&      Form  save_data
    006590   *&----
    006600   *       text
    006610   *----
    006620   FORM SAVE_DATA.
    006630   data: begin of lv_test occurs 0,
    006640         werks type s886-werks,
    006650         pkunag type s886-pkunag,
    006660         end of lv_test.
    006670     LOOP AT INDT1.
    006680
    006690       INDT1-WERKS = WERKS.
    006700       INDT1-DAT1 = VDFRM.
    006710       INDT1-DAT2 = VLDTO.
    006720   *    indt1-kunnr = kunnr.
    006730
    006740
    006750       MODIFY INDT1.
    006760
    006770     ENDLOOP.
    006780   *if indt1 is not initial.
    006790   *select  pkunag werks from  s886 into corresponding fields of  table
    006800   *lv_test where pkunag = indt1-rdscode and werks = indt1-werks.
    006810   *if sy-subrc = 0.
    006820
    006830   &----
    changed by prajwal.k----
    006840
        INSERT ZRDSSTOCK FROM TABLE INDT1 ACCEPTING DUPLICATE KEYS.
    006860   *loop at indt1.
    006870   *  INSERT ZRDSSTOCK FROM INDT1.
    006880   *if sy-subrc <> 0.
    006890   *message w013 WITH INDT1-MATNR.
    006900   *endif.
    006910   *endloop.
    006920
    006930
    006940   &----
    end----
    006950   *        MESSAGE I004.
    006960   *else.
    006970   *message 'Please chek the RDS Code' type 'W'.
    006980   *endif.
    006990   *endif.
    007000   *endif.
    007010     LOOP AT INDT1.
    007020
    007030       AT LAST.
    007040
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 0                             SY-INDEX 0
    SY-TABIX 0                             SY-DBCNT 1
    SY-FDPOS 40                            SY-LSIND 0
    SY-PAGNO 0                             SY-LINNO 1
    SY-COLNO 1                             SY-PFKEY YINDENT
    SY-UCOMM OPT1                          SY-TITLE RDS Stock Entry Screen
    SY-MSGTY                               SY-MSGID
    SY-MSGNO 000                           SY-MSGV1
    SY-MSGV2                               SY-MSGV3
    SY-MSGV4
    Active calls / events
    No.... Type........ Name..........................
           Program
           Include                                  Line
           Class
         3 FORM         SAVE_DATA
           YKSD010
           YKSD010                                    685
         2 MODULE (PAI) YINDENT_IN
           YKSD010
           YKSD010                                    233
         1 EVENT        START-OF-SELECTION
           YKSD010
           YKSD010                                    181
    Chosen variables
         3 FORM         SAVE_DATA
           YKSD010
           YKSD010                                    685
    INDT1[]                        Table IT_121[1738x121]
                                   FFFF94120000000000020007000C00070000FFFF
                                   FFFE7BD00000000000060009006A00090000FFFF
    ... +  40
                                   00000005012B0000
                                   40000058004C0000
    INDT1                          TNV0024   2007090120070930CH01C0100300
                                   5453333222333333333333333344334333333322
                                   4E60024000200709012007093038013010030000
    ... +  40                              CAR####`#################`######
                                   2222222244500006000000000000000006000000
                                   0000000031200000C00000C00000C00000C00000
    ... +  80                      #
                                   0222222222222222222222222222222222222222
                                   C000000000000000000000000000000000000000
    ... + 120
                                   2
                                   0
    SY                             ###############Ê########################
                                   000000000000000C000000000000000000000000
                                   000000000000006A000000000000000000000000
    ... +  40                      #######(###############################y
                                   0000000200000000000000000000000000000007
                                   0001000800010000000100000000000000000009
    ... +  80                      ########################################
                                   0000000000000000000900000000000000000000
                                   0000000000000000001000000000000000000000
    ... + 120                      ########################################
                                   0000000000000000000000000000000000010009
                                   00000000000000000000000000000000000B0000
    ... + 160                      #######ÿ######MX C#############   E0   0
                                   0000000F00000045240000000000000222432223
                                   0000000F000000D8030010000C0000C000500000
    ... + 200                      100         ####__S                 400
                                   3332222222220000555222222222222222223332
                                   1000000000000000FF3000000000000000004000
    ... + 240                           00
                                   222223322222222
                                   000000000000000
    MODIFY-CX                    ########MODIFY
                                   0000000044444522222222222222222222222222
                                   00020000DF496900000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                          0101####
                                   222222222222222222223333000022222222
                                   000000000000000000000101000100000000
    <%_L005>-SEL                   ???
    OK_CODE                        SAVE
                                   5454222222222222222222222222222222222222
                                   3165000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    <%_TABLE_ZRDSSTOCK>            ???
    %_DUMMY$$
                                   2222
                                   0000
    VLDTO                          20070930
                                   33333333
                                   20070930
    SY-REPID                       YKSD010
                                   5454333222222222222222222222222222222222
                                   9B34010000000000000000000000000000000000
    SY-MSGID
                                   22222222222222222222
                                   00000000000000000000
    SPACE
                                   2
                                   0
    SY-MSGNO                       000
                                   333
                                   000
         2 MODULE (PAI) YINDENT_IN
           YKSD010
           YKSD010                                    233
    SY-UCOMM                       OPT1
                                   4553222222222222222222222222222222222222
                                   F041000000000000000000000000000000000000
    ... +  40
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    COUNT                          ########
                                   00000000
                                   0000000C
    %_VLDTO_%_APP_%                Valid To
                                   566662562222222222222222222222
                                   61C9404F0000000000000000000000
    %_WERKS_%_APP_%                Plant
                                   566672222222222222222222222222
                                   0C1E40000000000000000000000000
    %_VDFRM_%_APP_%                Valid From
                                   566662476622222222222222222222
                                   61C94062FD00000000000000000000
    %B001000_BLOCK_1000            Enter Values
                                   4676725667672222222222222222222222222222
                                   5E452061C5530000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   222
                                   000
    VALUE
                                   222222222222222222
                                   000000000000000000
    SYST-REPID                     YKSD010
                                   5454333222222222222222222222222222222222
                                   9B34010000000000000000000000000000000000
    SY-SUBRC                       0
                                   0000
                                   0000
    A                              1
                                   3
                                   1
    SY-MSGV4
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   2222222222
                                   0000000000
    SY-MSGV2
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   2222222222
                                   0000000000
    VARI
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40                                          ####00000000000000
                                   2222222222222222222200003333333333333322
                                   0000000000000000000000000000000000000000
    ... +  80                          ####################################
                                   2222000000000000000000000000000000000000
                                   0000000000000000000000000000000000000000
    ... + 120                      ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000000000000000000000000000
    ... + 160                      ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000000000000000000000000000
    ... + 200                      ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000000000000000000000000000
    ... + 240                      ###############
                                   000000000000000
                                   000000000000000
    INDT[]                         Table IT_28[0x121]
                                   FFFF958EFFFF940200010001000000070000FFFF
                                   FFFE7B70FFFE74800007000C000000090000FFFF
    ... +  40
                                   0000000E012B0000
                                   40000048004C4000
    INDT                                     0000000000000000
                                   2222222222333333333333333322222222222222
                                   0000000000000000000000000000000000000000
    ... +  40                                 #############################
                                   2222222222200000000000000000000000000000
                                   0000000000000000C00000C00000C00000C00000
    ... +  80                      #
                                   0222222222222222222222222222222222222222
                                   C000000000000000000000000000000000000000
    ... + 120
                                   2
                                   0
         1 EVENT        START-OF-SELECTION
           YKSD010
           YKSD010                                    181
    No dump information available
    Application Calls
    No dump information available
    Application Information
    No dump information available
    Internal notes
    The termination occurred in the function "HandleRsqlErrors" of the SAP
    Basis System, specifically in line 760 of the module
    "//bas/620/src/krn/runt/absapsql.c#40".
    The internal operation just processed is "SQLS".
    The internal session was started at 20071126123440.
    Internal call code.........: "[RSQL/INSR/ZRDSSTOCK ]"
    Active calls in SAP kernel
    DoStack2 ( 0xffffffff7fff6490, 0xffffffff7fff6370, 0x0,0x203ac00, >
    > 0x100362d98, 0xffffffff7fff5b71 ), at 0x100362d98
    CTrcStack2 ( 0x103519930, 0x0, 0x10008, 0x1018dc400, 0x0, 0x1 ), at 0x10036296c
    __1cQrabax_CStackSave6F_v_ ( 0x1, 0x28e8400, 0x100000000, >
    > 0x1028e8400, 0x0, 0x1 ), at 0x1007cccac
    ab_rabax ( 0x1020c9a88, 0x4, 0x1018db3b6, 0x10355210c, 0x2000000, >
    > 0x8550c017 ), at 0x1007c0e68
    __1cKab_rsqlerr6Fpkcip0pnLRS_HEADER94_2pv_v_ ( 0x1018c7110, >
    > 0x2f8, 0x1020c6a14, 0xffffffff7fff6cd8, 0x1018c7121, 0x0 ), at 0x10071aae8
    __1cQHandleRsqlErrors6FnJRsqlError_nJCloseMode__v_ ( 0x8, >
    > 0xfffffffe97470708, 0x6c8000, 0x100000000, 0x0, 0x1 ), at 0x1006c8764
    __1cPSqlsExecuteCall6FCpnLDynCallInfo__v_ ( 0x100000000, >
    > 0x6a, 0x20c6800, 0xe8, 0x1d, 0x1 ), at 0x1006ddd24
    __1cIab_jsqls6F_v_ ( 0xfffffffe4a309e58, 0xfffffffe974707b0, >
    > 0x1028c4f00, 0xe8, 0x1d, 0x100000000 ), at 0x1006c91e8
    __1cIab_extri6F_i_ ( 0x103503ff8, 0xfffffffe4a309e44, 0x8a, >
    > 0x0, 0x1, 0x100000000 ), at 0x1005364e8
    __1cJab_xevent6Fpkc_i_ ( 0x0, 0x3416000, 0xfffffffe4c17f808, >
    > 0x0, 0x1d6f, 0xfffffffe975420d8 ), at 0x10068df84
    ab_dstep ( 0xd, 0xd, 0x46, 0x1, 0x103521a74, 0x103521800 ), at 0x1007d619c
    dynpmcal ( 0xfffffffe9747e8c8, 0x10203a800, 0x1037d8110, >
    > 0x101d2a000, 0x2660, 0x100000000 ), at 0x1003e2274
    dynppai0 ( 0xfffffffe9747e8c8, 0x0, 0x0, 0xfffffffe97482c3f, >
    > 0x0, 0x5 ), at 0x1003df680
    dynprctl ( 0x0, 0xfffffffe9747e8c8, 0x203c400, 0x1024d0cf8, >
    > 0x1020291c0, 0x1024d0c58 ), at 0x1003dd258
    dynpen00 ( 0x0, 0x203c400, 0x1, 0x100000000, 0x203a800, >
    > 0x10203a800 ), at 0x1003d9c24
    TskhLoop ( 0x2, 0x2, 0x10203a8c0, 0x8, 0x0, 0x1 ), at 0x1001d2b18
    tskhstart ( 0x100000000, 0x2028000, 0x102028000, 0x2028000, >
    > 0x1, 0x4 ), at 0x1001c5ae0
    DpMain ( 0x249a000, 0x26e3400, 0x10249a000, 0xffffffff7c755f44, >
    > 0x0, 0x1 ), at 0x100111e60
    List of ABAP programs affected
    Type
    Program
    Gen. Date  Time
    Load Size
    Prg
    YKSD010
    26.11.2007 09:44:15
    55296
    Prg
    SAPMSSY0
    18.12.2004 11:31:22
    62464
    Prg
    SAPMSSYD
    05.06.2002 17:09:33
    16384
    Prg
    SAPFSYSCALLS
    14.02.2002 14:22:47
    6144
    Prg
    RSDBRUNT
    18.12.2004 11:32:05
    220160
    Typ
    RSSCR
    .  .       : m:15
    4096
    Prg
    RSDBSPBL
    13.12.2002 12:24:35
    58368
    Prg
    SAPDB__S
    14.02.2002 14:22:47
    16384
    Typ
    VARID
    12.05.1997 16:51:30
    4096
    Prg
    %_CSYDB0
    14.02.2002 14:22:46
    28672
    Prg
    RSDBSPVA
    18.12.2004 11:18:02
    108544
    Typ
    RSVAMEMKEY
    07.05.1997 13:07:49
    2048
    Prg
    RSDBSPMC
    05.06.2002 17:09:26
    66560
    Typ
    DDSHDESCR
    03.09.1997 03:05:16
    3072
    Typ
    SPPARAMS
    07.05.1997 13:10:38
    1024
    Prg
    SAPLICON
    18.12.2004 09:37:13
    23552
    Prg
    %_CICON
    14.02.2002 14:22:46
    57344
    Prg
    SAPLSABE
    14.02.2002 14:22:47
    11264
    Prg
    SAPLSECU
    18.12.2004 11:16:36
    63488
    Prg
    SAPLDSYA
    14.02.2002 14:22:47
    38912
    Prg
    SAPFSDS1
    13.12.2002 12:14:34
    46080
    Typ
    TDCLD
    02.11.1998 09:51:35
    4096
    Prg
    SAPLSDOD
    18.12.2004 11:31:31
    38912
    Typ
    DOKIL
    12.05.1997 16:46:17
    2048
    Prg
    SAPCNVE
    14.02.2002 14:22:47
    6144
    Prg
    SAPLLANG
    14.02.2002 14:22:47
    8192
    Typ
    T002
    14.02.1998 10:24:58
    2048
    Typ
    RSEXFCODE
    13.08.1997 12:52:57
    1024
    Typ
    RSPARINT
    10.04.1995 09:58:38
    1024
    Prg
    SAPLSCNT
    14.02.2002 14:22:47
    22528
    Prg
    SAPLSVSM
    13.12.2002 12:16:46
    22528
    Prg
    SAPLSGUI
    13.12.2002 12:27:47
    29696
    Prg
    SAPLSTTM
    18.12.2004 11:36:10
    73728
    Prg
    SAPLSBDC
    13.12.2002 12:13:58
    37888
    Prg
    CL_DATAPROVIDER===============CP
    14.02.2002 14:22:46
    38912
    Prg
    %_CCNTL
    14.02.2002 14:22:46
    13312
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Prg
    SAPLSTUP
    18.12.2004 09:34:15
    62464
    Prg
    SAPLCNDP
    18.12.2004 11:35:59
    153600
    Prg
    SAPFGUICNTL
    13.12.2002 12:30:03
    20480
    Prg
    SAPLOLEA
    18.12.2004 11:30:56
    76800
    Prg
    SAPLSFES
    18.12.2004 11:35:59
    162816
    Prg
    SAPLSPLUGIN
    14.02.2002 14:22:48
    6144
    Prg
    SAPLGRFC
    14.02.2002 14:22:47
    13312
    Prg
    SAPSHDTV
    19.06.2003 19:25:09
    27648
    Typ
    SHDSTU
    14.12.1998 23:15:34
    2048
    Typ
    SHDSTCIU
    14.12.1998 23:15:34
    1024
    Typ
    SSCRTEXTS
    03.09.1997 03:12:33
    2048
    Typ
    SSCRFIELDS
    13.05.1997 12:54:26
    3072
    Prg
    CL_GUI_PROPS_CONSUMER=========CP
    13.12.2002 12:11:27
    27648
    Prg
    SAPLTHFB
    18.12.2004 11:36:24
    293888
    Prg
    CL_DYNAMIC_GUI_EXTENSIONS=====CP
    14.02.2002 14:22:46
    33792
    Prg
    CL_GUI_DATAMANAGER============CP
    18.12.2004 09:49:48
    69632
    Prg
    CL_ABAP_CHAR_UTILITIES========CP
    13.12.2002 12:13:57
    11264
    Typ
    MARD
    15.11.2000 17:38:50
    8192
    Prg
    RSDBSPVD
    18.12.2004 09:35:18
    73728
    Typ
    RVARI
    30.03.1998 09:40:50
    3072
    Typ
    RSVARIVDAT
    04.04.1995 16:12:54
    2048
    Typ
    ZLOCKPGM
    11.02.2006 09:28:47
    2048
    Prg
    %_CCXTAB
    14.02.2002 14:22:46
    6144
    Typ
    ZRDSSTOCK
    26.11.2007 09:44:15
    3072
    Prg
    SAPLGRAP
    18.12.2004 11:36:25
    350208
    Prg
    CL_GUI_FRONTEND_SERVICES======CP
    18.12.2004 11:36:27
    84992
    Prg
    CL_GUI_OBJECT=================CP
    13.12.2002 12:13:57
    348160
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Prg
    CL_GUI_CFW====================CP
    05.06.2002 17:02:46
    150528
    Typ
    TOLE
    29.07.1998 19:56:01
    2048
    Prg
    %_COLE2
    14.02.2002 14:22:46
    8192
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Typ
    SWCBCONT
    15.11.2000 17:55:11
    2048
    Prg
    SAPLCNTL
    14.02.2002 14:22:47
    270336
    Prg
    SAPLCNTH
    14.02.2002 14:22:47
    22528
    Typ
    FILE_TABLE
    05.01.1999 10:23:11
    1024
    Prg
    SAPLURFC
    18.12.2004 10:30:34
    16384
    Prg
    SAPLSRFC
    18.12.2004 11:36:45
    34816
    Prg
    SAPLSYST
    14.02.2002 14:22:48
    29696
    Prg
    SAPMSSY1
    14.02.2002 14:22:48
    18432
    Typ
    ARFCDATA
    04.04.1995 15:40:32
    3072
    Typ
    RFC_FIELDS
    20.08.1998 10:56:34
    2048
    Typ
    DPPROPS
    09.07.1997 23:53:23
    1024
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Prg
    SAPLCNT0
    14.02.2002 14:22:47
    30720
    Typ
    OLE_PA
    04.04.1995 16:02:19
    2048
    Typ
    ARFCRDATA
    09.11.2000 14:04:16
    4096
    Typ
    OLE_VERBS
    04.04.1995 16:02:20
    2048
    Prg
    CL_ABAP_TYPEDESCR=============CP
    18.12.2004 10:20:56
    22528
    Prg
    CL_ABAP_ELEMDESCR=============CP
    18.12.2004 10:20:34
    18432
    Prg
    CL_ABAP_DATADESCR=============CP
    18.12.2004 10:20:34
    14336
    Prg
    CL_ABAP_REFDESCR==============CP
    18.12.2004 10:20:56
    16384
    Prg
    CL_ABAP_STRUCTDESCR===========CP
    18.12.2004 10:20:56
    19456
    Prg
    CL_ABAP_COMPLEXDESCR==========CP
    18.12.2004 10:20:34
    13312
    Prg
    CL_ABAP_TABLEDESCR============CP
    18.12.2004 10:20:56
    17408
    Prg
    CL_ABAP_CLASSDESCR============CP
    18.12.2004 10:20:56
    23552
    Prg
    CL_ABAP_OBJECTDESCR===========CP
    18.12.2004 10:20:56
    26624
    Prg
    CL_ABAP_INTFDESCR=============CP
    18.12.2004 10:20:34
    19456
    Typ
    OBJ_RECORD
    14.02.1998 08:30:43
    2048
    Prg
    CL_ABAP_SOFT_REFERENCE========CP
    29.03.2001 16:42:12
    7168
    Prg
    CL_ABAP_REFERENCE=============CP
    14.02.2002 14:22:46
    6144
    Prg
    CL_IXML=======================CP
    13.12.2002 12:12:08
    210944
    Prg
    CL_IXML_UNKNOWN===============CP
    13.12.2002 12:12:08
    9216
    Prg
    SAPFGUICNTL_CFW
    14.02.2002 14:22:47
    12288
    Prg
    SAPLSPO1
    18.12.2004 11:37:25
    43008
    Prg
    SAPLCSTR
    18.12.2004 11:21:47
    63488
    Typ
    MAKT
    28.08.1997 08:52:19
    2048
    Typ
    KNA1
    18.12.2004 14:35:36
    22528
    Typ
    MARA
    02.07.2002 16:31:17
    19456
    Typ
    ZRDSSTOCK
    26.11.2007 09:44:15
    3072
    Prg
    CX_SY_OPEN_SQL_DB=============CP
    14.02.2002 14:22:47
    9216
    Typ
    SCX_SRCPOS
    09.11.2000 14:12:15
    1024
    Prg
    CX_SY_OPEN_SQL_ERROR==========CP
    14.02.2002 14:22:47
    8192
    Prg
    CX_SY_SQL_ERROR===============CP
    14.02.2002 14:22:47
    8192
    Prg
    CX_DYNAMIC_CHECK==============CP
    14.02.2002 14:22:47
    8192
    Prg
    CX_ROOT=======================CP
    14.02.2002 14:22:47
    9216
    Prg
    CX_NO_CHECK===================CP
    14.02.2002 14:22:47
    8192
    Prg
    CX_SY_NO_HANDLER==============CP
    14.02.2002 14:22:47
    8192
    Typ
    SYST
    04.12.2000 14:54:51
    24576
    List of internal tables
    PROGRAM=YKSD010DATA=INDT1[]
    TABH+  0(20) = FFFFFFFE974B1D20000000000000000000000026
    TABH+ 20(20) = 00000079000006CA0000007900000000FFFFFFFF
    TABH+ 40(16) = 0400000000000558001024BC00000000
    store        = 0xFFFFFFFE974B1D20
    ext1         = 0x0000000000000000
    id           = 38    (0x00000026)
    label        = 121   (0x00000079)
    fill         = 1738  (0x000006CA)
    leng         = 121   (0x00000079)
    lopc         = 0     (0x00000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000015
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 7     (cmpManyEq)
    occu0        = 1
    collHash     = 0
    lock         = 0
    shrd         = 0
    visited      = 0
    unShareable  = 0
    wasShared    = 0
    iterIsValid  = 0
    isShareable  = 0
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xFFFFFFFE974B1468
    pghook       = 0xFFFFFFFE975BCBF0
    idxPtr       = 0x0000000000000000
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 2480  (0x000009B0)
    lineAlloc    = 1840  (0x00000730)
    store_id     = 20    (0x00000014)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    hsdir        = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    PROGRAM=YKSD010DATA=INDT[]
    TABH+  0(20) = FFFFFFFE975B87E0FFFFFFFE9744082000000017
    TABH+ 20(20) = 0000001C000000000000007900000000FFFFFFFF
    TABH+ 40(16) = 04000000000004E8001024BC04000000
    store        = 0xFFFFFFFE975B87E0
    ext1         = 0xFFFFFFFE97440820
    id           = 23    (0x00000017)
    label        = 28    (0x0000001C)
    fill         = 0     (0x00000000)
    leng         = 121   (0x00000079)
    lopc         = 0     (0x00000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000013
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 7     (cmpManyEq)
    occu0        = 1
    collHash     = 0
    lock         = 0
    shrd         = 0
    visited      = 0
    unShareable  = 0
    wasShared    = 0
    iterIsValid  = 0
    isShareable  = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xFFFFFFFE975172E8
    pghook       = 0xFFFFFFFE975BCCB8
    idxPtr       = 0x0000000000000000
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 2480  (0x000009B0)
    lineAlloc    = 176   (0x000000B0)
    store_id     = 145   (0x00000091)
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0000000000000000
    hsdir        = 0x0000000000000000
    ext2         = 0xFFFFFFFE974596A8
    >>>>> 2nd level extension part <<<<<
    tabhBack     = 0xFFFFFFFE974A6B68
    delta_head   = 0000000000000000000000000000000000000000000000000000000000000000
    Directory of Application Tables
    Program
      Name................ Contents....1........2........3........4........5....+....
    YKSD010
      SYST                 |00000000000000x06Ê000000000000
      VARI                 |
      T006A                |                                                        |
      SSCRFIELDS           |
      SSCRTEXTS            |
    RSDBRUNT
      VARID                |
    SAPLICON
      ICONT                |
    SAPFSDS1
      TDCLD                |RE  DOKU   8R XX XXLIMUDOKUX x1E0XR3TRPROGX         |
    SAPLSDOD
      DOKIL                |
    SAPLLANG
      T002                 |ES1EN|
    SAPLOLEA
      TOLE                 |SAP.DATAPROVIDER.1                    {799104C5-04C5-11D0-
    SAPSHDTV
      SHDSTU               |                                                     |
      SHDSTCIU             |                                                  |
    CL_GUI_PROPS_CONSUMER=========CP
      EUDB                 |%C0009900047492F0EC1BC16DDE1000000C0A80197  0000
    CL_GUI_FRONTEND_SERVICES======CP
      EUDB                 |FE0009900047492F0EC1BC16DDE1000000C0A80197  0000
    Directory of Application Tables (Administrative Information)
    Program
      Name.......................... Time.......... Length...
    CL_GUI_FRONTEND_SERVICES======CP
      SYST                           20010612125650 00002404
      VARI                                          00002972
      T006A                                         00000056
      SSCRFIELDS                     20000323224119 00000854
      SSCRTEXTS                                     00000371
    RSDBRUNT
      VARID                                         00000132
    SAPLICON
      ICONT                                         00000065
    SAPFSDS1
      TDCLD                                         00000050
    SAPLSDOD
      DOKIL                                         00000076
    SAPLLANG
      T002                                          00000005
    SAPLOLEA
      TOLE                                          00000197
    SAPSHDTV
      SHDSTU                                        00000053
      SHDSTCIU                                      00000050
    CL_GUI_PROPS_CONSUMER=========CP
      EUDB                                          00003940
    CL_GUI_FRONTEND_SERVICES======CP
      EUDB                                          00003940
    ABAP control blocks CONT
    Include                                 Line source code
    Index Name F1 Co Par01 Par2. Par3. Par4. Tabl
    YKSD010                                   667 LOOP AT INDT1.
    1029 LOOP 05     36     37
    1033 BRAN 05 Branch to 1043
    YKSD010                                   669 INDT1-WERKS = WERKS.
    1034 mvqk 04     178    946
    YKSD010                                   670 INDT1-DAT1 = VDFRM.
    1036 mvqk 08     162    982
    YKSD010                                   671 INDT1-DAT2 = VLDTO.
    1038 mvqk 08     170    1022
    YKSD010                                   675 MODIFY INDT1.
    1040 TMOD 04     36     37
    YKSD010                                   677 ENDLOOP.
    1042 BRAX 01 Branch to 1029
    YKSD010                                   685 INSERT ZRDSSTOCK FROM TABLE IN
    1043 SQLS 0B
    1044 SQLS 00     107
    1045 PAR1 00     131
    1046 SQLS 39     1
    1047 SQLS 39     37
    >>>>> SQLS 1D     36
    YKSD010                                   701 LOOP AT INDT1.
    1049 LOOP 03 79  36     37
    1053 LOOP 05     36     37
    1057 BRAN 05 Branch to 1111
    YKSD010                                   703 AT LAST.
    1058 CNTL 04
    1062 BRAN 03 Branch to 1080
    YKSD010                                   705 MESSAGE I004.
    1063 CATC 08
    1064 MOVL 00  2  58     21
    End of runtime analysis
    Regards
    Prajwal.K

    Refer Amit's reply -
    Exception occurred which is assigned to the class 'CX_SY_OPEN_SQL_DB',
    Regards,
    Amit
    Reward all helpful replies.

  • Field catalog for internal table in ALV

    In my program the internal table consists many fields from various tables and structure doesn't belong to a single data table.
    In order to get output in ALV grid following FM has been used
    REUSE_ALV_GRID_DISPLAY
    for field catalog the fields are defined specifically.
      l_fieldcat-fieldname  = 'VBELN'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Billing doc'.
      l_fieldcat-no_zero = 'X'.
      l_fieldcat-hotspot = 'X'.
      append l_fieldcat to p_fieldtab.
    ..............and so on for all the fields.
    Just wanted to know is there any other method to display all the fields of this internal table automatically so each field is not specified specifically.
    anya

    Hi
    Try this instead:
    *& Form  create_fieldcatalog
    * Create a field catalogue from any internal table
    *      -->PT_TABLE     Internal table
    *      -->PT_FIELDCAT  Field Catalogue
    FORM  create_fieldcatalog
           USING     pt_table     TYPE ANY TABLE
           CHANGING  pt_fieldcat  TYPE lvc_t_fcat.
      DATA:
        lr_tabdescr TYPE REF TO cl_abap_structdescr
      , lr_data     TYPE REF TO data
      , lt_dfies    TYPE ddfields
      , ls_dfies    TYPE dfies
      , ls_fieldcat TYPE lvc_s_fcat
      CLEAR pt_fieldcat.
      CREATE DATA lr_data LIKE LINE OF pt_table.
      lr_tabdescr ?= cl_abap_structdescr=>describe_by_data_ref( lr_data ).
      lt_dfies = cl_salv_data_descr=>read_structdescr( lr_tabdescr ).
      LOOP AT lt_dfies
      INTO    ls_dfies.
        CLEAR ls_fieldcat.
        MOVE-CORRESPONDING ls_dfies TO ls_fieldcat.
        APPEND ls_fieldcat TO pt_fieldcat.
      ENDLOOP.
    ENDFORM.                    "create_fieldcatalog

  • Nested structure when using FM XXL_SIMPLE_API

    I use this logic to fill in the headings before calling the FM xxl_simple_api in one of my programs. Is it possible to have nested structure(for <b>i_tab</b> in my code) and still use same kind of logic to fill in the headings? Not sure if this Fm would display data correctly when there is a component of strucutre type. I tried it, the field was blank with no contents in excel.
      DATA : nlines TYPE i,
             tempfile LIKE gxxlt_f-file,
             descr_ref TYPE REF TO cl_abap_structdescr,
             header LIKE gxxlt_v OCCURS 0 WITH HEADER LINE,
             it_print LIKE gxxlt_p OCCURS 0 WITH HEADER LINE.
    *data:               keycol type i.
      FIELD-SYMBOLS:
      <comp_wa> TYPE abap_compdescr,
      tempfile = file_name.
      REFRESH header.
      CLEAR header.
      descr_ref ?= cl_abap_typedescr=>describe_by_data( i_tab ).
      DESCRIBE TABLE descr_ref->components LINES nlines.
      nlines = nlines + 1.
      LOOP AT descr_ref->components ASSIGNING <comp_wa>.
        IF sy-tabix = nlines.
          EXIT.
        ELSE.
          header-col_no = sy-tabix.
          header-col_name = <comp_wa>-name.
          APPEND header.
        ENDIF.
      ENDLOOP.
      CALL FUNCTION 'XXL_SIMPLE_API'
      EXPORTING
        filename = tempfile
    N_KEY_COLS = keycol
      TABLES
       col_text = header[]
    I appreciate your help. Thanks

    Hi,
    It's better to use another FM 'SAP_CONVERT_TO_XLS_FORMAT'
      call function 'SAP_CONVERT_TO_XLS_FORMAT'
                 exporting
                  I_FIELD_SEPERATOR = seper
                  I_LINE_HEADER = 'X'
                     I_FILENAME = P_FILE
                  tables
                      I_TAB_SAP_DATA = itab
                  exceptions
                      CONVERSION_FAILED = 1.
    Svetlin

  • Select-options are not destroyed while calling view of used component popup

    Hi Friends ,
    I'm facing a unique problem. I'm calling a view of a component within another component. the view that I'm calling has some select-options. When I close the popup window ( using close 'X' of popup ) and then try to reopen the popup system give me a dump. I debugged and found that select-options are not destroyed by system and once it tries to create the select-options again it dumps because they are already there.  
    This is the source code extract of that dump for your reference .
    1 method if_wd_select_options~add_selection_field.
    2
    3   data:
    4     lr_table_descr       type ref to cl_abap_tabledescr,
    5     lr_struct_descr      type ref to cl_abap_structdescr,
    6     lr_value_field_descr type ref to cl_abap_elemdescr,
    7     added_field          like line of mt_added_fields,
    8     dfies                type dfies,
    9     description          type string,
    10     complex_restrictions type if_wd_select_options=>t_complex_restrictions.
    11
    12   field-symbols:
    13     <it_result> type index table.
    14
    15 * check of someone wants to add a field that already exists
    16   read table mt_fields
    17        with key m_id = i_id
    18        transporting no fields.
    19   if sy-subrc = 0.
    20 *   might be deleted - recreating a field with different setting is of course allowed
    21     read table mt_all_removed_fields
    22          with key table_line = i_id
    23          transporting no fields.
    24     if sy-subrc <> 0.
    >>>       message x000(00).
    26     endif.
    27
    28 *   remove the existing field in order to avoid duplicates
    29     delete table mt_fields with table key m_id = i_id.
    30   endif.
    I've already tried using REMOVE_ALL_SEL_SCREEN_ITEMS( ) method of interface IF_WD_SELECT_OPTIONS before creating new elements ( select-options ). If any one can help me in this It would really help and I'll appreciate it.
    Thanks in advance,
    Laeeq

    I've sloved the problem

  • Here's how to do ALV (OO) with dynamic fcat, int table and editable data

    Hi everybody
    Here's a more useful approach to ALV grid with OO using dynamic table, data NOT from DDIC, dynamic FCAT and how to get changed lines from the grid when ENTER key is pressed.
    It's really not too dificult but I think this is more useful than the ever present SFLIGHT methods from the demos.
    This also defines a subclass of cl_gui_alv_grid so you can access the protected attributes / methods of that class.
    You don't need to add the class via SE24 -- done fron this ABAP.
    When you run it click Edit for the first time.
    After editing data press ENTER and the break point should bring you into the relevant method.
    Code developed on NW2004S trial version but also works on rel 6.40 on a "Real" system.
    The code should work without any changes on any system >=6.40.
    All you need to do is to create a blank screen 100 via SE51  with a custom container on it called CCONTAINER1.
    The rest of the code can just be uploaded into your system using the SE38 upload facility.
    When running the program click on the EDIT button to enable the edit functionality of the grid.
    Change your data and when you press ENTER you should get the break-point where you can see the original table and changed rows.
    This program is actually quite general as it covers Dynamic tables, building a dynamic fcat where your table fields are NOT in the DDIC, intercepting the ENTER key via using an event, and accessing the protected attributes of the cl_gui_alv_grid by defining a subclass of this class in the abap.
    I've seen various questions relating to all these functions but none in my view ever answers the questions in a simple manner. I hope this simple program will answer all these and show how using OO ALV is actually quite easy and people shouldn't be scared of using OO.
    Have fun and award points if useful.
    Cheers
    Jimbo.
    <b>PROGRAM zdynfieldcat.
    Simple test of dynamic ITAB with user defined (not ddic) fields
    Build dynamic fcat
    use ALV grid to display and edit.
    *When edit mode set to 1 toolbar gives possibility of adding and
    *deleting rows.
    *Define subclass of cl_gui_alv_grid so we can use protected attributes
    *and methods.
    Add event handler to intercept user entering data and pressing the
    *ENTER key.
    When enter key is pressed get actual value of NEW table (all rows)
    rather than just the changed data.
    *use new RTTI functionality to retrieve internal table structure
    *details.
    Create a blank screen 100  with a custom container called CCONTAINER1.
    James Hawthorne
    include <icon>.
    define  any old internal structure  NOT in DDIC
    types: begin of s_elements,
           anyfield1(20) type c,
           anyfield2(20) type c,
           anyfield3(20) type c,
           anyfield4(20) type c,
           anyfield5(11) type n,
           end of s_elements.
    types:  lt_rows  type lvc_t_roid.
    Note new RTTI functionality allows field detail retrieval
    at runtime for dynamic tables.
    data:   wa_element type s_elements ,
            wa_data type s_elements,
            c_index type sy-index,
            c_dec2 type s_elements-anyfield5,
            wa_it_fldcat type lvc_s_fcat,
            it_fldcat type lvc_t_fcat,
            lr_rtti_struc TYPE REF TO cl_abap_structdescr,    "RTTI
            lt_comp TYPE cl_abap_structdescr=>component_table,"RTTI
            ls_comp LIKE LINE OF lt_comp,                     "RTTI
            zog  like line of lr_rtti_struc->components,      "RTTI
            struct_grid_lset type lvc_s_layo,
            l_valid  type c,
            new_table type ref to data.
    field-symbols: <dyn_table> type standard table,
                   <actual_tab> type standard table,
                   <fs1> type ANY,
                   <FS2> TYPE TABLE.
    data: grid_container1 type ref to cl_gui_custom_container.
    class lcl_grid_event_receiver definition deferred.
    data: g_event_receiver type ref to lcl_grid_event_receiver.
    data: ls_modcell type LVC_S_MODI,
          stab type ref to data,
          sdog type  s_elements.      .
    class lcl_grid_event_receiver definition.
      public section.
        methods:
        handle_data_changed
             for event data_changed of cl_gui_alv_grid
                 importing er_data_changed,
           toolbar for event toolbar of cl_gui_alv_grid
                     importing e_object
                               e_interactive,
          user_command for event user_command of cl_gui_alv_grid
                     importing e_ucomm.
    endclass.
    *implementation of Grid event-handler class
    class lcl_grid_event_receiver implementation.
    method handle_data_changed.
    code whatever required after data entry.
    various possibilites here as you can get back Cell(s) changed
    columns or the entire updated table.
    Data validation is also possible here.
    perform check_data using er_data_changed.
    endmethod.
    Method for handling all creation/modification calls to the toolbar
      method toolbar.
        data : ls_toolbar type stb_button.
    Define Custom Button in the toolbar
        clear ls_toolbar.
        move 0 to ls_toolbar-butn_type.
        move 'EDIT' to ls_toolbar-function.
        move space to ls_toolbar-disabled.
        move 'Edit' to ls_toolbar-text.
        move icon_change_text to ls_toolbar-icon.
        move 'Click2Edit' to ls_toolbar-quickinfo.
        append ls_toolbar to e_object->mt_toolbar.
        clear ls_toolbar.
        move 0 to ls_toolbar-butn_type.
        move 'UPDA' to ls_toolbar-function.
        move space to ls_toolbar-disabled.
        move 'Update' to ls_toolbar-text.
        move icon_system_save to ls_toolbar-icon.
        move 'Click2Update' to ls_toolbar-quickinfo.
        append ls_toolbar to e_object->mt_toolbar.
        clear ls_toolbar.
        move 0 to ls_toolbar-butn_type.
        move 'EXIT' to ls_toolbar-function.
        move space to ls_toolbar-disabled.
        move 'Exit' to ls_toolbar-text.
        move icon_system_end to ls_toolbar-icon.
        move 'Click2Exit' to ls_toolbar-quickinfo.
        append ls_toolbar to e_object->mt_toolbar.
      endmethod.
      method user_command.
        case e_ucomm .
          when 'EDIT'.          "From Tool bar
            perform set_input.
             perform init_grid.
          when 'UPDA'.          "From Tool bar
            perform refresh_disp.
            perform update_table.
          when 'EXIT'.          "From Tool bar
            leave program.
        endcase.
      endmethod.
    endclass.
    class zcltest definition inheriting from  cl_gui_alv_grid.
    define this as a subclass so we can access the protected attributes
    of the superclass cl_gui_alv_grid
    public section.
    methods: constructor, disp_tab.
    endclass.
    need this now to instantiate object
    as we are using subclass rather than the main cl_gui_alv_grid.
    class zcltest implementation.
    METHOD constructor.
    CALL METHOD super->constructor
            exporting i_appl_events = 'X'
               i_parent = grid_container1.
    endmethod.
    method disp_tab.
    FIELD-SYMBOLS: <outtab> TYPE STANDARD TABLE.
    break-point 1.
    mt_outtab is the data table held as a protected attribute
    in class cl_gui_alv_grid.
    ASSIGN me->mt_outtab->* TO <outtab>.  "Original data
    do whatever you want with <outtab>
    contains data BEFORE changes each time.
    Note that NEW (Changed) table has been obtained already by
    call to form check_data USING P_ER_DATA_CHANGED
             TYPE REF TO CL_ALV_CHANGED_DATA_PROTOCOL.
    Entered data is in table defined by <fs2>
    In this method you can compare original and changed data.
    Easier than messing around with individual cells.
    do what you want with data in <fs2>  validate / update / merge etc
    endmethod.
    endclass.
    data :
        ok_code like sy-ucomm,
        save_ok like sy-ucomm,
        i4 type int4,
    Container Object [grid_container]
    now created via method constructor
    in the subclass zcltest.
    Control Object [grid]
    grid1 type ref to zcltest,
    Event-Handler Object [grid_handler]
    grid_handler type ref to lcl_grid_event_receiver.
    start-of-selection.
    call screen 100.
    module status_0100 output.
    now display it as grid
    if grid_container1 is initial.
        create object grid_container1
            exporting
              container_name = 'CCONTAINER1'.
        create object grid1.
         break-point 1.
        create object grid_handler.
        set handler:
           grid_handler->user_command for grid1,
           grid_handler->toolbar for grid1,
           grid_handler->handle_data_changed for grid1.
    perform create_dynamic_fcat.
    perform create_dynamic_itab.
    perform populate_dynamic_itab.
    perform init_grid.
    perform register_enter_event.
    set off ready for input initially
    i4 = 0.
      call method grid1->set_ready_for_input
             exporting
               i_ready_for_input = i4.
    endif.
    endmodule.
    module user_command_0100 input.
    *PAI not needed in OO ALV anymore as User Commands are handled as events
    *in method user_command.
    *we can also get control if the Data entered and the ENTER is pressed by
    *raising an event.
    Control then returns to method handle_data_changed.
    endmodule.
    form create_dynamic_fcat.
    get structure of our user table for building field catalog
    Use the RTTI functionality
    lr_rtti_struc ?= cl_abap_structdescr=>describe_by_data( wa_data ).
    Build field catalog just use basic data here
    colour specific columns as well
    loop at lr_rtti_struc->components into zog.
    c_index = c_index + 1.
    clear wa_it_fldcat.
      wa_it_fldcat-fieldname = zog-name .
      wa_it_fldcat-datatype =  zog-type_kind.
      wa_it_fldcat-inttype =   zog-type_kind.
      wa_it_fldcat-intlen =    zog-length.
      wa_it_fldcat-decimals =  zog-decimals.
      wa_it_fldcat-lowercase = 'X'.
      if c_index eq 2.
      wa_it_fldcat-emphasize = 'C411'.
         endif.
        if c_index eq 3.
      wa_it_fldcat-emphasize = 'C511'.
       endif.
      append wa_it_fldcat to it_fldcat .
    endloop.
    endform.
    form create_dynamic_itab.
    Create dynamic internal table and assign to field sysmbol.
    Use dynamic field catalog just built.
    call method cl_alv_table_create=>create_dynamic_table
                 exporting
                    it_fieldcatalog = it_fldcat
                 importing
                    ep_table        = new_table.
    assign new_table->* to <dyn_table>.
    endform.
    form populate_dynamic_itab.
    load up a line of the dynamic table
    c_dec2 = c_dec2 + 11.
    wa_element-anyfield1 = 'Tabbies'.
    wa_element-anyfield2 = 'ger.shepards'.
    wa_element-anyfield3  = 'White mice'.
    wa_element-anyfield4 =  'Any old text'.
    wa_element-anyfield5 =  c_dec2.
    append  wa_element to <dyn_table>.
    endform.
    form check_data USING P_ER_DATA_CHANGED
               TYPE REF TO CL_ALV_CHANGED_DATA_PROTOCOL.
    Get altered data back
      ASSIGN   p_er_data_changed->mp_mod_rows TO <FS1>.
    stab =       p_er_data_changed->mp_mod_rows.
    ASSIGN STAB->* TO <FS2>.
    LOOP AT <FS2> INTO sdog.
    ALV grid display with altered data is now in <fs2>.
    do any extra processing you want here
    endloop.
    now display new table
    call method grid1->disp_tab.
    endform.
    form exit_program.
      call method grid_container1->free.
      call method cl_gui_cfw=>flush.
      leave program.
    endform.
    form refresh_disp.
      call method grid1->refresh_table_display.
    endform.
    form update_table.
    The dynamic table here is the changed table read from the grid
    after user has changed it
    Data can be saved to DB or whatever.
    loop at <dyn_table> into wa_element.
    do what you want with the data here
    endloop.
    switch off edit mode again for next function
    i4 = 0.
      call method grid1->set_ready_for_input
          exporting
              i_ready_for_input = i4.
    endform.
    form set_input.
    i4 = 1.
      call method grid1->set_ready_for_input
         exporting
           i_ready_for_input = i4.
    endform.
    form switch_input.
    if i4 = 1.
    i4 = 0.
    else.
    i4 = 1.
    endif.
      call method grid1->set_ready_for_input
         exporting
           i_ready_for_input = i4.
    endform.
    form init_grid.
    Enabling the grid to edit mode,
         struct_grid_lset-edit = 'X'. "To enable editing in ALV
         struct_grid_lset-grid_title  = 'Jimbos Test'.
         call method grid1->set_table_for_first_display
           exporting
             is_layout           = struct_grid_lset
           changing
             it_outtab             =  <dyn_table>
             it_fieldcatalog       =  it_fldcat.
    endform.
    form register_enter_event.
    call method grid1->register_edit_event
                   exporting
                      i_event_id = cl_gui_alv_grid=>mc_evt_enter.
    Instantiate the event or it won't work.
    create object g_event_receiver.
    set handler g_event_receiver->handle_data_changed for grid1.
    endform.</b>

    Hi there
    IE7 doesn't give me the add new page option and I get 404 error when trying to access the "How to contribute" section.
    I'll load up Firefox later (this browser usually works when IE7 doesn't always work properly).
    I'll copy the stuff to the wiki when I've got the browser sorted out.
    Cheers
    jimbp

  • Dump Error

    Dump Msg
                                                                                    With ABAP/4 Open SQL array select, the output table is too small.                                                                               
    What happened?                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "ZFLEXI" had to be terminated because one of the               
    statements could not be executed.                                                               
    This is probably due to an error in the ABAP program.             
    My logic is :
    *& Report  : ZDLYDSPHNEW                                               *
    *& Purpose : Daily Godown dispatches with condition valu details       *
    REPORT ZDLYDSPH NO STANDARD PAGE HEADING LINE-SIZE 255 LINE-COUNT 30(10)
    MESSAGE-ID SK .
    TYPE-POOLS: SLIS,ABAP.
    CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    TABLES : VBRK,     "Billing document header detail
             VBRP,     "Billing document item details
             MAKT,     "Material Description
             BHDGD,
             MARA,     "Material Master
             KNA1,     "Customer Master Table
             TSPA,
            J_1IEXCHDR.
    FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
                   <DYN_WA>,
                   <DYN_FIELD>.
    DATA: DY_TABLE TYPE REF TO DATA,
          DY_LINE  TYPE REF TO DATA,
          XFC TYPE LVC_S_FCAT,
          IFC TYPE LVC_T_FCAT,
          DYN_TABLE TYPE STANDARD TABLE OF KOMG WITH HEADER LINE.
    DATA: P_TABLE(30) TYPE C VALUE 'VBRK'.
    Selection Screen Started
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK B_1 WITH FRAME TITLE TEXT-010.
    SELECT-OPTIONS : S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
                     S_SPART FOR VBRK-SPART OBLIGATORY,
                     S_VBELN FOR VBRK-VBELN,
                     S_KUNAG FOR VBRK-KUNAG,
                     S_FKART FOR VBRK-FKART,
                     S_WERKS FOR VBRP-WERKS," obligatory,
                       S_VKBUR FOR VBRP-VKBUR,
                     S_VKORG FOR VBRK-VKORG OBLIGATORY,
                        S_VKGRP FOR VBRP-VKGRP, " sales group
                     S_RFBSK FOR VBRK-RFBSK OBLIGATORY DEFAULT 'C'.
    SELECTION-SCREEN END OF BLOCK B_1.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK B_2 WITH FRAME TITLE TEXT-011.
    PARAMETERS : P_VARI LIKE DISVARIANT-VARIANT.
    SELECTION-SCREEN END OF BLOCK B_2.
    START-OF-SELECTION.
    PERFORM GET_FIELDS.
      PERFORM GET_STRUCTURE.
      PERFORM NEW_DYNAMIC_TABLE.
      PERFORM GET_OUTPUT_DATA.
      PERFORM OUTPUT_WRITE.
      PERFORM GENERATE_OUTPUT.
    *&      Form  NEW_DYNAMIC_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM NEW_DYNAMIC_TABLE .
    Create dynamic internal table and assign to FS
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IFC
        IMPORTING
          EP_TABLE        = DY_TABLE.
      ASSIGN DY_TABLE->* TO <DYN_TABLE>.
    Create dynamic work area and assign to FS
      CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
      ASSIGN DY_LINE->* TO <DYN_WA>.
    PERFORM ASSIGN_VALUES-SELECTED.
    ENDFORM.                    " NEW_DYNAMIC_TABLE
    *&      Form  GENERATE_OUTPUT
          text
    -->  p1        text
    <--  p2        text
    FORM GENERATE_OUTPUT .
    ENDFORM.                    " GENERATE_OUTPUT
    *&      Form  GET_BILLING_HEADER
          text
    -->  p1        text
    <--  p2        text
    FORM GET_BILLING_HEADER .
    SELECT * INTO CORRESPONDING FIELDS OF TABLE I_VBRK
       FROM VBRK
        WHERE VBELN IN S_VBELN
          AND FKART IN S_FKART
          AND VKORG IN S_VKORG
          AND FKDAT IN S_FKDAT
          AND RFBSK IN S_RFBSK
          AND KUNAG IN S_KUNAG
          AND SPART IN S_SPART ORDER BY FKDAT.
    LOOP AT I_VBRK.
       ASSIGN I_VBRK TO <HEADER>.
      ASSIGN I_VBRK TO <DATA_TAB>.
       ASSIGN I_VBRK TO <F>.
       CASE TITEL-FELDNAME.
         WHEN OTHERS.
           READ TABLE G_T_TEXTS_ALL
         WITH KEY TABNAME   = TITEL-TABNAME
                  FIELDNAME = TITEL-FIELD
         INTO G_S_TEXT.
           DATEN-DATEN = <HEADER>.
           DATEN-DATEN = <DATAIN>.
           MOVE-CORRESPONDING <HEADER> TO DATEN.
           CLEAR DATEN-DATEN.
       if titel-tabname+0(5) = 'VBRK'.
           ASSIGN (TITEL-FELDNAME) TO <HEADER>.
           DATEN-DATEN = <HEADER>.
       ENDIF.
       ENDCASE.
       DATEN-ZEILE = ZEILE.
       APPEND DATEN.
    ENDLOOP.
    ENDFORM.                    " GET_BILLING_HEADER
    *&      Form  GET_STRUCTURE
          text
    -->  p1        text
    <--  p2        text
    FORM GET_STRUCTURE .
      DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
      XDETAILS TYPE ABAP_COMPDESCR.
      DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
    Get the structure of the table.
      REF_TABLE_DES ?=
      CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
      IDETAILS[] = REF_TABLE_DES->COMPONENTS.
      LOOP AT IDETAILS INTO XDETAILS.
        CLEAR XFC.
        XFC-FIELDNAME = XDETAILS-NAME .
        XFC-DATATYPE = XDETAILS-TYPE_KIND.
        XFC-INTTYPE = XDETAILS-TYPE_KIND.
        XFC-INTLEN = XDETAILS-LENGTH.
        XFC-DECIMALS = XDETAILS-DECIMALS.
        APPEND XFC TO IFC.
      ENDLOOP.
    ENDFORM.                    " GET_STRUCTURE
    *&      Form  GET_OUTPUT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_OUTPUT_DATA .
    Select Data from table.
      SELECT * INTO TABLE <DYN_TABLE>
          FROM ( VBRK )
           WHERE VBELN IN S_VBELN
             AND FKART IN S_FKART
             AND VKORG IN S_VKORG
             AND FKDAT IN S_FKDAT
             AND RFBSK IN S_RFBSK
             AND KUNAG IN S_KUNAG
             AND SPART IN S_SPART ORDER BY FKDAT.
    ENDFORM.                    " GET_OUTPUT_DATA
    *&      Form  OUTPUT_WRITE
          text
    -->  p1        text
    <--  p2        text
    FORM OUTPUT_WRITE .
      LOOP AT <DYN_TABLE> INTO <DYN_WA>.
        DO.
          ASSIGN COMPONENT SY-INDEX
          OF STRUCTURE <DYN_WA> TO <DYN_FIELD>.
          IF SY-SUBRC EQ 0.
            EXIT.
          ENDIF.
          IF SY-INDEX = 1.
            WRITE:/ <DYN_FIELD>.
          ELSE.
            WRITE: <DYN_FIELD>.
          ENDIF.
        ENDDO.
      ENDLOOP.
    ENDFORM.                    " OUTPUT_WRITE
    Edited by: ABHUT on May 27, 2008 11:34 AM

    Dump Msg
    With ABAP/4 Open SQL array select, the output table is too small.
    What happened?
    Error in ABAP application program.
    The current ABAP program "ZFLEXI" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    My logic is :
    *& Report : ZDLYDSPHNEW *
    *& Purpose : Daily Godown dispatches with condition valu details *
    REPORT ZDLYDSPH NO STANDARD PAGE HEADING LINE-SIZE 255 LINE-COUNT 30(10)
    MESSAGE-ID SK .
    TYPE-POOLS: SLIS,ABAP.
    CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    TABLES : VBRK, "Billing document header detail
    VBRP, "Billing document item details
    MAKT, "Material Description
    BHDGD,
    MARA, "Material Master
    KNA1, "Customer Master Table
    TSPA,
    J_1IEXCHDR.
    FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
    <DYN_WA>,
    <DYN_FIELD>.
    DATA: DY_TABLE TYPE REF TO DATA,
    DY_LINE TYPE REF TO DATA,
    XFC TYPE LVC_S_FCAT,
    IFC TYPE LVC_T_FCAT,
    DYN_TABLE TYPE STANDARD TABLE OF KOMG WITH HEADER LINE.
    DATA: P_TABLE(30) TYPE C VALUE 'VBRK'.
    Selection Screen Started
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK B_1 WITH FRAME TITLE TEXT-010.
    SELECT-OPTIONS : S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
    S_SPART FOR VBRK-SPART OBLIGATORY,
    S_VBELN FOR VBRK-VBELN,
    S_KUNAG FOR VBRK-KUNAG,
    S_FKART FOR VBRK-FKART,
    S_WERKS FOR VBRP-WERKS," obligatory,
    S_VKBUR FOR VBRP-VKBUR,
    S_VKORG FOR VBRK-VKORG OBLIGATORY,
    S_VKGRP FOR VBRP-VKGRP, " sales group
    S_RFBSK FOR VBRK-RFBSK OBLIGATORY DEFAULT 'C'.
    SELECTION-SCREEN END OF BLOCK B_1.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK B_2 WITH FRAME TITLE TEXT-011.
    PARAMETERS : P_VARI LIKE DISVARIANT-VARIANT.
    SELECTION-SCREEN END OF BLOCK B_2.
    START-OF-SELECTION.
    PERFORM GET_FIELDS.
    PERFORM GET_STRUCTURE.
    PERFORM NEW_DYNAMIC_TABLE.
    PERFORM GET_OUTPUT_DATA.
    PERFORM OUTPUT_WRITE.
    PERFORM GENERATE_OUTPUT.
    *& Form NEW_DYNAMIC_TABLE
    text
    --> p1 text
    <-- p2 text
    FORM NEW_DYNAMIC_TABLE .
    Create dynamic internal table and assign to FS
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    EXPORTING
    IT_FIELDCATALOG = IFC
    IMPORTING
    EP_TABLE = DY_TABLE.
    ASSIGN DY_TABLE->* TO <DYN_TABLE>.
    Create dynamic work area and assign to FS
    CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
    ASSIGN DY_LINE->* TO <DYN_WA>.
    PERFORM ASSIGN_VALUES-SELECTED.
    ENDFORM. " NEW_DYNAMIC_TABLE
    *& Form GENERATE_OUTPUT
    text
    --> p1 text
    <-- p2 text
    FORM GENERATE_OUTPUT .
    ENDFORM. " GENERATE_OUTPUT
    *& Form GET_STRUCTURE
    text
    --> p1 text
    <-- p2 text
    FORM GET_STRUCTURE .
    DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
    XDETAILS TYPE ABAP_COMPDESCR.
    DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
    Get the structure of the table.
    REF_TABLE_DES ?=
    CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
    IDETAILS[] = REF_TABLE_DES->COMPONENTS.
    LOOP AT IDETAILS INTO XDETAILS.
    CLEAR XFC.
    XFC-FIELDNAME = XDETAILS-NAME .
    XFC-DATATYPE = XDETAILS-TYPE_KIND.
    XFC-INTTYPE = XDETAILS-TYPE_KIND.
    XFC-INTLEN = XDETAILS-LENGTH.
    XFC-DECIMALS = XDETAILS-DECIMALS.
    APPEND XFC TO IFC.
    ENDLOOP.
    ENDFORM. " GET_STRUCTURE
    *& Form GET_OUTPUT_DATA
    text
    --> p1 text
    <-- p2 text
    FORM GET_OUTPUT_DATA .
    Select Data from table.
    SELECT * INTO TABLE <DYN_TABLE>
    FROM ( VBRK )
    WHERE VBELN IN S_VBELN
    AND FKART IN S_FKART
    AND VKORG IN S_VKORG
    AND FKDAT IN S_FKDAT
    AND RFBSK IN S_RFBSK
    AND KUNAG IN S_KUNAG
    AND SPART IN S_SPART ORDER BY FKDAT.
    ENDFORM. " GET_OUTPUT_DATA
    *& Form OUTPUT_WRITE
    text
    --> p1 text
    <-- p2 text
    FORM OUTPUT_WRITE .
    LOOP AT <DYN_TABLE> INTO <DYN_WA>.
    DO.
    ASSIGN COMPONENT SY-INDEX
    OF STRUCTURE <DYN_WA> TO <DYN_FIELD>.
    IF SY-SUBRC EQ 0.
    EXIT.
    ENDIF.
    IF SY-INDEX = 1.
    WRITE:/ <DYN_FIELD>.
    ELSE.
    WRITE: <DYN_FIELD>.
    ENDIF.
    ENDDO.
    ENDLOOP.
    ENDFORM. " OUTPUT_WRITE
    Edited by: ABHUT on May 27, 2008 11:34 AM

Maybe you are looking for

  • How to detect a Wireless Internet access point (Legally)

    When I am using my new Macbook Pro at a hotel that has an open and free wireless network, what do I do to note that it is there? What do I bring up to be able connect to it? I was just at a hospital that friends (there) told me had open and free loca

  • Variable exit in sap bi 7.0  is not working in web report

    Hi Experts,     I had wrote a variable exit to get latest run date at variable screen for a variable.On the base query i have created query view.This query view is working fine when i am viewing from analyzer  but on  the web Im not getting latest ru

  • This program won't work for some reason

    I'm having trouble with getting this program to do what I want. It reads in a file and identifies certain parts that follow the rules I've given. The first version below is one that works. It simply prints out the string if it meets the conditions in

  • PannelTabbed auto height

    Hi, I have a pannelTabbed layout with 2 tabs, each tab has dynamic content that can change its height. I need to be able to size the pannelTabbed height automatically based on the content with out showing any scrollbars. I tried the property dimensio

  • Forgotten password to make changes

    Hi, I want to go in and make system chages but it requires a password. All my passwords are the same for those sort of things but whatever I put in will just not work! I was wondering if there is a way to chage/reset my password? Many thanks, Zak Mor