on 12-01-2005 3:16 PM
We enhanced 2LIS_11_VASCL via a user exit as below:
But when is that user exit triggered ? <b>In which extraction phase</b> ?
<i>
(asking that question due to delta issues)</i>
************************************
CASE i_datasource.
WHEN '2LIS_11_VASCL'.
DATA: lt_data TYPE TABLE OF mc11va0scl.
DATA: ls_data LIKE mc11va0scl.
lt_data[] = c_t_data[].
LOOP AT lt_data INTO ls_data.
SELECT SINGLE aufnr INTO ls_data-aufnr
FROM vbap WHERE vbeln EQ ls_data-vbeln
AND posnr EQ ls_data-posnr.
MODIFY lt_data FROM ls_data.
ENDLOOP.
IF sy-subrc EQ 0.
c_t_data[] = lt_data[].
ENDIF.
ENDCASE.
************************************
<b></b><b></b>
Question is which user exit are you interested in?
If it's the functional enhancement of a datasource, which it looks like, it is called for every record determined in every datasource.
That's why you need the case statement.
Cheers,
Stuart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dear,
if you are posting this question due 'to delta issue'...maybe you are asking because you are not uploading any delta when a change is done on your added fields...sorry, but this is the right mechanism...delta works on the basis of already existing fields in the communication structure (R/3 one) and when a record is changed ONLY to your added fields, no delta will be triggered!
Hope now is clearer...
Bye,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
think when bw request to source system, data read from delta queue (rsa7).
can specify the issue ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.