...
BAdi /KGS1/VIEWER_WINDOW_NAME
Available from KGS Viewer Pack 2.4
...
The enhancement spot /KGS1/VIEWER_WINDOW_NAME allows to overwrite the default name for the window titel title and file download. KGS provides only a fallback implementation that uses <AR_OBJECT> (Document Type) <OBJECT_ID> (SAP ArchiveLink: Object Id) as name.The viewer itself will replace all " " (space) with "-"
The default name is (<AR_OBJECT>
specifies the document type, and <OBJECT_ID>
the object id of SAP ArchiveLink):
<AR_OBJECT> <OBJECT_ID>
The tia Viewer replaces all (space) by
-
(hyphen) from the window title and uses this as download name. All other characters are not changed. Please make sure that no characters is in the filename, that is not allowed by the filesystem:
Note |
---|
If the tia® Content Server (core) is used, the following parameter must be set in the repository.cfg so that window name is displayed correctly. <repo>.saphttp.disablecontentdisposition = true |
...
stay unchanged.
Info |
---|
All characters in file names must be allowed in the file system used. E.g. invalid characters for Windows filenames are:
|
Note |
---|
If the tia® Content Server (core) is used, the following parameter must be set in the
|
Badi implementation guide by SAP: https://help.sap.com/viewer/6f40b8f46c4b10149770d29604c9a4eb/7.01.22/en-US/44f518d884056c30e10000000a114a6b.html
...
Web service for tia
...
Viewer
For the new version of the tia H5 Viewer a webservice web service is needed. This webservice web service is included in the above mentioned transport.
To activate the webservice web service change to transaction SICF and press the “Execute” button.
...
In the next window you will find the webservice tia_viewer under the tab tia.
...
Right click on the webservice web service tia_viewer and press “Activate Service”
...
Code Block |
---|
https://<sap-system>:<port>/tia/tia_viewer |
e.g. https://e23.kgs.team:50000/tia/tia_viewer
Now the web service can be tested. Right click on the web service and choose “Test Service”
...
Code Block |
---|
https://<sap-system>:<port>/tia/tia_viewer?sap-client=<client> |
e.g. https://e23.kgs.team:50000/tia/tia_viewer?sap-client=800
Via the URL https://<sap-system>:<port>/tia/tia_viewer?sap-client=<client>and additional parameters attached in the body to the POST request
...
This URL is included into the new tia H5 Viewer to display the archived document.
...