HR programming dump

Hi gurus,
I can't seem to get rid of following dump in program i've coded... The goal is to get hierarchy father
org. unit of current employee org. unit (IT0001) that has IT1002 (description) with subty = 9000.
Short text:
"Error in module RSQL of the database interface."
Error analysis:
    "An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
     in procedure "%_GET_PERNR" "(FORM)", 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:
    In a SELECT access, the read file could not be placed in the target
    field provided.
    Either the conversion is not supported for the type of the target field,
    the target field is too small to include the value, or the data does not
    have the format required for the target field."
Code sample:
GET pernr.
* various MOVE commends.
* cost center txt
  SELECT SINGLE ktext FROM cskt
                      INTO wa_radnik-l_kostx...
* selection of father org. unit. until correct org. unit is reached,
* correct org. unit is the existence of IT1002, SUBTY=9000
l_orgbase = wa_radnik-l_orgeh.
  DO.
    SELECT SINGLE sobid FROM hrp1001 " >>>>> THIS IS WHERE DUMP OCCURS
                        INTO l_nadorg
                        WHERE plvar = '01' AND
                              otype = 'O' AND
                              objid = l_orgbase AND
                              rsign = 'A' AND
                              relat = '002' AND
                              istat = '1' AND
                              begda LE pn-endda AND
                              endda GE pn-begda.
    IF sy-subrc = 0.
      SELECT SINGLE objid FROM hrp1002
                          INTO l_objid
                          WHERE plvar = '01' AND
                                otype = 'O' AND
                                objid = l_nadorg AND
                                subty = '9000' AND
                                istat = '1' AND
                                begda LE pn-endda AND
                                endda GE pn-begda.
      IF sy-subrc = 0.
        wa_radnik-l_n_orgeh = l_nadorg.
        CLEAR: l_nadorg,
               l_objid.
        EXIT.
      ELSE.
        l_orgbase = l_nadorg.
        CLEAR l_nadorg.
      ENDIF.
    ENDIF.
  ENDDO.
thank you,
Tom
Edited by: Tom Baksa on Jan 8, 2010 12:47 PM
Edited by: Tom Baksa on Jan 8, 2010 12:52 PM

There is some problen in your l_nadorg  declaration.
try like this.
data: begin of w_kurst_itab occurs 0,
        sobid like hrp1001-sobid,
end of w_kurst_itab.
   select distinct sobid
     into w_kurst_itab
     from hrp1001 client specified
     where mandt = sy-mandt and
           objid in pchobjid and
           otype = 'D' and
           plvar = '01' and
           rsign = 'B' and
           relat = '020' and
           istat <> '5' and
           sclas = 'E' and
           begda <= w_endda and
           endda >= w_begda.
      append w_kurst_itab.
    endselect.

