‎2008 Jan 30 11:35 AM
The following program shows error when I give input to Num1 and Num2 ,then press Add or Exit.It says "Invalid Format (Screen Error)" Any Help Please
REPORT ZTODAY .
data : num1 type i,
num2 type i,
NUM3 TYPE I,
OK_CODE TYPE SY-UCOMM.
call screen 100.
&----
*& Module USER_COMMAND_0100 INPUT
&----
text
----
MODULE USER_COMMAND_0100 INPUT.
case OK_CODE.
WHEN 'ADD'.
NUM3 = NUM1 + NUM2.
when 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
&----
*& Module CNUM1 INPUT
&----
text
----
MODULE CNUM1 INPUT.
ENDMODULE. " CNUM1 INPUT
‎2008 Jan 30 12:18 PM
Hi Gopi,
Are you sure your main program as well as the screen 100 are syntax check error free and ACTIVE.
Please check the same.
Regards,
Aditya
‎2008 Jan 30 12:18 PM
Hi Gopi,
Are you sure your main program as well as the screen 100 are syntax check error free and ACTIVE.
Please check the same.
Regards,
Aditya
‎2008 Jan 30 5:59 PM
HI Gopi,
i checked the same it is working.i doubted your field type in the screen and actual type you declared in the declaration differs.check the same activate screen and program.
Message Edited
SHIBU
‎2008 Jan 31 6:25 AM
Hi,
ON Screen the data type of screen fields are diffrent than the data type declared in Report.
Check it once.
Don't forget to reward if useful....