05-02-2006 1:52 PM
Is there a BAPI to insert records in transaction PA30? or is BDC my only option. I am using 4.7
(I also have a few custom fields to populate in the infotype)
05-02-2006 1:55 PM
Hi,
Have u tried this BAPI..
BAPI_PERSDATA_CREATE
It is used to Create personal data.
Function Documentation..
Text
Create personal data
Functionality
You can use this method to create a Personal Data record (0002).
Notes
Messages are transferred to the RETURN parameter. The relevant parameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameter documentation.
You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.
Parameters
EMPLOYEENUMBER
VALIDITYBEGIN
VALIDITYEND
FORMOFADDRESS
FIRSTNAME
LASTNAME
NAMEATBIRTH
SECONDNAME
MIDDLENAME
FULLNAME
KNOWNAS
ACADEMICGRADE
SECONDACADGRADE
ARISTROCRATICTITLE
SURNAMEPREFIX
SECONDNAMEPREFIX
INITIALS
GENDER
DATEOFBIRTH
BIRTHPLACE
STATEOFBIRTH
COUNTRYOFBIRTH
MARITALSTATUS
MARITALSTATUSSINCE
NUMBEROFCHILDREN
RELIGION
LANGUAGE
LANGUAGE_ISO
NATIONALITY
SECONDNATIONALITY
THIRDNATIONALITY
IDNUMBER
NOCOMMIT
NAME_FORMAT_INDICATOR
RETURN
EMPLOYEENUMBER
SUBTYPE
OBJECTID
LOCKINDICATOR
VALIDITYBEGIN
VALIDITYEND
RECORDNUMBER
Exceptions
Function Group
PERS
Regards,
Tanveer.
Please mark helpful answers.
05-02-2006 1:55 PM
Hi,
Have u tried this BAPI..
BAPI_PERSDATA_CREATE
It is used to Create personal data.
Function Documentation..
Text
Create personal data
Functionality
You can use this method to create a Personal Data record (0002).
Notes
Messages are transferred to the RETURN parameter. The relevant parameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameter documentation.
You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.
Parameters
EMPLOYEENUMBER
VALIDITYBEGIN
VALIDITYEND
FORMOFADDRESS
FIRSTNAME
LASTNAME
NAMEATBIRTH
SECONDNAME
MIDDLENAME
FULLNAME
KNOWNAS
ACADEMICGRADE
SECONDACADGRADE
ARISTROCRATICTITLE
SURNAMEPREFIX
SECONDNAMEPREFIX
INITIALS
GENDER
DATEOFBIRTH
BIRTHPLACE
STATEOFBIRTH
COUNTRYOFBIRTH
MARITALSTATUS
MARITALSTATUSSINCE
NUMBEROFCHILDREN
RELIGION
LANGUAGE
LANGUAGE_ISO
NATIONALITY
SECONDNATIONALITY
THIRDNATIONALITY
IDNUMBER
NOCOMMIT
NAME_FORMAT_INDICATOR
RETURN
EMPLOYEENUMBER
SUBTYPE
OBJECTID
LOCKINDICATOR
VALIDITYBEGIN
VALIDITYEND
RECORDNUMBER
Exceptions
Function Group
PERS
Regards,
Tanveer.
Please mark helpful answers.
05-02-2006 2:27 PM
The BAPI BAPI_PERSDATA_CREATE is used to create employee data. I want to create a record of infotype 9000.