Hi,
I'm trying to give a validation on the input file name which is given below.I dont want to hard code the path.when i'm giving F4 help it should pick only
' C.028 Project Plan balances_DMTHMPLAN ' file .if the file having different name is picked than it should give an error.
I'm trying to do this via this code.
Can anyone help me out.
IF P_FILE NP ' C.028 Project Plan balances_DMTHMPLAN' .
IF SY-FDPOS = 1.
MESSAGE E000 WITH TEXT-001 .
ENDIF.
ENDIF.