02-27-2015 5:10 AM
Dear gurus
Is it possible to execute BTE1120 triggered by particular movement type?
Yoshi
02-27-2015 5:58 AM
Hi,
Please more explain, What is your requirement for movement type .
Regards,
Nilesh Patel
02-27-2015 5:58 AM
Hi,
Please more explain, What is your requirement for movement type .
Regards,
Nilesh Patel
02-27-2015 6:21 AM
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
02-27-2015 6:33 AM
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.
02-27-2015 7:20 AM
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?
02-27-2015 8:30 AM
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.