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

Customer Master / Vendor master Creation

Former Member
0 Likes
567

Hi Folks,

I have a requirement that the whenever Customer / vendor is created or changed, then there needs to be a mail sent for the same.

We are currently using the user exit : EXIT_SAPMF02D_001 for customer creation and user xit : EXIT_SAPMF02K_001 for vendor.

The issue :

When the new Cust / Vend is created, the user exit is called. The issue is that the "Customer number" / "Vendor number " is blank as the number is generated by the system after the user exit is over. So the mail sent is having Blank Ven / Cust number which is not desired.

IF anyone knows any other User exit / Badi that can be used for this purpose. Or if there is a business object for the Customer abd vendor master, whose event is raised by the SAP transaction when Cust / vendor is created with the customer number passed to the event, then kindly let me know. I can then create a workflow for the same.

P.S: There is no issue when the customer is changed as the customer number comes in the above exit.

Thanks and Regards,

Anuj.

Hi Folks,

I have a requirement that the whenever Customer / vendor is created or changed, then there needs to be a mail sent for the same.

We are currently using the user exit : EXIT_SAPMF02D_001 for customer creation and user xit : EXIT_SAPMF02K_001 for vendor.

The issue :

When the new Cust / Vend is created, the user exit is called. The issue is that the "Customer number" / "Vendor number " is blank as the number is generated by the system after the user exit is over. So the mail sent is having Blank Ven / Cust number which is not desired.

IF anyone knows any other User exit / Badi that can be used for this purpose. Or if there is a business object for the Customer abd vendor master, whose event is raised by the SAP transaction when Cust / vendor is created with the customer number passed to the event, then kindly let me know. I can then create a workflow for the same.

P.S: There is no issue when the customer is changed as the customer number comes in the above exit.

Thanks and Regards,

Anuj.

1 REPLY 1
Read only

Former Member
0 Likes
437

Hi,

I think you can use Business transaction events for this.

BTE 1320 and 1321 for Customer Master

BTE 1420 and 1421 for Vendor Master

And FYI,

http://help.sap.com/saphelp_46c/helpdata/en/63/ed2c7dd435d1118b3f0060b03ca329/frameset.htm

Hope this helps..

Sri