cancel
Showing results for 
Search instead for 
Did you mean: 

Need Info on BADI/ FM/ Enhancement Spot - TECO POP up

Former Member
0 Kudos

Hi

We have a Requirement that if a control key in the order is XXX ( for e.g.) then at TECO in the pop up we should grey out the Date field and default that date value based on certain logic.

Or

Just to pass date value for TECO and disable the pop up but only when the control Key is XXX.

I am a functional person but I am searching for a BADI / Enhancement spot to do this. Can any of you experienced folks can suggest. We are in EHP 6 and in include LCOIHFG8 for the function module CO_IO_ARCH_POPUP is where pop up is Triggering, but I don't know how to pass a date here and disable a pop up based on certain condition.

Regards

Manu

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_atkin
Active Contributor
0 Kudos

Manu,

I couldn't find any suitable user-exits/BADIs/EnhObjects to "grey-out" these fields.

Another option is to catch this data at SAVE using user-exit IWO10009 (at order SAVE event) to check if the data is inconsistent. If the data has been changed, then reject save with an error message.

PeteA

Former Member
0 Kudos

Dear Pete

Many Thanks for your reply.

Alternatively can you suggest if I can disable this pop up? I tried FM CLOSe_ILOA (has disable option) and CO_IO_ARCH_POPUP(does not have disable option) but could not see how to use it in the standard Code.

Also I need to change the reference date , can you suggest any FM/ BADI for the same.

Regards

Manu

peter_atkin
Active Contributor
0 Kudos

You could get your developers to have a look at the underlying program which calls CLOSE_ILOA (LCOIHFG8).

But it may be difficult to ensure all the different TECOing scenarios are covered. And it may not be possible without modifying your system..

That's why I'd suggest to do the check at SAVE.

PeteA

Former Member
0 Kudos

Hi Pete we were able to use an enhancement spot to code this and it worked out well. Thanks for your ideas.

peter_atkin
Active Contributor
0 Kudos

Manu,

For future reference, where did you use this Enhancement Spot?

PeteA

Former Member
0 Kudos

Hi Pete

For modifying the TECO proposal date we have used include LCOIHFG5 line 57 and for disabling the change in TECO date we have used include LCOIGFG8  in the FM co_IO_arch_popup line number 298

Thanks

Manu

stephan_bantlin
Advisor
Advisor
0 Kudos

Hi

use the enhancement IWO10004 which gives you the possibility to create own checks at Technical completion

Transaction SMOD andCMOD