Application Development and Automation 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: 
Read only

Macro Error

Former Member
0 Likes
467

Hello,

I am writing one report, in which I am using macors.

  • Macro definition

define _sel.

select-options: &1 for &2.

end-of-definition.

loop at lt_dfies into ls_dfies.

  • For testing purposes,

concatenate ls_dfies-tabname ls_dfies-fieldname into lv_field separated by '-'.

sel lvsel lv_field.

endloop.

when i check this code.. it says lv_sel is already declared, whereas it is not ?

can you tell me where the error is ?

2 REPLIES 2
Read only

Former Member
0 Likes
433

Hi,

Is there any include type of report you have included in program?

If yes then check data has been declared or not?

Reward if useful!

Read only

0 Likes
433

No i have not used anything like that,

any other issue which you think ...? is there specific we do with macros.