11-29-2011 3:21 PM
Hi,
I need to find out how to add a dialog box, after a specific function in tcode COR1 or COR2 for process orders.
The function is 'Read Master Data', which can be found from the top menu, Process Order > functions > Read Master Data.
If you currently select 'Read Master Data', you get a dialog box with parameters to the read the master data.
I need to add a dialog box prior to this standard dialog box. This custom dialog box would be posed if a certain standard text exists on one or more of the operations in the order. The custom dialog box would ask the user to confirm something, before sending them to the standard box or not, based on their input.
I am pretty sure that this would be considered a screen exit, though I'm not sure. Can this be done with a badi?
Please suggest on how to accomplish this.
Thanks!
11-29-2011 8:58 PM
Anyone?
I basically need to have a custom pop-up show up before a standard pop-up, which is triggered on selecting 'Read Master Data'.
11-29-2011 10:14 PM
Looks like you'll have to dig into the logic of function module 'SCREEN_SEQUENCE_CONTROL' for this.
The FM logic is table driven (T185* tables), but changing those entries for standard transactions is considered a modification and will result in a repair. If that doesn't bother you, then I suppose it'd be possible what you want.
11-30-2011 7:07 PM
Thanks.
So there is no way to enhance this then (maybe enhancement points in the code)?
I've looked for user-exits and BADI's (debugging with class cl_exithandler & my tcode), but none exist for this selection in the transaction.
12-01-2011 4:43 PM
Solved myself.
Found an enhancement-spot in program COFORM13 (called from screen 5115 of SAPLCOKO), where I can add a pop-up and additional processing.