‎2007 Jan 19 11:03 AM
I m using F4IF_INT_TABLE_VALUE_REQUEST but the values are not displayed in the screen.
I debugged the program. I m getting the value in the Internal table but not displayed in the screen.
a popup opens in that i can see the number of entries but not the value.
can any one solve this problem.
thanks in advance.
‎2007 Jan 19 11:08 AM
‎2007 Jan 19 11:09 AM
SELECT OBJEK FROM CUCO INTO TABLE IT_ACTUALOBJECT WHERE OBTAB = OBJEK.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'OBJEK'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'ZVC_PROJECTINFOR-OBJECTCATEGORY '
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
tables
value_tab = IT_ACTUALOBJECT
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
‎2007 Jan 19 12:56 PM
Hi Kalpanashri ,
Could you also paste the code which contains yor selection screen declearation and the internal table decleration.
Regards
Arun
‎2007 Jan 19 11:08 AM
wht r the parameters u r passing
once go through the Function module Documentation
‎2007 Jan 19 11:09 AM
The function module F4IF_INT_TABLE_VALUE_REQUEST returns an internal table (RETURN_TAB) which contains the line you have selected. You have to read from that internal table and assign the value to the screen field.
Manoj
‎2007 Jan 19 11:11 AM
Hi Kalpanashri ,
I feel the problem is with paramaters you are passing to the FM , please paste the code that will help us analyse it better.
Regards
Arun
‎2007 Jan 19 11:26 AM
‎2007 Jan 19 11:28 AM
Capture RETURN_TAB and read it to get the value. Assign the same to your screen field.
‎2007 Jan 19 12:25 PM
‎2007 Jan 19 12:27 PM
‎2007 Jan 19 12:28 PM
‎2007 Jan 19 12:35 PM
Then fill up the internal table FIELD_TAB with the structure for the pop-up list. Add each entry in the internal table for each column in the F4 list. Your retfield (OBJEK) must be one of those fields.
You can also refer to program BCALV_TEST_GRID for help on using this function module
Hope this helps.
Manoj