Application Development 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: 

XD01 and XK01 User-Exit for setting values before save

Former Member
0 Kudos
2,961

Hello,

When creating Customer Master using XD01 or Vendor Master using XK01, I would like to set the Trading Partner to a default Company Code using User-Exit. I have tried BTE 00001320 and 00001420 but I cannot find the field VBUND in the interface. Can anyone please suggest which User-Exit I can use for setting these fields? Thanks.

Thanks.

3 REPLIES 3

Former Member
0 Kudos
382

Hi ,

you can chek with CUSTOMER_ADD_DATA .This have different methods.you can check.

Thanks,

Mohan rao

raymond_giuseppi
Active Contributor
0 Kudos
382

Try BTE - FINF/FIBF

- 00001321 CUSTOMER MASTER DATA: Save with data transfer Call up during creation/change

- 00001421 VENDOR MASTER DATA: Save with data transfer

User-exits - SMOD/CMOD

- SAPMF02K - User exits: Vendor master data

- SAPMF02D - User exits: Custiomerr master data

BADI - SE18/SE19

- VENDOR_ADD_DATA - Additional Vendor Data

- CUSTOMER_ADD_DATA - Additional Customer Data

Regards,

Raymond

Former Member
0 Kudos
382

Hi,

Try teh following:

EXIT_SAPMF02D_001-Customers: User Exit for Checks prior to Saving

EXIT_SAPMF02K_001-Vendors: User Exit for Checks prior to Saving

Regards,

Himanshu