Dump :GETWA_NOT_ASSIGNED, while using  fm REUSE_ALV_GRID_DISPLAY

Hi Experts,
In the report I am using LDB pnp and outputting results with ALV,
I am using the FM REUSE_ALV_GRID_DISPLAY,
And I am getting the dump GETWA_NOT_ASSIGNED.
The dump I am getting when the FM is executed.
Thanks in Advance.
Regards,
IFF

Hi,
i faced the same problem some days ago.
jst cleck your fieldcat.
check fields names passed to fieldcat and should be in '  ' and in capital.
This shd solve your problem
Thanks & regards

Similar Messages

  • Dump "GETWA_NOT_ASSIGNED" while implementing Remodeling

    Hello Everyone,
    i am trying to add an infoobject 0calweek with constant value using remodeling. while implementing this scenario i encountered with a short dump "GETWA_NOT_ASSIGNED" could anybody suggest any fix to this issue.
    Thanks and Regards,
    Ajay.D

    thanks

  • Dumping core while using rwFactory()- create( )

    hi Guys!!!
    I'm not sure if this is the right forum... but please help..
    Please have a look at the code.
    int main(int argc, char *argv[])
    std::cout << "Begining of the program .. " << endl;
    RWBag dummy; //might have to create a dummy RWBAG to link the correct code;
    std::cout << "This program creates an RWBAG using theFactory"
    << std::endl;
    RWBag* b=(RWBag*)(getRWFactory()->create(__RWBAG));
    b->insert( new RWCollectableDate ); // Insert today's date
    b->clearAndDestroy(); // Cleanup: first delete members,
    delete b; // then the bag itself
    return 1;
    I am using Roguewave version 8 on Solaris 10.
    The problem is the prg is dumping core while creating the RWCollectable object using (getRWFactory()->create(__RWBAG));
    I'm not sure if it the type casting or in the create itself.
    Thanks,
    Rahul.

    It may be that an exception is being thrown that your not catching. Coherence exceptions need to caught as Exception::View not Exception::Handle. If there is an exception it's text should help identify if there was an issue running the updated server side.
    Mark
    Oracle Coherence

  • Short dump GETWA_NOT_ASSIGNED while transporting Datasource in BI 7.0

    Hi Friends,
    I am getting an error, while trying to transport Datasource into quality system. The Transport request log says that "Program terminated (job: RDDEXECL, no.: 11372100)"
    If I check the log in SM37 of target system it gives following steps
    29.06.2007 11:37:21 Job started
    29.06.2007 11:37:21 Step 001 started (program RDDEXECL, variant , user ID DDIC)
    29.06.2007 11:37:21 All DB buffers of application server bdhp4488 were synchronized
    29.06.2007 11:37:30 SQL: 29.06.2007 11:37:30 DDIC
    29.06.2007 11:37:30  CREATE UNIQUE INDEX "/BIC/B0000566001~0" ON
    29.06.2007 11:37:30 "/BIC/B0000566001" ("REQUEST", "DATAPAKID",
    29.06.2007 11:37:30 "PARTNO", "RECORD") PCTFREE 10 LOCAL INITRANS 002
    29.06.2007 11:37:30 TABLESPACE PSAPSR3 STORAGE (INITIAL
    29.06.2007 11:37:30 0000000016 K NEXT        0000000160 K MINEXTENTS
    29.06.2007 11:37:30 0000000001
    If I see the short dump in ST22 in target system (quality) The I get error
    "Runtime Errors         GETWA_NOT_ASSIGNED"
    Could somebody help me in resolving this?
    Thanks and regards,
    Balaraj

    Thanks Edwin,
    My issue is still not resolved.
    Now the error that I am getting while transporting the Transformation is
    Program terminated (job: RDDEXECL, no.: 12091300)
    The SM37 job log says that
    "Job started
    Step 001 started (program RDDEXECL, variant , user ID DDIC)
    All DB buffers of application server bdhp4488 were synchronized
    ABAP/4 processor: GETWA_NOT_ASSIGNED
    Job cancelled"
    When i see the dump in ST22. It says that it could not find entry in one of the tables
    "   READ TABLE p_t_mapping ASSIGNING <fs_map>
       WITH KEY target_stepid = 0
                targetsegid   = <fs_posit>-rulesegid
                targetposit   = <fs_posit>-ruleposit
                targetid      = 0.
    Sy-subrc <> 0 for this read.
    Could you please advise?
    Thanks and regards,
    Balaraj

  • Dump Error while using SSFCOMP_PDF_PREVIEW FM

    Hi All,
       While calling the Fm SSFCOMP_PDF_PREVIEW in the purchase order print program ZSAPFM06P (copy of the standard programe) im getting a dump error
    Runtime Errors POSTING_ILLEGAL_STATEMENT
    Date and Time 11.01.2012 17:31:01
    function ssfcomp_pdf_preview.
    data: l_dummy type standard table of tline.
      clear: pdf_data, pdf_size.
    convert otf to pdf
      call function 'CONVERT_OTF'
           exporting
                format                = 'PDF'
           importing
                bin_filesize          = pdf_size
                bin_file              = pdf_data
           tables
                otf                   = i_otf[]
                lines                 = l_dummy
           exceptions
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                others                = 4.
      if sy-subrc <> 0.
        raise convert_otf_to_pdf_error.
      endif.
    >>>>>> call screen 0300 starting at 1 1.
    Endfunction.
    Can any one help me.
    Thanks in Advance.

    Hi,
    Thanks for your reply.
    I have created my own smartform for purchase order print & i have copied standard PO Print program and in that i am calling my Z samrtform.
    Our Client wants that printpreview and PDF conversion through ME22N. So i have used SSFCOMP_PDF_PREVIEW  to full fill my requirement.
    Is there any other way to show both preview and able to convert to PDF and storing in local PC if user wants.
    Pls help.
    Thanks,
    Vishnu

  • Dump 'LOAD_PROGRAM_NOT_FOUND' while using QM02 and ZXqm02

    Dear All,
    We are facing dump LOAD_PROGRAM_NOT_FOUND at the time of QM02 and One Z transaction ZXQM02.
    Could you please tell me what should be the reason or what should be the remedy?
    Regards,
    AMAR

    There can be various reasons for this error :
    1. You have change dthe standard program for QM02
    2. Due to wrong customizing
    3. Check the dump and ther eyou can find the root cause of this error e.g the Z txn uses a program which is generated during runtime and this program is not available .
    Edited by: Sandeep Kumar on Sep 24, 2010 1:34 PM

  • Short Dump TSV_TNEW_PAGE_ALLOC_FAILED while using shared memory objects

    Hi Gurus,
    We are using shared memory objects to stor some data which we will be reading later. I have implemented the interfce IF_SHM_BUILD_INSTANCE in root class and using its method BUILD for automatic area structuring.
    Today our developments moved from dev system to quality system, and while writing the data into the shared memory using the methods ATTACH_FOR_WRITE and DETACH_COMMIT in one report. We started getting the run time error TSV_TNEW_PAGE_ALLOC_FAILED.This is raised when the method DETACH_COMMIT is called to commit the changes in the shared memory.
    Everyhting works fine before DETACH_COMMIT. I know that it is happening since the program ran out of extended memory, but I am not sure why it is happening at DETACH_COMMIT call. If excessive memory is being used in the program, this run time error should have been raised while calling the ATTACH_FOR_WRITE method or while filling the root class attributes. I am not sure why it is happening at DETACH_COMMIT method.
    Many Thanks in advance.
    Thanks,
    Raveesh

    Hi raveesh,
    as Naimesh suggested: Probably system parameter for shared memory area is too small. Compare the system parameters in devel and QA, check what other shared memory areas are used.
    Regarding your question, why it does not fail at ATTACH_FOR_WRITE but then on DETACH_COMMIT:
    Probably ATTACH_FOR_WRITE will set an exclusive write lock on the shared memory data, then write to some kind of 'rollback' memory and DETACH_COMMIT will really put the data into shared memory area and release the lock. The 'rollback' memory is in the LUW's work memory which is much bigger as the usual shared memory size.
    This is my assumption - don't know who can verify or reject it.
    Regards,
    Clemens

  • Dump GETWA_NOT_ASSIGNED while assigning value to a field symbol

    LOOP AT <table> INTO <struct>.
        CLEAR l_uom.
        lf_fieldname = '<struct>-UOM'.
        ASSIGN (lf_fieldname) TO <uom>.
        l_uom  = <uom> .
    ENDLOOP.

    I need to put the contents of lf_fieldname into <uom>.......when lf_fieldname is <struct>-UOM.....
    so
    assign lf_fieldname to <uom> is of no use...........and hence v use
    assign (lf_fieldname) to <uom>
    my problem is since i dont knw till the run time if UOM field is present in the table or not, and whn it's not, no mem_area is referenced in the bkgrnd and hence i get an error...........i need to knw if v have a provision to chk if (lf_fieldname) has ne value or not....
    Please help....:)
    Regards,
    Aparna.

  • Short Dump GETWA_NOT_ASSIGNED while calling Transaction launcher in IC_WEB

    Hi Folks,
    We have a problem with Transaction Launcher profile in IC web client , after support pack implementation when i launch few R/3 transaction in Web client profile getting short dump.
    when i check ST22 transaction , i found these information in Dump.
    !) Error in ABAP application program.
    The current ABAP program "CL_CRM_IC_ABOX_ABSTRACT_URL===CP" had to be
    terminated because one of the
    statements could not be executed.
    we came to know below method not executing properly .
    CL_CRM_IC_ABOX_ABSTRACT_URL method IF_CRM_IC_ACTION_HANDLER~GET_ACTION_PROPERTY
    and also for
    CL_CRM_IC_ABOX_CONSTANTS => Object_type
    Any could you please advice on the same ....
    Regards
    raju....

    Hello Raju,
    Please apply the note 1101443. This should help you resolve the issue.
    Thanks and Regards,
    Varsha

  • Short dump SAVE_NOT_ALLOWED while using CL_GUI_ALV_GRID in editable ALV

    I created an editable ALV field and when i changed the value in that field and click tab  or enter, then i am getting a shortdump. This is not happening regularly.
    can anyone let me know the reason for this.
    Sharath.

    Hi
    Set the handlers for the events DATA_CHANGED and DATA_CHANGED_FINISHED for your grid and handles changes in these methods accordingly.
    *...local class definition
                        for event data_changed of cl_gui_alv_grid
                        importing er_data_changed,
                        handle_data_changed_finished
                        for event data_changed_finished of cl_gui_alv_grid
    *...display the grid
        call method grid1->set_table_for_first_display
          exporting
            i_bypassing_buffer   = abap_true
            i_structure_name      = viewname
            is_print                      = gs_print
            is_layout                   = gs_layout
            it_toolbar_excluding = i_exclude
            i_save                      = 'A'
          changing
            it_outtab                   = <i_itab>
            it_fieldcatalog           = gt_fieldcat.
        if sy-subrc ne 0.
          exit.
        endif.
        set handler handle_double_click
                    handle_button_click
                    handle_user_command
                    handle_data_changed
                    handle_data_changed_finished
                    handle_onf4
                    handle_toolbar
                    for grid1.
    regards
    Isaac Prince

  • Dump GETWA_NOT_ASSIGNED with REUSE_ALV_GRID_DISPLAY

    Hi All,
    Today I observed that REUSE_ALV_GRID_DISPLAY gives dump GETWA_NOT_ASSIGNED if we pass a blank table for output. These days I am working with ECC6. Earlier when I use to work with ECC5 such thing never happened and ALV get displayed without any row.
    Does anyone know is that correct that in ECC6 blank table in REUSE_ALV_GRID_DISPLAY gives dump. If so, any reason why in ECC6 and not in ECC5?
    Regards,
    Bhaskar

    Hi Bhaskar Tripathi ,
    I have an example that works in ECC 6 if you want you can compare it with your code.
    types: slis_formname(30) type c.
    data: i_repid type sy-repid,
          I_CALLBACK_PF_STATUS_SET type slis_formname,
          I_CALLBACK_USER_COMMAND type slis_formname,
          I_CALLBACK_TOP_OF_PAGE type slis_formname,
          lt_fieldcat  TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          lt_sort      TYPE  slis_sortinfo_alv OCCURS 1,
          gt_events    TYPE  slis_t_event WITH HEADER LINE,
          lt_out "your table with information",
          ls_layout   TYPE  slis_layout_alv.
      ls_layout-no_input          = 'X'.
      ls_layout-colwidth_optimize = 'X'.
      ls_layout-totals_text       = 'Totals'(201).
      ls_layout-info_fieldname =      'LINE_COLOR'.
    ls_fieldcat-fieldname   = 'MANDT'.
    ls_fieldcat-seltext_m   = 'Mandante'.
    ls_fieldcat-col_pos     = 0.
    ls_fieldcatj-outputlen   = 10.
    ls_fieldcat-emphasize   = 'X'.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR  ls_fieldcat.
    ls_fieldcat-fieldname    = 'PSPID'.
    ls_fieldcat-seltext_m    = 'Def. de Proyecto'.
    ls_fieldcat-col_pos     = 1.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR  ls_fieldcat.
    ls_fieldcat-fieldname    = 'POST1'.
    ls_fieldcat-seltext_m    = 'Descrip. breve'.
    ls_fieldcat-col_pos      = 2.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR  ls_fieldcat.
    ls_fieldcat-fieldname  = 'OBJNR'.
    ls_fieldcat-seltext_m    = 'Número de objeto'.
    ls_fieldcat-col_pos      = 3.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR  ls_fieldcat.
    **Event
    DATA: ls_event  TYPE  slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = gt_events[].
    *                  EXCEPTIONS
    *                    LIST_TYPE_WRONG       = 1
    *                    OTHERS                = 2
      READ TABLE gt_events WITH KEY name =  slis_ev_end_of_list
      INTO ls_event.
      IF sy-subrc = 0.
        MOVE 'END_OF_PAGE' TO ls_event-form.
        APPEND ls_event TO gt_events.
      ENDIF.
      READ TABLE gt_events WITH KEY name =  slis_ev_end_of_list
      INTO ls_event.
      IF sy-subrc = 0.
        MOVE 'END_OF_LIST' TO ls_event-form.
        APPEND ls_event TO gt_events.
      ENDIF.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = i_repid
         i_callback_pf_status_set          = i_callback_pf_status_set
         i_callback_user_command           = i_callback_user_command
         i_grid_title                      = i_title
         is_layout                         = lt_layout
         it_fieldcat                       = lt_fieldcat
         it_sort                           = lt_sort
    *    IS_VARIANT                        =
         it_events                         = lt_events
       TABLES
         t_outtab                          = lt_out
       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.
    Best regards.

  • Short Dump while using BAPI_PS_PRECOMMIT to set Project Definition Status

    Hi All,
    I am getting a short dump while using BAPI_PS_PRECOMMIT for setting the Project Definition status..
    The requirement is to create a Project Definition and then set its status to REL from CRTD. For this purpose i am using the BAPI's in the following sequence :
    1. BAPI_PS_INITIALIZATION
    2. BAPI_PROJECT_MAINTAIN
    3. BAPI_BUS2001_SET_STATUS
    4. BAPI_PS_PRECOMMIT
    5. BAPI_TRANSACTION_COMMIT
    The Proj Def creation is happening successfully in step2. Interestingly, when I debug the program and stop at PRECOMMIT BAPI the program does not give a dump. I have also tried to give COMMIT WORK / WAIT FOR n SECONDS after BAPI_BUS2001_SET_STATUS, to give BAPI sometime for DB update but nothing seems to be a permanent solution.
    Please give your views on a solution for this problem..
    Thanks & Regards,
    Somil

    Can you please check how to post code in SDN ...
    I cannot read your code properly

  • ABAP Dump with using FM 'REUSE_ALV_GRID_DISPLAY'

    Hi,
    I copied a Standard report program(RCOPCA02) to Z-Program for adding two new fields in the report output. I added those two new fields in the field catalog also. Actually the program is using
    FM 'REUSE_ALV_GRID_DISPLAY' , when i execute the program it is dumping.
    when i use the same program with FM 'REUSE_ALV_LIST_DISPLAY' with same field catalog the fields are displaying in the layout and report but the values are not populating in the report.
    Where is the problem i am not understanding.
    Thanks,
    fractal

    I checked in Debug mode, the values are coming in Internal Table correctly...
    Here is the Dump.
    Runtime Errors              MESSAGE_TYPE_X       
    What happened?                                                                               
    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).                 
    Error analysis                                      
    Short text of error message:                                                                               
    Technical information about the message:       
    Message classe...... "0K"                      
    Number.............. 000                       
    Variable 1.......... " "                       
    Variable 2.......... " "                       
    Variable 3.......... " "                       
    Variable 4.......... " "                       
    Variable 3.......... " "                       
    Variable 4.......... " "                       
    "MESSAGE_TYPE_X" C                                                         
    "SAPLSLVC " or "LSLVCF01 "                                                 
    "LINE_OUT_NEW_2"                                                           
    If you cannot solve the problem yourself, please send the                  
    following documents to SAP:                                                                               
    1. A hard copy print describing the problem.                               
       To obtain this, select the "Print" function on the current screen.      
    2. A suitable hardcopy prinout of the system log.                          
       To obtain this, call the system log with Transaction SM21               
       and select the "Print" function to print out the relevant               
       part.                                                                               
    3. If the programs are your own programs or modified SAP programs,         
       supply the source code.                                                 
       To do this, you can either use the "PRINT" command in the editor or     
       print the programs using the report RSINCL00.                                                                               
    4. Details regarding the conditions under which the error occurred         
       or which actions and input led to the error.                            
    Information on where termination occurred                                                                               
    The termination occurred in the ABAP program "SAPLSLVC " in "LINE_OUT_NEW_2".              
    The main program was "ZRCOPCA02 ".                                                                               
    The termination occurred in line 924 of the source code of the (Include)                   
    program "LSLVCF01 "                                                                       
    of the source code of program "LSLVCF01 " (when calling the editor 9240).                  
    Source code extract                                                                               
    008940                   gs_roid-row_id = rs_row-index * -1.                                    
    008950                 endif.                                                                   
    008960                 gs_roid-sub_row_id = rs_row-rowtype+7(10).                               
    008970                 gs_poid-row_id = gs_roid-row_id.                                         
    008980                 gs_poid-sub_row_id = gs_roid-sub_row_id.                                 
    008990                 gs_poid-rowtype    = rs_row-rowtype.                                     
    009000                 gs_poid-index      = rs_row-index.                                       
    009010                 insert gs_poid into table rt_poid.                                       
    009020               endif.                                                                     
    009030               append gs_roid to rt_roid.                                                 
    009040                                                                                          
    009050               loop at rt_fieldcat assigning <ls_fieldcat> where tech ne 'X' and          
    009060                                                                 no_out ne 'X'.           
    009070                                                                                          
    009080                 if gflg_invisible = 'X'.                                                 
    009090                   if <ls_fieldcat>-do_sum is initial.                                    
    009100                     clear gflg_invisible.                                                
    009110                     continue.                                                            
    009120                   else.                                                                  
    009130                     clear g_col_counter.                                              
    009140                     clear gflg_invisible.                                             
    009150                   endif.                                                              
    009160                 endif.                                                                
    009170                                                                                       
    009180                 clear gs_lvc_data.                                                    
    009190                 clear g_style.                                                        
    009200                                                                                       
    009210                 assign component                                                      
    009220                        <ls_fieldcat>-fieldname of structure rt_data to <g_field>.     
    009230                 if sy-subrc ne 0.                                                     
    >                   message x000(0k).                                                   
    009250                 endif.                                                                
    009260                                                                                       
    009270                 g_col_counter = g_col_counter + 1.                                    
    009280                                                                                       
    009290                 gs_lvc_data-row_pos = r_row_counter.                                  
    009300                 gs_lvc_data-col_pos = g_col_counter.                                  
    009310                 gs_lvc_data-row_id  = gs_roid-row_id.                                 
    009320                 gs_lvc_data-sub_row_id = gs_roid-sub_row_id.                          
    009330                                                                                       
    009340             *   Endtotal and average                                                  
    009350                 if rs_row-rowtype(1) ca 'T' and <ls_fieldcat>-do_sum = 'C'.           
    009360             *     save the actual grouplevel information                              
    009370                   gs_grouplevels = rs_grouplevels.                                    
    009380                   clear g_lines.                                                      
    009390                                                                                       
    009400             *     get number of lines of the collect table                            
    009410                   describe table rt_data lines g_lines.                               
    009420             *     if there is only one line or the field has no references so         
    009430             *     that only the first line has to be considered      
    SY field contents.....................           SY field contents........     
    SY-SUBRC           4                                  SY-INDEX           1                    
    SY-TABIX           95                                 SY-DBCNT           0                    
    SY-FDPOS           0                                  SY-LSIND           0                    
    SY-PAGNO           0                                  SY-LINNO           1                    
    SY-COLNO           1                                  SY-PFKEY           STANDARD_GRID        
    SY-UCOMM           DTC_CONT                                                         
    SY-TITLE           Profit Center: Actual Line Items                            
    SY-MSGTY           X                                  SY-MSGID           0K                   
    SY-MSGNO           000                                SY-MSGV1                                
    SY-MSGV2                                              SY-MSGV3                                
    SY-MSGV4                                                                               
    No.... Type........ Name..........................                  
           Program                                                      
           Include                                  Line                
           Class                                                        
        14           FORM                   LINE_OUT_NEW_2                             
                SAPLSLVC                                                     
                LSLVCF01                                             924               
        13           FORM                   TOTAL_OUT_NEW                              
                SAPLSLVC                                                     
                LSLVCF01                                            1297               
        12           FORM                   DATA_TABLE_PREPARE                         
                SAPLSLVC                                                     
                LSLVCF36                                             833               
        11           FORM                   LVC_TABLE_FOR_DISPLAY_PREPARE              
                SAPLSLVC                                                     
                LSLVCF36                                             259               
        10           FUNCTION               LVC_TABLE_FOR_DISPLAY_PREPARE              
                SAPLSLVC                                                     
                LSLVCU35                                             106               
         9           METHOD                 SOFT_REFRESH_TABLE_DISPLAY                 
                CL_GUI_ALV_GRID===============CP                             
                CL_GUI_ALV_GRID===============CM01P                  240               
                CL_GUI_ALV_GRID                                              
         8           METHOD                 REFRESH_TABLE_DISPLAY                      
                CL_GUI_ALV_GRID===============CP                             
                CL_GUI_ALV_GRID===============CM00T                  125               
                CL_GUI_ALV_GRID                                              
         7           METHOD                 MAINTAIN_VARIANT                           
                CL_GUI_ALV_GRID===============CP                             
            CL_GUI_ALV_GRID===============CP                              
            CL_GUI_ALV_GRID===============CM00P                  313                
            CL_GUI_ALV_GRID                                               
    6           METHOD                 EXECUTE_FCODE                               
            CL_GUI_ALV_GRID===============CP                              
            CL_GUI_ALV_GRID===============CM007                  582                
            CL_GUI_ALV_GRID                                               
    5           METHOD                 SET_FUNCTION_CODE                           
            CL_GUI_ALV_GRID===============CP                              
            CL_GUI_ALV_GRID===============CM01E                   53                
            CL_GUI_ALV_GRID                                               
    4           FORM                   PAI                                         
            SAPLSLVC_FULLSCREEN                                           
            LSLVC_FULLSCREENF01                                 1776                
    3           MODULE (PAI)           PAI                                         
            SAPLSLVC_FULLSCREEN                                           
            LSLVC_FULLSCREENI01                                    4                
    2           FUNCTION               REUSE_ALV_GRID_DISPLAY                      
            SAPLSLVC_FULLSCREEN                                           
            LSLVC_FULLSCREENU01                                   91                
    1           EVENT                  START-OF-SELECTION                          
            ZRCOPCA02                                                     
            ZRCOPCA02                                            928

  • Getting Dump while using PYXX_READ_PAYROLL_RESULT FM

    I m trying to get the gross salary and ESI contribution amount for an indian based employee. While using the FM 'PYXX_READ_PAYROLL_RESULT' i m getting the following dump.
    ************************************************************************************************************************************************************An exception occurred that is explained in detail below.The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', wa  not caught in  procedure "PYXX_READ_PAYROLL_RESULT" "(FUNCTION)", nor was it propagated by  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:
    Call to FORM "IMPORT_RESULT" is incorrect:
    The actual parameter no. 2 has a different data type in the
    PERFORM than requested for the FORM "IMPORT_RESULT" in program  %_T06K40".    
    and it is showing the dump result here
    ELSE.
          PERFORM import_client_spec IN PROGRAM (subroutine_pool-name)
                                      USING client
                                             key
                                             payroll_result
                                             import_subrc
                                             pcl2_version_number
                                             typepool_version_number
                            IF FOUND.
    Pls help me to solve the issue as it very high priroty work

    Hi Faisal,
    Before the FM the Sy-Subrc is zero only and i have declared the exception part also..
    IF sy-subrc = 0.
      CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
        EXPORTING
          clusterid                    = 'IN'
          employeenumber               = P0001-pernr
          sequencenumber               = it_rgdir-seqnr
          filter_cumulations           = ''
        CHANGING
          payroll_result               = it_payresult
        EXCEPTIONS
          illegal_isocode_or_clusterid = 1
          error_generating_import      = 2
          import_mismatch_error        = 3
          subpool_dir_full             = 4
          no_read_authority            = 5
          no_record_found              = 6
          versions_do_not_match        = 7
          error_reading_archive        = 8
          error_reading_relid          = 9
          OTHERS                       = 10.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Endif.
    Thanks!

  • Strange Dump while using HR_INFOTYPE_OPERATION.

    Hi frnz,
    I am facing dump while using the FM 'HR_INFOTYPE_OPERATION' as below. <b>If I swap positions of w_p0041-endda and w_p0041-begda it does not give a dump but error msg is generated saying that no selection in the period(as obviously dates are in propper range).</b> <u>Whlie testing the FM in SE37 with the same data, it works fine.</u> Please help me find the problem.
    data: TCLAS like PSPAR-TCLAS,
          OPERATION like PSPAR-ACTIO,
          infty like PRELP-INFTY.
          infty = '0041'.
          OPERATION = 'MOD'.
          TCLAS = 'A'.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          INFTY                  = infty
          NUMBER                 = w_p0041-pernr
      SUBTYPE                =
      OBJECTID               =
      LOCKINDICATOR          =
         VALIDITYEND            = w_p0041-endda
         VALIDITYBEGIN          = w_p0041-begda
      RECORDNUMBER           =
          RECORD                 = w_p0041
          OPERATION              = OPERATION
          TCLAS                  = TCLAS
      DIALOG_MODE            = '0'
        NOCOMMIT               = SPACE
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
       IMPORTING
         RETURN                 =  Return
      KEY                    =

    Hi all ,
    I have already tried converting date to internal format, the data types are also fine. I am not able to paste the screen shot so here is a part of it. Please help.
    ************DUMP************************************
    If we can not remap we would like to just re-raise the
    exception like below like "RAISE EXCEPTION exception.".
    Unfortunately the kernel will then forget about the
    original source position.
    So this is the fallback strategy. Calling this method
    is only allowed if the exception can be resolved. Since
    this is not the case we indicate a parameter violation.
      RAISE EXCEPTION TYPE cx_hrpa_invalid_parameter
        EXPORTING
          previous  = exception
          parameter = 'EXCEPTION'.
    ENDMETHOD.
    ********************END**************
    Thanks
    Sachin

Maybe you are looking for