cancel
Showing results for 
Search instead for 
Did you mean: 

Substitute Model/Reference Order

Former Member
0 Kudos

Hello,

We need to substitute the Model Order according to a Controlling Area and Internal Order Type from Z-table while creating new Internal Order using KO01 transaction. The user just specifies the CO Area and Internal Order Type.

We have the Z-table to find the right model order, but we need to substitute this information automatically when the user is creating new Internal Order - in particular CO Area and using particular Internal Order Type.

Does anybody of you know which User-Exit, BAPI...etc. to use for that.

Please can anybody help.

Thanks a lot.

Petr

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think if u assign the respective model order in the order type configuration, it will come at the time of order cretaion... check KOT2_OPA...

If u still want to go for a development use CMOD and create a project for u r development/enahancement...

Regards

Sudhakar Reddy

Former Member
0 Kudos

Thanks for quick answers but:

OKC9 - the Callup Point 10 works only for Mass maintenance of Intrernal Orders.

SMOD enhancments were examined and I first thought that we could use "COOPA_01" enhancments - FM "EXIT_SAPLRKIO_001", but it's not possible because it doesn't work while creating IO and BAPI "BAPI_INTERNALORDER_CREATE" can not be used, because it calls up the FM "Create_Order" which is used system-wide;(

Any other suggestions???

Former Member
0 Kudos

Hi,

Have u checked check KOT2_OPA... here u assign the model order for the order type... if it works for u development may be avoided... check this with u r requirement...

Regards

Sudhakar Reddy

Former Member
0 Kudos

Hi,

I know that - this is a standard customizing setting.

The problem is, that this is not Controlling Area dependent - we need to find different Model Orders for one Internal Order Type according to a Controlling Area.

For this the Z-table has been created. But now, we need the way how to substitute i

iklovski
Active Contributor
0 Kudos

Hi,

What about EXIT_SAPLKAUF_001 user-exit (COOPA002 enhancement)?

Regards,

Eli

Former Member
0 Kudos

Hi,

Yes I did checked that - but all of the solutions looks they don't work automatically when I specify Controlling Area and IO Type - after this specification I need the system to substitute the Model Order - resp. data from it...

Petr

Former Member
0 Kudos

Hi,

Please use OKC9 and create a substitue for event 10. There you can write any logic you want to add.

This may Help

Regards

Shantanu