DYN Campo de texto multilinea
Holas gente!
Mirar, que estoy aqui intentando hacer un campo de texto en una dynpro donde deve poderse escribir una cantidad considerable de texto i claro, no me parece correcto hacerlo con un campo de texto normal ya que solo tiene una sola linea Que solucion puede haver? |
La solución la tienes con los TEXT EDIT.
data: otxtarea_aceptante TYPE REF TO CL_GUI_TEXTEDIT. data: custom_area_Aceptante TYPE REF TO cl_gui_custom_container. *NOTA: TXTAREA_ACEPTANTE es un custom control, en la dynpro. * CON ESTO LO CREAS CREATE OBJECT custom_area_Aceptante EXPORTING container_name = 'TXTAREA_ACEPTANTE' EXCEPTIONS cntl_error = 1 cntl_system_error = 2 create_error = 3 lifetime_error = 4 lifetime_dynpro_dynpro_link = 5. CREATE OBJECT otxtArea_Aceptante EXPORTING parent = custom_area_Aceptante. *CON ESTO LEES LO QUE TE HAYAN ESCRITO EN EL call method otxtArea_aceptante->GET_TEXT_AS_R3TABLE importing table = i_texttable exceptions ERROR_DP = 1 ERROR_CNTL_CALL_METHOD = 2 POTENTIAL_DATA_LOSS = 3. YO CREO QUE CON ESO PUEDES INVESTIGAR EN LA MISMA CLASE QUE MAS TE OFRECE. |
Puedes usar esta funcion que te regresauna tabla interna.
L_LL_POPUP_PROCESS_NOTES espero te sirva, existe otra pero no la encuentro deja que la encuentre y te la paso. Saludos!!! |
tengo un problema mouricio, no se como esta definida la tabla i_texttable, intente hacer algo pero me sale siempre inconpatible
Haver si me lo puedes resolver GRACIAS POR TODO! |
creo que es asi :
types: begin of ty_texto, line(72) type c, end of ty_texto. data : i_texttable TYPE STANDARD TABLE OF ty_texto. Saludos; |
Husos Horarios son GMT. La hora en este momento es 01:53:36. |
www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web