‎2006 May 18 8:10 AM
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
‎2006 May 18 9:06 AM
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
‎2006 May 18 9:09 AM
‎2006 May 18 9:29 AM
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
‎2006 May 18 10:30 AM
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
‎2006 May 18 10:38 AM
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