Skip to Content
0
Nov 02, 2017 at 01:10 PM

VA01 change schedule line delivery block

514 Views

Hi Guys,

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'.

ENDLOOP.

i tried with U and I it not working please help.