Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert deleted and modified records into a resquest

Former Member
0 Kudos

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

4 REPLIES 4

rajkumarnarasimman
Active Contributor
0 Kudos
"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.

raymond_giuseppi
Active Contributor
0 Kudos

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.

0 Kudos

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

0 Kudos

Thank you, Raymond,

I managed to make it work now. I was wrong in the process of exclusions.

José Henrique Bachour