Skip to Content
0
Former Member
May 14, 2008 at 10:38 AM

how to find a string into another string

41 Views

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.