Skip to Content
0
Former Member
Mar 02, 2007 at 02:39 PM

The Program is going to dump

21 Views

REPORT ZABC .

DATA: PATH_FILE1(100) TYPE C,

PATH_FILE2(100) TYPE C.

PARAMETERS: P_PATH1(50) TYPE C DEFAULT

'
P06APOR3\VAROPT\APO\MTHEND\DEMAND\LOADFILES',

P_FILE1(50) TYPE C DEFAULT

'CPT_LC.CSV',

P_PATH2(50) TYPE C DEFAULT

'
P06APOR3\VAROPT\IRMS\P06860\APOOUT\',

P_FILE2(50) TYPE C.

DATA : TEST(50) VALUE 'LISTCUBE_CPTR_FMT_',

TEST1(50) VALUE 'LISTCUBE_GLUE_FMT_'.

IF P_FILE1 EQ 'CPT_LC.CSV'.

CONCATENATE TEST SY-DATUM0(4) SY-DATUM4(2) SY-DATUM+6(2) INTO TEST.

TRANSFER TEST TO P_FILE2.

ELSEIF P_FILE1 EQ 'GLUE_LC.CSV'.

CONCATENATE TEST1 SY-DATUM0(4) SY-DATUM4(2) SY-DATUM+6(2) INTO TEST1.

TRANSFER TEST1 TO P_FILE2.

ENDIF.

write : ' P_FILE2'.

The above program is going to dump . Please help me to get the exact solution.