‎2010 Dec 23 7:07 AM
Hi,
When i'm executing FM : SO_NEW_DOCUMENT_SEND_API1, i'm getting sy-subrc = 2. The error i get is
'Message Type " " is unknown'.
i'm passing the mail header and mail content through internal table by concatenating into a string type which is a part of the internal table i'm passing to the FM.
Kindly suggest what could be the problem here.
Thanks in advance.
Regds,
David
‎2010 Dec 23 7:30 AM
Hi,
Are you getting a run time erorr ?
I think after the call function the SY-MSGTY is blank so pass E to that
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
or you manualy show message.
Regards,
Madhukar Shetty
‎2010 Dec 23 7:32 AM
Hi David
Use the parameter SOMLRECI1-REC_TYPE = 'U' for external mail id. Are you passing this?. I could think Message Type only this. Check this.
Regards
Vijay