10-16-2007 4:34 AM
Hi All,
I am doing my coding in user exit MV50AFZ1 for checking transportation data for the line items in STO. If it is not maintained then we should block that delivery. For that we are changing likp-lifsk and xlikp-lifsk value to 01(Block). Now client has added some new functionality to this. Now he is able to issue the delivery output with output types. We should be able BLOCK this also. Any pointers to do this will be of great help. We tried changing value lips-kvgr1 and xlips-kvgr1 to NDO, But it is not working.
Regards,
Vinod.
10-16-2007 4:40 AM
Hi,
Create a VOFM requirements routine for the output..And then assign that VOFm routine to the output type in the output determination procedure..
In that VOFM routine have the following code..
SY-SUBRC = 0. " Propose the output type.
IF XLIKP-LIFSK = '01'. " Don't propose the output type if the delivery block is set.
SY-SUBRC = 4.
ENDIF.
***If XLIKP-LIFSK is not available then try using
KOMKBV2-LIFSK.
Thanks
Naren
01-08-2008 1:42 PM