cancel
Showing results for 
Search instead for 
Did you mean: 

User Exits for Customer Master...

Former Member
0 Kudos

Dear Experts,

I want to use the User Exit of XD01 / XD02 (Customer Creation / Change)

Actual requirement is to send the mail to the specified mail address while saving the customer master in XD01 or XD02.

Quick reply would be appriciated...

Thanks in Advance...

Thanks,

HP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

you could use the BTE (Business Transaction event) 00001320 or 00001321. It's not really after saving, but in saving.

Refer to the documentation you can find in transaction FIBF-> PS-Interfaces.

Regards Wolfgang

Answers (2)

Answers (2)

former_member738053
Discoverer
0 Kudos

Hi!

you can use the exit_sapmf02d_001.

In the transaction se37, put there this transaction.

Inside of this transaction you have this:

INCLUDE ZXF04U01.

Open this include

************************************************************************

  • BAPI to get e-mail field *

*************************************************************************

CALL FUNCTION 'BAPI_CUSTOMER_GETDETAIL'

EXPORTING

customerno = i_kna1-kunnr

pi_salesorg = ti_knvv-vkorg

  • PI_DISTR_CHAN =

  • PI_DIVISION =

  • PI_PASS_BUFFER =

IMPORTING

pe_address = wa_dados

  • RETURN =

.

wa_cadcli-email = wa_dados-internet.

APPEND wa_cadcli TO ti_cadcli.

I'm not sure it can help you using xd01, but this exit above is the only exit you have to use with transaction (xd01, xd02...)

Former Member
0 Kudos

Got a solution. using BADi..