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

Input field problem.

Former Member
0 Likes
459

hi i have a problem with the input fiield.

below is my codes.

MODULE F4_INPUT INPUT.

TYPES: BEGIN OF VALUES,

TABNAME TYPE DD02T-TABNAME,

END OF VALUES.

DATA: F4_VALUES TYPE TABLE OF VALUES.

PROGNAME = SY-REPID.

DYNNUM = SY-DYNNR.

SELECT DISTINCT TABNAME FROM DD02T

INTO TABLE F4_VALUES WHERE TABNAME = IO_TABLEA.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'IO_TABLEA'

DYNPPROG = PROGNAME

DYNPNR = DYNNUM

DYNPROFIELD = 'IO_TABLEA'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = F4_VALUES.

ENDMODULE.

I couldn't get the user input in (IO_TABLEA).

can anyone help me with this problem.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
439
3 REPLIES 3
Read only

Former Member
0 Likes
440
Read only

Former Member
0 Likes
439

is IO_TABLEA. table is a parameter of selection screen or an input field in screen

if it is a input filed in screen declare it again in main report once again of the type you want

for every element in the screen there should be a variable of same type in report or program

Read only

0 Likes
439

IO_TABLEA is an input field in screen not a parameter. so do i need to declare it as a variable in the report?

e.g. DATA: IO_TABLEA TYPE C.

like this?