Hi,
When executing method SENDTASKDESCRIPTION to notify the completion of document its resulting with error "Document could not be sent". In the container Address strings are correctly filled to send. For few cases notifications are sent correctly. Only in some cases, its resulting with error.
When I debugged the method SENDTASKDESCRIPTION, function module SO_NEW_DOCUMENT_SEND_API1 resulting with exception " operation_no_authorization ".
I debugged further to identify the issue,
soos1_entry-recesc = 'J'
In class CL_BCS_PPF, Method - execute
PERFORM expand_bor_object IN PROGRAM saplsbcomsut
TABLES expanded_tab
USING borident
l_rcode.
if l_rcode <> 0. "note 835402 >>
* seems that all recipients have been removed due to missing auth.
Here l_rcode is 2648 which leading to authorisation error. But I am not able to find what is the authorisation missing here? Please guide me.
When I debug above perform, Its leading to
swc_call_method handle 'Expand' container.
RSSOOT04- Expand :
* Save Recipient object
SWC_CLEAR_CONTAINER LOCAL_CONTAINER.
SWC_CALL_METHOD RECIPIENT 'Save' LOCAL_CONTAINER.
IF SY-SUBRC NE 0.
exit_return '2648' space space space space.
ENDIF.
When I debug SWC_CALL_METHOD RECIPIENT 'Save' LOCAL_CONTAINER., Here the condition is failing and resulting Function module SWW_SRV_MAIL_SEND with error.
* Insert in SOMG
PERFORM SOMG_INSERT(SAPFSSO5) USING SOMG_KEY
SOMG_DATA
CHANGING RCODE.
IF RCODE NE 0.
exit_return '2013' 'SOMG_INSERT' space space space.
ENDIF.
Thanks & Regards,
Priya