Run in batch mode and ping directory
Hi all,
i run the program in the backgroung mode.
i have two parameters.one input file path name, second one output file name
(where can i stored).
i given input file path name like this: h:\list.txt
and output file path : h:\jjj.txt.
and then press F9.here pupup windoe is comeing (background job parameter) i click write tick button .the here i got popup and massage is like this "format set X_65_80".then i press enter.again popup is came start time,i click the immediate button and save it.then bachground job is schduled.
then again i go to SM37. there i given prog name and execute.status is canceled.
i click job log button its show the error.that error message :"error opening the server file. please help me how to solve the problem.
i write code like this
AT SELECTION-SCREEN.
*.. Check if program run in batch mode and ping directory
IF sy-batch = 'X'.
*.. Move filename to file_name
file_name = p_infile.
*.. Check if path can be reached
OPEN DATASET file_name FOR INPUT IN TEXT MODE.
IF sy-subrc NE 0.
MESSAGE e082(zsomerfield).
ENDIF.
ENDIF.
*.. Batch check
it urgetnt.
Regards.
kris.
Krishna,
You have to check 2 things
1.whether you have autorization for that directory
2.Check the file path currectly.Go to tcode AL11 try to copy the path and paste
here.
Pl.e reward if useful...
Similar Messages
-
RE: Reporting after many forte tasks run in batch mode?
Actually, if you're looking for MAKEAPPDISTRIB (I assume that's how you
create distributable) you can see if the command was succesfull or not.
<<deployrep.js>> This Jscript will look for this string and it will
generate a report based on the next line in the log file.
The script assumes you have an environment variable (DESCARTES_ROOT) that
points to a folder (let's say "D:\TEST"). Under that folder you have a log
folder ("d:\test\log") which holds the deploy.log log file. You can easily
change the script to reflect your systems settings.
The generated report looks like that : <<deployrep.txt>>
Norocel Popa
Forte SysEng
(519)746-8110 x 2292
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, March 16, 1999 11:58 AM
To: Forte-Users (Adresse de messagerie)
Subject: Reporting after many forte tasks run in batch mode ?
Hi,
I would like to know if overnight builds went okay, and therefore need to
parse the log(s).
The issue is that I don't have a proper string to look for (i.e. for
grep).
If I consider 'ERROR", then the following message won't be understandable.
There might a way to cheat with the indentation (i.e. the lines with only
two first blank chars)..
Has anyone experimented such a need ?
J-Paul Gabrielli
DTS
SYSTEM ERROR: Service object MySuperApplicationServer.MySuperMgrSO has
not been partitioned. Therefore, you cannot move it to an existing
partition.
Class: qqsp_UsageException
Error #: [1602, 606]
Detected at: qqcf_StandardConfig::MoveServiceObject at 3
Error Time: Tue Mar 16 17:39:26
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1,
taskId =
[B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1.1]) in application
"fscript", pid 22713 on node rambo in environment SuperEnv.Hi,
To trap error message from Forte log, I usually do this
egrep '(EXCEPTION|Exception|exception|ERROR|Error|error)' filename
This takes a regular expression to 'egrep' all occurrences of "exception" or
"error" not matter they are in upper case or lower case.
Hope this help.
Regards,
Peter Sham.
-----Original Message-----
From: [email protected] [SMTP:[email protected]]
Sent: Wednesday, March 17, 1999 12:58 AM
To: Forte-Users (Adresse de messagerie)
Subject: Reporting after many forte tasks run in
batch mode ?
Hi,
I would like to know if overnight builds went okay, and
therefore need to parse the log(s).
The issue is that I don't have a proper string to look for
(i.e. for grep).
If I consider 'ERROR", then the following message won't be
understandable.
There might a way to cheat with the indentation (i.e. the
lines with only two first blank chars)..
Has anyone experimented such a need ?
J-Paul Gabrielli
DTS
SYSTEM ERROR: Service object
MySuperApplicationServer.MySuperMgrSO has
not been partitioned. Therefore, you cannot move it to an
existing partition.
Class: qqsp_UsageException
Error #: [1602, 606]
Detected at: qqcf_StandardConfig::MoveServiceObject at 3
Error Time: Tue Mar 16 17:39:26
Exception occurred (locally) on partition
"Fscript_cl9_Client",
(partitionId =
B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1, taskId =
[B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1.1]) in
application
"fscript", pid 22713 on node rambo in environment
SuperEnv.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Reporting after many forte tasks run in batch mode ?
Hi,
To trap error message from Forte log, I usually do this
egrep '(EXCEPTION|Exception|exception|ERROR|Error|error)' filename
This takes a regular expression to 'egrep' all occurrences of "exception" or
"error" not matter they are in upper case or lower case.
Hope this help.
Regards,
Peter Sham.
-----Original Message-----
From: [email protected] [SMTP:[email protected]]
Sent: Wednesday, March 17, 1999 12:58 AM
To: Forte-Users (Adresse de messagerie)
Subject: Reporting after many forte tasks run in
batch mode ?
Hi,
I would like to know if overnight builds went okay, and
therefore need to parse the log(s).
The issue is that I don't have a proper string to look for
(i.e. for grep).
If I consider 'ERROR", then the following message won't be
understandable.
There might a way to cheat with the indentation (i.e. the
lines with only two first blank chars)..
Has anyone experimented such a need ?
J-Paul Gabrielli
DTS
SYSTEM ERROR: Service object
MySuperApplicationServer.MySuperMgrSO has
not been partitioned. Therefore, you cannot move it to an
existing partition.
Class: qqsp_UsageException
Error #: [1602, 606]
Detected at: qqcf_StandardConfig::MoveServiceObject at 3
Error Time: Tue Mar 16 17:39:26
Exception occurred (locally) on partition
"Fscript_cl9_Client",
(partitionId =
B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1, taskId =
[B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1.1]) in
application
"fscript", pid 22713 on node rambo in environment
SuperEnv.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
HR_INFOTYPE_OPERATION - Running in Batch Mode
I have an ABAP which reads data from a flat file into an internal table and then loops through this internal table and updates HR Infotype 15 records via the HR_INFOTYPE_OPERATION function. In my program I give the user the option of running it in a "Test/no comitt" mode so they can verify the data in their data file and then they can run it in an "Update/Commit" mode.
The program itself works great as long as I run it on-line. I catch any errors and report them back to the user before the run it in "Update" mode. This way if their is a problem with any of the data in the data file then they are made aware of this. HOWEVER, if I run this same program in Batch mode it abends if their are any problems at all with any of the records in the data file (ie., employee doesn't exist or whatever). The program just stops and does not give any error message and just indicates that is has Finished by it really hasn't. I can't find anything in OSS notes around this. The program runs fine in Batch as long as the data file is clean and o.k.
Has anyone else had this problem or have any ideas?Hi Janice
For what its worth, I know its already too late for a reply to this problem, but documenting it so others can see.
We had a number of issues updating infotypes 14 & 15 using HR_INFOTYPE_OPERATION. It works great for 14 but works sporadically when used in conjunction with a BDC logic. Function does not work that well for IT15 together with BDC. The key here is that the BDC logic was used in conjunction to calling the function. We had such a requirement.
Anyway, I debugged the standard code, found some internal buffer clearing modules and used them as well, but that didn't work either. Finally we ended up using just the BDC, without the FM for lack of time and that is working great.
I wanted to put this for the benefit of others who use it. Depending on how you use it, this FM does have some strange problems such as - not returning any error when it failed, performance problems with huge data loads etc.
Thanks,
Anand -
Trapping errors when running in batch mode
I use windows scheduler to run several reports in batch mode. Is there a way to continue after an error and capture a error code. I ocasionally get Fetch out of sequence errors which have to be cleared from the screen manually. I need this to automaticly close and return an error code so the report can be re run without user intervention.
Is there a command line switch or registry setting to switch error mesage boxes of.
Regards
AlanDbritt26
This is an old story which may have a solution if your program is Premiere Elements 13.
If your program is version 13, then delete or rename the OldFilm.AEX file from OldFilm.AEX to OldFilm.AEXOLD.
That file is found
Local Disk C
Program Files
Adobe
Adobe Premiere Elements 13
Plug-Ins
Common
NewBlue
and in the NewBlue Folder is the OldFilm.AEX file.
Please let us know the outcome.
Thanks.
ATR -
.sql scripts running in batch mode
Hi all. Is there any way to run .sql scripts in a batch mode where the job would be time scheduled and run automatically when the specified time arrived? I am using Oracle 10.
Thank you for any assistance.
Robert SmithHi Dimitri. A coworker of mine uses dbms scheduler and he has submitted batch jobs. However, I would like to be able to spool to a file, then send the file as an attachment in email. My friend says that the "spool" command will not work when you are inside of pl / sql. He writes to a file using a cursor and loop but he hasn't been able to send the file as an attachment in an email yet. Maybe there is something we don't know about the dbms scheduler yet.
Robert Smith -
Help! When I connect my iphone or ipod touch to my computer, windows recognizes my device but itunes will not. I can still see my songs, videos, and access the itunes store but my phone and itunes store have no connection so it does me no good. I have for 2 days now tried every trouble shooting method posted with no luck. I think I may have finally found a lead. My Apple Mobile Device USB Driver is showing up under portable mobile devices while it is supposed to be showing up under universal serial Bus controllers from my understanding? Also, while running my diagnostic report under itunes it also says itunes is not running in safe mode, it is not showing enabled in windows firewall (which it is checked), and the HDCP is not supported. I don't know what to do? I am in tears here, someone please help!!!
See Here for Device not recognised:
http://support.apple.com/kb/TS1538
Here for General Support:
http://www.apple.com/support/
This may also be helpful:
AMDS for Windows
http://support.apple.com/kb/TS1567 -
MDT Application - Running a batch file and copy file locally without absolute path??
I have an application defined in MDT along with its respective files. One of these files is an install and needs to be run locally. How do I copy this file locally then have it run? I've used a fair amount of batch scripts so I opted for that, but every
batch script I get (even empty ones or one with just an exit) returns code 1. If I enter in cmd /c directly in the command line with the commands separated by && it would not work either.
I DO not want to hardcode any IP into this which is why this is so hard. Is there no way to do this easily without a full \\IPADDY\Share?You could make a self extracting EXE with WinZip, and then do something like.. (You would create an application with source files to do this, with the below code being your 'install.bat')
@echo off
xcopy "AppFiles.exe" %WINDIR%\Temp
%WINDIR%\Temp\AppFiles.exe
%WINDIR%\Temp\AppFiles\Install.exe
RMDIR /S /Q %WINDIR%\Temp\AppFiles
If you monitor the install and your satisfied its working correctly, you can modify the success return codes under the 'Option' tab, or just check the box 'Continue on Error' to keep the build rolling after this install is complete. Additionally, you
may find this works better as VBS script. -
Export data to Excel through a ABAP program run in batch mode
Dear Experts,
The requirement is that a ABAP report should run through background job, which will do the followiing :
1) Collect data from predifined CRM tables ( Activity , Order for example ).
2) Create a Excel file in a Application Server ( physical file server location ) location.
3) Push the data collected in the step 1 to the Excel file.
I have found 2 function modules which does the export to Excel after creating the Excel file. They are :
a) XXL_FULL_API
b) MS_EXCEL_OLE_STANDARD_DAT
But it seems that the ABAP report needs to run in the foreground ( correct me if i am wrong ) in order to create the Excel file.
Please can anyone suggest a possible ABAP code to achieve OR how to use these FMs in background mode ?
The excel creation needs to be automated and send to a administrator email id every day, so the need of exporting the data in background mode arises.
Thanks and regards,
Sudiptahi,
In SM36, you can create a job(give your report prog name)..
call the fun. module by storing all the values into final int. table it_data.
but u need to open one excel file in your desktop...
v_file = 'C:\file.xls'. " path should be like this...
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = v_file
filetype = 'xls'
has_field_separator = 'X'
HEADER_LENGTH = 0
read_by_line = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = it_data
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
regards
vijay -
First I am pissed that I had to make an account to report a bug.
Where should I send a copy of this e-mail so you can fix this bug that prevents spam from being marked as spam.Sorry, I forgot to mention, I went through all of my address books, and this e-mail address was not in any of them.
-
Hi guys,
I keep getting crashes and was wondering if you guys could help me find out whats upsure I have 6GB of Ram, I ran a pass of memtest last week when this started but they came up fine.
I have now diasabled Adblock
Application Basics
Name: Firefox
Version: 29.0
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Crash Reports for the Last 3 Days
Report ID: bp-87c29191-6e52-4bf8-8b79-e2c032140504
Submitted: 2 minutes ago
Report ID: bp-1ff55e0b-b29e-44d2-81dc-e1ffe2140504
Submitted: 10 hours ago
Report ID: bp-274e0e24-1b66-4483-a70c-8056e2140503
Submitted: 12 hours ago
Report ID: bp-dc0090f4-a511-433f-a5de-ae6642140503
Submitted: 19 hours ago
Report ID: bp-2a2680b3-0d57-4ef5-a7a5-876f72140503
Submitted: 24 hours ago
Report ID: bp-791b6da6-6dca-4fd6-ab45-89a5e2140503
Submitted: 1 day ago
Report ID: bp-84ee48f6-cb17-4a6c-9ec4-3c31a2140502
Submitted: 2 days ago
Report ID: bp-ad6efd6a-f435-45b6-85d1-8bf772140502
Submitted: 2 days ago
Report ID: bp-48f34297-63df-4266-a43e-52d752140502
Submitted: 2 days ago
Report ID: bp-5b72e728-5fdf-48cb-a353-44d0f2140501
Submitted: 2 days ago
Report ID: bp-b672dcec-5691-4210-95c5-a60e52140501
Submitted: 3 days ago
Report ID: bp-eb527069-9036-4c77-a58c-3a4822140501
Submitted: 3 days ago
Report ID: bp-6cb78757-062f-45d8-a844-e269d2140501
Submitted: 3 days ago
All Crash Reports
Extensions
Name: Greasemonkey
Version: 1.15
Enabled: true
ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781}
Name: HTTPS-Everywhere
Version: 3.5.1
Enabled: true
ID: [email protected]
Name: Reddit Enhancement Suite
Version: 4.3.2.1
Enabled: true
ID: jid1-xUfzOsOFlzSOXg@jetpack
Name: Troubleshooter
Version: 1.1a
Enabled: true
ID: [email protected]
Name: Adblock Plus
Version: 2.6
Enabled: false
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Important Modified Preferences
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.places.smartBookmarksVersion: 6
browser.sessionstore.upgradeBackup.latestBuildID: 20140421221237
browser.startup.homepage_override.buildID: 20140421221237
browser.startup.homepage_override.mstone: 29.0
dom.mozApps.used: true
extensions.lastAppVersion: 29.0
gfx.direct3d.last_used_feature_level_idx: 0
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1399142774
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1399057422
Graphics
Adapter Description: NVIDIA GeForce GTX 760
Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Adapter RAM: 2048
Device ID: 0x1187
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.16571)
Driver Date: 3-4-2014
Driver Version: 9.18.13.3523
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 10
Vendor ID: 0x10de
WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 760 Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
JavaScript
Incremental GC: true
Accessibility
Activated: false
Prevent Accessibility: 0
Library Versions
NSPR
Expected minimum version: 4.10.3
Version in use: 4.10.3
NSS
Expected minimum version: 3.16 Basic ECC
Version in use: 3.16 Basic ECC
NSSSMIME
Expected minimum version: 3.16 Basic ECC
Version in use: 3.16 Basic ECC
NSSSSL
Expected minimum version: 3.16 Basic ECC
Version in use: 3.16 Basic ECC
NSSUTIL
Expected minimum version: 3.16
Version in use: 3.16 -
Firefox will not open (have tried "run in safe mode" and other alternatives)
firefox unexpectedly closed; i tried to reopen- no luck; rebooted computer and "add-ons" opened but firefox did no! now firefox trys to open for about 10 sec and then quits trying. i have no messages/promts or any kind of other indication that there is aproblem (other than the browser won't open). i am using google chrome to post this request. thanks in advance for any suggestions! bill crimmins
See http://kb.mozillazine.org/Browser_will_not_start_up
Did you check your security software (firewall)?
A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls -
Is there a soulution to where i can keep this one?
Try:
- iOS: Not responding or does not turn on
- If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
It is very likely that you will have to restore the iPod. -
Running Reports 6 files in Batch mode in Portal 3.0
Hai,
I want to run reports 6 files from webdb. I want to give input parameter values to the reports and then shedul them to run in batch mode. I would be grateful if u explain me the steps in detail.
Thanks,
Mathan
nullMathan,
Actually the Reports forum may be able to help you a little more than this forum can at this point.
Sue -
To run a program in batch mode
I have to creaet a program to run in batch mode to update anln1 and anln2.
selection screen : company and cost center.
I have to read z table
update anln1 and anln2 ( from table anla )
Can anybody help me how to write a program in batch mode and update....Hi,
Write the entries logic with the condidtion like below.
after selecting the required data,
if sy-batch = 'X'.
Now update the required table.
endif.
Even you can put the select statement also after if condition.
now go to SM36 and define the Job with Program name or any other name.
Under Job condition select the execution mode/time of your program.
As you have mentioned the sy-batch condition , your program will work only for Back ground mode.
Hope it helps you.
Kind Regards,
Ravi Sankar.Z
Maybe you are looking for
-
Top N query giving error for oracle 8.0.6
Dear All, We are executing this query SELECT XBLNR, WERKS, MATNR, MDV01, BACKFLQUANT, STATUS, SAPTIMESTAMP, PITSTIMESTAMP, PMTIMESTAMP, BATCH FROM (SELECT XBLNR, WERKS, MATNR, MDV01, BACKFLQUANT, STATUS, SAPTIMESTAMP, PITSTIMESTAMP, PMTIMESTAMP, BATC
-
In less than 2 weeks, my macbook 10.6.8 had a panic attack. Shortly before it happened 2 weeks ago, I got this call from someone saying he was from Apple and he got a report that something was wrong with my computer. Since I hadn't called any one I t
-
Using the network load balancing from the nodes itself
I have installed a 2 node Sun Cluster 3.2, configured a shared ip resource and attached to it a scalable network aware resource working on the two nodes. I have crashed the process on one of the node in such a way that the cluster could not restart i
-
How to set my own password generationg logic, during reset password
hi, I am working with IDM 7. The requirement is that, when reset passwrod is selected, IDM generates a random password for the user selected. I want to keep my onw password generaton logic to be applied. Where i need to change to keep my own logic? I
-
HT5594 I am unable to change the location on iPad , how to change
Hi I am unable to reset my location on my iPad. As it's showing Bangalore