Skip to Content
avatar image
Former Member

Handeling BAPI Return messages for mutiple fields

Dear Friends,

I am using BAPI_USER_CHANGE to update or delete the values of 2 fields. I am facing one problem in bapi return table. If Bapi change one field and does not change other field, it gives only one message "User has been changed". It does not give the status of each field. I need to show the status of both field in ALV output. If Bapi update only one field and does not update the other field, how could i get status of fields individually, however Bapi is only returning one message "User has changed". In actuality, only one field has been updated not the other one.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 05, 2017 at 02:53 PM


    The FM should update all the fields if you are passing the change flags on these fields, so if BAPI returned "User has been changed", all the fields marked for update should be updated. Could you please share the code?


    Add comment
    10|10000 characters needed characters exceeded

    • If I understand well, you are saying that the only issue is about the returned messages only, which are not giving enough details from your point of view? Why can't you just simply solve the issue by reading the user master and compare with the values you wanted to update.