10-07-2009 12:26 PM
Hi Experts,
I have a requirement of putting an 'AH' block at schedule line. In the User exit USEREXIT_SAVE_DOCUMENT_PREPARE i have coded it in the following manner.
loop at xvbep where posnr = xvbap-posnr.
xvbep-lifsp = 'AH'.
modify xvbep index sy-tabix.
endloop.
However it is not putting the block when the Sales order gets saved.
Please help me out.
Regards,
Anjali
Edited by: Anjali Steeve on Oct 7, 2009 1:26 PM
10-07-2009 12:30 PM
Hi,
The XVBEP structure should have a Update indicator filed...Please set the value of that field to be 'U'. and see.
Regards,
Nagaraj
10-07-2009 12:30 PM
Hi,
The XVBEP structure should have a Update indicator filed...Please set the value of that field to be 'U'. and see.
Regards,
Nagaraj
10-07-2009 12:48 PM
HI anjali,
Try doin the same in this Form Routine: FORM USEREXIT_MOVE_FIELD_TO_VBEP
Guess it should work.
Best Regards,
Navin Fernandes.