Skip to Content
0
Former Member
Oct 21, 2005 at 09:16 PM

BAPI_ADDRESSEMPUS_CHANGE - Urgent Help required

52 Views

I am trying to update an employee Address using BAPI_ADDRESSEMPUS_CHANGE. Within the SAP I can update employee address with BAPI, When I try to do it from non-SAP application with the same values with that BAPI, BAPI processing is failing with:

[Mesg: Processing in SAP failed. BAPI returned message: Type: "E", Number: "055", Text:"Make an entry in all required fields"

BTW, before calling BAPI_ADDRESSEMPUS_CHANGE, I am calling BAPI_EMPLOYEE_ENQUEUE (to lock the employee) and calling BAPI_EMPLOYEE_DEQUEUE after the change.

the following are the required fields i am passing:

Employee number = 00108014

Subtype = 1

Object Identification = (blank) (also tried with spaces)

Lock Indicator = (blank )(also tried with spaces)

RecordNumber = 000 (tried with 0)

Validity Start date = 20050921

Validity End date = 99991231

I have even sent all the optional values, but it still fails with Make an entry on all required fields.

Any help on this will be highly appreciated.