06-23-2010 11:44 AM
Hi All,
My requirement is to populate Partial delivery (KZTLF) field with 'A' in sales document .
Condition is :
IF xvbap-matnr CS '_ET' and xvbap-spart = 'P1'
xvbap-kztlf = 'A'
for that i have used, exit, userexit_save_document_prepare.
The data is properly populated in this exit.
Problem is getting refreshed before the document is saved.
vbap-kztlf showing null.
Request you experts, pls let me know if there any user exit available to achieve the above requirement.
regards,
Priya
Moderator message: please use more descriptive subject lines from now on.
Moderator message: thread moved, please post in the correct forum from now on.
Edited by: Thomas Zloch on Jun 23, 2010 12:46 PM
06-23-2010 12:22 PM
Hi,
Try using the following in MV45AFZZ to populate the field.
(a) USEREXIT_MOVE_FIELD_TO_VBAP (most probable solution)
(b) USEREXIT_SAVE_DOCUMENT
Hope it helps!
Regards
Byju