hi ,
i want to give validation for two input files.as if i load any file between these two it should load it .But if i load the file other than this than it must give error as not a valid load file.
I am trying to do it with this code but it is getting done.
pls help me out.
IF ( P_FILE CP 'Balances_DMTHMPLAN' ) OR
( P_FILECP 'Balances_VMTHMPLAN' ).
IF SY-SUBRC <> 0.
MESSAGE E000 WITH TEXT-013 . ENDIF.
ENDIF.