Short dump when trying to Select date in Field

Hi,
I created generic data source based on Function Module. I went to RSA3 to test the extraction and I got this error message when I tried to enter a date as input selection in date field or any other selection field
If I test the extraction without any input I get correct results.
Whats the reason for this error?
*Error analysis
   The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
   statement in which the WHERE condition contains an IN itab operator.
   The IN itab operator is used with internal tables which
   have the following structure:
      SIGN(1)   OPTION(2)   LOW LIKE db_field   HIGH LIKE db_field
   The OPTION column should contain only one of the following values:
      "EQ LE GE CP BT NE LT GT NP NB"
Function module code
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
      LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'COMPID'.
        MOVE-CORRESPONDING L_S_SELECT TO rd.
        APPEND rd.
      ENDLOOP.
      LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'SUBSCRIBERS'.
        MOVE-CORRESPONDING L_S_SELECT TO rs.
        APPEND rd.
      ENDLOOP.
      LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'TURNOVER'.
        MOVE-CORRESPONDING L_S_SELECT TO rt.
        APPEND rd.
      ENDLOOP.
      LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'ENTRYDATE'.
        MOVE-CORRESPONDING L_S_SELECT TO re.
        APPEND rd.
      ENDLOOP.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
      OPEN CURSOR WITH HOLD S_CURSOR FOR
      SELECT (S_S_IF-T_FIELDS) FROM ZMOBILEDATA
                               WHERE COMPID  IN rd AND
                                     SUBSCRIBERS  IN rs AND
                                     TURNOVER IN rt AND
                                     ENTRYDATE IN re.
    ENDIF.                             "First data package ?
Fetch records into interface table.
  named E_T_'Name of extract structure'.
    FETCH NEXT CURSOR S_CURSOR
               APPENDING CORRESPONDING FIELDS
               OF TABLE E_T_DATA
               PACKAGE SIZE S_S_IF-MAXSIZE.
    IF SY-SUBRC <> 0.
      CLOSE CURSOR S_CURSOR.
      RAISE NO_MORE_DATA.
    ENDIF.
Thanks

Hi,
thanks for your input
Rd, rt,re and rs are ranges.
Select ranges
  RANGES: rd FOR ZMOBILEDATA-COMPID,
          rs FOR ZMOBILEDATA-SUBSCRIBERS,
          rt FOR ZMOBILEDATA-TURNOVER,
          re FOR ZMOBILEDATA-ENTRYDATE.
thanks'

