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

Problem with Standard Program macro

Former Member
0 Likes
597

Hi,

I have copied a Standard program 'RM07MLBS'( ECC 6.0) and i have copied the enhancement code manually into the Z program.

When i am doing the syntax checking program gives the Macro error.

'Statement <Macro Namr> is not defined, check your spelling'.

Please help me in this regard.

Thanks,

AK

3 REPLIES 3
Read only

Former Member
0 Likes
523

Hi,

Do you use the NAMR statement in your enhancement ?

Did you implement a NAMR Macro ?

If not then the macro NAMR is used in the standard program, but declared in an included you deleted.

Perform a search on "DEFINE Namr" in the original code.

Hope that helps.

Laurent

Read only

Former Member
0 Likes
523

can you please post the line where you are getting this error?

Read only

Former Member
0 Likes
523

Hi

Check the MACRO is defined in the program you have copied,and also where exactly are u getting this error? In the standard code or enhancement code??

Check for the LDB attached to the standard program in the Attributes Tab of the Program from ABAP Editor.

Vishwa.