Application Development 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: 

Field symbols - specifying screen number for screen field.

Former Member
0 Kudos

Hi Experts,

I am working on a field exit for T-Code FBD1. I am using the following code



field-symbols : <fs>.
assign ('(SAPMF05A)BKPF-BUKRS') to <fs>.

My field exit works on screen 300 where as company code is on screen 106. This works fine as there is only one occurance of company code in the program SAPMF05A. There is another data element RF05A-NEWKO which is on both the screens. I want the value in the field on screen 0106. How do I specify the screen number?

Regards,

Abdullah

3 REPLIES 3

Former Member
0 Kudos

Hi!

You cannot specify the screen number in this case. The field symbol will be assigned with the current value in the field (SAPMF05A)RF05A-NEWKO, i.e. the value at runtime when the exit is triggered. Make sure your exit is trigerred when you move from one screen to the next.

Cheers!

Former Member
0 Kudos

Since I was using a field exit on the previous screen also, I used ABAP memory to access the values on both the screens. It solved my issue.

0 Kudos

Hi Abdullah,

How did you do it? --> [ I used ABAP memory to access the values on both the screens ]

Regards,

Neesha