04-26-2017 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.
04-26-2017 11:32 AM
Please show the code when it works
Please only show the few lines around your line of code.
04-27-2017 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?
05-02-2017 10:58 AM
04-27-2017 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.
05-02-2017 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.
05-03-2017 4:22 AM
12-05-2023 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!