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

OO ABAP having problems retrieving value from screen dropBox field

Aivaras
Product and Topic Expert
Product and Topic Expert
0 Likes
578

Hi,

I am a new in ABAP, and need some advice.

I have a class and in its definition I  have class-data: dropBox (same name as in screen) field from the screen. When I create a instance of a class and fill with data dropBox. data is populated properly using F4IF_INT_TABLE_VALUE_REQUEST method. But I can not retrieve the selected value. In screen dropBox field 'conversion exit' is set to ALPHA.

Tried to do it without a class it works, and I can get data.

Question is, can I do it using a class the way I explaining at the beginning of discussion.

Am I missing something?

 

Thanks,

Aivaras

1 ACCEPTED SOLUTION
Read only

Aivaras
Product and Topic Expert
Product and Topic Expert
0 Likes
533

It is not possible to have screen field attribute and use it. Solved my problem of returning value by increasing the value of Defined length on screen field.

Hi,

I am a new in ABAP, and need some advice.

I have a class and in its definition I  have class-data: dropBox (same name as in screen) field from the screen. When I create a instance of a class and fill with data dropBox. data is populated properly using F4IF_INT_TABLE_VALUE_REQUEST method. But I can not retrieve the selected value. In screen dropBox field 'conversion exit' is set to ALPHA.

Tried to do it without a class it works, and I can get data.

Question is, can I do it using a class the way I explaining at the beginning of discussion.

Am I missing something?

 

Thanks,

Aivaras

1 REPLY 1
Read only

Aivaras
Product and Topic Expert
Product and Topic Expert
0 Likes
534

It is not possible to have screen field attribute and use it. Solved my problem of returning value by increasing the value of Defined length on screen field.