‎2008 Jan 12 11:10 AM
‎2008 Jan 12 6:22 PM
Check the below code,
Data: parcom (250),
Wdnr(80),
Begin of tab1 occurs 0,
Line (200),
End of tab1.
Parcom = .
Move /name/oms/mm/boms/xml/ to w_dnr.
Concatenate ls * w_dnr into parcom.
Replace * with into parcom.
Call system id command field parcom
Id tab field labl-sys.
Hope That Helps,
Satish.
‎2008 Jan 12 1:42 PM
Hi Chakradar,
Are you talking about the reading data from the application server?
If it is so then you can use the following FM
CALL FUNCTION 'RZL_READ_DIR_LOCAL'
EXPORTING
NAME = PA_AFILE " Directory Path
TABLES
FILE_TBL = T_AFILES " All files...
EXCEPTIONS
ARGUMENT_ERROR = 1
NOT_FOUND = 2
OTHERS = 3.
IF SY-SUBRC 0.
Also check the link below
‎2008 Jan 12 6:22 PM
Check the below code,
Data: parcom (250),
Wdnr(80),
Begin of tab1 occurs 0,
Line (200),
End of tab1.
Parcom = .
Move /name/oms/mm/boms/xml/ to w_dnr.
Concatenate ls * w_dnr into parcom.
Replace * with into parcom.
Call system id command field parcom
Id tab field labl-sys.
Hope That Helps,
Satish.