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

method for screen fields data binding ?

Former Member
0 Likes
748

Hi,

is there any method/function for data binding between front-end screen fields and program variables ?

just as system do before PAI and after PBO

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
555

Hi,

I'm not sure, if understood your question completely right. But normal data binding is done by using the same variable names on the dynpro and in your ABAP program. The rest does the system itself.

If you use attributes of database tables in your dynpro, you have to declare them with the TABLES command in your top-include of your program.

Regards,

Martin

Read only

0 Likes
555

Correct, it's done by system.

And what i want is a manu way for this behavior, i debugged with system debug option checked and found method 'SYSTEM_SCREEN_INPUT' which seems ok, but true it isn't.

Any other suggestion ??

Read only

Former Member
0 Likes
555

Hi,

Use same variable name for both(screen field and program field). declare variable in main program. assign the same name in screen.System will takecare of values tranfering between screen and program.if you are using structure, you should use structure in screen like <struc name>-<var name>.

reward me if useful