Similar Messages

  • Facing short dumps when trying to open session in CSA

    Hi
    All am facing Short dump when i am trying to open session in CSA
    Error detials:
    go to System Administration workcenter  task management up CSA. Choose the Solution
    got short dump:
    Short text
        Length error occurred in IMPORT statement.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "LOAD" "(METHOD)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        During import the system discovered that the target object has
        a different length than the object to be imported.
    Missing RAISING Clause in Interface
        Program                                 SAPLDSVAS_PROC
        Include                                 LDSVAS_PROCTAI
        Row                                     1.431
        Module type                             (METHOD)
        Module Name                             LOAD
    Trigger Location of Exception
        Program                                 SAPLDSVAS_PROC
        Include                                 LDSVAS_PROCTAI
        Row                                     1.514
        Module type                             (METHOD)
        Module Name                             LOAD
    Please help me to solve this problem
    Regards,
    Neni

    Hello Neni
    According to the information I saw in that post it could be caused by a sort of inconsistency of the program code vs a structure.
    Wether that is a bug that is in your SAP Solution Manager release or something that is caused by administrative actions (perhaps solving SPAU entries after SP stack update or upgrade) I cannot tell.
    I would recommend you either try and find a relative SAP note (narrowing down result to only your SAP Solution Manager system) and searching using the dump keywords. If you cannot find anything I would recommend you to open a customer message so SAP can take a look at the specific error.
    If you give more information, perhaps someone on the forum can help you out abit better, which SAP Solution Manager version and so on.
    You also didn't answer my question, any recent changes you are aware of ?
    Kind regards
    Tom

  • Short Dump when trying to open C-project due to status

    Hi,
    We have a daily batch job in CRM that reports all the project ID's and
    sends e-mails out to recipients.
    As part of this report it retrieves the statuses for the project ID's,
    however the report short dumps when retrieving the status for one of
    the projects because it is not finding an active status.
    When we try and open the project in C-projects we get the same short
    dump error: CX_DPR_FATAL_ERROR so we cannot view or update the status.
    When we investigate this issue we find that in table CRM_JCDS there are
    3 entries for this project ID. One of the statuses is inactive (I1703)
    but there is another status that is active (I1701). The two status
    entries were created at exactly the same date and time and by the same
    user.
    In table CRM_JEST there is only one entry shown which shows an inactive
    status and we believe this to be the wrong status. Please can you
    advise if this status conflict is causing the problem and also how to
    resolve this issue?

    Hi Paul,
    generally, the project and its elements must have an active status in table CRM_JEST, however, at this point it is not clear how this inconsistency arised. There is no SAP standard report or a 'generally valid' solution that could solve this issue, however, I found a customer message that you have opened in September with exactly the same problem. A colleague from the development team already provided you with a correction report, but there was no feedback from your side if it helped or not.
    It is very difficult to provide help as inconsistencies can have several different causes, so the best would be to have this checked in a customer message with an example.
    Regards,
    Silvia

  • Short dump when trying to see the text elements of main window

    Hi ,
            The form is running properly in 4.7 c . But when the same is copied in ECC5.0 (unicode) , i 'm getting short dump while trying to see the TEXT ELEMENTS .
                    The message is like ' trying to create a field with zero length'.
    Regards,
    Jytoi.

    hi
    I've never worked on ECC 5.0 version..however, I can only tell u that this could be the issue that code written in 4.7 may not be supported in 5.0..so try to get a good idea of ECC 5.0 before u start coding in this..
    regards,
    shamim

  • Short dump when trying to open FPM for Web Dynpro Application

    Hi,
    I am receiving a short dump while trying to open a Web Dynpro Application in FPM.  I go to SE80 and open the Web Dynpro component 'FPM_OIF_COMPONENT'.  I then choose the application '/sapsrm/wda_l_fpm_oif'.  I then click Web Dynpro Application -> Test -> Execute in Administration Mode.  A new IE browser is opened and I then receive a short dump.  The name of the short dump runtime error is 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' and the exception is 'CX_SY_REF_IS_INITIAL'.
    I have not used FPM before.  I would like to use it to remove the 'Close' button from this application.  Do I need to initialize FPM before using it?
    Please help.
    Thanks,
    Jeff

    >
    Chinnu wrote:
    > Hello Jeffery Andersen,
    >
    > If I understand correctly, you are trying to preview FPM_OIF_COMPONENT.
    >
    > I think this component can not be executed as it just is a template for creating a FPM applications. In other words, it is an interface that can be used to created a WD ABAP application from work bench.
    >
    > This [Floor Plan Manager - ABAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50&overridelayout=true] can help you understand better.
    >
    > Best regards,
    > Chinnu
    Hi Chinnu,
    Your understanding is not correct, he is trying to execute the application /sapsrm/wda_l_fpm_oif'.
    Hallo Jeff,
    everyone have suggested lots of possibilities. Nothing works for you. I would suggest the following.
    Go and execute any other FPM application which uses FPM_OIF_COMPONENT,does it work ?
    If it works then you can narrow down that /sapsrm/wda_l_fpm_oif is not working and you can raise a OSS ticket.
    If it is not working then you have to see if you have right BASIS versions to use FPM.
    Edited by: Baskaran Senthivel on Dec 6, 2010 1:09 PM

  • SYSTEM_NO_ROLL dump when trying to precalculate data with RSRD_BROADCAST_PR

    Dear all,
    At my present customer we are facing a problem when doing a precalculate of data with RSRD_BROADCAST_PROCESSOR.
    The dump message is:
    Runtime Errors                                                       SYSTEM_NO_ROLL                    
    Date and Time                                                       20.08.2008                    3:20:54
         Short text                                                                      
                   Unable to fulfil request for 1082885568 bytes of memory space.                                                            
         What happened?                                                                      
                   Each transaction requires some main memory space to process                                                            
                   application data. If the operating system cannot provide any more                                                            
                   space, the transaction is terminated.                                                            
         What can you do?          
                   Try to find out (e.g. by targetted data selection) whether the
                   transaction will run with less main memory.
                   If there is a temporary bottleneck, execute the transaction again.
                   If the error persists, ask your system administrator to check the
                   following profile parameters:
                   o  ztta/roll_area            (1.000.000 - 15.000.000)
                          Classic roll area per user and internal mode
                          usual amount of roll area per user and internal mode
                   o  ztta/roll_extension       (10.000.000 - 500.000.000)
                          Amount of memory per user in extended memory (EM)
                   o  abap/heap_area_total      (100.000.000 - 1.500.000.000)
                          Amount of memory (malloc) for all users of an application
                          server. If several background processes are running on
                          one server, temporary bottlenecks may occur.
                          Of course, the amount of memory (in bytes) must also be
                          available on the machine (main memory or file system swap).
                          Caution:
                          The operating system must be set up so that there is also
                          enough memory for each process. Usually, the maximum address
                          space is too small.
                          Ask your hardware manufacturer or your competence center
                          about this.
                          In this case, consult your hardware vendor
                   abap/heap_area_dia:        (10.000.000 - 1.000.000.000)
                          Restriction of memory allocated to the heap with malloc
                          for each dialog process.
                   Parameters for background processes:
                   abap/heap_area_nondia:        (10.000.000 - 1.000.000.000)
                          Restriction of memory allocated to the heap with malloc
                          for each background process.
                   Other memory-relevant parameters are:
                   em/initial_size_MB:         (35-1200)
                          Extended memory area from which all users of an
                          application server can satisfy their memory requirement.
                   Note which actions and input led to the error.
                   For further help in handling the problem, contact your SAP administrator
                   You can use the ABAP dump analysis transaction ST22 to view and manage
                   termination messages, in particular for long term reference.
         Error analysis          
                   More main memory area was requested.
                   However, all the available space has been used up.
                   Possible reasons:
                   #NAAM?
                   #NAAM?
                   #NAAM?
                   Last error logged in SAP kernel
                   Component............ "EM"
                   Place................ "SAP-Server sapbwp00_PB1_00 on host sapbwp00 (wp 40)"
                   Version.............. 37
                   Error code........... 7
                   Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
                   Description.......... " "
                   System call.......... " "
                   Module............... "emxx.c"
                   Line................. 1881
                   The error reported by the operating system is:
                   Error number..... " "
                   Error text....... " "
         How to correct the error          
                   Try to decide by analysis whether this request is
                   reasonable or whether there is a program error. You should pay
                   particular attention to the internal table entries listed below.
                   If the error occures in a non-modified SAP program, you may be able to
                   find an interim solution in an SAP Note.
                   If you have access to SAP Notes, carry out a search with the following
                   keywords:
                   SYSTEM_NO_ROLL " "
                   CL_ABAP_CONV_OUT_CE===========CP or "CL_ABAP_CONV_OUT_CE===========CM003"
                   WRITE
                   If you cannot solve the problem yourself and want to send an error
                   notification to SAP, include the following information:
                   1. The description of the current problem (short dump)
                      To save the description, choose "System->List->Save->Local File
                   (Unconverted)".
                   2. Corresponding system log
                      Display the system log by calling transaction SM21.
                      Restrict the time interval to 10 minutes before and five minutes
                   after the short dump. Then choose "System->List->Save->Local File
                   (Unconverted)".
                   3. If the problem occurs in a problem of your own or a modified SAP
                   program: The source code of the program
                      In the editor, choose "Utilities->More
                   Utilities->Upload/Download->Download".
                   4. Details about the conditions under which the error occurred or which
                   actions and input led to the error.
         System environment          
                   SAP-Release 700
                   Application server... "sapbwp00"
                   Network address...... "10.91.1.85"
                   Operating system..... "HP-UX"
                   Release.............. "B.11.23"
                   Hardware type........ "ia64"
                   Character length.... 16 Bits
                   Pointer length....... 64 Bits
                   Work process number.. 40
                   Shortdump setting.... "full"
                   Database server... "csu123"
                   Database type..... "ORACLE"
                   Database name..... "PB1"
                   Database user ID.. "SAPPB1"
                   Char.set.... "C"
                   SAP kernel....... 700
                   created (date)... "Jan 23 2008 23:12:46"
                   create on........ "HP-UX B.11.23 U ia64"
                   Database version. "OCI_102 (10.2.0.1.0) "
                   Patch level. 144
                   Patch text.. " "
                   Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
                   SAP database version. 700
                   Operating system..... "HP-UX B.11"
                   Memory consumption
                   Roll.... 8782704
                   EM...... 5091782384
                   Heap.... 2968385120
                   Page.... 49152
                   MM Used. 6350628336
                   MM Free. 1717574096
         User and Transaction          
                   Client.............. 400
                   User................ "*********"
                   Language key........ "N"
                   Transaction......... " "
                   Transactions ID..... "48AB1576041B51CCE10000000A5B0155"
                   Program............. "CL_ABAP_CONV_OUT_CE===========CP"
                   Screen.............. "SAPMSSY0 1000"
                   Screen line......... 6
         Information on where terminated          
                   Termination occurred in the ABAP program "CL_ABAP_CONV_OUT_CE===========CP" -
                    in "WRITE".
                   The main program was "RSRD_BROADCAST_PROCESSOR ".
                   In the source code you have the termination point in line 5
                   of the (Include) program "CL_ABAP_CONV_OUT_CE===========CM003".
                   The program "CL_ABAP_CONV_OUT_CE===========CP" was started as a background job.
                   Job Name....... "BIBCAST4AVN2YK4QXLZWI2MO0ZD5OD3P"
                   Job Initiator.. "********"
                   Job Number..... 02000600
         Source Code Extract               
         Line               SourceCde
         1               METHOD write.
         2               
         3                 IF view IS INITIAL.
         4               * Single field
         >>>>>                   SYSTEM-CALL CONVERT ID 24
         6                                                      " EXPORTING
         7                     DATA data
         8                     ENDIAN me->endian
         9                     IGNORE_CERR me->ignore_cerr
         10                     N n
         11                                                      " IMPORTING
         12                     LEN len
         13                                                       " CHANGING
         14                     CINFO me->cinfo
         15                     BUFFER me->buffer.
         16                 ELSE.
         17               * Structure
         18                   DATA:
         19                     viewstr TYPE xstring.
         20                   viewstr = view->get_view( ).
         21               
         22                   SYSTEM-CALL CONVERT ID 25
         23                                                      " EXPORTING
         24                     DATA data
         Contents of system fields                         
         Name                         Val.
         SY-SUBRC                         0
         SY-INDEX                         0
         SY-TABIX                         4
         SY-DBCNT                         2
         SY-FDPOS                         1
         SY-LSIND                         0
         SY-PAGNO                         0
         SY-LINNO                         1
         SY-COLNO                         1
         SY-PFKEY                         
         SY-UCOMM                         
         SY-TITLE                         Broadcasting Framework: doorgegeven instellingen uitvoeren
         SY-MSGTY                         S
         SY-MSGID                         RSRB1
         SY-MSGNO                         803
         SY-MSGV1                         
         SY-MSGV2                         
         SY-MSGV3                         
         SY-MSGV4                         
         SY-MODNO                         0
         SY-DATUM                         20080820
         SY-UZEIT                         24659
         SY-XPROG                         SAPCNVE
         SY-XFORM                         CONVERSION_EXIT
         Active Calls/Events                                                                                                                                  
         No.               Ty.                              Program                                                       Include                              Line
                        Name                                                                                                                   
         9               METHOD                              CL_ABAP_CONV_OUT_CE===========CP                                                       CL_ABAP_CONV_OUT_CE===========CM003                              5
                        CL_ABAP_CONV_OUT_CE=>WRITE                                                                                                                   
         8               METHOD                              CL_RSRD_UTILITIES=============CP                                                       CL_RSRD_UTILITIES=============CM006                              8
                        CL_RSRD_UTILITIES=>CONVERT_STRING_TO_XSTRING                                                                                                                   
         7               METHOD                              CL_RSRD_DISTRIBUTOR_MAIL======CP                                                       CL_RSRD_DISTRIBUTOR_MAIL======CM002                              30
                        CL_RSRD_DISTRIBUTOR_MAIL=>SET_BODY                                                                                                                   
         6               METHOD                              CL_RSRD_DISTRIBUTOR_MAIL======CP                                                       CL_RSRD_DISTRIBUTOR_MAIL======CM004                              43
                        CL_RSRD_DISTRIBUTOR_MAIL=>IF_RSRD_F_DISTRIBUTOR_RT~DISTRIBUTE                                                                                                                   
         5               METHOD                              CL_RSRD_SETTING===============CP                                                       CL_RSRD_SETTING===============CM005                              123
                        CL_RSRD_SETTING=>EXECUTE_NODES                                                                                                                   
         4               METHOD                              CL_RSRD_SETTING===============CP                                                       CL_RSRD_SETTING===============CM005                              144
                        CL_RSRD_SETTING=>EXECUTE_NODES                                                                                                                   
         3               METHOD                              CL_RSRD_SETTING===============CP                                                       CL_RSRD_SETTING===============CM005                              144
                        CL_RSRD_SETTING=>EXECUTE_NODES                                                                                                                   
         2               METHOD                              CL_RSRD_SETTING===============CP                                                       CL_RSRD_SETTING===============CM002                              108
                        CL_RSRD_SETTING=>EXECUTE                                                                                                                   
         1               EVENT                              RSRD_BROADCAST_PROCESSOR                                                       RSRD_BROADCAST_PROCESSOR                              180
                        START-OF-SELECTION                                                                                                                   
         Chosen variables                                                                                                                                  
         Name                                                                                                                                  
                   Val.                                                                                                                        
         No.               9                    Ty.                         METHOD
         Name               CL_ABAP_CONV_OUT_CE=>WRITE                                             
         N                                                            
                   -1                                                  
                 FFFF                                                       
                 FFFF                                                       
         DATA                                                            
                   MIME-Version: 1.0##Content-Type: multipart/related;## boundary="=_48AB15C6041B51CCE10000000A5B                                                  
              0                                                       
              0                                                       
              4,44426E+93                                                       
                 D9D5D65239FEA01E0DA3FE45E4D4905A0D5C490124F25C1454BDA02F5E4129D2DF4812153604125133510000000152                                                       
         VIEW                                                            
                 F0000000                                                       
                 F0000000     
         LEN          
                   0
              0     
              0     
         %_SPACE          
              0     
              0     
              2     
              0     
         SYST-REPID          
                   CL_ABAP_CONV_OUT_CE===========CP
              0     
              0     
              4,45445E+39     
                 3CF1210F3FE6FF54F35DDDDDDDDDDD3000000000     
         %_DUMMY$$          
              0     
              0     
              2222     
              0     
         RSJOBINFO          
                                                   00000000000000                                  ##
              0     
              0     
              2,22222E+81     
              0     
         ME->BUFFER          
         ME->ENDIAN          
              0     
              0     
              2     
              0     
         ME->IGNORE_CERR          
              0     
              0     
              2     
              0     
         ME->CINFO          
                   ##41024110#Ā####################ā##¨M퇀##罿N##0000############## ### ###0000#0000#########怀### #
                 0000000000000000000000000000000000000D00700000000000000000000000002000000000000000000000600020     
                 0000000000010000000000000000000010000100F00000000000000000000000000000000000000000000000000000     
                 00333333332000000000000000000001000A4C00740033330000000000000020000000333303333002000002000000     
                 014102411030000001000001010100081008D000FE0000000D000C000D000D00020001000000000003000003010001                                                       
         SY-XFORM                                                            
                   CONVERSION_EXIT                                                  
              0                                                       
              0                                                       
              4,44546E+29                                                       
                 3FE65239FEF5894000000000000000                                                       
         VIEWSTR                                                            
         ME->POSITION                                                            
                   0                                                  
              0                                                       
              0                                                       
         No.               8                    Ty.                         METHOD
         Name               CL_RSRD_UTILITIES=>CONVERT_STRING_TO_XSTRING                                             
         I_STRING          
                   MIME-Version: 1.0##Content-Type: multipart/related;## boundary="=_48AB15C6041B51CCE10000000A5B
              0     
              0     
              4,44426E+93     
                 D9D5D65239FEA01E0DA3FE45E4D4905A0D5C490124F25C1454BDA02F5E4129D2DF4812153604125133510000000152     
         R_XSTRING          
         SY-REPID          
                   CL_RSRD_UTILITIES=============CP
              0     
              0     
              4,45555E+39     
                 3CF2324F549C94953DDDDDDDDDDDDD3000000000     
         %_DUMMY$$          
              0     
              0     
              2222     
              0     
         SYST-REPID          
                   CL_RSRD_UTILITIES=============CP
              0     
              0     
              4,45555E+39     
                 3CF2324F549C94953DDDDDDDDDDDDD3000000000     
         LO_CONVERT_OUT          
              90000006     
                 0000002F     
         %_SPACE          
              0                                                       
              0                                                       
              2                                                       
              0                                                       
         SYST                                                            
                   #######################################H#########ÿ#############################T###ÿ###ฐXu#̀##                                                  
              0                                                       
              0,00E+00                                                       
                 0000000000000000000000000000000000000004000000000F000000000000000000000000000105000F0001570000                                                       
                 0000040800000000000002010100010000000008000000000F000000000000000000000000000604000F000085000C                                                       
         No.               7                    Ty.                         METHOD
         Name               CL_RSRD_DISTRIBUTOR_MAIL=>SET_BODY                                             
         SYST-REPID                                                            
                   CL_RSRD_DISTRIBUTOR_MAIL======CP
              0     
              0     
              4,45555E+39     
                 3CF2324F493429254F2FD19CDDDDDD3000000000     
         ME->O_R_PARAMETER          
              80000007     
                 F0000020     
         ME->IF_RSRD_F_DESIGN_TIME~C_PARAMETER_TYPE_TEXT          
                   DI_BODY
              0     
              0     
              4,45445E+29     
                 49F2F4900000000000000000000000     
         L_BODY          
         %_DUMMY$$          
              0     
              0     
              2222     
              0     
         ME->IF_RSRD_F_DESIGN_TIME~C_PARAMETER_TYPE_PCD_FOLDER          
                   DI_IMPORTANCE
              0     
              0     
              4,45445E+29     
                 49F9D0F241E3500000000000000000     
         L_IMPORTANCE          
                   MEDIUM
              0     
              0     
              444454     
                 D5495D     
         SY-REPID          
                   CL_RSRD_DISTRIBUTOR_MAIL======CP
              0     
              0     
              4,45555E+39     
                 3CF2324F493429254F2FD19CDDDDDD3000000000     
         ME->O_SX_DOCUMENT+148(256)          
                   multipart/related
              0     
              0     
              6,76768E+93     
                 D5C490124F25C145400000000000000000000000000000000000000000000000000000000000000000000000000000     
         ME->O_SX_DOCUMENT+440(8)          
                   Table IT_77861199[0x296]
    DATA=O_SX_DOCUMENT-T_MIMES     
                 Table reference: 2400542&n

    Hi,
    Take help of your basis team to extend the Memory allocation for this Job
    or you need to Restrict the Information that you are Broadcasting
    I mean some more restrictions in the report to reduce the Data Size for brodcasting
    Assigning the Points is the way to say thanks in SDN if helpful
    Regards
    Hari

  • Short Dump when trying to change configuration of BT112H_SC/OVViewSet (Service Contracts)

    Hi Experts,
    I have a problem with a component usage when trying to change the OverviewSet Configuration for the Service Contract. The whole component BT112H_SC is complete standard and no enhancements have been made yet.
    When trying to change the configuration of the view OVViewSet there appears the error message:
    '500 SAP Internal Server Error'
    Error: Define Component Usage 'CUIR_Container' (termination: Rabax_State)
    The place where the code dumps is shown in the attached picture with the name 'ST22'. The error screen when trying to change of the configuration is shown in the attached picture 'Configuration'
    It seems like one error is appearing in Line 18 of the class CL_BSP_WD_REPOSITORY and method GET_CMP_USAGE_DEF:
    Method: GET_CMP_USAGE_DEF.
    method GET_CMP_USAGE_DEF.
       field-symbols: <USAGE> type BSP_WD_CMP_USAGE_DESCR.
       read table ME->USAGES with key USAGE_NAME = IV_USAGE_NAME
                             assigning <USAGE> binary search.
       if SY-SUBRC = 0.
    *   Is usage active?
         if CL_WEBCUIF_SWITCH=>IS_ACTIVE( IV_SWITCH_ID = <USAGE>-SFW_DATA-SWITCH_ID
                                          IV_REACTION  = <USAGE>-SFW_DATA-REACTION ) ne ABAP_TRUE.
    *     usage switched off
           raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
             exporting
               TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>ACCESS_2_INACTIVE_ELEMENT
               NAME   = IV_USAGE_NAME.
         endif.
         RS_RESULT = <USAGE>.
       else.
         raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
           exporting
             TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>UNDEFINED_CMP_USAGE
             NAME   = IV_USAGE_NAME.
       endif.
    endmethod.                    "GET_CMP_USAGE_DEF
    Any Ideas? Do I have to create the component usage manually?

    Hi Oliver,
      Go to RTR->Viewset->OVViewset-> see whether any view 'CUIR_CONTAINER' is there in that viewset.
      If it is there then u need to create component usage of that view. Or else remove that view from viewset.
    Regards,
    Arun

  • Short dump when trying to change DTP status to 'green'

    Hi,
    For a DTP delta run that brings in 0 records, the technical status turn green after 5-6seconds. But the overall status remains in yellow state.
    Also if we manually try to set it to 'red', I am able to do so and delete this request and run a new request, but again it ends with overall status yellow.
    If I try to set it to 'green' manually following short dump occurs:
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLRSMDATASTATE
    Application Component  BW-WHM-DST
    I have already scanned all SAP notes relevant for this short dump, but none of them relates to this scenario.
    Please let me know if anyone faced this issue anytime, and how was it solved?
    Version : BW 7.02 SP14
    Regards,
    Rathy

    Hello Rathy,
    You can do following things,
    From message, it is apparent that there is Error in one of the ABAP Program . And as the Error is occurring within few seconds of the Start of DTP, can you check and debug the Start Routine .
    If Start Routine is not there, try to check whatever ABAP routine are there in facilitating the  processing.
    ( Routine in relevant Application Componenrt - BW-WHM-DST )
    Before this, can you also check the ABAP Dump through  ST22 and make sure that the underlying datasource ( for DTP ) is OK and smooth.
    Try to proceed in that way.. Hope this helps !
    Regards
    YN

  • Short dump when trying to download alv( reuse_alv_grid data)  into excel

    Hi SAPAll.
    here i have got one alv report ,when executing this alv report it displays in correct way but the only problem is when i click on the icon(local file) which exists at standard tool bar at the top to dowbload into local excel file it is raising the runtime error as
    The current statement requires a character-type data object.
    at happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLKKBL" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    ror analysis
    At the statment
    "STRLEN( obj )..."
    , only character-type data objects are supported at the argument
    position "obj".
    In this particular case, the operand "obj" has the non-charcter-type type
    "P".
    igger Location of Runtime Error
    Program SAPLKKBL
    Include LKKBLF99
    Row 3.948
    Module type (FORM)
    Module Name GEN_FIELD_OUT2
    Line SourceCde
    3923 * Bei NUMC führende '0' und ' ' nicht berücksichtigen
    3924 elseif gs_fc-tech_form = 6.
    3925 write  to gs_out-hlpchar no-zero left-justified.
    3926 if gs_fc-just = 'R'.
    3927 condense gs_out-hlpchar.
    3928 endif.
    3929 gs_out-hlplen = strlen( gs_out-hlpchar ).
    3930 elseif gs_fc-tech_form = 11. "INS TECH11
    3931 * Min. Ausgabelänge für ein Datum ist immer 8
    3932 if gs_fc-datatype = 'DATS'. "INS TECH11
    3933 gs_out-hlplen = 8. "INS TECH11
    3934 * Min. Ausgabelänge für eine Uhrzeit ist immer 6
    3935 elseif gs_fc-datatype = 'TIMS'. "INS TECH11
    3936 gs_out-hlplen = 6. "INS TECH11
    3937 endif. "INS TECH11
    3938 elseif gs_fc-tech_form = 1 or gs_fc-tech_form = 90.
    3939 * Überführung int. in ext. Format via Konvertierungsexit
    3940 if not gs_fc-convexit is initial or "INS TECH11
    3941 not gs_fc-inttype ca 'CN'.
    3942 * elseif not gs_fc-convexit is initial. "DEL TECH11
    please respond at ur time

    Hi,
    Verify your field_cat, because the element (column) with value (type P) may be defined with the parameter inttype = 'C' or inttype = 'N'.
    You have to change to inttype = 'P' .
    Best regards,
    Leandro Mengue

  • Short Dump when trying to display transformations.

    hello Experts,
    When I am trying to display the rule details in the transformations i am facing the follwing shortdump messages. I just want to see the rooutine in the rule details of the transformation.Could you please help me to resolve this issue.
    "MESSAGE_TYPE_X" " "
    "CL_RSTRAN_STEP_ROUT===========CP" or "CL_RSTRAN_STEP_ROUT===========CM008"
    "MAINTAIN_ROUT"
    Regards,

    Step 1: After u see the error message when you open the transformation, try TC su53. This will tell you if you are missing any authorization.
    Step2 : If everything is fine! Is your Tran 'deactivated' id 'white' in color ? Activate you source n target again & try to open the TRAN

  • Short dump when trying to download alv into excel

    Hi SAPAll.
    here i have got one alv report ,when executing this alv report it displays in correct way but the only problem is when i click on the icon(local file) which exists at standard tool bar at the top to dowbload into local excel file it is raising the runtime error as
      The current statement requires a character-type data object.
    at happened?
      Error in the ABAP Application Program
      The current ABAP program "SAPLKKBL" had to be terminated because it has
      come across a statement that unfortunately cannot be executed.
    ror analysis
      At the statment
           "STRLEN( obj )..."
      , only character-type data objects are supported at the argument
      position "obj".
      In this particular case, the operand "obj" has the non-charcter-type type
      "P".
    igger Location of Runtime Error
      Program                                 SAPLKKBL
      Include                                 LKKBLF99
      Row                                     3.948
      Module type                             (FORM)
      Module Name                             GEN_FIELD_OUT2
    Line  SourceCde
    3923 * Bei NUMC führende '0' und ' ' nicht berücksichtigen
    3924   elseif gs_fc-tech_form = 6.
    3925     write  to gs_out-hlpchar no-zero left-justified.
    3926     if gs_fc-just = 'R'.
    3927       condense gs_out-hlpchar.
    3928     endif.
    3929     gs_out-hlplen = strlen( gs_out-hlpchar ).
    3930   elseif gs_fc-tech_form = 11.                              "INS TECH11
    3931 *   Min. Ausgabelänge für ein Datum ist immer 8
    3932     if gs_fc-datatype = 'DATS'.                             "INS TECH11
    3933       gs_out-hlplen = 8.                                    "INS TECH11
    3934 *    Min. Ausgabelänge für eine Uhrzeit ist immer 6
    3935     elseif gs_fc-datatype = 'TIMS'.                         "INS TECH11
    3936       gs_out-hlplen = 6.                                    "INS TECH11
    3937     endif.                                                  "INS TECH11
    3938   elseif gs_fc-tech_form = 1 or gs_fc-tech_form = 90.
    3939 *   Überführung int. in ext. Format via Konvertierungsexit
    3940     if not gs_fc-convexit is initial or                     "INS TECH11
    3941        not gs_fc-inttype ca 'CN'.
    3942 *   elseif not gs_fc-convexit is initial.            "DEL TECH11
    will be waiting for quick response please respond at your discretion.
    regards.
    Varma
    Edited by: Thomas Zloch on Mar 11, 2010 11:48 AM

    hi suhas .
    the folliwing below is the code for alv and i had used 2 different structures for populating the data into alv
    FORM fieldcat_init  USING    p_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   = 'ORDER'.
      ls_fieldcat-ref_tabname = 'st_proc_out'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'ORDER NUMBER'.
      ls_fieldcat-seltext_m   = 'ORDER NUMBER'.
      ls_fieldcat-seltext_l   = 'ORDER NUMBER'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   = 'P_ORDER'.
      ls_fieldcat-ref_tabname = 'st_proc_out'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'P.O.NUMBER'.
      ls_fieldcat-seltext_m   = 'P.O.NUMBER'.
      ls_fieldcat-seltext_l   = 'P.O.NUMBER'.
      APPEND ls_fieldcat TO p_fieldcat.
    CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   ='LINE'.
      ls_fieldcat-ref_tabname = 'st_proc_out2'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'Line Number'.
      ls_fieldcat-seltext_m   = 'Line Number'.
      ls_fieldcat-seltext_l   = 'Line Number'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   ='MATNO'.
      ls_fieldcat-ref_tabname = 'st_proc_out2'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'Mat.Number'.
      ls_fieldcat-seltext_m   = 'Mat.Number'.
      ls_fieldcat-seltext_l   = 'Mat.Number'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   ='MATERIAL'.
      ls_fieldcat-ref_tabname = 'st_proc_out2'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'Mat Descrption'.
      ls_fieldcat-seltext_m   = 'Mat Descrption'.
      ls_fieldcat-seltext_l   = 'Mat Descrption'.
      APPEND ls_fieldcat TO p_fieldcat .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = 'YSDRO024C1'
          i_grid_title       = 'EXPORT ORDER REPORT'
          is_layout          = alv_layout
          it_fieldcat        = alv_fieldcat
          i_save             = 'A'
        TABLES
          t_outtab           = i_output
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM  proc_print.
    FORM proc_print .
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-col_pos     = '1'.
      ls_fieldcat-fieldname   = 'ORDER'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_m   = 'ORDER NUMBER'.
      ls_fieldcat-ddictxt     = 'M'.
      APPEND ls_fieldcat TO alv_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-col_pos     = '2'.
      ls_fieldcat-fieldname   = 'P_ORDER'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_m   = 'PO NUMBER'.
      ls_fieldcat-ddictxt     = 'M'.
      APPEND ls_fieldcat TO alv_fieldcat.
    regards,
    Varma

  • Error when trying to load data from ODS to CUBE

    hi,
      Iam getting a short dump  when trying to load data from ODS to CUBE. The Run time error is 'TYPELOAD_NEW_VERSION' and the short text is 'A newer version of data type "/BIC/AZODS_CA00" was found than one required.please help me out.

    Hi,
    Check this thread.........Ajeet Singh  has given a good solution here.........
    Re: Error With Data Load-Getting Canceled Right Away
    Also check SAP note: 382480..................for ur reference............
    Symptom
    A DART extraction job terminates with runtime error TYPELOAD_NEW_VERSION and error message:
    Data type "TXW_INDEX" was found in a newer version than required.
    The termination occurs in the ABAP/4 program "SAPLTXW2 " in "TXW_SEGMENT_RECORD_EXPORT".
    Additional key words
    RTXWCF01, LTXW2U01, TXW_INDEX
    Cause and prerequisites
    This problem seems to happen when several DART extraction jobs are running in parallel, and both jobs access table TXW_INDEX.
    Solution
    If possible, avoid running DART extractions in parallel.
    If you do plan to run such jobs in parallel, please consider the following points:
    In the DART Extract configuration, increase the value of the parameter "Maximum memory allocation for index (MB)" if possible. You can estimate reasonable values with the "File size worksheet" utility.
    Run parallel DART jobs on different application servers.
    As an alternative, please apply note 400195.
    It may help u.........
    Regards,
    Debjani.......

  • Short Dump When Installing Key Figure Catalog from BI Content

    Hi Friends,
                    I get a Short dump when trying to Install a Key Figure Catalog (in Purchasing) from the BI content. This is what the Error Says ,
    " You Attempted to Use a "NULL" object reference (Points to nothing) access a component (variable : "  "). An Object reference must point to an object (an instance of class ) before it can be used to access components.
    Any input will be greatly appreciated,

    Hi Michal,
    this bug hits only patch level 201 of the DBSL. Please update the DBSl.
    Regarding the ABAP code I do not believe that the hint helps in this case but it should not cause any problems either. If this hint is applied more PREPARE calls are neccessary since before every execution a new statement text is assembled.
    The advantage of SUBSTITUTE_VALUES hints is that the database optimizer get more information through the statement text. The downside is that a new statement is generated every time. E.g. you won't find the statement as a top scorer in a SQL cache analysis if the access plan is still bad.
    Regards
                   Frank

  • GETWA_NOT_ASSIGNED short dump when load business partner master data

    Hi
    I've this error GETWA_NOT_ASSIGNED short dump when load business partner master data, it's running in BI 7.0 with support package 12.
    The error is because the field symbol is that pointed to the line of an internal table that was deleted.
    I think that it's an incompatibility between subroutine and unicode.
    Do you have idea about correct this error?
    Regards
    Jose.

    Hi Ravi
    Yes, it's a dump
    It's when running a process chain to load Business partner master data
    The error say:
    -.You address a field symbol that pointed to the line of an internal table that was deleted.
    -.You address a field symbol that was previously reset using UNASSIGN or that pointed to a local field that no longer exist.
    -. You address a global function interface, although the respective function module is not active - that is, is not in the list of active calls. the list of active calls can be taken from this short dump.
    I think that it's for the unicode corversion because I've the last support package 12 installed and the rest of the process chain are running perfect.
    My hotmail mail is [email protected] if you need the screen shot.
    Regards and thanks a lot
    Jose

  • Short Dump when downloading to EXCEL from ALV

    Hi,
    I have an ALV grid display program. The data in the grid is displayed correctly. But when trying to download the data to excel it gives a short dump.
    Assignment error: Overwriting a protected field.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLKKBL" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    Some times it allows to download the data, but sometimes it gives short dump.
    Thanks,
    Deepthi

    This is my part of the code:
      i_fieldcat-key     = gc_x.
      i_fieldcat-no_zero = gc_x.
      i_fieldcat-fix_column  = 'X'.
      i_fieldcat-hotspot = gc_x.
      perform bild_fieldcat using
        '' 'AUFNR' 'GT_REPORT ' ' '  'CAUFV'  ' '  'C' '12' ' '.
      perform bild_fieldcat using
        '' 'DISGR' 'GT_REPORT ' ' '  'MARC' ' '  'C' '4' ' '.
      perform bild_fieldcat using
        '' 'AUART' 'GT_REPORT ' ' '  'CAUFV' ' '  'C' '04' ' '.
      perform bild_fieldcat using
        '' 'DISPO' 'GT_REPORT ' ' '  'CAUFV' ' ' 'C' '06' ' '.
      i_fieldcat-no_zero = gc_x.
      perform bild_fieldcat using
        '' 'MATNR' 'GT_REPORT ' ' '  'MARA' ' '  'C' '18' ' '.
      i_fieldcat-no_zero = gc_x.
      perform bild_fieldcat using
        '' 'CHARG' 'GT_REPORT ' ' '  'MDFA' ' ' 'C' '14' ' ' .
    *begin insert RCHALASA
      i_fieldcat-no_zero = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform bild_fieldcat using
        '' 'FTRMI' 'GT_REPORT ' ' '  'CAUFV' ' ' 'D' '08' ' '.
    *end insert
      i_fieldcat-no_zero = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform bild_fieldcat using
        '' 'GLTRP' 'GT_REPORT ' ' '  'CAUFV'  ' '  'D' '10' ' '.
      i_fieldcat-no_zero = gc_x.
      perform bild_fieldcat using
        '' 'GLTRS' 'GT_REPORT' ' '  'CAUFV' ' ' 'D' '10' ' '.
      perform bild_fieldcat using
        '' 'GSTRP' 'GT_REPORT' ' '  'CAUFV' ' '  'D' '10' ' '.
      perform bild_fieldcat using
        '' 'AGE' 'GT_REPORT' ' '  ' ' 'Age'  'C' '08' ' '.
      i_fieldcat-no_zero = gc_x.
    i_fieldcat-do_sum  = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform assign_alv_qty_format.
      perform bild_fieldcat using
        '' 'GAMNG' 'GT_REPORT' ' '  ' '  'Order Qty'  'QUAN' '09' ' '.
      perform bild_fieldcat using
        '' 'STK_PROD_FLAG' 'GT_REPORT' ' '   ' '  'Stk/Prod'  'C' '06' ' '.
      i_fieldcat-no_zero = gc_x.
    i_fieldcat-do_sum  = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform assign_alv_qty_format.
      perform bild_fieldcat using
        '' 'IGMNG' 'GT_REPORT' ' '  ' ' 'Order Yield Qty' 'QUAN' '11' ' '.
      i_fieldcat-no_zero = gc_x.
    i_fieldcat-do_sum  = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform assign_alv_qty_format.
      perform bild_fieldcat using
        '' 'IASMG' 'GT_REPORT' ' ' ' ' 'Order Scrap Qty'  'QUAN' '11' ' '.
    **begin insert RCHALASA
      perform bild_fieldcat using
         '' 'YIELD_PER' 'GT_REPORT' ' ' ' ' 'Yield'  'C' '05' ' '.
    **end insert
    DATA: col_pos like sy-colno.
    col_pos = '17'.
      loop at gt_oper.
        gv_tabix = sy-tabix.
        i_fieldcat-no_zero = gc_x.
        i_fieldcat-do_sum  = gc_x.
        i_fieldcat-fix_column  = 'X'.
       col_pos = col_pos + 1.
        perform assign_alv_qty_format.
        gv_yield6(03) = gt_oper-vornr1(03).
    *begin insert RCHALASA
        move gt_oper-ltxa1 to gv_text.
      translate gv_text to upper case.
    gv_text = gv_yield.
    *end insert
        gv_tabixn = gv_tabix.
        gv_yield+6(03) = gv_tabixn.
        gv_fieldname = gv_yield.
        translate gv_fieldname to upper case.
        perform bild_fieldcat using
         '' gv_fieldname 'GT_REPORT' ' ' ' ' gv_text  'QUAN' '04' ' '.
       perform assign_alv_qty_format.
      gv_scrap6(03) = gt_oper-vornr1(03).
      select single
             grdtx
             from trugt
             into gv_text1
             where
             grund = gt_oper-vornr
             and werks in s_werks.
       gv_text = gv_scrap.
       i_fieldcat-no_zero = gc_x.
       gv_tabixn = gv_tabix.
      gv_scrap+6(03) = gv_tabixn.
       gv_fieldname = gv_scrap.
       translate gv_fieldname to upper case.
       perform bild_fieldcat using
         gv_fieldname 'GT_REPORT' ' ' gv_text1 'X' 'QUAN' '08' ' '.
       clear gv_text1.
      endloop.  " GT_OPER
      DATA: count type c.
      DESCRIBE table gt_grund lines count.
      loop at gt_grund into gl_grund.
        gv_tabix = sy-tabix.
        i_fieldcat-no_zero = gc_x.
        i_fieldcat-do_sum  = gc_x.
        i_fieldcat-fix_column  = 'X'.
        perform assign_alv_qty_format.
        if gl_grund-grund is initial.
          gl_grund = 'NONE'.
          gv_text = gl_grund.
        else.
           gv_text = gl_grund-grdtx.
        endif.
        gv_tabixn = gv_tabix.
        gv_scrap_code+11(03) = gv_tabixn.
        gv_fieldname = gv_scrap_code.
        translate gv_fieldname to upper case.
       col_pos = col_pos + 1.
        perform bild_fieldcat using
          '' gv_fieldname 'GT_REPORT' 'XMNGA' 'AFRU'  gv_text  'QUAN' '12' ' ' .
      endloop.  " GT_OPER
      gb_layout-zebra = 'X'.
      gb_print-no_print_listinfos = 'X'.
      gb_variant-variant = p_varia.
      perform create_events using gt_events[].
      call function 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = 'Reading SAP Records.......'(600).
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program       = gv_repid
                i_callback_top_of_page   = 'TOP_OF_PAGE'
               i_callback_pf_status_set = 'SET_STATUS'
                i_callback_user_command  = 'CALL_UP_SAP_TRANS'
                it_fieldcat              = i_fieldcat[]
                is_layout                = gb_layout
                i_grid_title             = gb_title
                i_default                = 'X'
                i_save                   = 'X'
                is_variant               = gb_variant
                is_print                 = gb_print
                it_events                = gt_events[]
           tables
                t_outtab                 = gt_report
           exceptions
                program_error            = 1
                others                   = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                 with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    ***********ALV SUBROUTINE**************
    TYPE-POOLS: slis.
    DATA: gv_repid            LIKE sy-repid.
    DATA: i_fieldcat          TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: gb_layout           TYPE slis_layout_alv.
    DATA: gb_selfield         TYPE slis_selfield.
    DATA: gb_print            TYPE slis_print_alv.
    DATA: i_sort              TYPE  slis_t_sortinfo_alv WITH HEADER LINE.
    DATA: gv_keyinfo          TYPE SLIS_KEYINFO_ALV.
    DATA: gb_variant          LIKE disvariant,
          gb_def_variant      LIKE disvariant.
    DATA: gb_title(70).
    DATA: gt_events           TYPE slis_t_event,
          gt_sort             TYPE SLIS_T_SORTINFO_ALV,
          gt_list_top_of_page TYPE slis_t_listheader,
          g_status_set        TYPE slis_formname VALUE 'PF_STATUS_SET',
          g_user_command      TYPE slis_formname VALUE 'USER_COMMAND',
          g_top_of_page       TYPE slis_formname VALUE 'TOP_OF_PAGE',
          g_end_of_page       TYPE slis_formname VALUE 'END_OF_PAGE',
          g_top_of_list       TYPE slis_formname VALUE 'TOP_OF_LIST',
          g_end_of_list       TYPE slis_formname VALUE 'END_OF_LIST'.
    DATA: it_event_exit TYPE slis_t_event_exit WITH HEADER LINE.
    *--- Rotinas ---
    FORM alv_init.
      CLEAR: gb_variant.
      gv_repid = sy-repid.
      gb_variant-report = gv_repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = 'A'
           CHANGING
                cs_variant = gb_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 0.
        p_varia = gb_variant-variant.
      ENDIF.
    ENDFORM.                    " ALV_INIT
    FORM alv_f4.
      gb_variant-report = gv_repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant = gb_variant
                i_save     = 'A'
           IMPORTING
                es_variant = gb_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        p_varia = gb_variant-variant.
      ENDIF.
    ENDFORM.                                                    " ALV_F4
    FORM bild_fieldcat USING x_pos x_field x_tab x_reffld x_ref x_text x_type x_tam x_sym.
      i_fieldcat-col_pos       = x_pos.
      i_fieldcat-fieldname     = x_field.
      i_fieldcat-tabname       = x_tab.
      i_fieldcat-ref_fieldname = x_reffld.
      i_fieldcat-ref_tabname   = x_ref.
      i_fieldcat-seltext_l     = x_text.
      i_fieldcat-seltext_m     = x_text.
      i_fieldcat-seltext_s     = x_text.
      i_fieldcat-ddictxt  = 'M'   .
      i_fieldcat-inttype       = x_type.
      i_fieldcat-outputlen     = x_tam.
      i_fieldcat-symbol        = x_sym.
      APPEND i_fieldcat.
      CLEAR  i_fieldcat.
    ENDFORM.                    " BILD_FIELDCAT
    FORM create_events USING rt_events TYPE slis_t_event.
      DATA: ls_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                i_list_type = 0
           IMPORTING
                et_events   = rt_events.
      READ TABLE rt_events WITH KEY name = slis_ev_top_of_page
                               INTO ls_event.
      IF sy-subrc = 0.
        MOVE g_top_of_page TO ls_event-form.
        APPEND ls_event TO rt_events.
      ENDIF.
    ENDFORM.                    "

Maybe you are looking for

  • My cd rom drive no longer works,

    can i directly connect to another mac to install programs lost when my hard drive crashed? the time machine replaced the programs however i get a message that the i work program is not supported with this version of os

  • How to get the vendor's mail?

    hello, i have one requirement, i need what are the settings are required for the configuration  and tell me how to do? when i raised the PO, the po goes to vendor, vendor has accepts the po or rejects the po. suppose the vendor accept the PO, or reje

  • TS1398 My wifi is greyed out and cannot be switched to on??

    Can anyone please help as it was working one minute, then just stopped.  I have other devices in the home which are running fine with wifi!!

  • Object ID For Price In Stock Posting

    Hi All, My client needs the object id for the price field in the stock posting screen as he wants to put a check on it in the transaction notification.  Could anybody help me with this please? To get to the screen I am talking about you go to Stock M

  • In Windows Phone Silverlight project missing Visual assets tab

    Hi! I can not find in package.appxmanifest file Visual assets tab. I would like change default pictures in assets folder. How can I change the pictures?