05-31-2020 9:33 AM
Dear All,
I am trying to create a shift note using the FM COCF_SN_CREATE_PP but when I entered the category value I get error
' invalid catalog entry ' how can I fix that error to create the note .
the image from the SE37 for testing the FM
05-31-2020 9:35 PM
Hi mahmoud_farag,
I have never used Shift Notes but answering your question in the simplest possible way I would say that most probably value LOSS does not exist in table QPCD (QPCD-CODE).
You can debug method CHECK_INPUT_PARAMETER of class CL_COCF_SN_API to check what values are used in the WHERE clause.
Regards,
Bartosz
05-31-2020 10:20 PM
First , thanks for your answer
but I create the shift note with the same values in SHN1 ,and it created normal if i entered a wrong value in category in FM i get error ' not exit value ' i want to create a shift note using FM ( COCF_SN_CREATE_PP ). but i got an error with the category .
can you try to create one in SE37 with COCF_SN_CREATE_PP(just needed the work center , date and category ) maybe that error in my system only .
thanks again .
06-12-2020 5:58 PM
hi all ,
I solved this problem finally , it was in the in the IMG activity .
You have checked the following settings in Customizing for the Shift Note in the IMG activity Catalogs and Catalog Profiles for Notification Type
:
notification type, choose a
catalog profile,
such as
000000001
general catalog profile.
Codingfield, choose a
catalog type, such as
9 defect types.