‎2017 Apr 26 11:02 AM
Dear All,
I'm created a customized program by copied from MR11 transaction code. I've added the additional select option in program (eg: .SELECT-OPTIONS: s_mtart FOR mara-mtart.)However, when I clicked the button of multiple selection, the pop up window of multiple selection is not displayed. Any wrong on this?
When I tried move the code of this select option to another row of others select options, then the button is functioning. Appreciate anyone can advice me on this. Thank you.
‎2017 Apr 26 11:32 AM
Please show the code when it works
Please only show the few lines around your line of code.
‎2017 Apr 27 2:59 AM
New added Select Option - Material Type

Swap the code position between Order Type and Material Type.

sample code to declare Select-option for Material Type (R_MTART). I just exchange the code position of S_MTART with RA_BSART, material type button is working, however its become order type multiple selection button not function. What would be the reason on this?

‎2017 May 02 10:58 AM
‎2017 Apr 27 9:04 AM
Just to say that copying a transaction code is a really really bad idea. So bad, that's it's actually preferable to repair the SAP original code.
‎2017 May 02 12:49 PM
Hi!
Please see local class lo_lcl_tm_services, which is called inside of PBO logic. It seems like you didn't mention your select-option in this class. Also you can try to set MODIF ID mm like it's done in the standard logic.
Hope it's helpful
Evgeny.
‎2017 May 03 4:22 AM
‎2023 Dec 05 3:17 PM
Hello Foong,
I have found a solution to this problem. Add your select option button's sy-ucomm in this code. It works.

Happy coding!