‎2007 Dec 14 10:05 AM
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.
‎2007 Dec 14 10:08 AM
‎2007 Dec 14 10:08 AM
‎2007 Dec 14 10:09 AM
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
‎2007 Dec 17 12:40 AM
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?