The extraction of reports requires the installation of a custom function module in your SAP system.
If you cannot install the function module, turn to your SAP Basis team for help.
Note: As of version 1.2 of the custom function module
Z_XTRACT_IS_REMOTE_REPORT access to reports must be explicitly granted, see Authority Objects for Z_XTRACT_IS_REMOTE_REPORT.
Installation of Z_XTRACT_IS_REMOTE_REPORT #
Install the function module using the transport request Z_XTRACT_IS_REMOTE_REPORT-transport.zip.
The transport request is located in the following installation directory:
Authority Objects for Z_XTRACT_IS_REMOTE_REPORT #
As of Z_XTRACT_IS_REMOTE_REPORT version 1.2 access to reports must be explicitly granted.
There are 2 ways to verify that the SAP user is allowed to extract a report:
- Use authentication groups, see Authorizing Access to Reports via Authorization Groups.
- Use the custom authorization object Z_TS_PROG.
SAP Standard Data Type TAB512 #
Instead of using the SAP standard data type TAB512 for the LIST_OUTPUT table parameter, you can create your own Z data type.
This is necessary if the output length of a report line is longer than 512 characters. The maximum possible length is 1023 characters.
Note: The exception
LIST_FROM_MEMORY_NOT_FOUND is thrown if the report does not return a result.