2015 Apr 16 4:52 PM
Hi,
We have recently created a new BADI implementation for the BADI definition FI_HEADER_SUB_1300 with filter on countries US, Japn and Germany.
We populated XREF1_HD field using the new BADI implementation and activated the BADI. Our intent is to display XREF1_HD field on FB01 screen.
The problem is XREF1_HD field appears in FB01 screen sometimes and doesn't appear at times under my userid. Similarly, other users are facing the same issue. There is no code/restriction applied on Userids.
Could anyone suggest as to why this happens? Also, could it be due to an existing standard implementation ( please note this existing standard implementation has filters for Brazil and Canada only ... My code is for US...I believe,it shouldn't affect)? Appreciate help on this.
Thanks,
Pavan
2015 Apr 16 5:18 PM
BADI FI_HEADER_SUB_1300 is not multiple use BADI. So, you can't have two active implementations for that at the same time. That might be the reason for discrepancy.
Regards,
Naimesh Patel
2015 Apr 17 5:15 AM
Hi Naimesh,
I have deactivated one of the implementations. But,still the field doesn't show up regularly. One peculiar thing I have noticed is that when we open FB01 for the first time, XREF1_HD field doesn't show up. If we open FB01 for the second time it shows up.
Even though there are multiple implementations active due to different filters,it should pick the correct implementation based on the country. This way, it should display the field.
Not sure, why XREF1_HD doesn't show up for the first time.
Thanks,
Pavan
2015 May 13 5:20 AM
Found out the issue. In the user parameters, need to pass parameter id BUK = (default it to any of the country for which BADI FI_HEADER_SUB_1300 is implemented). Ocassionally XREF1_HD field was not showing up on FB01 since this BADI is implemented only for certain coutnries( based on filter).
Thanks,
Pavan
2016 May 13 9:53 AM
OK, it's late.
You have to fill the company code. If the company code is not filled, the BAdI is not called. So fill the company code, press enter and restart the transaction.
2019 Apr 15 10:40 AM
Hi all,
We work with several company codes, so, do we need to inform 'BUK' parameter in user profile if we don't know wich company code we will use every time we execute FB01?
Thanks a lot!!
2021 Jan 18 8:12 AM
Yes. We faced similar issue and defaulted Company code in User profile.