Hi experts,
I want to integrate a custom report in a case record and be able to catch the context (Case GUID or CASE_ID...) for executing properly my custom report.
For integrating a report in a record using service provider for report (type RM_PS_SPS_REPORT), I assign to the node of the model the value of the attribute i would need for executing properly my custom report, to the context parameter VSELNAME. For example: REC=SRM_DOC_ID.
Moreover, in the property of my element type 'ZRM_PS_SPS_REPORT', i also set the value 'SRM_RFC_SUBMIT_REPORT' to the parameter ID 'FUNCTIONMODULE_EXECUTE'.
When executing the report node, I will get the value of SRM_DOC_ID in my SRM_RFC_SUBMIT_REPORT (in the structure table rspar) and then I can launch with the context my custom report.
This is not working with case record (structure tabe rspar is empty: an exeception occurs in the CL_SRM_SP_PROP_REPOSITORY) .
How could I achieve this requirement in a case record?
Thanks in advance,
Regards,
Frédéric