2018 Jan 21 8:58 PM
Hi, Folks
I get the error ' selling period must be within usability period ' while updating an article using the standard BAPI.
The validity dates look okay in tables MAW1 & MVKE.
What can be the resolution to this? Thanks.
2018 Jan 23 3:03 PM
Go to MM42, under listing tab change the dates to the current system dates for both store and DC.
Save your changes.
After that try to change the UPC using BAPI, it shouldn't throw any errors.
2018 Jan 21 9:07 PM
did you already try if you get the same message when maintaining the material manually?
If you dont get the message in the online transaction then you can be certain that you moved the wrong date in the BAPI, if you get the error message too then it is not BAPI and ABAP related. But as an ABAPer you should be able to easily get to the code which triggers the MH032 message to see which fields SAP compares.
2018 Sep 05 5:20 PM
2018 Jan 22 9:21 PM
Thanks for the response, I understand it but all I'm doing is to update EAN/UPC using the standard BAPI. This is for an existing style and it's variants, not populating any dates while calling the BAPI
I've been debugging this for more than 2 days and this error message is being populated dynamically inside the nested loops, not a straight forward error message. There is some connection between the articles and this selling period must be within the usability period that is not clear as this is not happening for every generic article/style.
2018 Jan 23 3:03 PM
Go to MM42, under listing tab change the dates to the current system dates for both store and DC.
Save your changes.
After that try to change the UPC using BAPI, it shouldn't throw any errors.
2018 Jan 24 4:31 PM
Mayank
Great, thanks for the response/suggestion. Yea, those dates have to be updated, the standard code is comparing MARA-DATAB with MVKE-VDVFL / MVKE-VDVZL / MAW1-VDVFL / MAW1-VDVZL inside the FM: MVKE_SPECIAL_CHECK_GEN_RETAIL