How to link ui element to 2 bapis (wd4Abap)
I need to display user data on the screen using BAPI_USER_GET_DETAIL
After the user make some changes I would like to update ECC6 using BAPI_USER_CHANGE.
I've linked the ui elements with the first bapi but i don't know how to link them to the second one ,
Any help would be greatly appriciated.
I assume you would be displaying BAPI_USER_GET_DETAIL data with help of UI element.
You should not bind the UI to BAPI_USER_CHANGE model. Just copy the fields which you would like to change to input parameter structure of the BAPI_USER_CHANGE. And when user clicks on Save button execute the BAPI_USER_Change with input parameter structure.
Thanks & Regards,