Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

user exit for create delivery order

Former Member
3,081

hi! expert.

i have a scenario when user B create delivery order (VL01N) then get DO No. I want to send this DO No. to user A 's mail.

when i look for user exit with this [program|http://wiki.sdn.sap.com/wiki/display/ABAP/FindEXITandBADIfroagivenTransactionCode] . i don't know which one I should use. please suggest me.

V02V0001

V02V0002

V02V0003

V02V0004

V50PSTAT

V50Q0001

V50R0001

V50R0002

V50R0004

V50S0001

V53C0001

V53C0002

V53W0001

VMDE0001

VMDE0002

VMDE0003

VMDE0004

my SAP version is 4.6

best regards,

Kiitisak

hi! expert.

i have a scenario when user B create delivery order (VL01N) then get DO No. I want to send this DO No. to user A 's mail.

when i look for user exit with this [program|http://wiki.sdn.sap.com/wiki/display/ABAP/FindEXITandBADIfroagivenTransactionCode] . i don't know which one I should use. please suggest me.

V02V0001

V02V0002

V02V0003

V02V0004

V50PSTAT

V50Q0001

V50R0001

V50R0002

V50R0004

V50S0001

V53C0001

V53C0002

V53W0001

VMDE0001

VMDE0002

VMDE0003

VMDE0004

my SAP version is 4.6

best regards,

Kiitisak

4 REPLIES 4
Read only

vinod_vemuru2
Active Contributor
1,294

Hi,

You can use include MV50AFZ1 subroutine USEREXIT_SAVE_DOCUMENT. But place the mail sending code in a new function module and call it in BACKGROUND TASK to avoid inconsistency cause by COMMIT WORK by the mail sending FM.

Thanks,

Vinod.

Read only

0 Likes
1,294

hi Vinod

thank for you answer, but i can't use that because i don't have modification key. Do you have another way.

Read only

0 Likes
1,294

Hi,

most of exits in SD need a modification key. Ask your basis to get one.

Regards, Dieter

Read only

0 Likes
1,294

Hi,

Any userexit asks the access key for first time.(Not the case with customer exits). So no probelm. Get the access key from your BASIS team and implement the exit. I wonder that MV50AFZ1 is not implemented yet in your system. Is your SAP system new?

This is the most busy exit (Locked by some one at any time) in most of the systems:)

Thanks,

Vinod.