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

Copy a function group M61N

Former Member
0 Likes
760

Dear All,

I want to copy the standard fuction module MD_SALES_ORDER_STATUS_REPORT. I use the TX SE80 and copy the whole function group M61N, but fail. The system show a message on the status bar "LM61NTOP is inactive". Be broe I try to copy the function group M61B, it is OK. I also try to copy the function group using the function module RS_FUNCTION_POOL_COPY, still does not work. I check the source code of the function group M61N(SAPLM61N) and M61B(SPLM61B), their program structure are a little bit different, but I still can not figure out the problem. Does anyone have any idea or advice for this case?

Many thanks and best regards

David Yeung

5 REPLIES 5
Read only

nishanthbhandar
Contributor
0 Likes
654

David,

If you are getting message that LM61NTOP is inactive it means that the Function Group needs to be activated.Please activate the function group M61N and then try and copy again.

Please reward helpful answers.

Cheers

Nishanth

Read only

Former Member
0 Likes
654

Do try to activate the main program of Function group M61N

Read only

Former Member
0 Likes
654

Dear Nishanth and Pei Wan Tong

Thanks for your message.

I do try to activate the function group and the main program but the system still show the same message. I try to use the function module RS_FUNCTION_POOL_COPY to copy the function group M61N, the system show the same messge. I investigate the function module RS_FUNCTION_POOL_COPY in the debug mode. It seems that the include program LM61NTOP should include the a statement "FUNCTION-POOL M61N" at the begining of the program, like the case of LM61BTOP. You can set the break point in line 141 of the function module RS_FUNCTION_POOL_COPY to see the porgram behaviou. I think the system message "LM61NTOP is inactive" is a little bit misleading. But I don't know how to get around it. Many thanks and best regards.

David

Read only

0 Likes
654

David,

Do a syntactic check on the main progam and see if there is any error.If you have analysed the cause of error then someone must have changed something in the fucntion group M61N.The FUNCTION-POOL M61N statement should be there at the beginning of the main program.

Do check with the version management whether the program has been modified recently.

Reward helpful answers

Cheers

Nishanth

Read only

Former Member
0 Likes
654

Dear Nishanth

I check the main program and the program LM61NTOP, the last change is on 03.03.2005 by SAP. Thank you very much.

Best regards

David