Hi Guys,
I've looked through the forum and I couldn't find my issue.
The function model is called once for every batch that arrives for PGR, no issue with that as well it is working perfectly.
I've successfully posted goods receipt with batch split.
But when I try to add a new batch with quantities on some specific materials it's throwing back the message VL 451 : The minimum remaining shelf life was fallen short of by XX days.
I do understand the message but this is a warning message and it throws the message and stops the function model .. By standard this is only a warning but I can't process the FM.
I have changed the date but now another message comes back .. ME795 - Acknowledgment for PO item 224485 00010 contains date variance.
I've also tried to send a the 'X' value in SPE_MES_NO_SEND_NODIAL parameter but it stills send the message back ..
I can do it manually by the VL32N transaction and I got the same messages but just as a warning and it lets me save my changes, no problem.
Here goes an example of my call.
VBPOK table:
1 line:
VBELN_VL =0180202868 POSNR_VL = 000010
VBELN = 0180202868
2 line:
VBELN_VL = 0180202868
POSNR_VL = 000010
VBELN = 0180202868
POSNN = 900001
MATNR = 000000000000356268
CHARG = 7777
WERKS = WRK
LIANP = X
ORPOS = 000010
LFIMG = 50
VFDAT = 2019-10-30
KZVFDAT = X
EBUMG_BME = 50
on the VBKOK_WA structure i do also send the WABUC, KZEBU and SPE_AUTO_GR.
I do send as well:
COMMIT = X
SYNCHRON = X
Add comment