Receiver type error in EDI_AGREE_PARTNER_INSERT
I'm using EDI_AGREE_PARTNER_INSERT to add entries to EDPP1. The parameters I am passing are as follows:
PARNUM = 200002
PARTYP = KU
USRTYP = S
Upon execution, I'm getting an error 426 - "Please enter a valid value for the receiver type."
Through my own investigation, I've deciphered this error message to mean that the receiver type I have provided is invalid. I believe that the message is in reference to the value in the USRTYP field.
Can anyone offer any additional insight, and maybe some tips about how to fix this?
I'm relatively new at this.
The error message is raised as there is no combination of USRTYP and USRKEY.
Check the below "PERFORM FAF_USER_CHECK ... " in the FM EDI_AGREE_PARTNER_INSERT .
USRTYP and USRKEY are passed to the FM RH_CHECK_ORG_OBJECT_EXISTS to check if the object exists.
Pass USRKEY as well .