Short dump with a select statement

I have the following select statement (I have also inluded my data statement(s)) and I get a short dump.  The error is as follows:
<b>What happened?                                                                 
    Error in ABAP application program.                                                                               
The current ABAP program "ZPARTNER" had to be terminated because one of the
    statements could not be executed.                                                                               
This is probably due to an error in the ABAP program.                                                                               
Following a SELECT statement, the data read could not be placed in AN      
    the output area.                                                           
    A conversion may have been intended that is not supported by the           
    system, or the output area may be too small.                                                                               
Error analysis                                                                 
    An exception occurred. This exception will be dealt with in more detail    
    below. The exception, assigned to the class 'CX_SY_OPEN_SQL_DB', was not   
     caught, which                                                             
     led to a runtime error. The reason for this exception is:                 
    The data read during a SELECT access could not be inserted into the        
    target field.                                                              
    Either conversion is not supported for the target field's type or the      
    target field is too short to accept the value or the data are not in a     
    form that the target field can accept          </b>                            
it_adrc TYPE TABLE OF adrc,
      wa_adrc LIKE LINE OF it_adrc,
SELECT addrnumber name1 street city1 region post_code1 tel_number
  FROM adrc INTO TABLE it_adrc
  FOR ALL ENTRIES IN it_detail
  WHERE addrnumber = it_detail-adrnr.
Regards,
Davis

If you only need the fields mentioned in the select query, then follow this:
TYPES: BEGIN OF ADRC_TYPE,
     ADDRNUMBER LIKE ADRC-ADDRNUMBER,
     NAME1        LIKE ADRC-NAME1,
     STREET        LIKE ADRC-STREET,
     CITY        LIKE ADRC-CITY,
     REGION        LIKE ADRC-REGION,
     POST_CODE1 LIKE ADRC-POST_CODE1,
     TEL_NUMBER LIKE ADRC-TEL_NUMBER,
       END OF ADRC_TYPE,
       ADRC_T_TYPE TYPE TABLE OF ADRC_TYPE.
DATA: IT_ADRC TYPE ADRC_T_TYPE WITH HEADER LINE.
IF NOT IT_DETAIL[] IS INITIAL.
SELECT addrnumber name1 street city1 region post_code1 tel_number
  FROM adrc INTO TABLE it_adrc
  FOR ALL ENTRIES IN it_detail
  WHERE addrnumber = it_detail-adrnr.
ENDIF.
Thanks,
SKJ

