Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>EmployeeAltName



Index

EmployeeAltName

EmployeeAltName


The business object EMPALTNAME contains the alternative names of an employee.


Use


Information about alternative names is stored in the Alternative Names Asia
infotype (0182). An employee can have one or more alternative names.


Structure


EMPALTNAME consists of information including:


  • type of name(Alias, etc.)

  • alternative name data


  • 11-Dec-2005


    Methods

    Available Methods


    • Approve : Approve employee alternative name [ BAPI_EMPALTNAME_APPROVE ]
    • Change : Change employee alternative name [ BAPI_EMPALTNAME_CHANGE ]
    • Create : Create Employee Alternative Name [ BAPI_EMPALTNAME_CREATE ]
    • CreateSuccessor : CreateSuccessor [ BAPI_EMPALTNAME_CREATESUCCESSR ]
    • Delete : Delete employee alternative name [ BAPI_EMPALTNAME_DELETE ]
    • Delimit : Delimit Employee Alternative Name Validity Period [ BAPI_EMPALTNAME_DELIMIT ]
    • GetDetail : Read employee alternative name [ BAPI_EMPALTNAME_GETDETAIL ]
    • GetDetailedList : Read employee alternative name [ BAPI_EMPALTNAME_GETDETAILEDLST ]
    • GetList : Read Instances [ BAPI_EMPALTNAME_GETLIST ]
    • Request : Create locked employee alternative name record [ BAPI_EMPALTNAME_REQUEST ]
    • SimulateCreation : Simulation: Create Employee Alternative name [ BAPI_EMPALTNAME_SIMULATECREATN ]

    11-Dec-2005


    Approve

    Approve


    You can use this method to unlock an Alternative names record (0182).

    It enables you to implement the "double verification principle" inconjunction with the REQUEST method. According to this principle, atleast two users must take part in writing an active record to the
    database. One user creates a locked record using the REQUEST method.The other user unlocks or 'activates' this record using the APPROVE method.

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter 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.


    For more information on the REQUEST method, read the documentation on the function module BAPI_ADDRESSEMP_REQUEST.


    11-Dec-2005


    Change

    Change


    Functionality

    You can use this method to change an Alternative names record (0182).

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter 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.


    11-Dec-2005


    Create

    Create


    You can use this method to create an Alternative names record (0182).

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter 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.


    11-Dec-2005


    CreateSuccessor

    CreateSuccessor


    You can use this method to create a subsequent Alternative names record (0182).

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter 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.


    11-Dec-2005


    Delete

    Delete


    You can use this method to delete an Alternative names record (0182).

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter 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.


    11-Dec-2005


    Delimit

    Delimit


    You can use this method to chronologically delimit a data record for the Alternative names Asia infotype (0182).

    Notes

    Messages are returned in the RETURN parameter. The return codes and their meanings can be found in this parameter documentation.

    The key fields used by the methods are described under the parameters.

    This method can only be used if the ENQUEUE method of the EMPLOYEE business object has been called up first. You can find more information about the ENQUEUE method in the documentation of the
    BAPI_EMPLOYEE_ENQUEUE function module.


    11-Dec-2005


    GetDetail

    GetDetail


    You can use this method to read an Alternative names record (0182).

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.

    The key fields used by the method are described in the parameter documentation.


    11-Dec-2005


    GetDetailedList

    GetDetailedList


    Using this method, you can read the data records of the Alternative names Asia infotype (0182) which fall into the given time period.

    Notes

    Messages are returned in the RETURN parameter. You will find the return codes and their meanings in the parameter documentation.

    The key fields used in the method are described in the parameter.


    11-Dec-2005


    GetList

    GetList


    You can use this method to read the keys (instances) of Alternative names records (0182) which are within the specified time interval.

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.


    The key fields used by the method are described in the parameter documentation.


    11-Dec-2005


    Request

    Request


    You can use this method to create a locked Alternative names record (0182).

    It enables you to implement the "double verification principle" inconjunction with the APPROVE method. According to this principle, atleast two users must take part in writing an active record to the
    database. One user creates a locked record using the REQUEST method.The other user unlocks or 'activates' this record using the APPROVE method.

    Notes

    Messages are transferred to the RETURN parameter. The relevantparameter 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.



    11-Dec-2005


    SimulateCreation

    SimulateCreation


    You can use this method to simulate creation of an Alternative names Asia infotype (0182).

    During the simulation all necessary consistency checks are performed, but the record is not written to the database.

    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.


    11-Dec-2005