Al abrir el XL Reporter se bloquea
Al abrir el XL Reporter desde el menu de herramientas de SAP comienza a abrilro pero despues de un momento se queda pensando y ya no lo abre, esto afecta solo a esta ventana porque no me bloquea el SAP ni la computadora.
Estoy usando la version de SAP 88 PL18.
Podría tratarse de un virus, intenta coger un antivirus y analizar el euipo para que lo elimine.
Si no, intenta utilizr revo uninstaller pro y utiliza la herramineta de limpiador de exploradores.
O intenta eliminar archivos basura (hay tutoriales por internet).
Si no, intenta buscar en el ordenador archivos que posiblemente no hayas descargado o que no estuvieran preinstalados con el ordenador.
Por último puedes obtener ayuda de un amigo o especialista.
Similar Messages
-
SP2-0027: Input is too long -error on pl/sql procedure
Hi,
We are on Oracle 11.2.0.2 on Solaris 10. I have a procedure call that errors out with this error:
SP2-0027: Input is too long (> 2499 characters) - line ignored
It is one single procedure but it takes too many long inputs in it. This giant procedure call -with some names changed - is as below - is there a way I can avoid this errro? I will be thankful for inputs on it.
SQL> exec func_j23k_TYPE_ADD( 'coR-EXECUTION-SUCCEEDED-XLS-PDF-HTM-TXT-CSV-XML-FLF','co Reporting','NOT',func_j23k_TYPE_ACTION_ARRAY(func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Find in Report List'),LANG_TEXT_TYPE('en_CA', 'Find in Report List'),LANG_TEXT_TYPE('fr_CA', 'Chercher dans la liste des rapports'),LANG_TEXT_TYPE('es_US', 'Buscar en lista de informes')),'/Reporting/el/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open using Excel'),LANG_TEXT_TYPE('en_CA', 'Open using Excel'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format Excel'),LANG_TEXT_TYPE('es_US', 'Abrir usando Excel')),'/Reporting/el/xls/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in PDF'),LANG_TEXT_TYPE('en_CA', 'Open in PDF'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format PDF'),LANG_TEXT_TYPE('es_US', 'Abrir en PDF')),'/Reporting/el/pdf/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in HTML'),LANG_TEXT_TYPE('en_CA', 'Open in HTML'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format HTML'),LANG_TEXT_TYPE('es_US', 'Abrir en HTML')),'/Reporting/el/html/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in TXT'),LANG_TEXT_TYPE('en_CA', 'Open in TXT'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format TXT'),LANG_TEXT_TYPE('es_US', 'Abrir en TXT')),'/Reporting/el/txt/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in CSV'),LANG_TEXT_TYPE('en_CA', 'Open in CSV'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format CSV'),LANG_TEXT_TYPE('es_US', 'Abrir en CSV')),'/Reporting/el/csv/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in XML'),LANG_TEXT_TYPE('en_CA', 'Open in XML'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format XML'),LANG_TEXT_TYPE('es_US', 'Abrir en XML')),'/Reporting/el/xml/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Download Data Extract File'),LANG_TEXT_TYPE('en_CA', 'Download Data Extract File'),LANG_TEXT_TYPE('fr_CA', 'Télécharger le fichier d''extraction de données'),LANG_TEXT_TYPE('es_US', 'Descargar archivo de extracción de datos')),'/Reporting/el/flf/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL)), 'MC');
SP2-0027: Input is too long (> 2499 characters) - line ignoredThanks,
OrauserNIt is an sqlplus error..
Did you try this?
begin
func_j23k_TYPE_ADD( 'coR-EXECUTION-SUCCEEDED-XLS-PDF-HTM-TXT-CSV-XML-FLF',
'co Reporting',
'NOT',
end;http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4789399600346029472 -
Parametrizaciones de seguridad en Excel
Hola a todos
Tengo un porblema al tratar de ejecutar reportes de XL Reporter, el mensaje que aparece es :
"Parametrizaciones de seguridad en Excel prohiben ejecutar XL Reporter"
Esto sucedio cuando se actualizo la version de Office a 2007, ya he revisado las notas 853821 y la 924561, y me sigue dando el mismo mensaje de error
La pra la seguridad de las macros ya no es igual que en excel 2003, ahora lo hago en Incio, Opciones de Excel->cENTROS DE CONIANZA->CONFIGURACION DE MACROS
Alguno de ustedes puede decirme cual es la configuracion correcta de la seguridad en Excel 2007
Saludos y de antemano agradezco su apoyo
Saludos
YenHola.
Revisa en Configuración de macros (dentro de Configuración de Centro de Confianza) que esté seleccionada la opción "Deshabilitar todas las macros con notificación", o "habilitar todas las macros".
En Configuración ActiveX, "Preguntar antes de habilitar todos los controles con restricciones mónimas", o "Habilitar todos los controles ActiveX". Aunque mejor evitar esta última por seguridad.
Intenta luego abrir el XL Reporter.
Quedo en espera de tus comentarios. -
Error al abrir XL REPORTER en Version 2007 A SP 01 PL 06
Hola a Todos
Tengo un problema para usar el XL REPORTER, al tratar de abrirlo desde el menu Herramientas en SAP, manda un error que dice
UNABLE TO START XL REPORTER
Object Variable or With block variable not set
No he encontrado informacion que me ayude a resolver esto, he tratado limpiar el registro segun la nota 1287193, al hacerlo me mando un error de RUN TIME 429, Despues trate de limpiar el cliente despues de una intalacion fallida de Add on como dice la nota 819501 y el error inicial volvio
Alguno de ustedes sabe como puedo corregir esto
Saludos y Gracias
YenHola.
¿sucede en el servidor o en una máuina cliente?.
Revisa si en Gestión de Add-on, aparece XL Reporter. Si es así, debería ser desinstalado, pues se quedó tras la migración de 2005 a 2007. En 2007 viene integrado.
Si no aparece, intenta crear otra cuenta de usuario windows en la máquina dónde sucede el problema y abre XL de nuevo.
Revisa también que en la instalación de office, estén los complementos para Visual Studio Apps / runtime, macros en excel, etc.
El mensaje de error 429, sucede cuando no se pudo cargar / encontrar un componente requerido por la aplicación (como archivos DLL, OCX, etc). Usualmente son los correspondientes al runtime de visual studio.
Por favor lee la nota SAP 770556 Run-Time Error 3633. Cannot load DLL, or Run-Time Error -429.
Quedamos en espera del resultado. -
Hi all,
I get only one field data(ie frm MANDT) from report to Word doc.
How can i get the record of a table.
REPORT ZMGC_INT.
INCLUDE OLE2INCL.
DATA P_FWOR LIKE RLGRAP-FILENAME.
DATA I_BUFFER TYPE .
PERFORM LANZA_WORD.
FORM LANZA_WORD.
DATA: WORDAPP TYPE OLE2_OBJECT,
DOCUMENT TYPE OLE2_OBJECT,
SELECTION TYPE OLE2_OBJECT.
Copia el contenido del buffer en el portapeles
CALL FUNCTION 'ZCLPB_EXPORT'
TABLES
DATA_TAB = I_BUFFER
EXCEPTIONS
CLPB_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Abre Word
CREATE OBJECT WORDAPP 'word.application'.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'No se ha podido abrir el Word'.
ENDIF.
Lo pone en visible
SET PROPERTY OF WORDAPP 'Visible' = 1.
Cogemes el objeto documento
CALL METHOD OF WORDAPP 'Documents' = DOCUMENT.
Abrimos el fichero plantilla
IF P_FWOR IS INITIAL.
CALL METHOD OF DOCUMENT 'Add'.
ELSE.
CALL METHOD OF DOCUMENT 'Open' EXPORTING #1 = P_FWOR.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error al leer el fichero plantilla'.
ENDIF.
ENDIF.
Coge el objeto selección
CALL METHOD OF WORDAPP 'Selection' = SELECTION.
Pega el contenido del portapapeles
CALL METHOD OF SELECTION 'Paste'.
IF SY-SUBRC NE 0.
WRITE 'PASTE'.
ENDIF.
Graba el fichero
CALL METHOD OF WORDAPP 'ActiveDocument' = DOCUMENT.
*CALL METHOD OF DOCUMENT 'SaveAs' EXPORTING #1 = P_FWOR.
*IF SY-SUBRC NE 0.
*MESSAGE E398(00) WITH 'Error al grabar el nuevo documento'.
*ENDIF.
Cierra Word
CALL METHOD OF WORDAPP 'Quit'.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error al cerrar Word'.
ENDIF.
ENDFORM. " LANZA_WORDRanjith,
Go to tcode SE83 -
>CONTROLS---->BASICS----->Desktop Office Integration.
Right side examples .You will find the required code.
Pls. Mark if useful -
How to build a Report from workflow information
Hi Friends,
I want to create a sales order approval and rejection steps using workflow. For this I have created User Decision Step where I have included approval and rejection decisions. And it is working fine. But the thing is that user wants a report for later analyis by giving sales order info. in selection and in output he need SO number,creation date, approver name, how many times he rejected, rejection date, approval date etc. How to achieve this? Is there any standard report programs available to get this type of info? kindly assist me.
Rewarded...
Thanks in advanace,
Steve.Hi Stephen!
Take a look this example I've developed a report like this.
REPORT ZSICREP001 .
INCLUDE ZSICREP001I.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: S_UNAME LIKE USR02-BNAME OBLIGATORY.
SELECTION-SCREEN: END OF BLOCK B1.
INITIALIZATION.
PERFORM zf_init_alv USING p_var.
START-OF-SELECTION.
PERFORM busca_nome USING S_UNAME CHANGING LC_NAME.
CONCATENATE 'Tarefas de:' LC_NAME INTO TITULO SEPARATED BY SPACE.
PERFORM: busca_dados,
prepara_dados,
zf_monta_tabela_alv,
zf_monta_layout,
ZF_SORT_SUBTOTAL,
zf_executa_funcao_alv TABLES t_alv USING ' '.
END-OF-SELECTION.
Executa a busca dos dados no BD.
Form Busca_Dados.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 15
text = 'Buscando dados ...'.
Busca o histório das tarefas executadas pelo usuário informado.
Select WI_ID
METHOD
METH_EDATE
METH_ETIME
FROM SWWLOGHIST
INTO TABLE T_SWWLOGHIST
WHERE METHOD EQ 'SWW_WI_STATUS_TO_COMPLETED' AND
METH_USER EQ S_UNAME.
IF SY-SUBRC EQ 0.
BUSCA O LOG DE CRIAÇÃO DA TAREFA
Select WI_ID
METHOD
METH_EDATE
METH_ETIME
FROM SWWLOGHIST
INTO TABLE T_SWWLOGHIST_CRIA
FOR ALL ENTRIES IN T_SWWLOGHIST
WHERE WI_ID EQ T_SWWLOGHIST-WI_ID AND
METHOD EQ 'SWW_WW_CREATE' AND
METH_USER EQ 'WF-BATCH'.
ENDIF.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 35
text = 'Buscando dados ...'.
Busca as tarefas aguardando execução do usuário.
CONCATENATE 'US' S_UNAME INTO S_ORG_OBJ.
Select WI_ID
FROM SWWORGTASK
INTO TABLE T_SWWORGTASK
WHERE ORG_OBJ EQ S_ORG_OBJ.
Para cada tarefa aguardando execução, busca o evento de criação da
tarefa e appenda na tabela de histórico
IF SY-SUBRC EQ 0.
SORT T_SWWORGTASK BY WI_ID.
Select WI_ID
METHOD
METH_EDATE
METH_ETIME
FROM SWWLOGHIST
APPENDING TABLE T_SWWLOGHIST_CRIA
FOR ALL ENTRIES IN T_SWWORGTASK
WHERE WI_ID EQ T_SWWORGTASK-WI_ID AND
METHOD EQ 'SWW_WW_CREATE' AND
METH_USER EQ 'WF-BATCH'. .
ENDIF.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 45
text = 'Buscando dados ...'.
Endform.
PREPARA OS DADOS
FORM prepara_dados.
DATA: lc_hoje like SWWLOGHIST-METH_EDATE,
lc_index type i.
LC_HOJE = SY-DATUM.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 50
text = 'Preparando dados ...'.
SORT T_SWWLOGHIST BY WI_ID METH_EDATE METH_ETIME.
SORT T_SWWLOGHIST_CRIA BY WI_ID.
LOOP AT T_SWWLOGHIST_CRIA.
PERFORM BUSCA_REQUISICAO USING T_SWWLOGHIST_CRIA-WI_ID
CHANGING l_NUM_REQ l_WIPAI.
Se o número da req. vier em branco é porque o workitem nao é do SIC.
IF NOT l_NUM_REQ IS INITIAL.
BUSCA O EVENTO DE EXECUCAO DA TAREFA
READ TABLE T_SWWLOGHIST WITH KEY WI_ID = T_SWWLOGHIST_CRIA-WI_ID
BINARY SEARCH.
IF SY-SUBRC EQ 0.
l_DTEXECTASK = T_SWWLOGHIST-METH_EDATE.
l_HREXECTASK = T_SWWLOGHIST-METH_ETIME.
ELSE.
l_DTEXECTASK = ''.
l_HREXECTASK = ''.
ENDIF.
T_ALV-WORK_ITEM = T_SWWLOGHIST_CRIA-WI_ID.
T_ALV-EXEC_TAREFA = l_DTEXECTASK.
T_ALV-HORA_EXEC_TAREFA = l_HREXECTASK.
T_ALV-CRIA_TAREFA = T_SWWLOGHIST_CRIA-METH_EDATE.
T_ALV-HORA_CRIA_TAREFA = T_SWWLOGHIST_CRIA-METH_ETIME.
T_ALV-REQUISICAO = l_NUM_REQ.
T_ALV-WIPAI = l_WIPAI.
BUSCA O TIPO DO FLUXO
SELECT SINGLE FLUXO
FROM ZSICREQUISICAO
INTO T_ALV-FLUXO
WHERE BANFN EQ T_ALV-REQUISICAO.
APPEND T_ALV.
ENDIF.
ENDLOOP.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 75
text = 'Preparando dados ...'.
SORT T_ALV BY REQUISICAO.
LOOP AT T_ALV.
AT NEW REQUISICAO.
BUSCA O TIPO DO FLUXO
SELECT SINGLE FLUXO
FROM ZSICREQUISICAO
INTO T_ALV-FLUXO
WHERE BANFN EQ T_ALV-REQUISICAO.
PERFORM BUSCA_LOG USING T_ALV-REQUISICAO
T_ALV-FLUXO
CHANGING T_LOG.
ENDAT.
CLEAR: T_ALV-ICONE.
BUSCA O LOG DE CRIACAO DO WORKITEM
READ TABLE T_LOG WITH KEY WORKITEM = T_ALV-WORK_ITEM.
IF SY-SUBRC EQ 0.
T_ALV-TEXTO_LOG_CRIA = T_LOG-TEXTO_LOG.
ELSE.
T_ALV-TEXTO_LOG_CRIA = ''.
ENDIF.
BUSCA O LOG DE EXECUÇÃO DO WORKITEM
IF SY-SUBRC EQ 0.
lc_index = SY-TABIX.
lc_index = lc_index + 1.
READ TABLE T_LOG INDEX lc_index.
IF SY-SUBRC EQ 0.
T_ALV-TEXTO_LOG_EXEC = T_LOG-TEXTO_LOG.
ELSE.
T_ALV-TEXTO_LOG_EXEC = ''.
ENDIF.
ENDIF.
Calcula o tempo que a tarefa ficou parada
IF NOT T_ALV-EXEC_TAREFA = ''.
T_ALV-DIAS = T_ALV-EXEC_TAREFA - T_ALV-CRIA_TAREFA.
ELSE.
T_ALV-DIAS = LC_HOJE - T_ALV-CRIA_TAREFA.
WRITE icon_red_light AS ICON TO t_alv-icone.
ENDIF.
MODIFY T_ALV.
ENDLOOP.
ENDFORM.
BUSCA A REQUISIÇÀO ATRAVES DO WORKITEM.
FORM BUSCA_REQUISICAO USING l_WI CHANGING NUMREC WI_PAI.
DATA: LC_NUMREC LIKE SWW_CONTOB-OBJKEY.
CLEAR: l_SWR_WIHDR.
BUSCA O WORKITEM PAI.
CALL FUNCTION 'SAP_WAPI_GET_HEADER'
EXPORTING
workitem_id = l_WI
IMPORTING
WORKITEM_ATTRIBUTES = l_SWR_WIHDR.
BUSCA O NUMERO DA REQUISICAO.
SELECT SINGLE OBJKEY
FROM SWW_CONTOB
INTO LC_NUMREC
WHERE WI_ID EQ l_SWR_WIHDR-WI_CHCKWI AND
ELEMENT EQ 'REQUISITIONHEADER' AND
OBJTYPE EQ 'BUS2105'.
IF SY-SUBRC EQ 0.
NUMREC = LC_NUMREC.
WI_PAI = l_SWR_WIHDR-WI_CHCKWI.
ELSE.
NUMREC = ''.
WI_PAI = ''.
ENDIF.
ENDFORM.
Monta a estrutura do relatório
FORM ZF_MONTA_TABELA_ALV.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 80
text = 'Montando a estrutura do relatório...'.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'ICONE'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Status'.
t_fieldcat-inttype = 'C'.
t_fieldcat-no_out = 'X'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'REQUISICAO'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Requisição'.
t_fieldcat-inttype = 'C'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'CRIA_TAREFA'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Dt.Rec.Tarefa'.
t_fieldcat-inttype = 'D'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'HORA_CRIA_TAREFA'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Hr.Rec.Tarefa'.
t_fieldcat-inttype = 'C'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'TEXTO_LOG_CRIA'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Log do recebimento da tarefa'.
t_fieldcat-inttype = 'C'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'EXEC_TAREFA'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Dt.Exec.Tarefa'.
t_fieldcat-inttype = 'D'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'HORA_EXEC_TAREFA'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Hr.Exec.Tarefa'.
t_fieldcat-inttype = 'C'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'TEXTO_LOG_EXEC'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Log da execução da tarefa'.
t_fieldcat-inttype = 'C'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'DIAS'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Dias'.
t_fieldcat-inttype = 'I'.
t_fieldcat-do_sum = 'X'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'WORK_ITEM'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'Work Item'.
t_fieldcat-inttype = 'C'.
t_fieldcat-no_out = 'X'.
APPEND t_fieldcat.
CLEAR t_fieldcat.
t_fieldcat-fieldname = 'WIPAI'.
t_fieldcat-tabname = 'T_ALV'.
t_fieldcat-reptext_ddic = 'WI Pai.'.
t_fieldcat-inttype = 'C'.
t_fieldcat-no_out = 'X'.
APPEND t_fieldcat.
ENDFORM.
Form zf_sort_subtotal
Classificação e item de subtotalização
FORM ZF_SORT_SUBTOTAL.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 90
text = 'Montando a estrutura do relatório...'.
CLEAR t_sort.
t_sort-spos = 1.
t_sort-fieldname = 'REQUISICAO'.
t_sort-tabname = 'T_ALV'.
t_sort-up = 'X'.
t_sort-subtot = 'X'.
append t_sort.
CLEAR t_sort.
t_sort-spos = 2.
t_sort-fieldname = 'CRIA_TAREFA'.
t_sort-tabname = 'T_ALV'.
t_sort-up = 'X'.
append t_sort.
ENDFORM.
BUSCA A LINHA DO LOG REFERENTE AO WORKITEM
FORM BUSCA_LOG USING NUM_REQ TIPO_WFLOW CHANGING LOG STRUCTURE T_LOG.
DATA: lh_wis like SWWWIHEAD occurs 0 with header line,
lc_wiatual type TP_DADOSWI,
lc_noant like ZSICDESETAPA-NODE_ID,
lc_chckwi like swwwihead-wi_chckwi,
lh_itemlist like SWWWIHEAD occurs 0 with header line,
lc_wid like swwwihead-wi_id,
lc_objkey like SWW_CONTOB-OBJKEY.
BUSCA TODAS AS INSTANCIAS DO FLUXO
lc_objkey = NUM_REQ.
call function 'SWI_WORKITEMS_OF_OBJECT_GET'
exporting
objtype = 'BUS2105'
objkey = lc_objkey
tables
itemlist = lh_itemlist.
Elimina os Workitens que não sao de diálogo e não são de criação do
*fluxo.
delete lh_itemlist where not wi_chckwi is initial or wi_type <> 'F'.
loop at lh_itemlist.
Refresh: lh_wis.
CLEAR: lc_noant.
lc_wid = lh_itemlist-wi_id.
busca todos os workitems dependentes do WI pai
call function 'SWI_GET_DEPENDENT_WORKITEMS'
exporting
wi_id = lc_wid
tables
dependent_wis = lh_wis.
elimina WI que não são de diálogo
delete lh_wis where wi_type <> 'W'.
Verifica se existe alguma tarefa para o usuário informado se não
existir, né há necessidade de entrar no loop.
READ TABLE lh_wis WITH KEY WI_AAGENT = S_UNAME.
CHECK SY-SUBRC EQ 0.
Loop at lh_wis.
busca nó
search lh_wis-wi_creator for lh_wis-WI_CHCKWI.
lc_wiatual-node_id = lh_wis-wi_creator+sy-fdpos(22).
busca o SUBWORKFLOW que a tarefa pertence.
select single wi_rh_task
into lc_wiatual-task
from swwwihead
where wi_id = lh_wis-WI_CHCKWI.
Monta o log
IF S_UNAME EQ lc_wiatual-agent.
LOG-WORKITEM = lh_wis-WI_ID.
PERFORM MONTA_LOG USING TIPO_WFLOW
lc_wiatual-task
lc_wiatual-node_id
lc_noant
lc_wiatual-agent
lh_wis-WI_AAGENT
CHANGING LOG-TEXTO_LOG.
APPEND LOG TO T_LOG.
Busca o Agente
lc_wiatual-agent = lh_wis-WI_AAGENT.
lc_noant = lc_wiatual-node_id.
endloop.
Endloop.
ENDFORM.
MONTA O TEXTO DO LOG.
FORM MONTA_LOG USING TIPO_WF TAREFA NODE NODE_ANT AGENT AGENT_DEST
CHANGING TEXTO_LOG.
Data: lc_DESETAPA LIKE ZSICDESETAPA,
lc_LEN TYPE I.
BUSCA O TEXTO DO LOG.
SELECT * UP TO 1 ROWS
FROM ZSICDESETAPA
INTO lc_DESETAPA
WHERE TASK EQ TAREFA AND
NODE_ID EQ NODE AND
FLUXO EQ TIPO_WF.
ENDSELECT.
SE FOR ETAPA RECURSIVA
IF lc_DESETAPA-RECURSIVA = 'X'.
SELECT SINGLE LOG
INTO TEXTO_LOG
FROM ZSICETAPA_RECUR
WHERE TASK = TAREFA AND
NODE_ID = NODE AND
FLUXO = TIPO_WF AND
NODE_IDPAI = NODE_ANT.
ELSE.
TEXTO_LOG = lc_DESETAPA-LOG.
ENDIF.
IF NOT TEXTO_LOG IS INITIAL.
Formata Mensagem DO USUARIO ORIGEM
PERFORM busca_nome USING AGENT CHANGING LC_NAME.
lc_LEN = STRLEN( lc_NAME ).
IF NOT lc_LEN IS INITIAL.
REPLACE 'V1' LENGTH lc_LEN with lc_name(lc_LEN)
INTO TEXTO_LOG.
ELSE.
REPLACE 'V1' LENGTH 2 WITH SPACE INTO TEXTO_LOG.
ENDIF.
Formata Mensagem DO USUARIO DESTINO
PERFORM busca_nome USING AGENT_DEST CHANGING LC_NAME.
lc_LEN = STRLEN( lc_NAME ).
IF NOT lc_LEN IS INITIAL.
REPLACE 'V2' LENGTH lc_LEN with lc_name(lc_LEN)
INTO TEXTO_LOG.
ELSE.
REPLACE 'V2' LENGTH 2 WITH SPACE INTO TEXTO_LOG.
ENDIF.
ELSE.
TEXTO_LOG = ''.
ENDIF.
ENDFORM.
BUSCA O NOME DO USUÁRIO
form busca_nome using p_usrid CHANGING p_name.
data ln_pernr like pa0105-pernr.
check not p_usrid is initial.
Busca o no.pessoal do usuário
select pernr into ln_pernr up to 1 rows
from pa0105
where usrty eq '0001'
and usrid eq p_usrid.
endselect.
if sy-subrc = 0.
Busca o nome completo do usuário
select ename into p_name up to 1 rows
from pa0001
where pernr eq ln_pernr.
endselect.
translate p_name to upper case.
endif.
endform.
*& Form zf_monta_layout
text
--> p1 text
<-- p2 text
form zf_monta_layout.
Preenchendo algumas opções de impressão (Não é obrigatório)
v_layout-expand_all = 'X'. "Abrir subitens
v_layout-colwidth_optimize = 'X'. "Largura melhor possível da coluna
v_layout-edit = 'X'. "Permitir a edição
v_layout-zebra = 'X'. "Zebrar o relatório
v_layout-info_fieldname = 'COLOR'. "Cor da linha
v_layout-no_totalline = 'X'. "Não imprime a linha de Total.
v_layout-totals_before_items = 'X'. "Imprime o total antes do item
endform. " zf_monta_layout
Best Regards
Luciano Barreto -
Hi All,
Is there any standard report or any table to get the blocked invoices and on which date it is blocked.
Thanks in advance.
Regards,
Venkat.Hi Venkat,
Transaction VKM1 will give you the list with the bloqued SD documents, with the creation date, and additional info.
Rgs,
Cristobal. -
Actualice a 2007 PL46 en mi servidor de citrix con windows server 2008 y cuando quiero abrir XL reporter me manda el siguiente error:
Run Time Error '430':
Class Does not support automation or does not support expected interface
y en mi servidor de SAP si lo puedo abrir sin problema, otra caracteristica es que antes de la actualizacion tenia SAP BO 2007 PL42 y XL Reporter si abria correctamente.
alguien sabe como corregir esto.Hola, tal como menciona Yeniffer, hay una nota SAP que menciona este problema:
1247315 Runtime error 430
Tiene que ver con problemas en el DI API, instalación anterior del XL o instalación de cliente SB1 corrupta.
La solución recomendada para eliminar los problemas anteriores, es:
0. Cerar todas las palicaciones.
1. Ir al panel de control, agregar / elimnar programas
2. Desinstalar el Cliente SB1
3. Desinstalar SAP Business One DI API
4. Si aparece XL Reporter, desinstalarlo también.
5. Ir a Inicio, Ejecutar, escribir %temp% y oprimir la tecla Enter.
6. En la ventana que se abre, si existe eliminar la carpeta SM_OBS_DLL.
7. Ir a Inicio, Ejecutar, escribir regedit y oprimir Enter.
8. Buscar en la categoría HKEY_LOCAL_MACHINE, Software, una carpeta llamada iLytix. Si existe eliminarla.
9. Reiniciar el PC.
10. Verificar que estén instalados .NET Framework 1, 2 (y 3.5 si tiene Crystal Reports), SQL Native Client. Si no, instalarlos
11. Instalar DI API que viene con el actual PL.
12. Instalar Cliente SB1.
13. Verificar comportamiento.
Esperamos que con esto se solucione el problema.
Si el problema fué resuelto, favor cerrar el caso. Gracias
Edited by: Hector Daniel Hernandez Bacca on Sep 11, 2009 1:54 PM -
Crystal Reports XI Developer in 64 bits - ODBC Oracle
Hello
Operating System: Microsoft Windows Server 2003 R2 Standard x64 Edition Service Pack 2
Crystal Version: Crystal Reports XI Developer Full Product (Spanish)
ODBC installed: Oracle 9.2 through c:WINDOWSSysWOW64odbcad32. (32-bit ODBC Administrator)
Test succeeded from 32-bit ODBC Administrator
Problem: In Crystal Reports, when I choose the previous data source appears the error:
No se pudo abrir la conexion.
Detalles: 08004:[Oracle][ODBC][Ora]ORA-12154: TNS:no se ha podido resolver el nombre de servicio
Código del proveedor de base de datos: 12154
Thanks
Edited by: Josep Maria Barón Isanta on Feb 20, 2009 1:09 PMHi Josep,
You can follow the below link.
Just check if the version of oracle is supported with 64 bit version.
Else just follow the below:
The issue has been identified and tracked.If Business Objects Enterprise is installed to a location containing brackets in the folder path, for example, C:\Program Files (x86)\, it will be unable to connect to any Oracle database. Certain Oracle database clients such as version 10.2.0.2 or 10.1.0.2., do not function properly with any application which has brackets in its folder path.
Resolution :
There are two options to resolve this:
When installing Business Objects Enterprise, please choose an install path that does not contain brackets such as C:\Program Files x86\ or contact Oracle support for an updated database client.
This issue is Oracle bug 3807408 and can be fixed by applying 10.2.0.1 Patch 6. This can be downloaded from Meta link if you have an account:
http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5059238
Just copy the link and down load the patch from the oracle, for this you need to be registered in the oracle product download site.
Hope this helps you.
Regards,
Naveen. -
Internal error exception when try to export Crystal Report using V2008 C#
Hello
Im working in an application that should send a parameter to a crystal report. Everything works fine when i test the report in the CR 2008 and shows the information correctly
After has the report working, i design a Visual C# application using forms and loading and exporting the report, which still works ok (generates the pdf file with the information)
Then i convert this application as a console application. The point is i need the report working as a windows service, to generate it every 15 minutes without user intervention (but try it as a console application first to be sure it will work ok before creating as a service)
Then i started the service. But when i call the report it sends an exception that i cannot understand:
Internal exception No se pudo abrir la conexion.
No se pudo abrir la conexion.
Prueba {DDE88B40-8A22-4EDB-9DEE-A5033DAA0140}.rpt
This is my code for the report that works fine as long as i don´t put any parameter into the sql command:
ReportDocument cryRpt = new ReportDocument();
cryRpt.Load(nomRepU);
cryRpt.Refresh();
cryRpt.SetParameterValue("EVAId", evaID);
ExportOptions CrExportOptions = new ExportOptions();
DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions();
PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions();
CrDiskFileDestinationOptions.DiskFileName = @"" + path + "
" + nomRepPDF_Exp;
CrExportOptions = cryRpt.ExportOptions;
CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions;
CrExportOptions.FormatOptions = CrFormatTypeOptions;
cryRpt.Export(); -
here i get the exception
I checked that the parameter is being read correctly in the crystal report as i remove all the sql commands and just put the parameter in the heading of the report, and is show as supposed and generates the pdf file automatically, but when i assign the parameter to the sql command (select * from myTable where idTable = {?EVAId} ) the crystal report send the exception i mentioned above
I don't know what to do, i don't know if i configuring correctly the report or something is missing. I would appreciate any help. If need more information please let me know. This is making me crazy
Thanks in advance
Veronica EstradaHello all
I just fixed my issue, i made some changes in the code as well as in the crystal report:
*Crystal report changes*
I removed the parameter that i have to filter the information, instead i in the C# code i let the crystal report which records to show
Note: in the preview of the report all information will be shown, however i won´t use it this way so is not a problem
*Visual C# changes*
// Load the crystal report
cryRpt.Load(nomRepU);
// Establish SQL conection parameters - below the code for the function
SetTableLocation(cryRpt.Database.Tables);
//This is really the main change, because if i use "setParameter" function still generates "Internal exception"
cryRpt.DataDefinition.RecordSelectionFormula = "{EVAPrincipal.EVAId} = " + evaId; // ---> Should be the same name of the table and the recordID i want to show
// Export function
cryRpt.Export();
private void SetTableLocation(Tables tables)
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = @"" + server; // ODBC
connectionInfo.DatabaseName = @"" + initialCatalog; // data base name
connectionInfo.UserID = @"" + user;
connectionInfo.Password = @"" + password;
foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogOnInfo = table.LogOnInfo;
tableLogOnInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tableLogOnInfo);
My notes:
I guess i had two problems: the first with the SQL connection, in connectionInfo.ServerName i was using the name of the instance instead of the ODBC name. The second is the way the parameter is received in the crystal report as it works as windows service (this is my guess) then if i control everything through the C# code it runs perfect!
Hope this helps if anyone has a similar problem
Regards
Veronica Estrada -
Como hago para abrir un formulario creado en reports desde forms con los datos que tenfo cargados en el formulario
If I understand your question, you have to use RUN_REPORT_OBJECT. See
http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf -
Possible solution: Open Crystal Reports Print Layout from UDO form
Hi all,
I recently had to print information of a UDO which I have on a new form. I searched through the forum and found different solutions, but none that used the new "integrated" crystal reports viewer. So I came up with this workaround, which so far works great. I post it here for anybody else needing this kind of workaround, or in case somebody has a better solution, pick that up.
Here it is:
1) Create your Crystal Report file and import using the Reports and Layouts screen in SAP Business One. Give it a meaningful name and location in the menu. Have at least one parameter to take the DocNum or DocEntry, or whatever your primary key is. (Note: I know the import can be done by SDK, but as far as I can see there's no way to place it in the menu structure just yet.)
2) In your Add-On in the event ID 520 (print), call the following function with the Document Number grabbed from the open form:
public static bool printUDO(string strDocNum)
// get menu UID of report
Recordset oRS = (Recordset)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.BoRecordset);
oRS.DoQuery("SELECT MenuUID FROM OCMN WHERE Name = 'ReportName' AND Type = 'C'");
if (oRS.RecordCount == 0)
B1Connections.theAppl.MessageBox("Report layout 'ReportName' not found.", 0, "OK", null, null);
return false;
// execute menu and enter document number
B1Connections.theAppl.ActivateMenuItem(oRS.Fields.Item(0).Value.ToString());
Form form = B1Connections.theAppl.Forms.ActiveForm;
((EditText)form.Items.Item("1000003").Specific).String = strDocNum;
form.Items.Item("1").Click(BoCellClickType.ct_Regular); // abrir reporte
return true;
I know it's kind of a dirty solution, but it works, and if you have any suggestions, I'd be happy to hear them.
Thanks!
Joerg.Hi Joerg,
It's not a dirty solution... I like it and i'm using it
Thanks!
Best regards,
Ana Silva -
Error "Failed to load database information" al abrir un informe en BO
Tengo un informe guardado en BO XI que utiliza una base de datos de Lotus Domino 6.5.6. Cuando lo abro desde Crystal Reports para diseñarlo, lo carga sin problemas, pero cuando acceso desde infoview para ejecutarlo, se muestra el mensaje "Failed to load database information".
El servidor BO XI esta instalado en Windows 2003 Server y el servidor Lotus Domino en Solaris.
¿Qué esta sucediendo? ¿es necesario abrir algun puerto o cambiar alguna configuracion?Hi Tejas and all,
We have the exactly same error, with exactly the same syntax , using both an rpt-file from CR9.0 and one from CR XI.
(using Crystal XI Server)
We get the same error in VS2005 and VS2008
Did you find a solution?
Uffe -
--Navegaba en esta pagina:
http://juegos.microsiervos.com/iphone-ipod-ipad/piedra-papel-tijera-electronica.html
--Luego cliqué este link:
https://itunes.apple.com/us/app/stone-paper-scissors/id595164077?ls=1&mt=8
--Al principio cuando la página cargó se veía normal (LOGRÉ VER LA PÁGINA UNO O DOS SEGUNDOS) y un segundo después apareció el siguiente mensaje de error:
La dirección no resulta comprensible
Firefox no sabe cómo abrir esta dirección, porque el protocolo (itmss) no está asociado con ninguna aplicación.
Podría necesitar instalar otro software para abrir esta
dirección.
--También vi que la URL habia cambiado a:
itmss://itunes.apple.com/us/app/stone-paper-scissors/id595164077?ls=1&mt=8&ign-msr=http%3A%2F%2Fjuegos.microsiervos.com%2Fiphone-ipod-ipad%2Fpiedra-papel-tijera-electronica.htmlThe Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
To Reset Firefox do the following:
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox" button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us! -
Hola, necesito ayudaDesde hace unos dias mi Xperia SP, se bloquea, pulsas el boton lateral para activar en telefon cuando esta en stand by, y hay veces que tarda hasta 10 minutos en encender la pantalla, una vez que enciende para el desbloqueo pasas el dedo y tarda en dejate hacer nada, luego entras en contactos o en el menu y tarda en otro monton en abrirse (si se abre), aparecen mensajes de error al abrir la aplicacion de XPeria, Error en el procesador....Cuesta hasta reiniciarle, pero una vez que lo haces hay veces que el telefono sigue igual y te toca reiniciarle dos o tres veces. Que puedo hacer? Gracias
There is no supported method to downgrade the iOS on any iPhone running any version of iOS.
A simple search of the forums would have revealed this.
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
Maybe you are looking for
-
XML Namespaces in XI (URL s. URN)
Our company is considering a global XML Namespace standard that will be URN based instead of URL based. It looks liek all the examples for XI 3 use URL, but XI 2 used URNs. Does it matter to XI / WAS? Will we have any side-effects by using the URN
-
Purchases made from another computer not appearing in iTunes on new MAC
Hello everyone, I'm new to the Mac world and am still familiarizing myself. As a former PC user, I made several purchases from my PC (music only) that are not showing up on iTunes on my shiny new mini Mac. Is this normal? How do I download my previou
-
How long is the life time of process scope variable ?
Hi All, How long is the life time of process scope variable befoer it expires ? Is it the same with the life time of session scope ? How can we set the value in OAS when deployment ? Thank you, xtanto
-
Identifying rings and edges with problems
Hi I have new polygon layers that produce a validation error for a polygon of gtype of 2007: 13350 [Element <1>] [Rings 1, 8][Edge <9> in ring <1>][Edge <33> in ring <8>] The error is: ORA-13350: two or more rings of a complex polygon touch Cause: Th
-
BTF : Add Image BTF editor in WebUI
Hello Everyone, I have added a view as a assignment block in standard component, everything is working fine, the text gets added to the BTF editor, however, When i insert the image, it shows up as a empty box with nothing inside it. Although this is