I am trying to create a shift note using the Function Module 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:

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