Similar Messages

  • Short Dump with ALV Report

    Hi
    I have one Zreport which gives the result in ALV form.
    After getting the result(1 row with 33 columns) when I tried to export the ALV results to spread sheet using the option : List-> Export-> Spread Sheet OR by click on Excel icon in the display screen,I'm getting the short dump with the description "No more storage space available for extending an internal table" .
    After analysis ,find that dump is raising in the FM : F4_GET_RESULT of Include Program : LSDH3U03.
    Can anyone provide us some clue .
    Thanks & Regards,
    Sreeram

    Hi,
    If the display is in ALV grid format, then you can try another approach to save the data in a spreadsheet.
    - Right-click on any output cell.
    - Select 'Spreadsheet' from the drop down list
    - radio-button 'All available formats'
    - Excel (In existing XXL format)
    Thanks!
    VS.

  • Short dump with an error SAPSQL_LIKE_QUOTES

    Hi,
    today we have more short dumps with an error SAPSQL_LIKE_QUOTES. this means The logical condition contains a text field literal, for which there is no closing quotation mark.
    as per my analysis i found the below code from the std. sap program SAPLBTCH in that include LBTCHF19.
    TRANSLATE p_buffer1 USING '*%'.
      IF p_buffer1 CO '% '.
        IF NOT i_mandatory IS INITIAL.
          CONCATENATE i_name '<> ''''' INTO o_where
            SEPARATED BY space.
        ENDIF.
        EXIT.
      ENDIF.
    can you please tell me that there is a sapce in the line IF p_buffer1 CO '% '.
    please advice me if this statement is true or should not contain any spaces between the quotations.
    Thanks,
    Kasi

    Hi Kasi,
    please check this link
    [SAPSQL_LIKE_QUOTES|http://www.google.com/#hl=en&num=100&q=SAPSQL_LIKE_QUOTES&fp=1&cad=b]
    Kind regards,
    Clemens

  • ABAP short dump with "CNTL_ERROR"

    Hi,
    I am getting an ABAP short dump with "CNTL_ERROR" while using an input script. What do I do?
    Thanks,
    Sreekar.

    Hi,
    Newer versions of SAP GUI and R/3 include external controls called as ActiveX (OCXs). ABAP code internally issues some commands to flush and refresh these controls. Since, when using GuiXT and input scripting, these controls are not created, and ABAP dumps. Use keyword "Enable controls" (without quotes on a separate line) in a screen block that has an ActiveX control.
    Example:
    Screen SAPLCOIH.3000
      Enter "/Menu=4,1,5"
    Screen SAPLSP01.0100
      Enter "=No"
    Screen RIPLKO10.1000
      Enable controls
      Set F[Group] "UG"
      Enter "/8"
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Transport with return code 12 ,short dump with 'DBIF_RSQL_SQL_ERROR'

    Dear All,
    My trasnport contains infoprovider. DTP,transpformations, character realtionships , aggregation levels ,web templates, programs.
    I got a transport failed with Return code 12, and it is showing message :
    Program terminated (job: RDDEXECL, no.: 06031600)
       See job log
    Execution of programs after import (XPRA)
    End date and time : 20101026060421
    Ended with return code:  ===> 12 <===
    I have short dump with 'DBIF_RSQL_SQL_ERROR' exception 'CX_SY_OPEN_SQL_DB'.
    in how to correct the error :
    below is the detials.
    Database error text........: "ORA-01578: ORACLE data block corrupted (file #
    211, block # 79950)#ORA-01110: data file 211:
    '/oracle/RBW/sapdata15/xbw_188/xbw.data188'#ORA-26040: Data block was loaded
    using the NOLOGGING option"
    did someone has the same problem .
    Help is really appreciated.
    Regards
    Veera

    I am afraid you will need to esclate this to BASIS team.. seems some issue with database

  • Short dump with TPM_TRD1 000

    hi  everyone,
    when I run the Tcode:TBB1&#65292;i come across a ABAP short dump error.
    my system environment is:
    PC
    windows2003NT
    oracle10.2
    independant system without SLD control
    The error info as follow:
    Note 837202 - TPM_MIGRATION:tpm18: Short dump with TPM_TRD1 000
    Summary
    Symptom
    You migrate from Release CFM or Enterprise 1.10 to ERP 2.0 or higher. There are already parallel valuation areas in use. In tpm_migration_cat, you specify a key date. In the test system, the following short dump occurs for the parallel valuation areas:
    Error message short text:
    Internal error: SLD
    Message class: "TPM_TRD1"
    Number: 000
    Variable 1: "SLD"
    Other terms
    CL_DISTRIBUTOR_SLD, TPM_TRD1000
    Solution
    In the production system, you have to carry out tpm18 before the technical upgrade for all business transactions that are before the key date from tpm_migration_cat.
    I do not understand how to do with the soluton
    eg.what is "tpm18"?
    Do need your helps,
    Thank you very much
    Peter

    Hi Peter,
    I guess you found note 837202 when you were looking for a solution for the TBB1 dump you encountered.
    This note deals with a special situation when executing tpm18 (which is the transaction for fixing and posting derived flows) in a test system after migration and it tells you you should run tpm18 in production before the technical upgrade.
    I am not sure if this really applies to your situation, maybe you should rather check if note 821854 and the solution therein can be helpful.
    But without more information (e.g. knowing more about your release, your 'migration history' and the part of the coding where the dump is raised), it is quite difficult to give a diagnosis.
    Maybe you should think of sending a customer message to SAP support via the SAP marketplace if you cannot get rid of this problem on your own.

  • Short dump with error RSW_CURRENCY_TRANSLATION while loading SRM data

    Hi All,
    I am loading data from SRM to BW. From data source 0BBP_TD_CONTR_2 to DSO 0SRCT_DS1. Data is loaded from source to PSA. When loading from PSA to DSO using DTP, I am getting a short dump with below error. Can one please let me know solution if you have faced the same problem previously?
    Termination occurred in the ABAP program "SAPLRSW0" - in
    "RSW_CURRENCY_TRANSLATION".
    The main program was "RSBATCH_EXECUTE_PROZESS ".
    In the source code you have the termination point in line 86
    of the (Include) program "LRSW0U09".
    The program "SAPLRSW0" was started as a background job.
    I have checked the DSO routines and objects, everything is ok. Replicated all currency conversion tables from source.
    0PSTNG_DAT infoobject is also active. There is no errors in Development while loading, when moved to quality, the error is throwing.
    Regards,
    Don

    Hi All,
    We need to activate 0SR_DEFCUR currency object. I have activated the object and transported. Issue is resolved.
    Thanks to all for your kind replied.
    Regards,
    Don

  • CSAP_MAT_BOM_OPEN Short Dump with CONVERT_MATNR_TO_INTERN_FORMAT

    Has anyone else had this issue? All help appreciated.
    I am using the function CSAP_MAT_BOM_OPEN to update a BOM. Running it generates a short dump with the following information:
    In PERFORM or CALL FUNCTION "CONVERT_MATNR_TO_INTERN_FORMAT", the actu
    al parameter "MATERIAL" is incompatible with the formal parameter "I_M
    ATNR".
    At first I thought my variable for the material number was bad so instead I gave it a literal value just to see if it gave me a problem and it did.
    Here is the snippit of code from my program where I give it an actual value:
       call function 'CSAP_MAT_BOM_OPEN'
            exporting
                 material = '000000000000123456'
                 plant = '1000'
                 bom_usage = '3'
                 valid_from = '20140703'
            importing
                 o_stko     = tstk2
                 fl_warning = flg_warning
            tables
                 t_stpo     = tstp2
            exceptions
                 error      = 1.
    Inside this SAP owned FM is the following:
       perform convert_matnr_to_intern_format using material
                                              changing csin-matnr
                                               hlp_subrc.
    convert_matnr_to_intern_format says this:
    form convert_matnr_to_intern_format
                                 using value(i_matnr) like csap_mbom-matnr
                                 changing o_matnr like csin-matnr
                                          value(subrc) like sy-subrc.
       data: conversion_call(30) type c value 'CONVERSION_EXIT_?_INPUT',
             conve(5)            type c,
             conv_exit(10)       type c.
       clear subrc.
       check not i_matnr is initial.
       describe field csin-matnr edit mask conv_exit.
       move conv_exit+2(5) to conve.
       replace '?' with conve into conversion_call.
       call function conversion_call
            exporting
                 input        = i_matnr
            importing
                 output       = o_matnr
            exceptions
                 not_found    = 04
                 length_error = 08
                 too_long     = 12
                 wrong_mask   = 16.
       subrc = sy-subrc.
    endform.

    Hi Richard,
    in fm CSAP_MAT_BOM_OPEN there is a single call of form convert_matnr_to_intern_format:
       perform convert_matnr_to_intern_format using material
                                              changing csin-matnr
                                                       hlp_subrc.
    where material is defined in the fm interface:
    function csap_mat_bom_open.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(MATERIAL) LIKE  CSAP_MBOM-MATNR
    In the form interface I_MATNR in include LCSAPFC1 is defined identically:
    form convert_matnr_to_intern_format
                                 using value(i_matnr) like csap_mbom-matnr
                                 changing o_matnr like csin-matnr
                                          value(subrc) like sy-subrc.
    So importing parameter of type CSAP_MBOM-MATNR is passed to field I_MATNR of type CSAP_MBOM-MATNR and there can't be any type conflict, if
    there is no modiffication in your system
    fm CSAP_MAT_BOM_OPEN and include LCSAPFC1 are active
    no parts of function group CSAP have been overwitten by importing a transport request into your system
    Please check this code snippets against those in your system.
    What can you do, if all is looking okay:
    Check the version history (fm and include) for suspicious transport requests.
    If no transport requests found, try to regenerate the fm, th include and the whole function group.
    Regards,
    Klaus

  • Smart scan not working with Insert Select statements

    We have observed that smart scan is not working with insert select statements but works when select statements are execute alone.
    Can you please help us to explain this behavior?

    There is a specific exadata forum - you would do better to post the question there: Exadata
    I can't give you a definitive answer, but it's possible that this is simply a known limitation similar to the way that "Create table as select" won't run the select statement the same way as the basic select if it involves a distributed query.
    Regards
    Jonathan Lewis

  • Update with a select statement

    hi experts,
    I need some help again.. :)
    I have an insert query here with a select statement.. Juz wondering how to do it in update?
    insert into newsmail_recipient
            (IP_RECIPIENTID,NF_LISTID,NF_STATUSID,D_CREATED,D_MODIFIED,C_NAME,C_EMAIL,USER_ID,NEWSMAIL_ID)
            select newsmail_recipientid_seq.nextval
              , liste
              , 1
              , sysdate
              , sysdate
              , null
              , null
              , ru.nf_userid
              , null
            from roleuser ru, unit u, userinfo ui
            where u.ip_unitid = ru.nf_unitid
            and u.ip_unitid = unit_id
            and ui.ip_userid = ru.nf_userid
            and ui.nf_statusid = 1
            and n_internal = 0
            and ui.ip_userid not in (select user_id
                                       from newsmail_recipient
                                      where user_id = ui.ip_userid
                                        and nf_listid = liste
                                        and nf_statusid = 1);let me know your thoughts.
    Regards,
    jp

    Hi,
    924864 wrote:
    ... I have an insert query here with a select statement.. Juz wondering how to do it in update?How to do what, exactly?
    MERGE can UPDATE existing rows, and INSERT new rows at the same time. In a MERGE statement, you give a table or a sub-query in the USING clause, and define how rows from that result set match rows in your destination table. If rows match, then you can UPDATE the matching row with values from the sub-query.
    Very often, MERGE is easier to use, and perhaps more efficient, than UPDATE just for changing existing rows. That is, while MERGE can do both INSERT and UPDATE, it doesn't have to . You can tell MERGE just to do one or the other if you wish.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Since you're asking about a DML statement, such as UPDATE, the sample data will be the contents of the table(s) before the DML, and the results will be state of the changed table(s) when everything is finished.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • Infospoke short dumps with MESSAGE_TYPE_X

    Whenever one of our many infospokes are invoked and there is no data to pull from BW, the process short dumps with MESSAGE_TYPE_X in module RSB_API_OHS_DEST_READ_DATA.
    Is anyone else experiencing this problem?

    Hi,
    Please take a look in note 1370227.
    I hope this note help you.
    Thanks,
    Rafael

  • Short dump in reading selection values in Report

    Hi all,
    I have created a Navegational Attributte and added this Info Object in the existing Query and for this object we have created Charactistics Value Variable with Uesr Entry.
    But, When we use input selection option to select a vlaue for this Variable  in the Variable Selection Screen it is trying to read the values and going into short Dump but for other variables Selection option is working fine.
    Please anyone help me if you have the solution.
    Regards,
    Ali.

    Hi,
       Try deleting the master data and reload the master data again and check for the selection variables. Check the short dump in ST22 it will say which master table ie SID table or master table where the join fails.
    Thanks,
    Arun

  • Short dump with the transaction CJ02

    Hello, this is my first thread in the forum. I hope to solve my problem.
    It is necesary to say you that my english is very poor, is not so good. Sorry for that.
    When i use the transaction CJ02 to finish or close a project, appears an error when i save it. The steps are the followings:
    1- Run the transaction CJ02 with a WBS element
    2- Mark the line of the WBS element
    3- Select then button Settlement rule
    4- Fill 4 items in the next screen to distribution rules (the % is 100)
    5- Back with green arrow
    6- Fill the field Cost Center Req
    7- Save
    After a few seconds appears the dump:
    <b>ABAP runtime errors    MESSAGE_TYPE_X
           Occurred on     20.11.2006 at 11:07:09
    >> Short dump has not been completely stored. It is too big.
    The current application triggered a termination with a short dump.
    Error analysis
    Short text of error message:
    Nested call of PERFORM ON COMMIT:
    Long text of error message:
    Diagnosis
         During processing of a routine called using PERFORM ... ON COMMIT,
         the system attempted to call PERFORM ... ON COMMIT again. Nesting
         of this is not allowed.
    System Response
    Procedure
         The program indicated after "Caller:" must be changed. This is the
         program that calls the routine indicated after "Form:" during
         COMMIT processing. This routine is part of the program indicated
         after
         "Program:".
    Procedure for System Administration
    Technical information about the message:
    Message classe...... 00
    Number.............. 081
    Variable 1.......... " "
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    How to correct the error
    If the error is in one of your own ABAP programs or an SAP program that
    you have modified, try to correct it.
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "MESSAGE_TYPE_X"
    "SAPMSSY0 " or "SAPMSSY0 "
    "%_ORDER_FORM_FOR_ROLLBACK"</b>
    There are several notes that apparently solve the problem with support packages that are applied in our system (for example 397011 or 614553). Inthis case our system is updated.
    Can you help me please.
    Thanks
    Gabriel.-

    Hi
    Are you really sure https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=397011&_NLANG=E
    is applied correctly ?
    Try downloading with snote and see if it gets marked 'not relevant',
    ( are you on release 4.6 ? )
    Given the nature of the problem ( and the fact that this issue is known ) , the best seems log an OSS support request
    rgds
    Dirk

  • Short Dump with VA22 transaction in ECC 6

    Hi All,
    We are on ECC 6 and facing a short dump whenever we are trying to save some quotation. We are getting the following error.
    There is probably an error in the program "SAPLSYDB". The program is triggered in the update task. There, the following ABAP/4 statements are not allowed:
    CALL SCREEN
    CALL DIALOG
    CALL TRANSACTION
    SUBMIT
    "POSTING_ILLEGAL_STATEMENT" " "
    "SAPLSYDB" or "LSYDBU27"
    "DB_COMMIT".
    Is there a sap note for this. Any link or pointer to this will be highly appreciated.
    Regards,
    Jayant

    Hello,
    This looks like a problem for SAP.  I assume that you have not modified the
    program SAPLSYDB.  I also assume that you have searched the Service Marketplasce
    for any OSS notes.  My next step would be to create a message to SAP to get them to
    have a look.
    Regards
    Greg Kern

  • Short dump with Where-used list

    Hi All,
    I'm making some research on specific InfoObjects, and in some cases I want to know where are they being used, but when I try to use the icon for "Where-used list using Data Warehouse" I end up with an error, a short dump.
    Message class is: RSQBW
    Trigger Location of Runtime Error:
    Program: CL_RSQ_ISET_SERVICE===========CP
    Include: CL_RSQ_ISET_SERVICE===========CM016
    Row: 136
    Module Type: (METHOD)
    Module Name: EXTEND_FIELD_BUFFER
    Does any one can help me to understand why is this going on and how to solve this?
    Thank you!!
    Miriam

    Hi Miriam
    In the short dump you should also see the name of the infoset in question.
    You probably have to adjust the infoset in transaction RSISET and they try to run the where used list again.
    Best Regards,
    Vincent

Maybe you are looking for

  • Error while running the tutorial posted by Steve Muench

    Hi Guys, I have been trying to run the tutorial published by Steve Muench on October 9 2006. I've followed all the steps as specified in the tutorial. Chapter 3.4:Run the Application, should supposed to compile and run my application using stand-alon

  • 802.1x partial authentication and Association Table Overflows

    We're rolling out 5508's/3600's/ISE's/MSE's, using existing NCS's. using dot1x (machine certs EAP/TLS MS laptops) on one SSID, 2 x other SSID's have open auth. MSE is flagging Association Table Overflows on loads of WAPS, reseller TAC case tells me i

  • Commercial Inv. No.

    Dear Experts, In Import case we do the custom MIRO first and this miro number we user at the time of MIGO as commercial Inv. No. but some time my user put wrong no or worone year .In which table I can see that in partucla MIGO ( 103 or 105 ) which co

  • How to synchornise

    I am new to Oracle 9i Lite. I am using a Handheld PC with WinCE 3.0, I want to synchorize just 4 tables from a schema in a database which is in Oracle 8i. What are the steps involved.

  • HT4859 If all devices are backed up on iCloud, do I still need to keep the files on my computer?

    If all devices are backed up on iCloud, do I still need to keep it on my computer? It takes up a lot of space.