07-15-2014 12:32 PM
Hello everyone,
I have a requirement to make various checks before saving in FD32. For example I want to make sure that KNKK-DBEKR will be less than or equal to KNKK-KLIMK.
I have searched SCN and I have implemented BTE 1520 (you can see an example thread here).
My problem is that while in BTE 1520 I don't have the screen fields available (or at least I don't know how to make them available to my function module).
Has anyone done something similar?
Thank you in advance.
07-15-2014 12:44 PM
Typically you don't want to look at the screen fields. Instead you want to look at the X and Y variants of the DB structures.
Neal
07-15-2014 12:55 PM
Thanks Neal, but I already tried that. The function module (a copy of SAMPLE_INTERFACE_00001520) uses only two variables I_KUNNR and I_KKBER.
As you can see in the screenshot below (from the debugger), I have been trying to find whether I have anything else available at that point.
07-15-2014 1:00 PM
I had just finished checking. And agree, however:
but the rule applies. there will be variants on the DB structure that you want to read.
If I get time later today, I'll dig around further.
Neal
07-15-2014 1:03 PM