Help Smartform
Hola gente me baje el manual de smartform que hay en esta paguina y no me anda, ya lo cree desde la transaccion smartform y el estilo tal cual lo dice en el manual, luego en el reporte lo hice de la siguiente manera:
------------------------------------------------------------ REPORT yjc_smartform . TABLES mkpf. DATA int_mkpf LIKE mkpf OCCURS 0 WITH HEADER LINE. DATA fm_name TYPE rs38l_fnam. DATA: BEGIN OF aux_mkpf OCCURS 0. INCLUDE STRUCTURE mkpf. DATA: END OF aux_mkpf. CLEAR aux_mkpf. REFRESH aux_mkpf. * Cargar los 10 primeros registros para probar. SELECT * UP TO 10 ROWS FROM mkpf. MOVE-CORRESPONDING mkpf TO aux_mkpf. APPEND aux_mkpf. ENDSELECT. CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = 'YJC_SMART1' IMPORTING fm_name = fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3. * Si hubo errores, desplegar mensaje y terminar, si se continua se * produce un error de run time. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. * Enviar datos al formulario e imprimirlo. CALL FUNCTION fm_name TABLES gs_mkpf = aux_mkpf EXCEPTIONS formatting_error = 1 internal_error = 2 send_error = 3 user_canceled = 4 OTHERS = 5. * Si se produce un error, reportarlo. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ----------------------------------------------------------------- Y ME LO MUESTRA ASI : &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& &aux_gs_mkpf-mblnr& &aux_gs_mkpf-cputm& :confused: :confused: :confused: :confused: cuando entro a la funcion la tabla q le mando si tiene datos. SALUDOS Y GRACIAS!:D |
problema
El problema que cuando agregas un campo lo tenes que hacer con el signo mas asi te lo toma como variable y no como campo de texto eso lo haces dentro de la ventana de text element
|
Dentro de los elementos de textos hay un icono con un papel y un signo de suma, tienes que darle ahi y escribir la variable &var&, sino lo mostrará en pantalla como si fuera una cadena constante
|
1 Adjunto(s)
Para que lo veas donde adjunto la imagen de referencia.
|
:D :D :D :D :D :D :D :D :D :D
Bunisimoo Gracias!! :D :D :D :D :D :D :D :D :D :D |
Husos Horarios son GMT. La hora en este momento es 09:22:54. |
www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web