Short dump suggest me the solution

hi friends,
i am geeting the short dump when i execute the program
because here i am taking the ranges some times the ranges is very high in that time only i am getting the short dump
please suggest me any alter native
i am sending the samll code
Ranges;r_vbeln for vbap-vbeln,
            r_posnr for vbap-posnr.
if not ( it_vbap[] is initial).
select matnr werks strgr
from marc into table it_marc
for all entries in it_vbap
where matnr = it_vbap-matnr
and erks = it_vbap-werks.
select vbeln posnr vbelv posnv
from vbfa
inti corresponding field of table it_cont
for all entries in it-vbap
where vbeln eq it_vbap-vbeln
and posnn eq it_it_vbap-posnr
and vbtyp_v eq 'g'.
r_vbeln = r_posnr = 'IEQ'.
LOOP AT IT_CONT.
r_vbeln-low = it_cont-vbelv. collect r_vbeln.
r_posnt-low = it_cont-posnv. collect r_posnr.
endloop.
LOOP AT IT_vbap.
r_vbeln-low = it_vbap-vbelv. collect r_vbeln.
r_posnt-low = it_vbap-posnv. collect r_posnr.
endloop.
the below select statement time only i am geeting the short dump
select matnr werks lgort charg kalab vbeln posnr sobkz
     from mska
    into table it_mska
for all entries in it_vbap
where matnr = it_vbap-matnr
and werks = it_vbap-werks
and sobkz = 'e'
and vbeln IN r_vbeln
and Posnr in r_posnr.
i need the same output please suggest me the solution to write above select statement is ther any other way
Regards
srinu

Hi,
It is better not to use a range directly in the where condition. This is because when the range values are more it will give a dump. To avoid this, inside the program we need to build a logic to select records in a batch from the range.
For example,
a) if the range has say 10,000 records,
b) first take 1000 records from the range and then put it in an internal table and use this internal table for selecting records from the database (for eg MSKA).
c) Append the first 1000 records the database table into an itab.
d) Then take the next 1000 records from the range and select the data from database table and so on.
e) Repeat this process untill all the records in the ranges are finished.
This will definitely avoid a dump.
Please reward useful answers.
Regards
Vimal

