Restrincion en la visualizacion ayuda de busqueda

Saludos expertos de la comunidad,
Realizando algunas configuraciones con los grupos y objetos de authorizacion,
me surge la siguiente pregunta.
Es posible restringir los datos mostrados en la ayuda de busqueda de un campo?

El ejemplo que pongo ahora, es en base a las cuentas de mayor, en los roles de authorisacion le he restringido al usuario para que no entre en las cuentas de la sociedad 2000, pero aun puede ver las cuentas de la sociedad 2000.
No las puede ejecutar, pero si las puede ver en la ayuda de busqueda.
Hay alguna manera de liminar la busqueda o restringir la busqueda a solo las cuentas de la sociedad 1000?

Que tal @smota porque no creas una variante fijando el campo con el filtro y lo estableces como predeterminada.

Espero te sirva, investigare si puedes crear la variante y por autorización, bloquear la selección de la variante, que podría ser otra solución, pero no estoy seguro si se puede lograr.

lo checo.

Claro una variante de seleccion podria funcionar para agrupar la data, tambien seria bueno limitar la busqueda, asi evitamos que los usuarios se pongan a leer las cuentas que estan creadas en el sistema, y solo puedan ver las acuentas a las cuales se le de acceso.

No entiendo, quieres restringirlo a nivel transacción?
¿Por qué no restringes a nivel de usuario, la sociedad, con el objeto de autorización? y por más que el usuario busque otra sociedad, o ponga ahí en el campo (escribiendo a mano) la sociedad “x”, si no tiene autorización de nada servirá.

Sería objeto F_BKPF_BUK

yo hice eso, le puse el limete de uso a un usuario a la sociedad 1000, no puede ejecutar ninguna transaccion usando la sociedad 2000, por ejemplo.
Entonces en la ayuda de busqueda, salen los valores de la sociedad 2000, cuando deberian de salir solo valores de la sociedad 1000.

Error.
Que limites la seguridad, no limita lo que muestra el match-code.

Ahora entiendo lo que quieres hacer.
Ya vi este tema, dejame recordar dónde :stuck_out_tongue:

PD: @smota en SCN de SAP indican que las autorizaciones no limitan el matchcode, y mencionan notas, si podes leerlas: 431663 y 639188

1 me gusta
Nota 431663

If you create vendors or customers who are employees of your company,
then you find that it is not possible to prevent unauthorized persons
from displaying the addresses of the vendors (customers). For example,
if you use the matchcode search to search for vendors (customers), then
the system displays the entire search result even if you are not
authorized to access the data in detail. If it is possible to limit the
search to address attributes for the corresponding search help, then the
system displays these address attributes in the search result. When you
call the search help, the system does not carry out any authorization
check. The system only checks authorization if you choose a particular
vendor or customer.

Nota 639188

The following example demonstrates how to adjust the DEBI F4 input
help so that the list of the found customers is protected regarding
authorization object F_KNA1_BED in connection with field ‘Authorization
Group’ (KNA1-BEGRU). (For more detailed information on the adjustment
refer to the documentation of function module F4IF_SHLP_EXIT_EXAMPLE.)

  1. Call Transaction SE37 and copy function module F4IF_SHLP_EXIT_EXAMPLE into the new function module Z_F4_EXIT_DEBI_BEGRU. 2. Insert the following lines into the global data of the function group:
  • Categories and tables for search help exit
    type-pools: shlp,
    f4typ. " Connection to old F4 modules 3.
    Replace the source code of the copied function module
    Z_F4_EXIT_DEBI_BEGRU with the source code from the correction
    instructions by first deleting its source code and then implementing the
    correction instructions. Save and activate the function module. 4. Call Transaction SE11 and adjust search help DEBI as follows: a) Select search help DEBI and choose ‘Change’. b) Choose tab page ‘Included search helps’ (or choose ‘Search helps’ in Release 4.5B). c) Choose an included search help which results list you want to protect (for example DEBIA) by double-click. d) Choose selection method M_DEBIA by double-click and enter field BEGRU from table KNA1 at the end of the view. Save and activate the view. e)
    Go back to the included search help DEBIA and enter the new function
    module Z_F4_EXIT_DEBI_BEGRU into field ‘Search help exit’. Save and activate the included search help DEBIA. f) Save and activate search help DEBI.

La nota 639188 ofrece una jugosa solucion, pero para la visualizacion de acreedores y deudores, talvez se pueda hacer lo mismo pero para las cuentas.

1 me gusta

Estimados @SidV y @smota gracias por el aporte, por lo que leo de la nota y su aplicación me atrevería a decir que es posible replicarlo para las cuentas de mayor.

Saludos,
Frank

1 me gusta