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: 

BTE1120 triggered by Movement type

Former Member
0 Kudos

Dear gurus

Is it possible to execute BTE1120 triggered by particular movement type?

Yoshi

1 ACCEPTED SOLUTION

former_member1200644
Participant
0 Kudos

Hi,

Please more explain, What is your requirement for movement type .

Regards,

Nilesh Patel

5 REPLIES 5

former_member1200644
Participant
0 Kudos

Hi,

Please more explain, What is your requirement for movement type .

Regards,

Nilesh Patel

0 Kudos

Patel,

My requirement is, when I run MIGO,

I’d like to substitute profit center of inventory account

by profit center of offsetting account.

Trigger should be particular movement type which is specified in MIGO.

Yoshi

0 Kudos

Hi -

You can restrict your code with certain movement type if the BTE is triggered.

Otherwise after the 1120 BTE you can try for an implicit enhancement. You can check the following -

In Program, MF05AFO0_OPEN_FI_FELDSUBSTITUT, there is a form FORMOPEN_FI_FELDSUBSTITUTION..

At the end of the form try to write an implicit enhancement for your need.

Let us know, if it helps.

0 Kudos

Atul,

>You can restrict your code with certain movement type if the BTE is triggered.

In BTE1120, import parameter is from BKPF or BSEG, so no movement type.

So, do you think get/set statement is required?

0 Kudos

Hi Yoshitada -

Yes in BKPF, BSEG you won't find those details.

Instead I suggest you should check the behaviour of following fields BLART, TCODE, AWTYP, AWKEY, XBLNR from BKPF or BSCHL from BSEG in your case and restrict accordingly.

Let us know, if it helps.