Similar Messages

  • Short dump while changing the end date of infotype 0167 through PA30

    Hi all,
    I am getting short dump while changing the end date of infotype 0167(Health Plans) through Tcode PA30.
    dump descript is as below
    An exception occurred that was not caught.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_HRPA_VIOLATED_POSTCOND
    Date and Time          11.03.2010 07:06:26
    What happened?
        The exception 'CX_HRPA_VIOLATED_POSTCONDITION' was raised, but it was not
         caught anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_HRPA_SAPUP50R_ADAPTER======CP' has to be
        terminated.
    thanks
    shahid

    Search OSS Notes for that.

  • How to deal with Short dump that restarts the index server?

    Hi ,
    I have been experiencing this problem whenever any exception occurs in my SQL SCRIPT procedure. For instance when there is a situation when I try to insert a value of 50 characters in length to a column with max size of 40 it throws a short dump and restarts the index server. I tried to insert the exception handling code as well but still the problem persists. Is there a way to solve this issue?

    Hi Sudarshan
    crashes are rather generic reactions of the system to virtually any kind of problem that may occur.
    Memory shortage is one of the more common issues in current SAP HANA setups and SAP HANA development is heavily working on handling memory shortage situations more gracefully.
    Massive over allocation of memory, for example by very large intermediate result sets or join result sets typically can be addressed by correcting the query or model that leads to the issue.
    Anyhow, the initial post was not about a memory shortage but about a crash that seemed to have occurred with wrong data type handling.
    These are two very different kinds of problems, so I am not really sure how your comment relates here.
    - Lars

  • Short Dump when activating the Workflow

    Hi,
    I have a problem, when i try to activate the workflow I get a short dump with the error "SYSTEM_NO_ROLL". As I understand the error is because there is no enough memory to the transaction, this is not the case i have checked that, so the error must be from my workflow definition or from the SAP it self.
    Here goes the description:
    The location of the error is in the method "FIND_ELEMENTS" of class "CL_SWF_CNT_CONTAINER". By this I understand that the error was with my container elements in the workflow but I have reviewed all my elements and I cant find any fault element or error. I can check the definition but if i try to activate it i get the short dump.
    In the Calls Stack, there is +/- 69297 calls to the above method, because that method is recursive the transaction just consume all the memory and then i get short dump.
    I use many multi line elements, for parallel processing with block step mostly, maybe its my container elements but i can find no wrong bindings or faulty elements.
    Any help would be greatly appreciated.
    Regards,
    Diogo Silva.

    Hi,
    Ok didn't know, thanks for the help, i will post in the other section.
    PS: Could you tell me how to reach that component, I tried but without success.
    Regards,
    Diogo Silva.
    Edited by: DiogoSilva on Jun 15, 2011 7:01 PM

  • Short dump during activating the BC Set in SCPR20 - "GETWA_NOT_ASSIGNED"

    Hi experts,
    We have upgraded from SRM 4 to 7.0.We are facing an issue when activating the BC Set in SCPR20. A short dump is occuring inside the program 'VIRSA/SAPLZVIR'. We got the solution that some correction instructions mentioned in the SAP Note 1095700 needs to be mplemented. The steps mentioned in the Note are,
    1) Run transaction SE54 and click the button 'Edit Function Group'.
    2) Next, enter the name of the function group /VIRSA/ZVR1.
    3) Select the radio button option 'Re-generate group-specific programs',and press the 'Change' button.
    4) In the following popup please mark only the option 'structure spec.data declaration renewal' and press enter.
    We were able to proceed with the first two steps but stuck up during the execution of step3. When we selected the radio button u2018Re-generate group-specific programsu2019 and when clicked on the change button, we are getting a message like u2018the name space u2018/VIRSA/ZVR1u2019 does not exists. Because of this we are not able to proceed with the last step.
    Kindly provide some ponters as of how to overcome this issue ..
    Thanks in advance,
    Dhan

    Hi there,
    To overcome this error you need to go to se06 and make the "/VIRSA/" namespace as Modifiable.
    Also, you should have a look at the following note if my first suggestion doesn't work.
    1041089 Tx SCPR20: GETWA_NOT_ASSIGNED dump during BC Set activation
    Hope this helps.
    Kind Regards,
    Matthew

  • Short dump while accessing the table

    There is a report ppioa0000, when executing the report it is going for short dump,  error analysis showing that
    <b>when accessing the attributes of dictionary table IOSOPER meaningless values are found.</b>
    and ABAP run time error showing that  DDIC_FIELD_ACCESS_ERROR
    suggest me,
    thanks and regards
    krishna

    The database is damaged, links between SAP dictionary and actual database seems to be broken. Try to use SE14 to adjust database.
    Regards

  • Short dump while accessing the IOSOPER

    There is a report ppioa0000, when executing the report it is going for short dump, error analysis showing that
    <b>when accessing the attributes of dictionary Table IOSOPER meaningless values are found.</b>
    but IOSOPER is a Structure
    and ABAP run time error showing that DDIC_FIELD_ACCESS_ERROR
    suggest me,
    thanks and regards
    krishna

    closing unable to find answer

  • Short Dump while saving the changes in Quotation

    Hi abapers,
    Please solve my Problem Actually Problem with the Quotation. I have created one SAP Script and attached to VA21. now when I save the Quotation it gets saved byut when I try to open the Quotation in VA22/Va23 first it gives me a short dump but next time it opens up without any short dump.
    I get a Short Dump " LOAD_PROGRAM_LOST". Short Description is : "Program "ZZV1SOCONFIRM_INCLUDE" was modified during the run.".
    this is just an include which I used it in my SAP Script. Can anybody suggest me what happened with the code.
    Below is the Error Anaysis in ST22.
    Error analysis
        While the program was running, the program "ZZV1SOCONFIRM_INCLUDE" had to be
         reloaded
        because a bottleneck pushed it out of the local
        program buffer. However, the database was found to contain an already
        changed program.

    Hi Mike,
    I think by the time you trigger the print out of quotation, Program active version might not be generated. you might have given the print before it gets the active version.
    If you are still getting the dump, then it could be problem at output config.
    Regards,
    Satish

  • Short dump when opening the segment builder

    After the upgrade from CRM 4.0 to 2007, we are no longer able to open the Segment Builder. We always get a short dump (Message_type_X). Anyone encountered this problem before and has a solution?
    Thanx in advance!

    Hi,
    though it is true that in CRM 2007 the GUI transactions should not be used anymore I am able to start the segment builder directly via transactioin CRMD_MKTSEG. It is working without a shortdump.
    For documentation I suppose you have to refer to SAP: Help or the documentation available under service.sap.com. The blog posted here might be an alternative as well.
    cheers Carsten

  • Short dump while opening the infopackage............

    Hi,
    I am getting Short dump. This happens when I am opening any info package for one Infosource. I am not getting any error when I open other infopackages. There are 7 infopackages for this info source and when I open any of these , gets Short Dump with message ...
    "  The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X)."
    Has any body faced similar problem. Please let me know your ideas on , how to solve this short dump.
    Best Regards,
    Jeetu

    Hi..
    When you delete the update status of a request in an InfoCube, short dump
    MESSAGE_TYPE_X occurs in program RSBLOGSTATE
    You can use the attached program as a correction to check for data inconsistencies and to correct them.
    Input parameter:
    i_tablnm:  ' ' all 'PSA' tables are processed
                 '/BIC/B......... ' a special table
    i_repair:  'X' data with Partno = 0 are corrected.
                 ' ' Check whether data with Partno = 0 exists
    i_debug    'X' Activation of default breakpoints
    To implement the program, you must create the SAP_PSA_ZEROCORRECT program as an SAP advance correction, leave it empty (Package: RSDD) and then implement it using Transaction SNOTE. Alternatively, you can create the program using the CUT and PASTE method.
    If you want to check or correct all tables, you should schedule the program in the background since the runtime (in particular for repairing the tables) may be very long.
    In the spool output of the job, you also find the log of the program.
    You should first check in check mode whether there is inconsistent data. If this is the case, you must execute the program with i_reapir = 'X'. SAP recommends that you create a variant for the CHECK job and a variant for the REPAIR job.

  • Short dump while executing the DTP

    Dear Experts,
    While executing the DTP the system is generated short dump and it is Quality server not in Development system.
    The error details are in method Calculate_keyfigure_ds and the data is loaded for IS retails from POSDM.
    The error details:
    "The MOVE-CORRESPONDING statement can only be used on operands with a
    structured type.
    In the case at hand, this condition is not fulfilled: Operand "<L_STRUC>" has
    the type "C"."
    Regards,
    Amit

    Hi Amit ,
    Move corresponding statements can be used for structures only and from the error message it seems that there is datatype mismatch.
    Check for the errors ion link :
    http://help.sap.com/abapdocu/en/ABAPMOVE-CORRESPONDING.htm
    Hope it helps ,
    Regards,
    Supriya

  • Short Dump when writing the file to Unix.

    ST22 Dump Log.
    Short text Error when writing to the file "/appl/data/backlog/outbound/bop_bwfcstngall_erp
    What happened? Resource bottleneck
    The current program "ZPS_BACKLOG_NEW_READ" had to be terminated because
    a capacity limit has been reached.
    _Error analysis
    An error occurred when writing to the file
    "/appl/data/outbound/bop_bwfcstngall_erp_20110919_151220.dat".
    Error text: "A file, file system or message queue is no longer available."
    Error code: 52

    ask your basis collegues, the dump says that the file system was not available, so it is clear that your writing to Unix could not happen.
    have a look into OSS Note 1100926 - FAQ: Network performance

  • Short dump when executing the query

    Hello Friends,
                         I have a query from MM area which I have insalled from Business Content , and when I try to go to the edit mode or try to excute the query I get a short dump which says "Missing elements ..", I get the same dump when executing from query designer or RSRT . At this time I'm not able to do a "check" on the query also n query designer since it doesnot allow me to go to the edit mode also . Any inputs greatly appreciated .
    thanks ,

    Hi,
    While activating it from the Business Content, have you activated all the underlying objects also. Pls check that. It might help.

  • Getting short dump "TSV_TNEW_PAGE_ALLOC_FAILED" during the load

    Hi Experts,
    I am getting short dump "TSV_TNEW_PAGE_ALLOC_FAILED" when loading data one ODS to Two cubes in 3.1 system . we have only 12000 records to load. this load is delta update. daily we loaded 14000 record from this load but today we are getting short dump.
    Short Dump : TSV_TNEW_PAGE_ALLOC_FAILED
    Description : No storage space available for extending the internal table.we attempted to extend an internal table, but the required space wasnot available.
    Thanks

    This is a memory issue whereby an internal table requires more memory than what is currently available. If you're executing this during processing of other ETL, then your memory is being consumed by all of the processes and you would need to change your schedule as to balance the load better.
    Another possibility is that you have an extremely inefficient SQL statement in a routine that is causing the memory to be overly consumed. Even though the output may be less than average, there is a possiblity that it's reading more data in a SELECT statement and therefore requires more memory than normal.
    Finally, have you Basis team look at this issue to determine if there's anything that they can do to resolve it.

  • Getting  Short Dump while using the FM"SAP_CONVERT_TO_TEX_FORMAT"

    Hello Experts,
        I am using the FM SAP_CONVERT_TO_TEX_FORMAT to convert the  data in text format and use
    that  converted data to create the file on application server. When I used this FM to convert the data from T0599Z table  then it's giving me dump for other tables it's working fine.
    Can anyone suggest why this is happening?
    Thanks

    Can you write the codes...
    Try something of below sort..
      CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
       EXPORTING
         i_field_seperator          = ','           "For CSV Files
        TABLES
          i_tab_sap_data             = gt_outtab1
       CHANGING
         i_tab_converted_data       =  gt_outtab.

Maybe you are looking for

  • How to start TestStand ApplicationMgr in a NON-GUI C# modules

    hello all, We used to implement our test UI in C# windows form. We put ApplicationMgr ActiveX control on the form and the ApplicationMgr can be easily accessed and started. Now we need to implement the UI in WPF and we have to seperate the UI and the

  • HT5262 I need to update ios5 in my IPAD one but I don't know how??

    Every time I Truro go on itune, iBook what ever it show me this message I need to update my iOS 5 and idont know how??

  • Doubt in block list display

    hi all, in my object i have displayed the output using alv block list ... when i print that one i am geting each block in seperate page ... but i need to print all in a single page ... please help me out in solving this thanks in advance lokesh

  • Alter disjointed rollover code to accomodate database driven images

    The effect I would like to achieve is that by clicking on a repeat region thumbnail image (first code block) the larger version of the same selected image is viewed concurrently in a different portion of the page(second code block) THUMBNAIL IMAGE CO

  • Configure Enterprise Manager with multiple Listener

    Configure Enterprise Manager with multiple Listener I have created 2 listeners and connected my database with both the listeners. If I stop one listener then it automatically uses second listener vice versa. But facing problem in case of enterprise m