Problem running DNP3 executable?
I have problems running the build executable of a DNP3 application.
Everything seems working with the source code, but when I run the executable I get an error at the Master Creation step.
I’m using Labview DNP3 Toolkit 2.1.
Could someone give some help?
Thank you
MorganSch
Attachments:
P 1.jpg 178 KB
P 2.jpg 442 KB
P 3.jpg 150 KB
Hi MorganSch,
I would recommend posting this over at the Industrial Communications forums, where we monitor the forums for issues like these. Are you running this executable on a Windows machine? From the screenshots, this seems to be the case. Additionally, the error seems to indicate that this is being run on Windows as well:
Error -44247
Possible Reason(s): DNP3 applications distribution is not supported on the Windows platform.
With DNP3 2.1, we only support the following:
The NI-IndCom for DNP3 driver supports unlimited deployments to the following NI real-time hardware targets: CompactRIO, NI Single-Board RIO, and PXI. The driver is not licensed for deployment on Windows-based computers.
Matt S.
Industrial Communications Product Support Engineer
National Instruments
Similar Messages
-
I recieve the following error when trying to build and run a labview executable. I am able to build the executable but when trying to run the executable, a pop up window comes up asking the user to select a dll. (please see screen shot attached). Once the DLL is selected, I get the error that This VI is not Executable. The full development version of Labview is required to fix the errors. (please see screen shot attached). I have also attached a snapshot of the project window.
I have the professional development system
I can run the main VI
all the required DLL's are in the dependencies section of the project window.
I am trying to find the root cause of this error but to no avail. can anyone give me a clue to what i am missing here. Any suggestions on where i should look to find the problem ?
Thanks in advance to all labview users for your help
Attachments:
project window.PNG 36 KBother PNG
Attachments:
Broken Arrow on EXE.PNG 179 KB -
How to run a EXECUTE IMMEDIATE statement in a Interactive Report
Hello all!!
I need to make a dinamic construction of a query to execute in a Interactive Report, but the Region Source only allows simple SELECT statements. There is any way to run a EXECUTE IMMEDIATE statement in a Interactive Report Region Source?
Regards Pedro.Thank you Andy for your reply.
I have been testing for a while the use of a collection in the interactive report but i am unable to load data in the interactive report.
I created the collection successfully in the SQL Commands with the code:
declare
v_sql varchar2(32000);
begin
v_sql:='select ename, job from emp';
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('coleccao_emp',v_sql,'NO' );
end;
I tested successfully the creation of the collection with the query:
SELECT c001, c002
FROM APEX_collections
WHERE collection_name = 'COLECCAO_EMP'
My problem is: the data of the collection are returned in the SQL Commands but when i run the query statament in an interactive report, report or even a Pl/Sql region in my application the data aren't displayed, only the message (No data found).
Can someone explain why, besides the collection is populated the interactive can not print the results.
Regards Pedro. -
Problems running the jsf-compnenets demo on Weblogic 8.1
Hi,
I am just starting out with with JSF and I'm having problems running the jsf-components demo. Whenever I try to run any of the JSP's in this demo I get the following error :
/imagemap.jsp(41): Error in using tag library uri='http://java.sun.com/jsf/demo/components' prefix='d': cannot find tag class: 'components.taglib.AreaSelectedTag'
probably occurred due to an error in /imagemap.jsp line 41:
<%@ taglib uri="http://java.sun.com/jsf/demo/components" prefix="d" %>
I have modified the components.tld file (within jsf-components.war) to remove what appears to be the offending tag but the problem still persists.
Also, when I try to view the source of the demo, by clicking on any of the links I get the following error :
<01-Jul-2004 12:00:59 o'clock BST> <Error> <HTTP> <BEA-101020> <[ServletContext(
id=13712942,name=jsf-components,context-path=/jsf-components)] Servlet failed wi
th Exception
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
at java.lang.Class.getDeclaredMethods(Class.java:1114)
at java.beans.Introspector$1.run(Introspector.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
01)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
at java.beans.Introspector.getBeanInfo(Introspector.java:370)
at java.beans.Introspector.getBeanInfo(Introspector.java:207)
at java.beans.Introspector.<init>(Introspector.java:351)
at java.beans.Introspector.getBeanInfo(Introspector.java:207)
at java.beans.Introspector.getBeanInfo(Introspector.java:193)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:13
33)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1271)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
04)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4842)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4688)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:504)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:349)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Am I missing something ?
Any help would be greatly appreciated.
Thanks in advance,
Brian.Hey,
You are probably missing jsp-impl.jar in the classpath. Please add it to your class path and try again.
Senthuran -
My VI is using DAQ6025e and GPIB cards, it is countiniusly writing data to files and talking with 2 GPIB instruments and one Serial instrument. Sudenly after 3 hours of perfect working it is crash my computer.
Does any body know why ??? Help? S.O.S?Some questions to help us troubleshoot:
1)How crashed is your computer when it crashes?
Blue Screen Of Death crashed? If you don't know about BSOD then that
is when your computer presents a blue screen (white in XP) and tells
you that the system is halted, gives you a register dump and the
memory address where it stopped (all of which is useless unless you
are an assembly language wizard) and then you have to reboot the
machine.
Application error that kills LabVIEW.exe? Usually a pop-up MSGBOX
style dialog box will appear with a such and such error occurred in
LabVIEW.exe or another application and an OK button.
VI Slows to a crawl w/hourglass in the app window? Program doesn't
stop executing, it just stops responding to user inputs.
LabVIEW error cluster error that causes the VI to quit?
2) What O/S are you running? Win 3.1, Win 95, Win 98, Win NT 3.1, Win
NT 3.5, Win NT 4.0, Win2000, WinME, WinXPHome, Win XPPro?, Linux?, Mac
O/S?
In the Microsoft family, WinNT and Win2000 are by far the most stable
and reliable of the various versions of Windows with Win95 and Win98
having a lot of problems running for long periods of time. Make sure
that you get WinNT 4.0 updated to service pack 6 if you are still
using 4.0 but haven't updated the service pack level yet. There were
quite a number of problems with it when it first came out that have
since been cured.
3) Have you run the LabVIEW VI profiler yet? This will point out
memory leaks that are due to dynamically built arrays using shift
registers etc. or appending to strings, or improper IMAQ management,
etc.
4) Have you brought up the task manager and looked at the memory
allocated for LabVIEW.exe and for the whole system as well? Is it
growing? Sometimes there can be memory leaks that don't show in the
profiler that will show in the task manager when you look. These can
be due to bugs in LabVIEW itself or some driver for some hardware you
are using, etc.
If you are not running NT or a later derivative, then you won't have
task manager available but you can get diagnostic tools that are very
similar to task manager from off the web.
5) How much memory do you have in your PC? How fast is your PC? What
does the CPU % usage look like under task manager when you first start
your app? If it is running >40% CPU usage for any significant amount
of time at the start then perhaps your PC is overloaded with work and
you need a faster PC or your code needs redesigning. I like data
acquisition systems to operate <25% generally speaking. This number
seems to improve the reliability of the code that is running on them.
6) How much H/D space is available? You say you are writing data to
files. Your h/d space isn't running out is it?
7) Is it possible to run one instrument at a time for several hours to
see if it is a particular instrument that is causing the crash? Make
sure that your GPIB cards are properly configured so that they don't
share resources with any other devices(IRQ, DMA, memory addresses,
etc.) It may be possible that they behave fine most of the time even
with shared resources but if they ever try to send a command
simultaneously and they share resources, they could "collide" and
crash your PC. You can check all this out in the control panel and/or
MAX.
8) Is it possible that your serial port is getting hung up after
running a long period of time? Serial port UARTS are notoriously
finicky especially over longer line lengths and higher data rates. It
could be that your serial instrument is locking up your app or your PC
serial port is locking up your app and causing the crash. Can you put
a serial port analyzer in between your serial instrument and your PC
to see what's going on when it crashes?
9) Are you trying to read or write to the serial port in more than one
thread or while loop or dynamically launched vi? If you are you MUST
protect the serial port access with a semaphore or a VISA resource
lock. You CANNOT use a boolean global to protect access. Regular
globals aren't atomic and you can have race conditions that result in
unintended serial port collisions between differen threads. I have
seen this lock up multi-threaded serial programs before to the point
of requiring rebooting.
This problem can be especially frustrating if you haven't done
multi-threaded before. The port won't necessarily lock up right away
or at the same time every time. You MUST make sure that serial port
access is limited to ONLY ONE execution thread at a time.
10) Is there another application or service running in the background
with your application that may be trying to access the serial port or
GPIB cards when you aren't expecting it? This could cause a collision
that could crash your system as well.
Douglas De Clue
LabVIEW developer
[email protected]
Yan wrote in message news:<[email protected]>...
> My VI is using DAQ6025e and GPIB cards, it is countiniusly writing
> data to files and talking with 2 GPIB instruments and one Serial
> instrument. Sudenly after 3 hours of perfect working it is crash my
> computer.
> Does any body know why ??? Help? S.O.S? -
Lion (10.7.0): Into Smb share folder I can't run Windows executable (.exe)
Window 7 Pro 64 response insufficient privilege.
Read and Write normal file don't have problem.
Before in OSX 10.6.8 don't have problem.
Help
AlessandroHi,
the problem is X permission than not replay on smb.
If manual set ".exe" X permission file run but when rebuild exe with compiler restore only "Read&Write permission"
Is possible use inheritance on smb (lion)? -
Same Problem - Different Scenario: Encountering Problems running Mac OS X c
Same Problem - Different Scenario: Encountering Problems running Mac OS X commands.
Hi. I'm having a weird experience on opening document using
the Microsoft word 2008 application in MAC OS X.
To be specific on what is the scope of my application.
What I'm trying to do is run or simulate my application on appletviewer on a certain pop-up HTML
document. The first part of my statement block on my code doing well on
executing the downloading process of a file and save it on local machine.
This portion of works fine.
But the thing that I'm having some difficulties is
whenever i Re-opened the downloaded file from my local machine
that is being downloaded from my server.
I'm trying to established a checking or triggering pattern that the
file from my local machine was modified or not.
doing this execution I'm using the following code below to figure it out:
java code:
portion of calling the trigger part
if((nMacEditMode = editFileViaMac(clientFile)) == 1)
baseApplet.addMsg("Opened and edited file on local machine ...");
else
if(nMacEditMode == 3)
baseApplet.addMsg("Opening and editing of file on local machine failed! Try again!!");
else
baseApplet.addMsg("No changes made. Server file unchanged! You may close this window.");
portion of the runtime execution of opening the file via MAC OS X
public int editFileViaMac(String wordFileName)
try
String cFile = wordFileName.trim().replaceAll(" ", "\\ ");
wordPath = wordPath.trim().replaceAll(" ", "\\ ");
Process wordProcess =null;
Date startTime;
Date endTime;
File wordFile = new File(cFile);
startTime = new Date(wordFile.lastModified());
String[] myCommand = { "open", "-a", wordPath, wordFile.getAbsolutePath(), "-W" };
wordProcess = Runtime.getRuntime().exec(myCommand);
wordProcess.waitFor();
endTime = new Date(wordFile.lastModified());
if (startTime.before(endTime))
return 1;
return 2;
catch(Exception ex)
baseApplet.addMsg("Method Error : editFileViaMac() - "+ex.getMessage());
ex.printStackTrace();
return 3;
Now the weird things happen here.
The file was able to opened- as I wanted to, but when a made changes or not doing anything.
The Microsoft Word 2008 application on the MAC Activity Monitor. The instance was still alive or
keep running and I execute MAC commands being implement on the Process on the Terminal and it still
stuck in that thing. which means I have to manually kill the process of the said application on
the GUI part of Task Manager of MAC and my 2nd statement on the if replies.
Any thoughts will glady appreciated.Please ensure new topics are posted in an appropriate forum. I have moved this thread from "news & updates" but in future posts made there in error will be deleted.
Edited by: dcminter on 19-Aug-2009 13:13 -
I have a problem, when I execute an mapping from Desing Center, its frezeen
I have a problem, when I execute an mapping from Desing Center, its frezeen, this doesnt send error can you help me plis
AliIf I would be you, I will check mapping activity from backend using (TOAD/SESSION-BROWSER) your map should be under JDBC THIN CLIENT. Also check if your target table is locked by running this query (select
c.owner,
c.object_name,
c.object_type,
b.sid,
b.serial#,
b.status,
b.osuser,
b.machine
from
v$locked_object a ,
v$session b,
dba_objects c
where
b.sid = a.session_id
and
a.object_id = c.object_id;). -
Problem when I execute program SCM in background
Hi experts,
I am with problem when I execute a program (SCM) in background. I inserted a new field (estoque_seg(10)) and the process stopped at execute in background.When I call transaction and press F8, works but for this, I need jump the consistence IF sy-batch IS INITIAL....Dont has any bath imput, only functions. Any idea?
Follow below the code:
Estrutura para tabela ENTRADA
DATA: BEGIN OF st_entrada,
matnr(40) TYPE c,
werks(20) TYPE c,
ponto_abas(10) TYPE c,
estoque_max(10) TYPE c,
cobertura(10) TYPE c,
estoque_seg(10) TYPE c, " Erlon Lourenço 20/01/2011
END OF st_entrada.
Estrutura para tabela de LOG
*TYPES: BEGIN OF st_saida,
pernr(8) TYPE c ,
date(10) TYPE c,
er_contribuition(15) TYPE c,
tax(15) TYPE c,
msg_erro(80) TYPE c,
END OF st_saida.
Tabela para obter descricao da mensagem
*DATA: ti_saida TYPE STANDARD TABLE OF st_saida WITH HEADER LINE
INITIAL SIZE 0.
Tabela que recebera o arquivo texto
DATA: BEGIN OF ti_entrada OCCURS 0.
INCLUDE STRUCTURE st_entrada.
DATA: END OF ti_entrada.
DATA: BEGIN OF it_matid OCCURS 0,
matnr TYPE /sapapo/matkey-matnr,
matid TYPE /sapapo/matkey-matid,
END OF it_matid.
DATA: BEGIN OF it_locid OCCURS 0,
locno TYPE /sapapo/loc-locno,
locid TYPE /sapapo/loc-locid,
END OF it_locid.
DATA: BEGIN OF it_matlotsz OCCURS 0,
target_dur TYPE /sapapo/matlotsz-target_dur,
END OF it_matlotsz.
DATA: wa_matloc LIKE /sapapo/matloc OCCURS 0 WITH HEADER LINE,
wa_matlsim LIKE /sapapo/matlsim OCCURS 0 WITH HEADER LINE,
wa_matlotsz LIKE /sapapo/matlotsz OCCURS 0 WITH HEADER LINE.
Variáveis Globais
DATA: v_tabix TYPE sy-tabix,
v_vrsioid TYPE /sapapo/apo01-vrsioid,
v_tam TYPE i.
Select-Options & Parameters
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_versao TYPE /sapapo/apo01-vrsioex OBLIGATORY DEFAULT '000',
p_abas AS CHECKBOX ,
p_est AS CHECKBOX ,
p_cober AS CHECKBOX ,
p_estsg AS CHECKBOX. " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
SELECTION-SCREEN END OF BLOCK b1.
Start-of-Selection
START-OF-SELECTION.
PERFORM consiste.
PERFORM f_upload.
PERFORM f_processa_batch.
PERFORM f_saida_dados.
MESSAGE i000 WITH 'Processo encerrado com Sucesso'.
END-OF-SELECTION.
*& Form F_UPLOAD
text
--> p1 text
<-- p2 text
FORM f_upload .
DATA: lc_file TYPE string.
TYPES: BEGIN OF st_ent,
cam(80),
END OF st_ent.
DATA: ti_ent TYPE STANDARD TABLE OF st_ent WITH HEADER LINE
INITIAL SIZE 0.
RANGES: r_file FOR zget0001-field_content.
r_file[] = zbs_constantes=>obter( i_bukrs = space i_field = 'FILE' i_process = 'PONTO-REAB' ).
READ TABLE r_file INDEX 1.
lc_file = r_file-low.
CLEAR: ti_entrada,
ti_entrada[],
ti_ent,
ti_ent[].
abrir arquivo para leitura
OPEN DATASET lc_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE i000 WITH text-e01.
STOP.
ENDIF.
Leitura de arquivos
DO.
READ DATASET lc_file INTO ti_ent.
IF sy-subrc <> 0.
EXIT.
ENDIF.
APPEND ti_ent.
ENDDO.
Fechamento do arquivo
CLOSE DATASET lc_file.
LOOP AT ti_ent.
SPLIT ti_ent AT ';' INTO ti_entrada-matnr ti_entrada-werks ti_entrada-ponto_abas ti_entrada-estoque_max ti_entrada-cobertura ti_entrada-estoque_seg.
APPEND ti_entrada.
ENDLOOP.
ENDFORM. " F_UPLOAD
*& Form F_PROCESSA_BATCH
text
--> p1 text
<-- p2 text
FORM f_processa_batch .
LOOP AT ti_entrada.
v_tabix = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-matnr
IMPORTING
output = ti_entrada-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-ponto_abas
IMPORTING
output = ti_entrada-ponto_abas.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-estoque_max
IMPORTING
output = ti_entrada-estoque_max.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-cobertura
IMPORTING
output = ti_entrada-cobertura.
IA - ERLON LOURENCO - 20/01/2012
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-estoque_seg
IMPORTING
output = ti_entrada-estoque_seg.
FA - ERLON LOURENCO - 20/01/2012
MODIFY ti_entrada INDEX v_tabix.
ENDLOOP.
CLEAR: it_matid,
it_matid[],
it_locid,
it_locid[],
wa_matlsim,
wa_matlsim[],
wa_matloc,
wa_matloc[].
SELECT matnr matid INTO TABLE it_matid FROM /sapapo/matkey
FOR ALL ENTRIES IN ti_entrada WHERE matnr = ti_entrada-matnr.
SELECT locno locid INTO TABLE it_locid FROM /sapapo/loc
FOR ALL ENTRIES IN ti_entrada WHERE locno = ti_entrada-werks.
IF p_versao = '000'.
LOOP AT ti_entrada.
READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
IF sy-subrc = 0 .
READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
IF sy-subrc = 0.
SELECT SINGLE * INTO wa_matloc FROM /sapapo/matloc WHERE matid = it_matid-matid AND
locid = it_locid-locid.
IF sy-subrc = 0.
IF p_abas = 'X'.
wa_matloc-reord = ti_entrada-ponto_abas.
ENDIF.
IF p_est = 'X'.
wa_matloc-maxstock = ti_entrada-estoque_max.
ENDIF.
" IA - Erlon Lourenço - 23/01/2012
if p_estsg = 'X'.
wa_matloc-safty = ti_entrada-estoque_seg. " Erlon Lourenço - 23/01/2012
endif.
"FA - Erlon Lourenço - 23/01/2012
IF p_abas = 'X' OR
p_est = 'X' OR
p_estsg = 'X'. " Erlon Lourenço - 23/01/2012
APPEND wa_matloc TO wa_matloc.
ENDIF.
SELECT SINGLE * INTO wa_matlotsz FROM /sapapo/matlotsz WHERE lszid = wa_matloc-lszid.
IF sy-subrc = 0.
IF p_cober = 'X'.
wa_matlotsz-target_dur = ti_entrada-cobertura.
APPEND wa_matlotsz TO wa_matlotsz.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " LOOP AT ti_entrada.
ELSE.
Verifica versáo para saber se preenche a tabela wa_matlsim
SELECT SINGLE vrsioid INTO v_vrsioid FROM /sapapo/apo01 WHERE vrsioex = p_versao.
IF sy-subrc = 0.
SELECT * INTO TABLE wa_matlsim FROM /sapapo/matlsim WHERE simid = v_vrsioid.
IF wa_matlsim[] IS NOT INITIAL.
LOOP AT ti_entrada.
READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
IF sy-subrc = 0 .
READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
IF sy-subrc = 0.
READ TABLE wa_matlsim WITH KEY matid = wa_matloc-matid
locid = wa_matloc-locid.
IF sy-subrc = 0.
wa_matlsim-reord = ti_entrada-ponto_abas.
wa_matlsim-maxstock = ti_entrada-estoque_max.
wa_matlsim-safty = ti_entrada-estoque_seg. " Erlon Lourenço - 23/01/2012
MODIFY wa_matlsim INDEX v_tabix.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " LOOP AT ti_entrada.
ENDIF. " IF wa_matlsim[] IS NOT INITIAL.
ENDIF. " IF sy-subrc = 0. 1º
ENDIF. "IF p_versao = '000'
Funcáo que atualiza campos nas bases de dados.
CALL FUNCTION '/SAPAPO/DM_PRODUCTS_POST'
EXPORTING
iv_vb = 'U'
TABLES
it_matloc = wa_matloc
it_matlsim = wa_matlsim
it_matlotsz = wa_matlotsz
EXCEPTIONS
not_qualified = 1
insert_failed = 2
update_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_PROCESSA_BATCH
FORM BDC_DYNPRO
*& Form F_SAIDA_DADOS
text
--> p1 text
<-- p2 text
FORM f_saida_dados .
IF ti_saida[] IS NOT INITIAL.
DATA: lc_file TYPE string.
lc_file = p_erros.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = lc_file
FILETYPE = 'ASC'
TABLES
data_tab = ti_saida
FIELDNAMES =
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE i005 WITH 'Error to unload file !'.
STOP.
ENDIF.
ENDIF.
ENDFORM. " F_SAIDA_DADOS
*& Form CONSISTE
text
--> p1 text
<-- p2 text
FORM consiste .
IF p_abas IS INITIAL AND
p_est IS INITIAL AND
p_cober IS INITIAL AND
p_estsg IS INITIAL. " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
MESSAGE i000 WITH text-e03.
STOP.
ENDIF.
IF sy-batch IS INITIAL.
MESSAGE i000 WITH text-e02.
STOP.
ENDIF.
Best regards,
Erlon Lourenço
Edited by: Erlon Louren on Jan 27, 2012 11:09 AMHi Raja,
Check weather there are any enhancements to the datasource.If yes once check the code in CMOD.Seems there is some discrepency in that.
Regards
Karthik -
How can i run a executable right after a rman job has run?
How can i run a executable right after a rman job has run?
I have a rman job that execute every night. The backup is local.
I want to have a duplicate of the backup on another machine.
I want the executable to sync the directory to execute right after the rman backup.
How can i do this using the job scheduler?
Normaly, i would configure rman to run the backup on both location. But im having trouble with rman regarding this:ORA-600 [2103] on RMAN Backup to NFS mounted file systemHi,
If the rman job is in fact a Scheduler jobs (appears in the dba_scheduler_jobs view) then you can create a second event-based job that runs after the rman job (and set the raise_events attribute for the rman job).
Instructions are here
Create Event based job
Hope this helps,
Ravi. -
Problem Running SSIS Package with a SQL Server Agent
SQL Server: SQL Server 2012
VS: Visual Studio 2012
Hello,
I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
Store) instance on my SQL Server and tried to create a job that would run them from there.
At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
The connection manager "TestFile" is an incorrect type. The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2] Description:
Cannot open the datafile "O:\*****\Success.txt"
I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers in this test project one for grabbing the source file and one for
creating the new test file.
I am not sure what to do.
Thanks in advance,
MattI accidently created two posts. The newest one has the details.
I did not mean to.
SQL Server: SQL Server 2012
VS: Visual Studio 2012
Hello,
I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
Store) instance on my SQL Server and tried to create a job that would run them from there.
At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
The connection manager "TestFile" is an incorrect type. The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2] Description:
Cannot open the datafile "O:\*****\Success.txt"
I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers in this test project one for grabbing the source file and one for
creating the new test file.
I am not sure what to do.
Thanks in advance,
Matt -
im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor. I am using windows XP 32 bit, all the other computers in my house downloaded just fine, no problems, however this is the computer my iphone is set up to, ive tried doing a virus scan, windows update, downloading other things, updating everything possible, everything works fine, its just itunes that wont download, anyone have any other ideas?
Yes, I had found a similar solution also. I'm running XP Pro, SP3. I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair. Then run the 10.5 exe.
While the programme updated from version 8 of iTunes, my new iTunes is now a mess. Not all of my music was in the same folder previously but it all showed up on iTunes. Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing. I haven't begun to work on that. -
Problem running BI template installer after upgrade to 2004s
Hello,
After upgrading our Portal from EP6 to EP7 I have a problem running the BI template installer. The failure occures right at the beginning. The installer is looking for SLD related parameters in the 'CTC> Propertysheet SystemProperties'.
But there are only three parameters in the sheet :
HOST, SYSTEM_ID, INSTANCE_ID.
If you instal a new 2004s system you see much more entries in the 'Propertysheet SystemProperties'.
My question is how to add these missing entries into the 'Propertysheet SystemProperties'.
Thanks
BoazHi Kaylan,
Actually there are only two things to manually fix after the CTC template run, which is mentioned in the Blog:
- check/correct the following settings in the NetWeaver Administrator for evaluate_assertion_ticket and ticket according SAP Note 945055
- the entry in table RSPOR_T_PORTAL for Platform and PDF fonts
If you uncertain, you can remove the created objects as stated in the Document http://scn.sap.com/docs/DOC-11607 => Page18 in the Notes Section. the CTC template is creating these objects and entries again.
Best Regards Roland -
Having problem running an application
I have recently installed jdk 1.2.2 and i have no problem running applet but when i try to run an application i get the message 1 error can't find<filename> . java.
The path in autoexec.bat is fine. JRE File is include in my file jdk1.2.2.
I have installed and deinstalled it a couple of time and can't make it work.
Could someone help me please!!
Thanking you in advance!doesn't sound like a path problem at all. you say when you try to RUN the app you get a message can't find filename.java. When you're running the app you run the binary class file i.e. java MainClass.class. If you're compiling the app you would do javac MainClass.java. Clarify your situation further if this does not help you out.
-
Problem running Lex in project created with Forte C++
I am having a problem running Lex in project using Forte C++ 6. I believe I may have an installation problem, but can't figure out where it is.
I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
Which causes the following error message lex: illegal option -- o
I checked the man pages and Lex doesn't have a -o option.
Is there another version of Lex installed by Forte C++ that is different than Lex from Solaris?
RonI created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
Which causes the following error message lex: illegal option -- o
I checked the man pages and Lex doesn't have a -o option.
Yes, try in google.com
Wishes , a [url http://personallfiles.com/Grant.Scholarship.asp]federal grant and scholarship-in need for me
Maybe you are looking for
-
Urgent. Issue with converted .mov files to avi not working in Premiere.
I am trying to import video files that I have converted from .mov to .avi through OjoSoft Total Video Converter and anytime I try to put a file into the work area, the video goes to Video 1, and Audio goes to Audio 4. When I try to play it I get no
-
Apache Tomcat goes down on starting Java application, Oracle error
Hello all I am running a Java application on Apache Tomcat 5.5. I use Oracle 10g Express Edition as the back-end for my application. I deploy my application using theTomcat manager and it works fine. However, when I try to access the home page of the
-
Regenerating a target group automatically
Hello all, I am facing the following problem: I want to set a target group that will be automatically regenerated on a daily basis. I build a profile in the segment builder and counted the BP's who are in it, then I builed a target group in the back
-
Is 3T drive compatible with 2008 mac pro?
The documentation that came with the system states that up to 4 2T drives can be installed. I don't think anyone was putting out 3T drives for end-use consumers at that time. Can one of the newer, larger 3T drives be used in this system?
-
I have an emac OS X 10.4.11. How can I tell if I have iMovies and a firewall? Thanks.