Application Development 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: 

Process Order (COR1,2) - Add Dialog box after 'Read Master Data' selection

Former Member
0 Kudos

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!

4 REPLIES 4

Former Member
0 Kudos

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'.

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

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.