05-15-2018 2:44 PM
Hello, Masters,
I was able to insert records into a request without problems, but I can not insert records that have been modified and deleted from my source table.I have used function codes 'M' and 'D' respectively in structure E071, but I always get different types of error for the various forms of code and types of requests I have used to achieve this.
Does anyone have an example that code to tell me as a solution?
Thank you in advance.
José Henrique Bachour
05-15-2018 2:55 PM
"I always get different types of error for the various forms of code and types of requests I have used to achieve this.
Please ellaborate the errors in detail which you faced for suggestions.
05-15-2018 3:37 PM
Why didn't you use one record with E071-OBJFUNC = 'K' and then fill E071K with key values before calling a FM such as TR_REQUEST_CHOICE.
05-15-2018 5:40 PM
Hello, Raymond,
I was able to make changes to work by reporting "K", but for deletions, it does not work because I have to include a record with "K" so that the TR_REQUEST_CHOICE function does not result in an error when I enter the record with "D".It appears that the record with "D" erases the request from the record with "K" and the record is not deleted from the table in the destination master.
Thanks for the help so far.
José Henrique Bachour
05-15-2018 6:24 PM
Thank you, Raymond,
I managed to make it work now. I was wrong in the process of exclusions.
José Henrique Bachour