cancel
Showing results for 
Search instead for 
Did you mean: 

HR_INFOTYPE_OPERATION , Invalid parameter EXCEPTION , value --- running from web dynpro Component

0 Kudos

Dear friends,

Kindly help me regarding the fallowing exception which i am getting, when i am executing the function module 'HR_INFOTYPE_OPERATION' to delete record from infotype '2002', i am getting fallwoing exception:- Invalid parameter EXCEPTION , value.

all the values are correct which i am paasing. Before calling this functiona module i am calling the FM

   'BAPI_EMPLOYEE_ENQUEUE' and after exucution of infotype operation FM i am calling  'BAPI_EMPLOYEE_deQUEUE' . Kindly help me wat are the possible causes for this exception.

Code is as fallowing :

   CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                EXPORTING
                  infty            = '2002'
                  number           = lv_pern
                  subtype          = lv_sub
                  objectid         = lv_objps
                  lockindicator    = lv_sprps
                  validityend      = lv_endda
                  validitybegin    = lv_begda
                  recordnumber     = lv_seq
                  record           = ls_p2002
                  operation        = 'DEL'
*                 tclas            = 'A'
*                 dialog_mode      = '2'
*                 NOCOMMIT         =
*                 VIEW_IDENTIFIER  =
*                 SECONDARY_RECORD =
                IMPORTING
                  return           = ls_return
*                 KEY              =
                .

If i run same code from Normal ABAP (R/3) editor it working fine and the record deleted from data base. (i.e from infotype 2002.).

Thanks In Advance,

Best regards,

Raju.

Accepted Solutions (0)

Answers (1)

Answers (1)

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Try playing with the dialog_mode parameter. Be careful, you can't call up any SAP Gui screen in Web Dynpro

Best regards,

Guillaume