Question:
form UPLOAD_DATA.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = dataset
FILETYPE = 'DAT'
TABLES
DATA_TAB = record
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE: / TEXT-E00, SY-SUBRC.
STOP.
ENDIF.
ENDform. " UPLOAD_DATA
this program is tanslate data in dataset into a internal table record.
now ,i want to translate data to record use uppercase mathod,how to do this.
thanks .
Answer:
psuedo-code:
psuedo-code:
loop at record
convert record to uppercase
modify record
endloop
have a closer look to the translate statement.
Christian
Answer:
opss.. yes, translate to uppercase .. owell, am not on SAP right now still enjoying my easter break