cancel
Showing results for 
Search instead for 
Did you mean: 

User exit EXIT_SAPLV02V_002 in FM- WS_DELIVERY_UPDATE.

Former Member
0 Kudos

Hi All,

For Auto PGI we are using function module WS_DELIVERY_UPDATE.

Requirement: Wanted to use user exit EXIT_SAPLV02V_002 for storage location determination during goods issue but the problem is how to call this exit in standard function module. I have tried and tested, not working. Am I using user exit in correct way.

Appreciate any help on this on any other work around.

Thanks.

PK

Accepted Solutions (1)

Accepted Solutions (1)

Shiva_Ram
Active Contributor
0 Kudos

Normally storage location is determined during delivery creation (VL01N) or during transfer order creation (in VL02N). I think you can't determine storage location during goods issue. Logically thinking, goods issue is the final step after picking of goods from the plant/warehouse. The picking itself needs storage location to perform the operation. So why you want to determine storage location during goods issue?

Regards,

Former Member
0 Kudos

Requirement is to keep a different storage location than material master in delivery document all the time from creation till PGI due to business reasons.

For example:

Delivery created in Sloc 1001 by ship point/ plant/sc determination rule. Issue Sloc in material master is 1000. So when production order confirmed got stock in sloc 1000. TO created and confirmed in sloc 1000( we ahve written some ABAP program to do this). Now we want Goods Issue from sloc 1000 while delivery document must keep sloc 100.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Storage location is required to perform Goods Issue. One workaround you could do is, you could bring the storage location determination in your Sales Order by defining it in the Material Master,

In the Material Master, go to "MRP2" view and enter the storage location in the field "Prod.stor.location". In that case, you do not need to determine it during Delivery creation, and the copy control will transfer the data to the Delivery during reference.

However, if you need a different rules, you can consider USEREXIT_SOURCE_DETERMINATION in program MV45AFZB to achieve this. Speak to your ABAP consultant to maintain a rule for achieving the determination rule of SLoc in Sales Orders.

Thereafter, with the Storage Location already determined and passed on to the Delivery document, you could create a background job to perform VL10G transaction to automatically perform Goods Issue. This will eliminate the need for developments or enhancements.

Hope the above helps.

Thanks.