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

data declaration

Former Member
0 Likes
349

Hi,

Can we decalre a variable based on user input? Say, the user mentions the domain MATNR in in the selection screen, could we declare a variable of type MATNR?

If possible, kindly let me know the way to do it.

Thanks a lot in advance.

2 REPLIES 2
Read only

vinod_vemuru2
Active Contributor
0 Likes
325

Hi,

Please use proper subject line before moderators lock the thread.

Well, this looks like a BASIC question. Please search the forum with the key word FIELD SYMBOLS. You can get the answer for your question along with sample codes.

For more help, press F1 on FIELD-SYMBOLS in your ABAP editor.

Thanks,

Vinod.

Read only

Former Member
0 Likes
325

no comments.