cancel
Showing results for 
Search instead for 
Did you mean: 

Form interface import parameter cannot be used in smartform

Former Member
0 Kudos

Hi,

When I try to use the standard parameter HEADER in a routine in a smartform, I get the error: "HEADER" expected, not "...".

I have put the HEADER definition in the Input parameters of the routine and I have tried other form interface import parameters and I do not get any error with those. So I cannot see why HEADER woudl be any differnt?

Any suggestions? Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Need more details.

Former Member
0 Kudos

Hi,

Thanks for your reply.

There's a smartform with this definition in the Import tab of the Form Interface:

HEADER TYPE BAPIBUS2000110_HEADER_DIS

I've created a Program Lines routine. In the Input Parameters under the General Attributes tab, I entered HEADER. This is so I can reference the table in the code. However if I do a syntax check, I get the error described "HEADER" expected, not "...".

Hope this clarifies the problem.

Former Member
0 Kudos

You are in the right direction only.

Please check the spelling. May be a small difference.

Regards,

Nikhil

Former Member
0 Kudos

Hi,

No it's not a spelling error. HEADER is correct. If it was spelt incorrectly, it would say what I typed in wasn't found.

Former Member
0 Kudos

Hi,

Try in the output parameter also.

Give HEADER in output parameter.

Regards,

Nikhil

Former Member
0 Kudos

Hi,

No, same error.

Former Member
0 Kudos

Hi,

Maybe it's because "HEADER" is an ABAP word or something.

Anyway to get around it, I moved the contents to another internal table and used that.

Thanksf ro your help anyway!