FMCA_RETURN_ADD_NOTE is a standard SAP function module that performs functionality. This is available within standard R/3 SAP systems depending on version and release level.
Below are the pattern details for this FM showing its interface including any import, export and tables parameters. There is also a list of Exceptions and for your convenience any standard documentation available. All this information and more can also be viewed if you enter the function module name FMCA_RETURN_ADD_NOTE into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'FMCA_RETURN_ADD_NOTE' "
EXPORTING
iv_return_id = " scmg_case_guid
* iv_commit = SPACE " xfeld
it_notes_simple = " tedrtext
* iv_rcode = " rcode_ps
* iv_invoice = SPACE " xfeld
* iv_obsolete = SPACE " xfeld
EXCEPTIONS
RETURN_NOT_FOUND = 1 "
NO_AUTH = 2 "
FOREIGN_LOCK = 3 "
NOTE_UPDATE_ERROR = 4 "
RETURN_UPDATE_ERROR = 5 "
. " FMCA_RETURN_ADD_NOTE