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

Dialog Screen - Invalid field format (screen error)

Former Member
0 Likes
14,285

Dear all,

I have developed a modal dialog screen and succesfully invoked it with CALL SCREEN command in the main screen. Unfortunately, it always returns "Invalid field format (screen error)" when clicking on the dialog's GUI control such as button or radio button. Anyone encountered this before??

Regards,

KK

1 ACCEPTED SOLUTION
Read only

Former Member
6,454

hello KK

this error for invalid field format comes when there is a mismatch betwwn the datatypes of the screen elements and the variables taken in abap for that element .

For that check the datatype of the screen element from its properties and change it to the type you wanted for that variable.

both the datatypes should be same for that variable.

hope this helps.

geeta gupta

Dear all,

I have developed a modal dialog screen and succesfully invoked it with CALL SCREEN command in the main screen. Unfortunately, it always returns "Invalid field format (screen error)" when clicking on the dialog's GUI control such as button or radio button. Anyone encountered this before??

Regards,

KK

8 REPLIES 8
Read only

Former Member
6,455

hello KK

this error for invalid field format comes when there is a mismatch betwwn the datatypes of the screen elements and the variables taken in abap for that element .

For that check the datatype of the screen element from its properties and change it to the type you wanted for that variable.

both the datatypes should be same for that variable.

hope this helps.

geeta gupta

Read only

6,454

An answer coming from 12 years ago and from a former member, saved my hours. Thank you!

Read only

Former Member
0 Likes
6,454

Hi,

You might have input fields longer than what it is supposed to be.

Read only

Former Member
0 Likes
6,454

Hi,

You might have input fields longer than what it is supposed to be.

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
6,454

Hi KK,

Just make sure that the fields take on the screen are also declared in the top module of your program.

And also match their data-types and size i.e., declared in top module and on the screen in their respective attributes.

Hope this solves your problem.

Thanks & Regards,

Tarun Gambhir

Read only

Former Member
0 Likes
6,454

Hi,

I have faced a similar situation.

I was trying to create a radio button group with 2 buttons.

mistake i was doing is i was putting the name as RAD1 & 2 .

then what i have done is i hae created two data type

RAD1 like table name- fieldname (of char 1)

RAD2 like table name- fieldname (of char 1).

and have used them in my radio buttons.

Read only

Former Member
0 Likes
6,454

i ALSO FACED SAME PROBLEM ..

and I also define

DATA: INPUT1(80) type c.

Thanks to all.

Read only

0 Likes
6,454

HI KK,

Specify Ur filed data type in the Programm also.

With BEst Regards,

Rajesh S