2007 Apr 23 3:22 PM
Hi all...
I need a user exit which will default the values of Max no of deliveries( VBAP-KZTLF) and partial deliveries(VBAP-ANTLF) for all schedule line items after SAVE has been used. I tried USEREXIT_SAVE_DOCUMENT_PREPARE but it does not seem to be working.. Pl advice...
Rishi
Hi all...
I need a user exit which will default the values of Max no of deliveries( VBAP-KZTLF) and partial deliveries(VBAP-ANTLF) for all schedule line items after SAVE has been used. I tried USEREXIT_SAVE_DOCUMENT_PREPARE but it does not seem to be working.. Pl advice...
Rishi
2007 Apr 23 3:24 PM
2007 Apr 23 3:28 PM
Or use USEREXIT_SAVE_DOCUMENT
You can use structure VBAP and internal table XVBAP to set the appropriate fields.
2007 Apr 25 3:28 PM
Hi Utsah,
Tried using XVBAP to modify the values of partial deliveries and maximum no of entries in the USEREXIT_SAVE_DOCUMENT.
However the changes are not being be reflected in the values...
My code looks like this...
clear vbap.
loop at xvbap into vbap.
vbap-antlf = '4'.
vbap-kztlf = 'D'.
modify xvbap from vbap.
clear vbap.
endloop.
2007 Apr 23 3:25 PM
did u check the exit
USEREXIT_MOVE_FIELD_TO_VBAP in the include program MV45AFZZ
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |