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

HELP

Former Member
0 Likes
441

I'm trying to identify what character with th & stands for in the followin situation

DEFINE ILFC1_UPDATE_MM.

UPDATE LFC1

SET <b>UM&1S</b> = <b>UM&1S</b> + ILFC1-BTRSOL

<b>UM&1H</b> = <b>UM&1H</b> + ILFC1-BTRHAB

<b>UM&1U</b> = <b>UM&1U</b> + ILFC1-BTRUMS

WHERE LIFNR = ILFC1-LIFNR

AND BUKRS = ILFC1-BUKRS

AND GJAHR = ILFC1-GJAHR.

END-OF-DEFINITION.

Thank you

Tatenda Chaibva

null

3 REPLIES 3
Read only

Former Member
0 Likes
417

That's a macro...So & stands for parameter...like this...


DEFINE CLEAR_REFRESH.
CLEAR &1.
REFRESH &1.
END-OF-DEFINITION. 

You will use it like this...


CLEAR_REFRESH MY_TABLE.

Greetings,

Blag.

Read only

Former Member
0 Likes
417

Hello,

The &1 is a placeholder for a value passed to the macro ilfc1_update_mm

when the macro is called.

Regards

Greg Kern

Read only

Former Member
0 Likes
417

Press F1 on the DEFINE statement.

Rob