cancel
Showing results for 
Search instead for 
Did you mean: 

Volume of Line Item

Former Member
0 Kudos

Hi,

Currently, volume of line item in sales order VBAP-VOLUM is calculated based on order quantity.

However, I need the calculation based on confirmed quantity.

Any user exits or possible solutions. Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check below User Exit.

Include - MV45AFZB

User Exit - USEREXIT_SOURCE_DETERMINATION

Else

Include - MV45AFZZ

User Exit - USEREXIT_SAVE_DOCUMENT_PREPARE

Good Luck !

Best regards,

Anupa

ian_kehoe
Active Participant
0 Kudos

Hello Gold.member,

As far as I know there is no way to do this in the standard system so the only way would be to use a userexit. With userexit USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ you should be able to achieve this.

I hope this helps.

Best regards,

Ian Kehoe

Former Member
0 Kudos

Hi Ian Kehoe,

I tried to use the USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ to do manual calculation but it's still bring the original value.

I think the standard calculation is done only after this exit. Is there any other possible solutions. Thanks.

Former Member
0 Kudos

Try using user-exit userexit_save_document_prepare (program MV45AFZZ) instead; as it it called latter on in the process you might have more luck overwriting the volume field with your own value.

Regards,

Franck