Hi,
Declare your structure like these you will get all the records into your internal table.
For Uploading file structure
TYPES: BEGIN OF ty_upld,
mandt TYPE mandt,
matnr TYPE c LENGTH 40,
werks TYPE c LENGTH 40,
pname TYPE c LENGTH 70,
pdate TYPE c LENGTH 40,
pquan TYPE c LENGTH 40,
END OF ty_upld.
* Use these .........................
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = ls_excel1-matnr
IMPORTING
output = ls_excel1-matnr
EXCEPTIONS
length_error = 1
OTHERS = 2.
* TRANSLATE your field to upper case
TRANSLATE ls_excel1-pname TO UPPER CASE.
Hope these will help you
Kabil