By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
I have started working with BAPIs using JCo and Java. I've encountered a problem which has left me without an answer. With BAPIs like BAPI_PERSDATA_CHANGE, there are required fields that must be passed into the Import Parameters. The problem is that some of these fields are empty/blank, like the Subtype, for example. Within the Java codes, I have attempted to pass in "null," empty Strings, empty Object, and the corresponding value from Get BAPIs. (Like BAPI_EMPLOYEE_GETDATA for BAPI_PERSDATA_CHANGE Subtype fields.) All to no avail. I am commonly returned the message: "Make an entry in all required fields." Though I have managed, previously, to get No Data for the selected fields (when I have verified that data does exist) and similar messages. How do I approach changing data? Or specific to BAPI_PERSDATA_CHANGE, how can I make it work? Please advise.
Using the HR BAPIs, it seems to be impossible to overwrite a value with an empty string. If that is not your situation (I am not totally sure that I have understood your problem correctly), the most likely answer is that you have omitted data for a mandatory field. But if the former applies, there is not much you can do, other than report this as a bug to the HR people.