Hi Experts,
I am currently setting up a workflow for approval of changes in vendor master data. If the approval is denied, I want to write the original data (which existed before changes were made) back to the corresponding db-table.
Right now, I am using the FM VENDOR_UPDATE to write changes in all possible tables (LFA1, LFB1, LFAS, LFB5,...) to DB. The problem here is that this FM does not update the address data (-> Table ADRC).
Now the question is: Do you know any FM that takes all LF-Tables (LFA1, LFB1, LFAS, LFB5,...), does all neccessary checks and updates all relevant tables, including address data? I already stumbled accross the class VDM_EI_API but my problem here is the import-structure. I am not sure, how I can fill such a complex data structure, as I do not know which fields of which table I want to change until runtime.
Thanks for any helpful comments in advance!