Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax Error

Former Member
0 Kudos

Hi Gurus,

I have written the following code:

************************************************************************

  • Selection Screen *

************************************************************************

selection-screen begin of block b1 with frame title text-001.

parameters: p_ifname like rlgrap-filename obligatory.

selection-screen end of block b1.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ifname.

CALL FUNCTION 'F4_FILENAME' "allows user to select path/file

EXPORTING

program_name = 'z_prog'

dynpro_number = syst-dynnr

field_name = 'p_ifname'

IMPORTING

file_name = p_ifname.

but I am getting the following syntax error " <b>"TYPE LINE" or "LIKE LINE" expected, not "BEGIN" . . . . . </b> "

Can you please help me to resolve this issue.

Thanks

Rajeev Gupta

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You have probably left off a period at the end of the line just preceding the code you posted.

Rob

1 REPLY 1

Former Member
0 Kudos

You have probably left off a period at the end of the line just preceding the code you posted.

Rob