on 2025 Sep 10 3:08 PM
When creating order in VA01, we are entering payment terms in the input and when the enhancement MV45AFZZ is analyzed in the debugger, the value of the payment terms from the user input for the field vbkd-zterm is not getting retained. instead the sap master data value is getting populated in vbkd-zterm and processed. How do I get the user entered zterm value in my enhancement scope?
Thanks in advance!!
Request clarification before answering.
Right now your problem isn’t really “how to skip the overwrite” — it’s “how to even see what the user typed before the overwrite happens.” In VA01/VA02, the payment terms field (VBKD-ZTERM) is filled from partner master data during partner determination and header/item data population. That logic runs before most of the MV45AFZZ user exits, so by the time you hit your enhancement, the manual value is gone.
In order to capture the manual value, in USEREXIT_MOVE_FIELD_TO_VBKD (MV45AFZZ), you have both:
If you place your logic before you call any master‑data overwrite, you can compare the code. The trick is to run this in a point where XVBKD still has the screen value.
I can recommend the below debugging tips to pinpoint the overwrite
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.