Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sales order line item field in returns

mohammadaamir_khan
Participant
0 Kudos
213

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

1 REPLY 1

Jelena_Perfiljeva
Active Contributor
0 Kudos
174

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.