on 11-01-2012 10:28 PM
Estimados,
En la V2007 teniamos definido en el SP Transaction validacion a nivel del usuario del systema (SYSTEM_USER), pero al parecer para la version 8.81 no valida la conexion con ese usuario al SQL. Ej del SP que utilizabamos en V2007.
if
@object_type in ('46') and @transaction_type in ('C') -----------------PAGOS EFECTUADOS
begin
if (select count(*)
FROM OVPM T0
WHERE SYSTEM_USER not in ('maolozano','dmlozano', 'nplozano', 'gngrimaldo','slsanchez', 'jramirez','jwcervantes','jdgomez', 'srojas','lreyes','rmontero','lygalindez','hgamboa','prgrimaldo','mrodriguez','gariza', 'yhlopez', 'jpina','lcaldero','ggsalazar', 'camartinez','yprojas')
AND @list_of_cols_val_tab_del = T0.DocEntry)>0
begin
set @error = 10
set @error_message = '** SP GESTION BANCOS5: LOS PAGOS EFECTUADOS SOLO PUEDEN SER CANCELADOS POR LOS DIRECTORES ADMINISTRATIVOS O ANALISTAS ADMINISITRATIVOS-'
end
end
Alguno sabe como puedo tener esta misma validacion en V. 8.81 ??
JAMS
Por lo que sé, el SYSTEM_USER devuelve el usuario de conexión de SQ, que por ejemplo sería el "sa".
Por lo tanto ese TN no serviría para ninguna versión de SAP...no entiendo como lo tenías configurado.
Saludos
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.