2022 Nov 29 9:37 AM
HI,
I am using userexit_move_field_to_vbap of MV45AFZZ to pass some values in VBAP when creating sales order. It is working fine but when creating creating return order with reference to Invoice, after this subroutine, SAP is overwriting values in form DATEN_KOPIEREN_153 of FV45C153.
How to pass values in case of return orders ?
Thanks
Aamir
2023 Jan 06 6:45 AM
Which values specifically? Technically, this user exit is meant to fill in Z fields, not to manipulate standard ones.
In case of return with reference, some values would be filled from the referenced document, as you've observed. And maybe overwriting them could cause incorrect behavior. There is a reason it behaves like that, so there may need to be a different solution altogether.