Process a File by WS_EXECUTE in background
Hi Experts,
I have one .EXE file which capture data from Non-SAP system and place it into one text (.txt) file.
Now I am executing that file by WS_EXECUTE FM like this way;
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
DOCUMENT = ' '
CD = ' '
COMMANDLINE =
INFORM = ' '
PROGRAM = 'C:\fetch.exe'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF =
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
So Is it possible to Execute this file in background ???
Regards & Thanks,
Nishit.
If the file is on the presentation server i dont think there is any way to exeute it in the background. If you place it in the application server or through FTP, you may try using SXPG_COMMAND_EXECUTE
Vikranth
Similar Messages
-
How do I set photoshop to process raw files in background all the time?
Sometimes when I process my raw files in photoshop it will process them in the background. Other times it will make me wait while the files process until I can access photoshop again. Anyone know why this happens or how I can consistently process raw files in the background? Up to CS5 I think it was an option somewhere but I can not find it now.
Hi eusib43, <br /> Sorry you are having problems.
The redirection blocking feature is really intended to help users that need to use screenreaders and such; rather than being any sort of effective security measure; but some users set that unnecessarily.
* Try '''Firefox Button (or Tools) → Options → |Advanced| → <u>Accessibility</u> →<br /> [] Warn me when Websites try to redirect or reload the page ''' <br />(Wording and exact menu options may differ somewhat)
* See [[Advanced settings for accessibility, browsing, system defaults, network, updates, and encryption#w_accessibility]]'''_accessibility'''
* Does unsetting that solve your problem ? -
How to download file into flat file on SQ01 in background process
Hi Experts,
I have already made a query and I would like to run it in background every night. is it posible for SAP R/3 to save the results after the background process into file format automatically?
Kind Regards,
M.Hi Rao,
What i know is that there isn't a standard way to download hierarchies, because each one of them works in a different way (different tables). What you can do is to write an abap program to download the hierarchy into a text file with the required format to upload it to BW.
Regards,
Diego -
Generation of MMON process trace files in large file size (GB Size)
Hi,
I have created a database using the dbca in windows platform. Few days I found that, in the BDUMP directory the MMON process trace files are getting generated. The files starts to generate in MB size and will increase upto GB size. I know that the back ground process trace files cannot be disabled. So now iam force to manually delete these files from the bdump directory.plz help me to resolve this issue.
I have checked and verified the SGA size, Shared Pool size and other memory areas.
The statistics level in Typical also.
But still the files are generated.
PLease Helppp.....
Shiyashi
As per your instruction i have checked the Alert log file. I have pasted a part of errors that found in the alert log file.
Mon Jun 07 09:30:58 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_652.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:31:02 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_652.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:36:00 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_652.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:36:08 2010
Restarting dead background process MMON
MMON started with pid=11, OS id=656
Mon Jun 07 09:36:11 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:36:15 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:41:12 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:41:16 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:46:13 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:46:17 2010
Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
Mon Jun 07 09:50:18 2010
Shutting down instance: further logons disabled
Mon Jun 07 09:50:19 2010
Stopping background process QMNC
Mon Jun 07 09:50:19 2010
Stopping background process CJQ0
Mon Jun 07 09:50:20 2010
Stopping background process MMNL
Mon Jun 07 09:50:21 2010
Stopping background process MMON
Mon Jun 07 09:50:22 2010
Shutting down instance (immediate)
License high water mark = 4
Mon Jun 07 09:50:22 2010
Stopping Job queue slave processes, flags = 7
Mon Jun 07 09:50:22 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Mon Jun 07 09:50:23 2010
alter database close normal
Mon Jun 07 09:50:23 2010
SMON: disabling tx recovery
SMON: disabling cache recovery
Mon Jun 07 09:50:23 2010
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thread 1 closed at log sequence 71
Successful close of redo thread 1
Mon Jun 07 09:50:23 2010
Completed: alter database close normal
Mon Jun 07 09:50:23 2010
alter database dismount
Completed: alter database dismount
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
But I am not able to understand anything above of this.
And I am sorry we dont have the metalink support or srs support.
Is there any other way to resolve this issue.
Shiyas -
Process Multiple Files, PDF failing
I am trying to use the option to process multiple files in PSE 9. I select the source folder, destination folder, and no matter what I select as a converting option I get the error.
"There were no source files that could be opened by photoshop elements"
Despite the fact that PSE successfully opens each of these PDF files in the background, it just doesn't do any processing and displays the error. So now if I go back under the process multiple files menu, and select Process Open files, and click OK, it will now convert each of the files that PSE left open during the previous failed attempt.
In this particular test case I am trying to convert 10 1 Page PDF files to PNG format, but again the destination format selected does not matter as it fails no matter what. This seems like an obvious case of some sort of bug based on the fact that PSE is successfully opening and converting each file, it just won't do it when the folder is selected as the source.
Any advice or suggestions would be appreciated, as we are currently running a trial of 9.0 to verify it can do everything we need it to do around the office. We are currently running PSE 2.0 so needless to say we are looking forward to running software thats just slightly newer if we can get some problems worked out.Did you ever figure this out?
I have 100 single PDF files that I would like to convert to JPG. There are online tools like zamzar.com to do this but there are limits on number of files, or if combined on the size.
I have Adobe Photoshop Elements PSE 11 and using the batch processing "Process multiple files" option I can select that "from" directory, it thinks awhile, opens them all in Adobe Photoshop with the same error you indicated above: "There were no source files that could be opened by photoshop elements". It does not make sense because as you say, I can then simply "Save As" and convert into jpg format. Opening a PDF file without multi support works just fine, as well. The tool does what I need, just doens't work in the batch mode.
Thanks! -
Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "
Please helpWait a second, Photoshop can make lattes now? Personally I prefer my coffee black, but man have I been under-utilizing this program.
-
Batch processing saves files in wrong folder.
I ran into a problem the other day, and I believe an item should be added to the Process Multiple Files window, or perhaps it's a bug that should be squashed.
I have a folder with many subfolders in it, all full of jpegs. I wanted to use the Process Multiple Files function to convert the jpegs into png files and have the png files placed into the same folder as the jpeg it originated from.
I have the Destination set to Same as Source, but instead of placing the files into the subfolders, all the images go directly into the parent folder. It was much more time-consuming to try to sort them out than to start over and process each folder individually. I should be able to leave the computer unattended and have the files saved into the proper folders; Instead I had to stay close so I could change the Source folder every few minutes.
I see no reason why there isn't an option to place the converted files into their original folder. Isn't that what the Same as Source setting is supposed to do?Sure, if you owned all of those files and were doing it strictly for yourself you could certainly write a plugin to Acrobat (in C/C++) that could do some/all of the things you asked for.
-
Why can't I update my iPhone 4 to iOS 5.1? Every time I try it gets all the way done downloading it; however when it's processing the file the page tells me "There is a problem downloading the software for the iPhone. Network connection timed out. Make sure your network settings are correct and your network connection is active. or try again later." and next to the file it has err = -3259. I have tried this 17 times and it won't work. My iTunes is completely up to date. I have made sure that my connection is fine and I have tried turning my firewall off with no avail. This has happened to me before but usually the update will go through after 2-3 tries, never to this extent. I don't know what to do. Help!
Error -3259 is a network timeout error, usually. This article might help:
http://support.apple.com/kb/TS2799 -
OSSNOTES for releasing process orders with missing parts in background
Hi All,
The bapi 'BAPI_PROCORD_RELEASE' is not releasing the process orders
with missing parts in background.
Is there any OSSNotes for releasing these process orders in backgound through this bapi.
Pls help.
Thanks .Hi Suri - Thanks for your response. I tried both with blank(individual and collective) and 2 (collective req. only) but I still get the same result. I found one other setting that can solve this issue and that is checking the activate full confirmation logic at the the MRP group level in OPPR. I will test more and let you know if that works but we dont use MRP groups here at our client and that is why I was little hesistant to set up collective availability check parameters at the MRP group level. But looks like this is the only option that we can use to get this resolved.
Thanks,
Bharath -
PL/SQL procedure to process XML file
I am just starting to work on xml, and we are using PL/SQL stored procedures to process xml file. I did find the sample code in the package (family.sql). This sample print out all element names and attributes. My questions are :
(1) I tried to modify the code to print out the element values (or Node values). Here is the code:
-- get all elements and values
nl := xmlparser.getElementsByTagName(doc, '*');
len := xmlparser.getLength(nl);
-- loop through elements
for i in 0..len-1 loop
n := xmlparser.item(nl, i);
dbms_output.put_line('NodeName: ' | | xmlparser.getNodeName(n) | | ' ');
dbms_output.put_line('NodeValue: ' | | xmlparser.getNodeValue(n) | | ' ');
end loop;
However, it did not print out the values, although it did print out the name. what's wrong with it? how can I get the value?
(2) I have the following xml file:
<?xml version="1.0"?>
<profile>
<id>1</id>
<name>Company</name>
<des>master profile</desc>
<subprofile>
<subid>1</subid>
<subname>group1</subname>
<subdesc>group profile</subdesc>
</subprofile>
</profile>
now, I'd like to print out all the children of the <subprofile> node, that is <subid>, <subname> and <subdesc>. Here is my code:
-- get subprofile nodelist
qnlist := xmlparser.getElementsByTagName(doc, 'subprofile');
-- get length of the nodelist
len := xmlparser.getLength(qnlist);
-- loop through elements
for i in 0..len-1 loop
qnode := xmlparser.item(qnlist, i);
qnnode := xmlparser.getFirstChild(qnode);
qnchild := xmlparser.getFirstChild(qnnode);
dbms_output.put_line(xmlparser.getNodeName(qnnode));
dbms_output.put_line(xmlparser.getNodeValue(qnchild));
LOOP
if (xmlparser.isNULL(xmlparser.getNextSibling(qnnode))) then exit;
END IF;
qnnode := xmlparser.getNextSibling(qnnode);
qnchild := xmlparser.getFirstChild(qnnode);
dbms_output.put_line(xmlparser.getNodeName(qnnode));
dbms_output.put_line(xmlparser.getNodeValue(qnchild));
END LOOP;
end loop;
when I execute the procedure, I get the following output:
#text
I am not sure what's wrong with it. Basically, I didn't know the procedure to traverse the tree since here it's a little different from OO programming. Could someone give a sample code which demonstrate the procedure which can get a specific element's name and values? (for my exapmle, the name and value of the <subname>, or <subid>, <subdesc>).
Also, is there a way to insert a part of xml file into a DB table? in my case, insert the subprofile into a table. I know the xmlgen package has a procedure to insert a xml file into a table, but not a part of xml. And can I insert a xml file into several tables instead of one table, using xmlgen package?
looking forward to hearing from you. any suggestion and sample code would be helpful. thank you very much.
nullI sloved my first question: to get the Nodevalue, I need to use getFirstChild(n);
But, I still didn't figure out the second
problem. Actually, It works when I modified my xml file as following:
<?xml version="1.0"?>
<profile>
<id>1</id>
<name>Company</name>
<des>master profile</desc>
<subprofile><subid>1</subid><subname>group1</subname><subdesc>groupprofile</subdesc></subprofile>
</profile>
All the <subprofile>....</subprofile> must be in one line without any return. This is unbelievable! It suppose that xml does not matter new lines. I tested my code, it seems space is fine, but new line. Something must be wrong in my code.
please give any suggestion. Thanks,
Yudong
null -
How do I process multiple files and turn them from raw to jpeg
How do I process multiple files and turn them from raw to jpeg. Ive tried and it seems to go through the files but doesnt seem to process them or store them in the selected folder
Yes that was the first thing I did. Then I used the process multiple files and selected a new folder to put them in and selected use open files and selected to turn them into jpeg. The images flash on the screen like they are being processed, but the folder never appears in library. Is it possible because there are a couple 16 bit files open that this corrupts the task. Do I need to create the folder first. Will elements not create the folder on its own.
Thanks Vince -
Can't process multiple files on one of three catalogs
After getting straightened out about getting my catalogs in order, which I've done, I've run into another problem. I have three catalogs one for People, one for Things and one I call Workplace where I try out things that are new to me so I don't mess up my main catalogs.
I've straightened out the files in my Things catalog. I have one catagory that contains images of autograph book pages from the late 1800s. Those scans were done in JPEG some time ago. I've tried using multiple processing to change these 55 images to psd in the original file to be consistent with the rest of the catalog. Each time the process fails.
In order to see what the problem might be I have copied the catagory file into both of my other catalogs and have been able to process the catagory file back into itself as psd. I have also created another small file in the Things catalog and tried to convert it and had the same result. The warning info box that appears when copying back into the same file states that the original files will be overwritten. The psd files do not overwrite the jpg files. They are added to the original file. That may be the way it is intended to be. That's not a real problem.
The real question is why can't I process multiple files in the original catalog. I have looked at the error file and, although I don't know much about most of it, I found the following in the first part of the file.
crash exception="EXCEPTION_ACCESS_VIOLATION"
I run XP SP3 and PSE 8. I am a single user with administrator rights. I find no mention of a permission filter in the PSE 8 program.
I'm stuck until I solve this problem and I need help getting it done. Any suggestions or information will be greatly appreciated.
Message was edited by: MinocqOne thing to try : instead of using 'process multiple files', can you use the 'export' feature in the Organizer to export the jpegs of that category in psd format into a new folder ?
-
How to process pdf file in clower ETL
Hi,
I want process pdf document in clower ETL dataintegartor. I have created sample project and created ETL garph universal data reader, data i have imported pdf file, while openning the metta data information it's show encoding data format and invalid delimiter and while running error in the console
Please assist me how to process pdf file with unstructured data format.
I am getting below the error,
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node DATA_READER0 finished with status: ERROR caused by: Parsing error: Unexpected record delimiter, probably record has too few fields. in field # 1 of record # 2, value: '<Raw record data is not available, please turn on verbose mode.>'
ERROR [WatchDog] - Node DATA_READER0 error details:
org.jetel.exception.BadDataFormatException: Parsing error: Unexpected record delimiter, probably record has too few fields. in field # 1 of record # 2, value: '<Raw record data is not available, please turn on verbose mode.>'
at org.jetel.data.parser.DataParser.parsingErrorFound(DataParser.java:527)
at org.jetel.data.parser.DataParser.parseNext(DataParser.java:437)
at org.jetel.data.parser.DataParser.getNext(DataParser.java:168)
at org.jetel.util.MultiFileReader.getNext(MultiFileReader.java:415)
at org.jetel.component.DataReader.execute(DataReader.java:261)
at org.jetel.graph.Node.run(Node.java:425)
at java.lang.Thread.run(Thread.java:619)
please can any one help me.
Thanks
Rajini C
Edited by: 954486 on Sep 19, 2012 11:19 PMThere is a separate forum for the BI/Information Discovery application of Endeca software: Endeca Information Discovery You should post your message there.
Thanks.
Sean -
Processing one file at a time in Biztalk
We are changing the way we're processing files in that where we used to receive hundreds of small files throughout the day, we are now going to have these files batched into larger files that get dropped to our incoming Biztalk directory. I'm concerned about
having the server pick up multiple large files at one time. Is there a way to tell a Biztalk application to only process one file at a time, and not to pick up the next file until the previous one has finished? Note, I do not have a way to build this into
the Orchestration, as this is a Biztalk application that is actually installed by our Trizetto(QNXT) product. It uses Biztalk for XML serialization.
Thanks.I wouldn't worry about the size of the messages unless they are approaching 1GB. BizTalk can process roughly 400 msgs/sec. Also if you're worried about processing multiple large files try load balancing. With BizTalk it is quite "easy" to load
balance. In a nut shell you have to have the dll of the application installed on all the servers you want to be apart of load balancing and BizTalk takes care of the rest. Your large files would more than likely split up and processed on different servers.
http://msdn.microsoft.com/en-us/library/aa578057(v=bts.80).aspx
The link above is for high availability but could also be used to get a better understanding of load balancing. Also if you use de-batching to split up the 3000-4000 records that would help with processing them. If an orchestration receives a file with 4000
records in them that instance alone processes the whole file. Whereas if you split up the messages each message gets it's own instance of the orchestration which leads to better performance. The only drawback is that it takes more resources so your environment
needs to be fairly large. Also if one server is busy another server with the same dll can take the de-batched messages and process them.
Here is a link to my blog post about de-batching. It is very basic but gives a good base for de-batching.
http://camartin.azurewebsites.net/post/BizTalk-Debatching -
PI FTP: Process 1 file at a time until it is successfully processed at the target system
Dear Experts,
As the title said, I'm required to process 1 file at a time and only process the next file after the previous file has been successfully processed at the target system. The interface scenario is asynchronous FTP to ABAP proxy.
It is similar with the following link:
File adapter to pick a single file
I think there could be 2 feasible solutions:
1. Configure EOIO at the sender CC. According to this link:
Queues for Asynchronous Message Processing (SAP Library - SAP NetWeaver Exchange Infrastructure)
It is stated that "Once the message has been processed successfully in the target system, the Integration Engine executes an implicit database commit."
In the case of asynchronous FTP to ABAP proxy, will the PI wait for the ABAP proxy to finish processing the file before sending the next one?
2. Configure locking at the ABAP program in ECC. I could ask the ABAPer to create a locking mechanism to lock the document before it is posted to BAPI. If the reference document is being locked, it will try again for the next second up to a certain times before it gives up.
Which 1 is actually fits the requirement?
Thank you,
Suwandi C.Dear Experts,
Sorry, just 1 more question which I'm curious.
In NFS adapter we have the option to set the processing sequence to by Name / Date.
In FTP will it only by Date?
According to this link:
https://help.sap.com/saphelp_nw73/helpdata/en/f9/17888f490846a9972628525cc28aac/content.htm
"Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system"
If it is in the same sequence sent by the sender, I guess it is in the Date order for FTP. Is that correct?
Thank you,
Suwandi C.
Maybe you are looking for
-
Error in Runtime workbench.
Hi Experts, In the runtime workbench i have seen a error, the message direction is inbound. The error details are : Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.r
-
Plugin events not getting triggered
Hello, APEX version 4.1.0.00.32 and 4.2.3.00.08 Browser: latest version of Chrome browser I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not get
-
Display approval substitutes in approval preview
Hi, we have the following scenarion in SRM 4.0: 1. Approver A assigns Approver B as an active substitute Approver A assigns Approver C as a passive substitute 2. Requsitioner creates a Shopping Cart where Approver A is the approver. 3. Requsitioner e
-
I changed my apple I'd and now can't access my account.
I changed my apple ID to a new email address two days ago and now I am unable to log into my account. I have followed all of the pathways through the appleid website to try to reset my password and to find my account but haven't had any success with
-
WRT54GS, WRE54G & Comcast Troubles
Howdy, folks. Here's the set up: Charter Communications Modem > WRT54GS -> WRE54G -> Me The signals between the points are good, as I've used NetStumbler to verify signal strengths. The problem is that sometimes the modem will drop out and reset its