MUNDOSAP

Regresar   MUNDOSAP > DESARROLLO > Programación ABAP IV
Nombre de Usuario
Contraseña
Home Descargas Registrar FAQ Miembros Calendario Buscar Temas de Hoy Marcar Foros Como Leídos




 
Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Viejo 27/04/06, 11:03:20
Avatar de Vique
Vique Vique is offline
Pregúntame por las Bolas Vique
 
Fecha de Ingreso: mar 2006
Mensajes: 146
Posicionamiento en listado

Hola a todos,
tengo el siguiente problema: tengo un listado de report con varias páginas. También tiene varias opciones de modificación del listado. Cuando ejecuto alguna de éstas, el listado vuelve a la primera página.

Lo que quiero es que se mantega en la página y línea dónde he hecho las modificaciones.

Hay algún modo de controlar en qué página y línea de un listado estoy? y hay alguna forma de posicionarse sobre una página y línea determinada?

Gracias por adelantado y un saludo.
Responder Con Cita
  #2  
Viejo 28/04/06, 16:35:59
sap2006 sap2006 is offline
Senior Member
 
Fecha de Ingreso: mar 2006
Mensajes: 134
No recuerdo bien pero creo que deben haber variables de sistema que te indiquen esto sy-lsind y alguna mas.......
Responder Con Cita
  #3  
Viejo 28/04/06, 17:52:47
sap2006 sap2006 is offline
Senior Member
 
Fecha de Ingreso: mar 2006
Mensajes: 134
SY-PAGNO - Number of current page of current list;
counting begins at 1;

SY-LINNO - Number of current line on current page;
counting begins at 1;

SY-COLNO - Number of column where cursor is positioned in current list;
counting begins at 1;



SY-LINCT - Number of lines per page in current list, if specified by LINE-COUNT in the REPORT statement or by NEW-PAGE; otherwise, SY-LINCT has the value zero and the length of the page is determined by its contents alone;

SY-LINSZ - Line width of current list;
Can be manipulated by LINE-SIZE in the REPORT statement or by NEW-PAGE;
the maximum line width is 1023 characters. However, you should not set the list width wider than you need. This makes the list easier to read, easier to print, and improves system performance.



SY-TITLE - Title that appears in the title bar of the display window;
can be manipulated by maintaining the text elements of the report or by SET TITLEBAR;
maximum length: 70 characters;

SY-SROWS - Current number of lines in display window;
counting begins at 1;

SY-SCOLS - Current number of columns in display window;
counting begins at 1;

Espero que te sea de ayuda! Salu2.
Responder Con Cita
  #4  
Viejo 03/05/06, 07:05:01
Avatar de Vique
Vique Vique is offline
Pregúntame por las Bolas Vique
 
Fecha de Ingreso: mar 2006
Mensajes: 146
Muchas gracias Sap2006,
al final consegui hacerlo usando algunas de las variables que me indicas y con la función LIST_SCROLL_LINE_TOPMOST, que situa el listado en la línea que le indiques.

Un saludo.
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Reglas de Mensajes
no puedes crear nuevos temas
no puedes responder temas
no puedes adjuntar archivos
no puedes editar tus mensajes

El código vB está On
Las caritas están On
Código [IMG] está On
Código HTML está Off
Saltar a Foro


Husos Horarios son GMT. La hora en este momento es 05:46:19.


www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web