Hi All,
I was trying BAPI_ADDRESSEMP_CREATE to see if it will work for my requirements so I wrote up this quick report but it doesn't create the new address record. Could you please tell me why the below code does not create a new address record?
Thanks.,
REPORT Z_TEST .
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = '345'.
call function 'BAPI_ADDRESSEMP_CREATE'
exporting
EMPLOYEENUMBER = '345'
VALIDITYBEGIN = '20061231'
VALIDITYEND = '99991231'
ADDRESSTYPE = '2'
CONAME = 'USA'
CITY = 'Atlanta'.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
number = '345'.