Skip to Content
0
Former Member
Jun 04, 2009 at 08:21 AM

Macro defination

72 Views

Hi Guys,

Can you please expalin me how this MACRO works.what is " check not &2 is initial" in the macro below?

DEFINE mac_error_data.

check not &2 is initial.

g_msgseq = g_msgseq + 1.

move: iest0-company to itab_error-company,

iest0-customer to itab_error-customer,

iest0-bill_no to itab_error-bill_no,

g_msgseq to itab_error-msgseq.

concatenate &1 &2 into itab_error-error_code.

append itab_error. clear itab_error.

clear: error_text.

END-OF-DEFINITION.