‎2020 Apr 01 10:41 AM
hi,i am doing a project which invovles sap as backend and angular as frontend.i made a login form which needs to be authenticated in the backend sap.to do so i have to create a zlogin table which holds userid and password.in which the userid needs to be string as well as primary key.but i cant use string as a primary key.what should i do??
‎2020 Apr 01 11:23 AM
You do not need to manage user id an password service-wise, it is taken care by the SAP system.
Access restriction should be achieved via authorization check.
‎2020 Apr 01 1:28 PM
Storing the password in plain text or the password hash?
User ID has probably a limited length, you then don't need String.
‎2020 Apr 01 8:33 PM
In ABAP tables string type is CLOB.
So to store user name use CHAR with fixed max length.
P.S. is it "legal" to use single user as background user to authentificate with some Z-code ?