Functionality Using this method, you can create a locked data record for theAddresses> infotype. You can combine the APPROVE method to apply the "four eyes principle".According to this principle, at least two users are involved whenwriting an active data record on the data base. One of the users usesthe REQUEST method to create a locked infotype record. The other userunlocks (activates) the data record with the APPROVE method.Notes Messages are returned in the RETURN parameter. The return values andtheir meaning are available in the parameter documentation. The key fields used by the method are described under the parameters. This method can only be used if the ENQUEUE method in the businessobject EMPLOYEE> was called. For more information on the ENQUEUEmethod, refer to the function module documentation:BAPI_EMPLOYEE_ENQUEUE. For more information ont he APPROVE method, refer to the functionmodule documentation BAPI_ADDRESSEMP_APPROVE. INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELDDescription INCLUDE BAPI_TABLE Value range Messages on data input> Type,,ID,,Code,,Message> E,,PA,,017,,Applicant number not yet assigned. E,,PG,,001,,Personnel number not yet assigned. E,,PG,,009,,No data stored for record in selected period. E,,PG,,184,,The employee/applicant is not yet locked. E,,PG,,429,,Not possible to specify a view indicator for ,,,,,,applicant. E,,PG,,430,,The employee is assigned to a different view ,,,,,,indicator. E,,RP,,060,,The personnel number(s) could not be locked. Other types of messages> Type,,ID,,Code,,Message> A,,PN,,018,,Cannot determine database table of the infotype. E,,PG,,428,,A complex application error has occurred. INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELDDescription For information on the subtype, refer to the relevant data elementdocumentation: Subtype>.Description City Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc. Description Communication type Description Communication type Description Communication type Description Communication type Description Communication type Description Communication type Description For information on C/O-Name, refer to the relevant data elementdocumentation: C/O-Name >.Description For information on the country key, refer to the relevant data elementdocumentation: Country key >.Description District INCLUDE BAPI_KEYFIELD Description For information on the commit control, refer to the relevant dataelement documentation: Commit control at BAPIinterface>.Description Postal code Description Second address line Description For information on the region, refer to the relevant data elementdocumentation: Region>.Description Use this field to identify the street name and house number. To do so:
|