I have an requirement to create the schedule line item with delivery block and Item category based on item price and quantity availability.
I was using USEREXIT_SAVE_DOCUMENT_PREPARE.
but system is not accepting the change.
code snippet below.
in t-code VA01.
LOOP AT xvbep ASSIGNING <fs_vbep1> WHERE vbeln = xvbap-vbeln and posnr = xvbap-posnr.
<fs_vbep1>-ettyp = l_1ettyp.
<fs_vbep1>-lifsp = l_1lifsp.
<fs_vbep1>-updkz = 'I' OR 'U'.
i tried with U and I it not working please help.