cancel
Showing results for 
Search instead for 
Did you mean: 

When is that User Exit triggered ?

Former Member
0 Kudos

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>

Accepted Solutions (1)

Accepted Solutions (1)

thecardinal
Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

0 Kudos

hi,

think when bw request to source system, data read from delta queue (rsa7).

can specify the issue ?