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

Similar Messages

  • Error - while using HR_INFOTYPE_OPERATION - 'URG'

    Hi Experts,
    While using HR_INFOTYPE_OPERATION for updating master data i got a Error Message -
    EPG        428A complex application error has occurred
    But it is not for every time . after 3 or 4 sucessfull run i get this message and after that it will take long time to overcome automatically . I tried with log off but it is not successful.
    Please Advice.

    If this is called from custom code, make sure you call function 'HR_PSBUFFER_INITIALIZE' for each new ee processed to clear the buffer. If not, when HR_INFOTYPE_OPERATION is executed, the buffer (internal table) may still have data from previous ee which can cause dump.
    Rgds.

  • 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

  • Short dumps while using J3A9 & VK12

    We are implementing SAP ECC 6.0 and are experiencing short dumps while using transactions J3A9 and VK12.  They all point to program /AFS/SD_DISP_CONDITION_TABLE and related Includes.  I haven't found any information regarding this program on this site or in OSS, mostly due to the fact that the program is only 2 months old, which is troubling enough...
    If anyone is experiencing similar issues, please feel free to respond.  I have opened an OSS note with SAP and they are having trouble recreating the issue as it doesn't happen consistently. 
    Thanks and best regards,
    Chris Mowl

    We are implementing SAP ECC 6.0 and are experiencing short dumps while using transactions J3A9 and VK12.  They all point to program /AFS/SD_DISP_CONDITION_TABLE and related Includes.  I haven't found any information regarding this program on this site or in OSS, mostly due to the fact that the program is only 2 months old, which is troubling enough...
    If anyone is experiencing similar issues, please feel free to respond.  I have opened an OSS note with SAP and they are having trouble recreating the issue as it doesn't happen consistently. 
    Thanks and best regards,
    Chris Mowl
    10/22/08:  Several OSS notes have been created regarding this issue but none of them have solved it.  The two most recent notes are 1262962 & 1225190.  If you are having this problem. start with these notes.

  • Classification System CA-CL: Problems / Dumps while using a new class type

    Hi All,
    You'd really make my day by helping me out w. hints or even a solution. Would reward points for your efforts...
    The problem: in order to develop a class hierachy of product groups (in industry system, Rel. 6.40) I created a new class type (let's call it ZWG).
    While doing so R/3 requsted me to provide info on the objects to assign to this class type as well as the transaction for displaying these objects. For Product Groups (material classes) this is object-table T023 and transaction WG24.
    Furthermore the sys demands the implementation of a function module. This module's task is to check the existence of a given object as well as the locking and later unlocking in the process of classifying objects. Following SAP's naming convention I implemented and activated FM OBJECT_CHECK_T023.
    After that I created a new class (FIRST_CLASS) of class-type ZWG.
    I managed to assign exactly one (1) prod-grp to this class but afterwards I only receive dumps while using transactions CL20N, CL24N  to assign objects.
    The Message from ST22 says:
    Assignment error: Overwriting a protected field.
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLCLCV" had to be terminated because one of the 
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                       
    Do I have to debug throughout thís enormous amount of coding now? :-(((
    Hope someone get's my "message in a bottle"
    Best Regards
    Udo

    Yatin please see attached for warning.I am trying to create Z class using 001

  • Short dump while using BAPI_PO_CREATE1

    Hi all,
    I am facing this short dump while executing my program that uses BAPI_PO_CREATE1.
    The error is 'Exception condition "failure" raised'.
    The trigger location of runtime error is
    Program : CL_HANDLE_MANAGER_MM====================CP
    Include:   CL_HANDLE_MANAGER_MM=====================CM005
    Module name:   GET
    Source code:
    Method GET.
    If my_manager is initial.
        Call method get_manager.
    endif.
    call method my_manager-> search EXporting im_id  = im_id
                                                            Importing ex_handle = ex_handle
                                                            Exceptions failure = 01.
    If sy-subrc <>0.
      raise failure.
    endif.
    I am a beginner in ABAP. Plz help.

    Hi ,
    I faced the similar situation once , in my case when i passed the Delivery indicator value in the Item Table as well as Itemx Table , i was facing this error .
    what  i suggest you is to pass it at the Item table only , not at the itemx Table.
    it worked  for me .
    try this and reply for the same.

  • 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!

  • ABAP Dump while using "Upload from clipboard"

    Hi,
    We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.
    "Upload data" is working fine if some data exists on the clipboard. If in case of no data on the clipboard, it is leading to an ABAP dump.
    Appreciate if anyone could point some OSS note or any solution if you've already faced this issue.
    This is happening in our BW system with SAP_BASIS "SAPKB62018" and SAP_ABA "SAPKA62018".
    Same thing happens in our BW test systems which are upgraded to the latest support pack.
    Following is the error analysis
    Error analysis                                                                               
    A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP " raised the        
    exception                                                                             
    condition "CNTL_ERROR".                                                                
    Since the exception was not intercepted by a superior program                          
    in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use                             
    Transaction SE37 (Function Library). You can take the called                           
    function module from the display of active calls.                                      
    How to correct the error                                                                               
    You may able to find an interim solution to the problem                                
    in the SAP note system. If you have access to the note system yourself,                
    use the following search criteria:                                                                               
    "RAISE_EXCEPTION" C                                                                    
    "CL_GUI_FRONTEND_SERVICES======CP " or "CL_GUI_FRONTEND_SERVICES======CM00T "          
    "CLIPBOARD_IMPORT"

    Hi,
    When you say 'We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.', are you using this in a custom program and are you running your custom program in the background?
    From the error you mentioned, to me it looks like you had a control error and controls are for foreground, online process and not suitable for background processing. Same argument holds good for most of the enjoy SAP transactions when you try to do BDC, they will give you a similar error if you hit the piece of code where controls are used.
    Controls are created on the desktop of the user and in background this is not possible.
    Please let me know if this is the reason.
    Srinivas

  • Sql error dump while using pfcg tcode.

    hi,
    I am getting one dump while executing PFCG tcode. Hereunder i am pasting the log,
    Runtime Errors DBIF_RSQL_SQL_ERROR
    Exception CX_SY_OPEN_SQL_DB
    Database error text........: "ORA-01115: IO error reading block from fil
    (block # 52025)#ORA-01110: data file 9:
    '/oracle/OPL/sapdata2/sr3_6/sr3.data6'#ORA-27091: unable to queue
    I/O#ORA-27072: File I/O error#HPUX-ia64 Error: 5: I/O error#Additional
    information: 3#Additional inform"
    Internal call code.........: "[RSQL/FTCH/AGR_FLAGS ]"
    Please check the entries in the system log (Transaction SM21).
    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:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPLPRGN_START3" or "LPRGN_START3U33"
    "PRGN_START3_LOAD_FLAGS"
    Soon help will be appreciated.
    regards

    Hello,
    Take a look at note 546006 - point 6
    Thanks

  • Error While using HR_INFOTYPE_OPERATION to delete records

    Hi All
    I was able to find simlar error in SDN but it did not work for me. I am using HR_INFOTYPE_OPERATION  to delete PA2006 records and update with new values. I get the following error message "No data stored for 2006 in the selected period". But The records exist. I debugged and found it fails for authorization checks. I have all the authorizations as I am able to delete it using PA30.
    FYI inserting works fine.
    Please advice.
    Thanks, Raj

    Hi Santosh
    I used the same code which you have send. Below is the one. FYI, throught my debug, I was able to figure out it fails in authorization, even though I have all authorization and I was able to delete using PA30. Please advice.
    Below is teh code that I used.
        CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
          EXPORTING
            number       = t_file1-pernr
          IMPORTING
            return       = t_return
            locking_user = sy-uname.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              INFTY                  = '2006'
              NUMBER                 = t_file1-pernr
              SUBTYPE                = t_file1-subty
              VALIDITYEND            = t_file1-endda
              VALIDITYBEGIN          = t_file1-begda
              RECORD                 = P2006
              OPERATION              = 'MOD'
              DIALOG_MODE            = '1'
              NOCOMMIT               = 'X'
             IMPORTING
             RETURN                 = t_return
             KEY                    = personaldatakey.
      "Unlock the employee
          CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
            EXPORTING
              number = t_file-pernr
            IMPORTING
              return = t_return.
    Thanks, Raj

  • Short dump while using FM "BAPI_GOODSMVT_CREATE" in background

    Hi Sir,
    I am using the FM "BAPI_GOODSMVT_CREATE" to create the Goods movement. While running the program through a job in background, article docu is generated successfully,,but at the same time it gives short dump in ST22.
    Short text
        Exception condition "CNTL_ERROR" raised.
    A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" raised the
    exception
    condition "CNTL_ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Please tell me what can be the possible reason for the same and how to avoid the same?
    Warm regards
    Krishan

    There's at least one note addressing this. You should be able to find it quite easily.
    Rob

  • How to display errors while using HR_INFOTYPE_OPERATION

    Dear Freinds,
                    Iam using the Function module to upload data for infotype 0008 and custom infotype 9003, using the function module HR_INFOTYPE_OPERATION.
    The data is getting upload , but while uploading i want to trace the following problems the errors  , like while iam  uploading data for a particular personnel ,  if that particular personnel no is already being  opened in PA30 by the user
    then the FM should through me an error ,  like " the personnel no is being already opened" .
    Iam not able to get this error could you please let me know how the functional module will return me those type of errors.
    Regards
    Srinivas.

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                  EXPORTING
                    infty         = v_infot
                    number        = wa_innnn-pernr
                    subtype       = wa_innnn-subty
                    objectid      = wa_innnn-objps
                    lockindicator = wa_innnn-sprps
                    validityend   = wa_innnn-endda
                    validitybegin = wa_innnn-begda
                    recordnumber  = wa_innnn-seqnr
                    record        = wa_innnn
                    operation     = 'DEL'
                    nocommit      = ' '
                    tclas         = 'A'
                  IMPORTING
                    return        = v_return
                  EXCEPTIONS
                    OTHERS        = 0.
                IF v_return-type EQ 'E'.
                  wa_err-pernr =   wa_innnn-pernr.
                  wa_err-begda =   wa_innnn-begda.
                  wa_err-endda =   wa_innnn-endda.
                  wa_err-esmg  =  v_return-message.
                  APPEND wa_err TO t_err.
                  CLEAR wa_err.
                ENDIF.

  • Dump; while using LSMW with RFBIBL00.

    Hi,
    I am using Standard Batch/direct input method.
    Ending up with a dump with the following error message:
    The reason for the exception is:
    The program attempted to interpret the value "/" as a number, but
    since the value contravenes the rules for correct number formats,
    this was not possible.
        IF BBKPF-PROPMANO(1)                 NE NODATA.
         CLEAR: FTPOST-FNAM, FTPOST-FVAL.
          FTPOST-FNAM = 'BKPF-PROPMANO                    '.
          FTPOST-FVAL = BBKPF-PROPMANO                   .
        APPEND FTPOST.
       ENDIF.
    215    >>>   IF BBKPF-VATDATE(1)                  NE NODATA.
          CLEAR: FTPOST-FNAM, FTPOST-FVAL.
          FTPOST-FNAM = 'BKPF-VATDATE                     '.
           FTPOST-FVAL = BBKPF-VATDATE                    .
           APPEND FTPOST.
       ENDIF.
    ENDFORM.
    This code is a part of include program RFBIBL02.
    While i am testing the same project in the sandbox system, it's working fine, as the condition                   
    "IF BBKPF-VATDATE(1) NE NODATA"
    is not there in the program RFBIBL02 (in sandbox system) .
    Is there any way to bypass this condition or any other way to get it resolved?
    Please suggest me a relevant solution.
    Thanks.

    Hi ,
    If u r not passing any value to the date field then no data value will be taken as '/'.
    As date field cannot be given as '/' u r getting the dump.
    Please clear the date field if there is no data. u can give the following piece of code in mapping section of that date field.
    If not aritems-vatdate is initial.
    bbkpf-vatdate = aritems-vatdate.
    else.
    clear bbkpf-vatdate.
    endif.
    this will clear the '/' value if there is no data in date field.
    Reward points if useful.
    Asif

  • 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 ).

  • ABAP Mapping dumps while using trace

    Hi everybody,
    I am using the trace object as exposed in
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    trace->trace( level = '1'
                  message = l_trace ).
    But I get a dump 'NULL' Objectreference.
    Whats wrong?
    Thanks Regards
    Mario

    Hi Progirl,
    as trace is a parameter of the method mapping~execute, I wonder why I have to create the trace object?
    a) Could you explain, why I have to create it?
    b) could you give the sample code, how to create it?
    Thanks
    Regards
    Mario

Maybe you are looking for

  • Aperture 3 thinks my iPhoto library is from an older version of iPhoto

    I tried to import my iPhoto library, but when I try it says "Importing libraries from versions earlier than iPhoto 7.1.5 is not supported. Please upgrade your iPhoto library with iPhoto 7.1.5 or later." I'm using the newest version of iPhoto. Any clu

  • Disappointed, can no longer trust Verizon for customer service

    Looks like I'm not the only one disappointed in Verizon's customer service, I've already seen a number of complaints on forums and this website itself. I'm writing this "discussion" in efforts to get something done about Verizon's customer service. Y

  • "Free" X! upgrade offer, well maybe not so free - Caveat Emptor

    Last week I and at least one of my neighbors received a promotional email offering free upgrade and installation to Xfinity X1. Sounded great, so I bit the hook. I used the web interface to complete the upgrade. All Comcast wanted was an authorizatio

  • InDesign Tables: Row and Column Strokes

    Using InDesign Tables: How do you get row and column strokes in a table to appear perfectly joined? When I choose "Column Strokes in Front" (Under Table Setup) i still see a tiny row stroke, and vice versus.. it's really visible in the PDF almost can

  • HTML file previews

    In the Finder, my webpages I have saved show blank documents in the preview column. Not a generic icon, but a blank web page. When I Quick Look them, everything is fine, just not when they are being previewed. Other files (images, documents, etc.) wo