on 2021 Jul 14 1:07 PM
Hello Experts,
We have Z field in LQUA table, this field is populated using a Custom Transaction.
Now the same field should be updated (in destination) Quant when TO is created Via LT01 and separately Confirmed using LT12.
To achieve this, I wrote a code inside EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task)).
Using the t_ltap_vb-vlqnr (Source Quant) I am fetching text from z field from LQUA .
Using t_ltap_vb-nlqnr (Destination Quant) I am updating z field text in destination quant.
Now my problem is that the select query on LQUA table is working some times and some times its failing.
1. is there a problem because the exit is called in Update task ?
2.Is this a problem because as per process, when TO is confirmed, source quant gets deleted. is the entry I am fetching marked for deletion and hence Query is failing?
3. Will it be helpful If I use update function module ?
Also If any one can suggest any alternative way that would also be great !!
Thanks in advance for assisting me on this.
Request clarification before answering.
Please check if the coding would also function using "IN BACKGROUND TASK" rather than "IN UPDATE TASK".
Kind regards
Nic T.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 17 | |
| 16 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.