on 11-28-2023 4:39 PM
Hello Community,
I am currently developing an application on SAP Business Technology Platform (BTP) using Cloud Application Programming Model (CAPM) with Fiori UI. The application has a unique requirement where it needs to read the user’s computer name.
The reason for this requirement is that we have a table in HANA Cloud which maps user systems to cloud printers. When a user wants to print, the application needs to select the printer corresponding to the user’s computer name from this table and send the print job to this cloud print solution (Bartender).
I understand that due to security reasons, JavaScript running in a browser does not have access to the client’s system information, including the computer name. I have also researched and found that using JavaScript to get the user’s computer name may not be possible in modern browsers.
Given these constraints, I am looking for alternative approaches to retrieve the user’s computer name. Here are my specific questions:
Any guidance or suggestions would be greatly appreciated.
Thank you in advance for your help!
Best Regards, Sri
sri.jayant
Just a thought, bring a SAP Build apps as frontend web application or Mobile app, which can capture the hostname of the request coming which you be matched to your hana table entry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could ask the user after the login to confirm the printer or choose another one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was also thinking on the same lines, to ask the user and store as a Cookie, and dont ask untill the cookie is cleared.
But, this is a migeration project from ECC -> (S4/BTP) and today in ecc we could read system name from GUI based transaction.
So, to change something that did not need user input other way around, and increase a step, might not be acceptable.
what to do ?
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.