Dear Experts,
I was trying to insert new record into 583 infotype from Webdyn pro Abap, for this i was using hr_infotype_operations function module.
The issue is 583 infotype screen fields are of structure P0583, except for one field Convayence type Field is of Q0583 and this field is mandatory field, so now when i pass all the values of structure P0583 into HR_INFOTYPE_OPERATIONS all the field values of P0583 structure values are getting populated, except for Convayence Type field. becoz of which i am getting error as enter all required fields.
So i how do i achieve this requirement from webdynpro abap. Thanks in advance.
Sample Code:
Data ls_0583 type p0583.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0583'
NUMBER = ls_0583-PERNR
* SUBTYPE =
* OBJECTID =
* LOCKINDICATOR =
VALIDITYEND = ls_0583-ENDDA
VALIDITYBEGIN = ls_0583-BEGDA
** RECORDNUMBER =
RECORD = ls_0583
OPERATION = 'INS'
* TCLAS = 'A'
DIALOG_MODE = '2'
* NOCOMMIT =
* VIEW_IDENTIFIER = '07'
* SECONDARY_RECORD =
IMPORTING
RETURN = l_return
** KEY =
* .
* call function 'BAPI_EMPLOYEE_DEQUEUE'
* exporting
* number = ls_0583-pernr
* IMPORTING
* RETURN = l_return
*
* .
Regards,
Siva