When someone posts an invoice, by FB01 tcode, I want to know the invoice type (bkpf-blart) when I stop at BADI:
However the field isn't there.
How may I see the BLART field at FM_OPEN_PERIODS? By defining a global parameter? If so, how?
Thanks in advance
There used to be the concept of global interface for function modules, but it's now obsolete and impossible to switch it on (although for those already switched on in the past, it's still on and this feature is still effective).
Nowadays, you can use the Enhancement Framework (implicit enhancement at the start of function modules to store "globally" the parameter value anywhere + optionally create a global field symbol to keep the link to the parameter + any other solution you want).