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: 

Auto fill Sales District and Sales Office from a ztable in transactions XD01 & XD02

231

Dear Experts,

I want to auto fill Sales District and Sales Office from a ztable(Mapping Table) upon entering data in Sales Group (at Sales Area Data-Sales Tab) in transactions XD01 & XD02. Here Sales Group is the triggering field. How is it possible?

Please help.

Regards

Mahfuzur Rahman

2 REPLIES 2

Abinathsiva
Active Contributor
133

Hi

Enhancement - SAPMF02D and FM - EXIT_SAPMF02D_001 combination should work - write a custom code through ABAPer.

or same custom code in BADI - CUSTOMER_ADD_DATA - method - CHECK_ALL_DATA or SAVE_DATA

raymond_giuseppi
Active Contributor
0 Kudos
133

AFAIK none of the available BAdI, BTE or Customer Exit provided by SAP allows this, those data are provided as imported parameter and not changeable.

Did you already look for any available enhancement point

  • In some of the forms/methods executed in the PAI logic of the sub/matn screen dynpro (SAPMF02D 7310/7000)
  • Just before save process (forms CHECK_ALL_DATA, SCHLUSS_BEARBEITUNG)