Skip to Content
0
Former Member
Oct 07, 2009 at 11:26 AM

To Put a Schedule line block while saving Sales Order

49 Views

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