cancel
Showing results for 
Search instead for 
Did you mean: 

Storage location control - not working properly at TO confirmation

marko_kunsic
Explorer
0 Kudos

Hi everybody,

we use storage location control to change storage location in production supply.

We use two step confirmation and if transfer order (with reference to transfer requirement) for production supply in confirmed separately (first confirmation - picking, second confirmation - transfer) also posting changes from warehouse storage location to production storage location is properly executed.

But if transfer order is confirmed with FM L_TO_CONFIRM_SU in one step (pick, transfer together), transfer posting is not executed completely.

But there is a record in LQ01 (List of Quants for Transfer Posting in IM) and we have to manually select quants and click 'Post Change' button.  

Anybody knows what is the reason for such a behaviour? Any solution that posting changes would occured automatically also when we confirm TO in one step?

Thank you very much,

Marko

Accepted Solutions (0)

Answers (1)

Answers (1)

mihailo_sundic
Active Contributor
0 Kudos

Hello Marko,

I will take a look at the function module L_TO_CONFIRM and get back to you if I find an obvious reason for it to behave like that.

Regards.

mihailo_sundic
Active Contributor
0 Kudos

In the meantime you should try with this indicator, change its value to try to match your requirement. Uncheck/Check it to get the desired result. It's located in the WM customizing for storage location control, in the path: OLML => Interfaces => Inventory Management => Define SLoc Control - choose the second option.

Regards,
Mihailo

marko_kunsic
Explorer
0 Kudos

Hello Mihailo,

thank you for your effort.

I think setting at customizing 'Define SLoc Control' is correct without checked indicator:

If this indicator is not set, immediately after a transfer order (TO) is confirmed, the posting of posting changes in IM takes place separately for each TO item. This means that the system creates a material document item for each TO item. For TOs with immediate confirmation, the system executes the posting change as soon as the TO is created.

Actually everything works fine if we separately confirm pick and transfer.

But if we want to confirm in one step (through FM L_TO_CONFIRM_SU) posting change is not executed completely (but there is a record in LQ01).

Regards,

Marko

mihailo_sundic
Active Contributor
0 Kudos

Maybe the simplest thing to do would be to create a custom FM,
just copy the one you're using to new one e.g. ZL_TO_CONFIRM_SU
and add the
code to check if there are records in LQ01 and if so, you
can then execute its confirmation.

Might be the quickest solution as you might end up losing more time
on research than you need to actually modify the custom FM to match
your requirements.