Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

User Exit for delvry03

Hello gurus,

we would like to automatically send delivery IDoc after creating Delivery in VL01N transaktion. we want also to add Z1STATUS01 Segment into E1EDL24. Therefore i use following User Exit :

EXIT_SAPLV56K_002 (Enhancement V56K0001).

&----


*& Include ZXTRKU02

&----


DATA:lv_vbup LIKE vbup.

DATA:ls_Z1STATUS01 TYPE Z1STATUS01.

DATA: w_data_vbak LIKE LINE OF data-tab_vbak,

w_vbak LIKE vbak.

SELECT * FROM vbup INTO lv_vbup

WHERE vbeln = w_vbak-vbeln.

ENDSELECT.

CASE IDOC_DATA-segnam.

WHEN 'E1EDL24'.

IDOC_DATA-segnam ='Z1STATUS01'.

ls_Z1STATUS01-LFGSA = lv_vbup-LFGSA.

move ls_Z1STATUS01 to IDOC_DATA-sdata.

APPEND IDOC_DATA.

ENDCASE.

When i try to test the user exit and also tried " break points at statement " in debugging it is not going to the exit EXIT_SAPLV56K_002 and IDOC data is generated without Z1STATUS01.

Am I wrong with User Exit EXIT_SAPLV56K_002???

Thanks for all reply,

FK

Former Member
replied

Of course

I think your EXIT is in an "update-task"?!?!? (Sorry, no system available)

So you have to activate not only "debugging", but also "update-debugging".

Be sure that you have not to much dialogs open, if you use the "new" debugger.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question