Skip to Content
-1

How to insert deleted and modified records into a resquest

May 15 at 01:44 PM

30

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
"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.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi May 15 at 02:37 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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
Former Member

Thank you, Raymond,

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

José Henrique Bachour

0