Application Development and Automation 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: 
Read only

Validating Screen Fields in FD32 - BTE 1520

costas_lampropoulos
Discoverer
0 Likes
1,176

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.

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.

4 REPLIES 4
Read only

Former Member
0 Likes
1,001

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

Read only

0 Likes
1,001

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.

Read only

0 Likes
1,001

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

Read only

0 Likes
1,001

Thanks a lot