Similar Messages

  • Getting a program Dump Error in Herarchial ALV

    Hello All,
    I am getting a dump error when I am executing the below program. Kindly help as I am not getting the output. However all the subroutines are getting properly populated with data. Getting a dump error while calling the function : REUSE_ALV_HIERSEQ_LIST_DISPLAY
    Pasted below are both the question and solution. Copy the solution in SE38 and execute it to check out the dump error.
    Kindly help.
    Thanks,
    Vinod.
    QUESTION :-
    Objective
         Hierarchical ALV for displaying Sales documents per customer
    Design
         Create a program that will allow the user to display all customers that have placed Sales Orders in the given date range. The user will have an ability to drill-down to see the sales order items per customer.
         Selection screen fields–
              Sales order creation date (range)
              Customer number (range)
         Output –
              Header –
                   Customer Number
                   Customer Name
                   Total Order value (sum of order values from items below)
              Details –
    Sales order number
    Material number
    Order quantity
    Order value
    Reference
         Tables:  KNA1, VBAK, VBAP
         Transaction – VA03 (Sales order)
    SOLUTION :-
    *& Report  Z_HALV_32722                                                *
    REPORT  Z_HALV_32722                            .
    TYPE-POOLS: slis.
    TABLES : kna1,
             vbak.
    SELECT-OPTIONS: s_cst_no FOR kna1-kunnr.
    SELECT-OPTIONS: s_cr_dt FOR vbak-erdat.
    DATA : BEGIN of ty_hdr,
            kunnr TYPE vbak-kunnr,
            name1 TYPE kna1-name1,
            netwr TYPE vbak-netwr,
            END of ty_hdr,
            gt_hdr LIKE TABLE OF ty_hdr,
            gs_hdr LIKE LINE OF gt_hdr.
    DATA : BEGIN of ty_ln,
            kunnr TYPE vbak-kunnr,
            vbeln TYPE vbap-vbeln,
            matnr TYPE vbap-matnr,
            kwmeng TYPE vbap-kwmeng,
            netwr TYPE vbap-netwr,
            END of ty_ln,
            gt_ln LIKE TABLE OF ty_ln,
            gs_ln LIKE LINE OF gt_ln.
    DATA : BEGIN of ty_hdr1,
            kunnr TYPE vbak-kunnr,
            END of ty_hdr1,
            gt_hdr1 LIKE TABLE OF ty_hdr1,
            gs_hdr1 LIKE LINE OF gt_hdr1.
    DATA : gt_fc TYPE slis_t_fieldcat_alv,
           gs_fc LIKE LINE OF gt_fc,
           gs_k_fld TYPE  slis_keyinfo_alv,
           gt_layout TYPE slis_layout_alv,
           gv_repid  TYPE sy-repid.
    START-OF-SELECTION.
    gv_repid = sy-repid.
    perform fetch_data.
    perform prepare_fc.
    perform prepare_layout.
    perform show_output.
    *&      Form  fetch_data
          text
    -->  p1        text
    <--  p2        text
    form fetch_data .
    SELECT kunnr
    INTO CORRESPONDING FIELDS OF TABLE gt_hdr1
    FROM vbak
    WHERE vbak~kunnr IN s_cst_no
    AND vbak~erdat IN s_cr_dt.
    DELETE ADJACENT DUPLICATES FROM gt_hdr1 COMPARING kunnr.
    LOOP AT gt_hdr1 INTO gs_hdr1.
      SELECT SINGLE vbakkunnr kna1name1 SUM( vbak~netwr )
      INTO (gs_hdr-kunnr, gs_hdr-name1, gs_hdr-netwr)
      FROM vbak INNER JOIN kna1
      ON vbakkunnr = kna1kunnr
      WHERE vbak~kunnr = gs_hdr1-kunnr
      GROUP BY vbakkunnr kna1name1.
      APPEND gs_hdr TO gt_hdr.
      SELECT vbakkunnr vbapvbeln vbapmatnr vbapkwmeng vbap~netwr
      INTO CORRESPONDING FIELDS OF TABLE gt_ln
      FROM vbap INNER JOIN vbak
      ON vbapvbeln = vbakvbeln
      WHERE vbak~kunnr = gs_hdr1-kunnr.
    ENDLOOP.
    endform.                    " fetch_data
    *&      Form  prepare_fc
          text
    -->  p1        text
    <--  p2        text
    form prepare_fc .
      CLEAR gs_k_fld.
      gs_k_fld-header01 = 'KUNNR'.
      gs_k_fld-item01   = 'KUNNR'.
      CLEAR gs_fc.
      gs_fc-fieldname = 'KUNNR'.
      gs_fc-tabname   = 'GT_HDR'.
      gs_fc-seltext_l = text-001.
      APPEND gs_fc TO gt_fc.
      CLEAR gs_fc.
      gs_fc-fieldname = 'NAME1'.
      gs_fc-tabname   = 'GT_HDR'.
      gs_fc-seltext_l = text-002.
      APPEND gs_fc TO gt_fc.
      CLEAR gs_fc.
      gs_fc-fieldname = 'NETWR'.
      gs_fc-tabname   = 'GT_HDR'.
      gs_fc-seltext_l = text-003.
      APPEND gs_fc TO gt_fc.
      CLEAR gs_fc.
      gs_fc-fieldname = 'VBELN'.
      gs_fc-tabname   = 'GT_LN'.
      gs_fc-seltext_l = text-004.
      APPEND gs_fc TO gt_fc.
      CLEAR gs_fc.
      gs_fc-fieldname = 'MATNR'.
      gs_fc-tabname   = 'GT_LN'.
      gs_fc-seltext_l = text-005.
      APPEND gs_fc TO gt_fc.
      CLEAR gs_fc.
      gs_fc-fieldname = 'KWMENG'.
      gs_fc-tabname   = 'GT_LN'.
      gs_fc-seltext_l = text-006.
      APPEND gs_fc TO gt_fc.
      CLEAR gs_fc.
      gs_fc-fieldname = 'NETWR'.
      gs_fc-tabname   = 'GT_LN'.
      gs_fc-seltext_l = text-007.
      APPEND gs_fc TO gt_fc.
    endform.                    " prepare_fc
    *&      Form  prepare_layout
          text
    -->  p1        text
    <--  p2        text
    form prepare_layout .
    gt_layout-colwidth_optimize = 'X'.
    gt_layout-expand_fieldname = 'TST'.
    endform.                    " prepare_layout
    *&      Form  show_output
          text
    -->  p1        text
    <--  p2        text
    form show_output .
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
      EXPORTING
      I_INTERFACE_CHECK              = ' '
        I_CALLBACK_PROGRAM             = gv_repid
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
        IS_LAYOUT                      = gt_layout
        IT_FIELDCAT                    = gt_fc
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
        i_tabname_header               = 'GT_HDR'
        i_tabname_item                 = 'GT_LN'
      I_STRUCTURE_NAME_HEADER        =
      I_STRUCTURE_NAME_ITEM          =
        is_keyinfo                     = gs_k_fld
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      tables
        t_outtab_header                = GT_HDR[]
        t_outtab_item                  = GT_LN[]
    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.
    endform.                    " show_output

    Everything looks fine with the gt_layout, it is not an internal table, so no need to append to it, it is simply a structure, but you do tell it that TST is the expand field, but there is no field of this name in your internal for the header, so add it like this.
    DATA : BEGIN of ty_hdr,
    kunnr TYPE vbak-kunnr,
    name1 TYPE kna1-name1,
    netwr TYPE vbak-netwr,
    <b>TST  type c,</b>
    END of ty_hdr,
    Doing so should make you program work correctly.
    Regards,
    Rich Heilman
    Message was edited by:
            Rich Heilman

  • My new program DUMP :

    My new program is dumping at the below stmt:
    IF NOT gt_soldto1[] IS INITIAL.
        SELECT *                " kunnr name2 j_3astcu
          FROM kna1
          INTO CORRESPONDING FIELDS OF TABLE gt_kna1
         FOR ALL ENTRIES IN gt_soldto1
         WHERE ( name2   LIKE 'STORE%'
         OR      name2   LIKE 'Store%'
         OR      name2   LIKE 'store%'
         AND     land1     = 'US'  )
         OR   ( j_3astcu  <> space
         AND    j_3astcu  = gt_soldto1-store_no
         AND   land1     = 'US'  ).
      ENDIF.   "   IF NOT gt_soldto[] IS INITIAL.
    Could you please suggest me hwo to correct performane wise?
    In  order to improve performance I tried to keep as much as possible in where condition. we are using SAP - AFS system.
    =============================================
    DUMP :
    Short text
        No more storage space available for extending an internal table.
    What happened?
        You attempted to extend an internal table, but the required space was
        not available.
    Error analysis
        The internal table "???" could not be further extended. To enable
        error handling, the table had to be delete before this log was written.
       As a result, the table is displayed further down or, if you branch to
        the ABAP Debugger, with 0 rows.
        At the time of the termination, the following data was determined for
        the relevant internal table:
        Memory location: "Session memory"
        Row width: 3704
        Number of rows: 230136
        Allocated rows: 230136
        Newly requested rows: 4 (in 1 blocks)
    How to correct the error
        The amount of storage space (in bytes) filled at termination time was:
        Roll area...................... 199624160
        Extended memory (EM)........... 251630992
        Assigned memory (HEAP)......... 484209696
        Short area..................... " "
        Paging area.................... 32768
        Maximum address space.......... 4294967295
        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:
        "TSV_TNEW_PAGE_ALLOC_FAILED" " "
        "ZADI_V_R_869_870_STATUS" or "ZADI_V_R_869_870_STATUS"
        "GET_DATA_DBTABLES_NEW4"
        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.
    Source Code Extract
    Line  SourceCde
    4568   DATA : gt_soldto2 TYPE TABLE OF  t_soldto1.
    4569   DATA :  wa_bstnk_storeno_kunnr LIKE LINE OF  gt_bstnk_storeno_kunnr.
    4570 * Get ztable fields
    4571   SELECT * FROM zadi_869_870_sta
    4572           INTO TABLE gt_soldto1
    4573           FOR ALL ENTRIES IN gt_bstnk_storeno_kunnr
    4574           WHERE edi_tr_par = gt_bstnk_storeno_kunnr-edi_tr_par.
    4575 ***************************************************************
    4576 * gt_soldto1 should contain store no of gt_bstnk_storeno_kunnr
    4577 *  IF NOT gt_soldto1[] IS INITIAL.
    4578   LOOP AT gt_soldto1 INTO gs_soldto.
    4579
    4580 *  READ TABLE gt_bstnk_storeno_kunnr INTO wa_bstnk_storeno_kunnr
    4581 *        WITH key edi_tr_par = gs_soldto-edi_tr_par BINARY SEARCH.
    4582     LOOP AT gt_bstnk_storeno_kunnr INTO wa_bstnk_storeno_kunnr
    4583                  WHERE edi_tr_par = gs_soldto-edi_tr_par.
    4584       gs_soldto-store_no = wa_bstnk_storeno_kunnr-store_no.
    4585       wa_bstnk_storeno_kunnr-sold_to =  gs_soldto-sold_to.
    4586       MODIFY  gt_bstnk_storeno_kunnr FROM wa_bstnk_storeno_kunnr.
    4587       APPEND  gs_soldto TO gt_soldto2 .
    4588     ENDLOOP.
    4589     CLEAR : gs_soldto.
    4590 *    MODIFY gt_soldto1 FROM gs_soldto.
    4591   ENDLOOP.
    4592   REFRESH : gt_soldto1[].
    4593   gt_soldto1[] = gt_soldto2[].
    4594   REFRESH : gt_soldto2[].
    4595
    4596 * Get Shiptos from knvp table.
    4597   IF NOT gt_soldto1[] IS INITIAL.
    >>>>     SELECT *                " kunnr name2 j_3astcu
    4599       FROM kna1
    4600       INTO CORRESPONDING FIELDS OF TABLE gt_kna1
    4601      FOR ALL ENTRIES IN gt_soldto1
    4602      WHERE ( name2   LIKE 'STORE%'
    4603      OR      name2   LIKE 'Store%'
    4604      OR      name2   LIKE 'store%'
    4605      AND     land1     = 'US'  )
    4606      OR   ( j_3astcu  <> space
    4607      AND    j_3astcu  = gt_soldto1-store_no
    4608      AND   land1     = 'US'  ).
    4609 *    AND   land1     = 'US'.
    4610   ENDIF.   "   IF NOT gt_soldto[] IS INITIAL.
    4611
    4612 * Formation new internal table
    4613   IF NOT gt_kna1[] IS INITIAL.
    4614     LOOP AT gt_kna1 INTO gs_kna1.
    4615
    4616       LOOP AT gt_soldto1 INTO gs_soldto.
    4617
    THANKS IN ADV.

    IF NOT gt_soldto1[] IS INITIAL.
        SELECT *                " kunnr name2 j_3astcu
          FROM kna1
          INTO CORRESPONDING FIELDS OF TABLE gt_kna1
         FOR ALL ENTRIES IN gt_soldto1
         WHERE ( name2   LIKE 'STORE%'
         OR      name2   LIKE 'Store%'
         OR      name2   LIKE 'store%'
         AND     land1     = 'US'  )
         OR   ( j_3astcu   space
         AND    j_3astcu  = gt_soldto1-store_no
         AND   land1     = 'US'  ).
      ENDIF.   "   IF NOT gt_soldto[] IS INITIAL.
    Hi,
    There seems to be some problem with your Where clause.
    " j_3astcu   space
        AND    j_3astcu  = gt_soldto1-store_no" is not going to lead anywhere.
    Please check the Where clause.
    Regards,
    Nirmal

  • DYNPRO_NOT_FOUND  in abap program dumps in st22

    Hi All,
    We are  facing an issue in Abap dumps
    Run Time error  DYNPRO_NOT_FOUND
    Termination occurred in the ABAP program "MP058400" - in "SET_INIT_TAB".
    The main program was "MP058400 ".
    In the source code you have the termination point in line 49
    of the (Include) program "MP058420".
    I have an idea that it is releated to Screens but  its a standard Tcode PA40  and info type 584.
    Please suggest the how can i solve the dump.
    Regards
    Harsha Teja

    Hi Deepak,
    We had installed ECC 6.0 Ehp5  recently and released to HCM consultant  they are testing PA30 infotype 584.
    Regrads
    Harsha Teja

  • In module pool program dump due to ''too many consecutive nested call scree

    i got a dump i found that this is due too many consecutive nested call screens ,i have used call screen
    statement in program ,in program once the transaction is completed successfully ,on pressing the ok button ,it will go to the first screen , here where the call screen is executed
    so to prevent this dump what shall i do ,plz suggest

    Hi,
    Use LEAVE TO SCREEN 0 statement in OK code
    Try this.

  • Programe Dump Issue in Module Pool

    Hi,
    I am working on screen programe (Module Pool ). i created module user_command_2000 input   for screen 2000.
    I used  Case statements .
    When 'Print'
    perform print_Page.
    Form Print_page includes a report which is another programe  , which is having write statements.
    when control comes to write statement   in  Form Print_page .
    It gives dump.
    Description is :
    ist line "-1" not found.
    I have to call a TYPe 1 Programe ...

    PROGRAM ZSRN_SAMPLE2.
    call screen 100.
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    case sy-ucomm .
    when 'PRI'
    perform myform.
    endcase.
    ENDMODULE.
    FORM MYFORM .
    data: l_var(20) type c.
            l_var  =  '6'.
    export  l_var to memory id 'BB'.
    submit ZSRMYFORMS1.
    ENDFORM.
    the below program is type 1 (excutable program)
    REPORT ZSRMYFORMS1.
    data:l_var(20) type c.
             import  l_var from memory id 'BB'.
    write : l_var.
    write: 'hi'.

  • CIN - Program dump

    Getting the below dump whenever user executes J2IU.
    Program : J_1IRUTZ
    PERFORM_CONFLICT_UC_STRUCT
    CX_SY_DYN_CALL_ILLEGAL_TYPE
    What could be the reason?
    Thanks in advance
    Sridevi

    Hi
    Here we go!
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
         not caught and
        therefore caused a runtime error.
        The reason for the exception is:
        Der Aufruf der FORM "DETERMINE_DEFAULT_VALUES" ist nicht korrekt:
        Der Aktualparameter Nr. 2 ist beim PERFORM nicht kompatibel zu dem
        Strukturtyp, der von der FORM "DETERMINE_DEFAULT_VALUES" verlangt wird.
        Die FORM "DETERMINE_DEFAULT_VALUES" wird im Programm "SAPMJ1II" definiert.
        Dieser Fehler tritt unter Unicode auf, wenn die Fragmentsicht der Typen
        nicht kompatibel ist.

  • Replace obsolute Variants - Program Dump

    Hi
    My upgrade is from 3.1h to ECC 6 .
    After upgrade when i run the program RSVARDOC_610 it goes for dump.
    Is your program working when you run with no inputs given in selection screen.
    My Error is
    Runtime Errors CONNE_IMPORT_WRONG_FIELD_LENG
    Except. CX_SY_IMPORT_MISMATCH_ERROR
    With Regards
    Kamesh

    kamesh,
    there should be surly an OSS on this.
    here some OSS i found see if these are help:
    39290,1156437,987914,998098,821522
    moreover you need to search OSS surely there would be.
    Amit.

  • Core dump with deque program

    Hey all, here is the small deque program...
    When this program was run for upto 529 entires it works fine. When tried for 530 entries it dumps core.
    By the way instead of push_front if we use push_back, it works fine. However, we are facing this problem with Sun ONE Studio 11 after our successful compiler upgrade.
    If any one has any idea why the following program dumping core with 530 entires?
    cut and paste and compile and run ./deque 530, you will receive a core dump in Solaris 10/Sun one Studio 11 (CC 5.8 compiler). Important: make sure you run Solaris 10/Sun One Studio 11 CC 5.8 compiler compiled code.
    IT IS NOT DUMPING CORE IN OLDER VERSIONS....
    ==========deque.cc===================
    #include <deque>
    #include <iostream>
    int main( int argc, char* argv[] )
    std::deque< int > container;
    std::cout << "maxSize:" << container.max_size() << "\n";
    int last( 530 );
    if ( argc > 1 )
    last = atoi( argv[ argc - 1 ] );
    std::cout << "Building to " << last << "\n";
    for ( int i = 0; i < last; ++ i )
    container.push_front( i );
    int idx = 0;
    for ( std::deque< int >::const_iterator
    iter = container.begin();
    iter != container.end();
    ++ iter, ++ idx )
    std::cout << idx << ": " << (*iter) << "\n";
    std::cout << "maxSize:" << container.max_size() << "\n";
    return 0;
    The pstack output from core file...
    core 'core.deque' of 3869: ./deque 530
    00011a40 main (2, ffbfd7ec, ffbfd758, ffbfd768, ffbfd768, ffbfd630) + 2b8
    00011358 _start   (0, 0, 0, 0, 0, 0) + 108                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The patch that fixes CR 6363210 involves the header files for the deque implementation in Sun Studio 10 and 11. The runtime library /usr/lib/libCstd.so.1 also has that code in it. Whether you generate the affected functions inline in your code, or pick them up from the runtime library, depends on various compiler options.
    If you have not installed the latest C++ runtime library patch and get these functions from the runtime library, you will not have the benefit of the bug fix.
    You can get all current patches here:
    http://developers.sun.com/sunstudio/downloads/patches/index.jsp
    If after installing current patches you still have the problem, please post a stand-alone code example that shows the problem.

  • Short dump while using method start_service_direct in GOS

    Hi Friends
    I am trying to create attachments for a business object from custom program.
    I have create attachment and view attachments list push buttions on the screen.
    when I try to create attachment, program dumps with message 'SET_HANDLER_HOBJ_NULL'
    but it is working fiew with view attachments.
    Please let me know if any of you have idea on this!
    Here is my code:
    CREATE OBJECT MANAGER
    EXPORTING
    IP_NO_COMMIT = 'R'
    EXCEPTIONS OTHERS = 1.
    ENDIF.
    OBJ-OBJTYPE = 'VBRK'.
    OBJ-OBJKEY = '1233454545'
    WHEN 'ATTACH'. " when create attachments button is pressed
    CALL METHOD MANAGER->START_SERVICE_DIRECT
    EXPORTING
    IP_SERVICE = 'CREATE_ATTA'
    IS_OBJECT = OBJ
    EXCEPTIONS
    NO_OBJECT = 1
    OBJECT_INVALID = 2
    EXECUTION_FAILED = 3
    OTHERS = 4.
    WHEN 'LIST' . " When list attachments button is pressed
    CALL METHOD MANAGER->START_SERVICE_DIRECT
    EXPORTING
    IP_SERVICE = 'VIEW_ATTA'
    IS_OBJECT = OBJ
    EXCEPTIONS
    NO_OBJECT = 1
    OBJECT_INVALID = 2
    EXECUTION_FAILED = 3
    OTHERS = 4.
    please help
    Regards
    Sathya.S

    'CREATE_ATTA'  is the problem in the method call, use  'PCATTA_CREA' as IP_SERVICE
    Found in another thread: Use 'PCATTA_CREA' as IP_SERVICE
    CALL METHOD manager->start_service_direct(
    EXPORTING
    ip_service = 'PCATTA_CREA'
    is_object = borident
    EXCEPTIONS
    no_object = 1
    object_invalid = 2
    execution_failed = 3
    OTHERS = 4 ).

  • Private creation of instance WITHIN class dumps

    Hi,
    So, I've activated some of my classes and executed it. The class is to be instantiated privately. Thus, also the constructor is private.
    Now, I've got a static attribute ro_object. And I've got a static public method CREATE, which shall create this static attribute via CREATE ro_object.
    Unfortunately, the program dumps at the call of the static method right at the point, where I call CREATE OBJECT.
    class is ZPLM_DL_CL_DM_SPECIFICATION.
    Error in the ABAP Application Program
    The current ABAP program "ZPLM_DL_CL_DM_SPECIFICATION===CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "ZPLM_DL_CL_DM_DL_TYPE_CONTROL=CP " in include
    "ZPLM_DL_CL_DM_DL_TYPE_CONTROL=CM002 " in
    line 17:
    "You cannot create an instance of the class "ZPLM_DL_CL_DM_DL_TYPE" out"
    "side the class . . . . . . ."
    The include has been created and last changed by:
    Created by: "D052039 "
    Last changed by: "D052039 "
    Error in the ABAP Application Program
    The current ABAP program "ZPLM_DL_CL_DM_SPECIFICATION===CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    At the code block at the bottom of the page, I've got the constructor of this class and the first line is selected (the one with METHOD constructor.)
    So, if you want more code, I'll provide it.
    To me, this doesn't make sense, as other similar classes look the very same but won't dump. Also, if I make the ctor public and the instantiation public, the dump stays! I've tried to re-activate each method but it doesn't help.
    Any ideas?
    Kind regards,
    Michael
    Edited by: Michael Alexander Voelkel on Oct 15, 2009 11:45 AM
    Edited by: Michael Alexander Voelkel on Oct 15, 2009 11:45 AM

    I saw this, too. The point is: I don't try to create an instance of this other class, it's just not true and the object which I try to create is of the type of the specification-class for sure.. The code seems to be old. Re-activiating doesn't help it and the application throws dumps linked to code statements which don't exist anymore.
    Edit: It works now. After my lunch. After I haven't changed anything... does anyone have an explanation for that?
    Anyway, the actual problem is now solved. Thank you all for your time and effort!
    Edited by: Michael Alexander Voelkel on Oct 15, 2009 1:15 PM

  • Catch CONVT_NO_NUMBER runtime error in OO ABAP Program

    Hi all,
           In our abap proxy program, sometimes the CONVT_NO_NUMBER will happen and cause the program dump. I noticed that this error cannot be caught by CX_ROOT exception class.
           Some told me I can use the CATCH SYSTEM-EXCEPTIONS sentence to catch this runtime error, but it is a old-way syntax and cannot be used with the "try" and "catch".
           So, how can I catch this runtime error and avoid the dump of our program?
    Thanks,
    YiNing

    Hi,
    You are not checking for conversion.
    You are checking ofr logical expression.
    Try below code, it works
    DATA error_ref TYPE REF TO cx_sy_conversion_no_number.
    DATA err_text TYPE string.
    DATA a TYPE i.
    TRY.
        MOVE 'A' TO a.
      CATCH cx_sy_conversion_no_number INTO error_ref.
        err_text = error_ref->get_text( ).
        WRITE err_text.
    ENDTRY.
    Regards,
    Atish

  • DUMP CONNE_ILLEGAL_TRANSPORT_HEADER

    Hi SDNers,
    I have the following DUMP: CONNE_ILLEGAL_TRANSPORT_HEADER, when I execute several transactions in ECC 6.0:
    For example:
    - S_ALR_87012284
    - FSE2
    In both situations:
    Program: SAPLFAGL_FSV
    Screen: SAPMSSY0 1000
    Screen Line: 6
    Include: LFAGL_FSVF01
    Line where program dumps
    -> import x011p to lt_x011p
           i011z to lt_x011z
           x011v to lt_x011v
           x011s to lt_x011s
           x011f to lt_x011f
      from database rfdt(bs) client p_mandt
                                 id p_versn
                          accepting padding
                           ignoring conversion errors.
    I have been looking for a note, but I didn't find.
    Anyone had the same problem?
    Thanks in advance for your help.
    Best Regards
    Leonardo

    Check this thread.
    Re: Short dump in BI

  • Select query giving dump

    Hi,
    We have a select query written as below:
    SELECT  counter
                stokz
                pernr
                workdate
                rnplnr
                catshours
          FROM catsps
          INTO TABLE t_catsps
          WHERE pernr IN r_pernr
          AND   workdate IN s_wrkdt
          AND   rnplnr IN s_ntwrk
          AND   belnr IN s_docno
          AND   transfer NE 'X'.
    Here, the range which we are using has a record of more than 16000. At this particular portion of the code the program dumps. I suspect it is due to the excessive data records in the ranges option. Is there any remedy for this situation. Please help!

    Hi,
    check the inetrnal table strcure field are of same type of catsps table field which you are fetching
    Or try to USe into corresponding fields of table t_catsps.
    "check the inetrnal table strcure field are of same
    "type of catsps table field which you are fetching
    SELECT  counter
                 stokz
                 pernr
                 workdate
                 rnplnr
                 catshours
           FROM catsps
           INTO TABLE t_catsps   'Or try to USe into corresponding fields of table t_catsps
           WHERE pernr IN r_pernr
           AND   workdate IN s_wrkdt
           AND   rnplnr IN s_ntwrk     "check rnplnr and  s_ntwrk     are of same type
           AND   belnr IN s_docno      "Check belnr and s_docno are of same type
           AND   transfer NE 'X'.
    "hadle sy-subrc
    prabhudas
    Edited by: Rob Burbank on Sep 22, 2010 9:32 AM

  • How to retrive temperory version of a program?

    how to retrieve temporary version of a abap program if the program dumps in between.
    please let me know.
    regards,
    VJ

    If you have activated the program before running, there is no temporary version. If you have not activated and ran it, got a dump then when you go into the program the system will prompt you to reload the temp version.
    I am not sure if you can reload the temp version manually.
    Regards,
    Ravi
    note : Please mark all the helpful answers

Maybe you are looking for

  • Wget.exe has stopped working

    Hi, I got this error when I try to connect to my VPN using v 1.4.1.2 of the Quick VPN Client on a Win7 Home box. Windows Firewall is disabled, against the wishes of the second message I received. I don't have a service contract, so I can't download t

  • Scripts generated post deployment in OWB

    Hi, I have a query regarding the sccripts generated after deployment of any object in OWB. When we create a map in OWB and deploy it, two scripts are generated. one is the package which physically create the mappning process in target schema. The oth

  • Object Orientated Programming

    I am just picking Java up and have a couple grey areas of OOP that I don't quite understand. Here is my current understanding-(Correct me in the errors/Help clarify the book): Class-Everything needs a class, used as templates for objects. Method- Boo

  • How to make slide images with Dreamweaver CS6?

    How to make slide images with Dreamweaver CS6? Please teach me.

  • 3rd gen ipod using too much memory

    have a 3rd generation ipod.  have 2.8 days worth of music and using 7.1 gb of memory.  another ipod in my house has 2.9 days of music but only uses 5 gb of memory.  Why