External command not working.
Hi,
I have written a batch program which copies files from SAP Application Server(4.6B) to external machine in LAN. This machine is mapped on SAP App Server. The contents of this file are:-
@ECHO OFF
FOR /f "delims=" %%a in ('date /t') do set DATE=%%a
SET CUR-DATE=%DATE:~4,10%
XCOPY H:\source
ust-ght3dxp0097\fullc /D:%CUR-DATE%
XCOPY H:\source Z:\ /D:%CUR-DATE%
where ust-ght3dxp0097 is the external machine and Z is the mapped drive on SAP App server.
Now this batch file works fine when executed from commandline. I want to execute this from my ABAP program.
Hence I created an external command from SM69 as follows:
Operating system command
C:\CopyFilesCreatedToday.bat
This batch file is place in C drive of SAP Application Server.
When I try to execute this external command from SM49 it gives the following error.
Invalid Drive Specification
0 files copied
Invalid Drive Specification
0 files copied
Can somebody help me with this error.
> Hi Peter,
>
> The critical point maybe is this:
>
> "Operating system command
> C:\CopyFilesCreatedToday.bat"
>
> Dont't use the local drive C:! Use a network-drive
> instead.
>
> BR
> Michael
Hi Michael,
Are you family of Jack Bauer? Just kidding sorry for the inconvenience
Stephan
Similar Messages
-
In Photoshop CC 2014 Alt + Ctrl + C ( to open for canvas size dialog box ) command not working, it is opening Internet Explorer (IE)
What version of windows are you using?
See if the Internet Explorer shortcut has that keyboard shortcut assigned to it. -
Bash commands not working after upgrade to Lion
After upgrade, many BASH commands not working. For example, such a fundamental thing as "ls".
iMac20:bin a$ ls
Launch of "ls" failed: the PowerPC architecture is no longer supported.
What does it have to do with PowerPC? My computer is 2.66 GHz Inter Core DuoLinc,
iMac20:~ a$ which ls
/sw/bin/ls
Also, I managed to look (using tcsh's ls-F command) into the contents of /usr/. Here's what I see there:
[iMac20:/bin] a% ls-F
[* csh* echo* ksh* mkdir* rcp* stty* wait4path*
bash* date* ed* launchctl* mv* rm* sync* zsh*
cat* dd* expr* link* pax* rmdir* tcsh*
chmod* df* hostname* ln* ps* sh* test*
cp* domainname* kill* ls* pwd* sleep* unlink* -
My macbook pro external speaker not working! help please
My macbook pro external speaker not working! help please
1. Applications > Utilities > Audio MIDI Setup
Audio Devices window
Pllug in the speakers.
Do they show up?
Make sure that Mute is not enabled.
2. Reset SMC. http://support.apple.com/kb/HT3964
Choose the method for:
"Resetting SMC on portables with a battery you should not remove on your own".
Best. -
Why is my BDC_CURSOR command not working to position the cursor?
Why is my BDC_CURSOR command not working to position the cursor? Here are the details regarding my issue.
I am writing a BDC to mass delete routing material assignments using transaction CA02. I am OK to navigate through the initial screen to go to the Header screen and from here I am OK to navigate to the Material Assignments screen. But once here, I cannot get the BDC_CURSOR command to take me into the list. Here are the commands I am using. Please let me know what I may try differently.
CA02 Material Assignment - Set position <-- this resets list of materials to correct position
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RC27X-ENTRY_ACT'.
PERFORM bdc_field USING 'BDC_OKCODE' '=ENT1'.
PERFORM bdc_field USING 'RC27X-ENTRY_ACT' c_position.
CA02 Material Assignment - Delete
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR' 'MAPL-MATNR(01)'. <-- this is not working to set the cursor into the list
PERFORM bdc_field USING 'BDC_OKCODE' '=LOE'. " trash can
PERFORM bdc_field USING 'RC27X-ENTRY_ACT' c_position.
CA02 Material Assignment - Green Check OK
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RC27X-ENTRY_ACT'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'. " check mark
PERFORM bdc_field USING 'RC27X-ENTRY_ACT' c_position.Thank you for your reply.
I had used SM35 to record. However, I was not aware of the "create program" feature. I had commented out a section from my previous post which I have now added back (latest code below). But it still did not resolve the issue.
When I execute with dismode = 'N', I get back error message "No batch input data for screen SAPLCZDI 1010".
When I execute with dismode = 'E' (only show dynpros when error), it stops at the material selection screen without placing my cursor in the list. I can then MANUALLY click to set the cursor position in the list, MANUALLY click the trashcan, it then uses my BDC command to respond to the popup asking "Do you want to delete", still leaving me at the material selection screen. I can then MANUALLY click the green check (or enter), then it continues with the BDC to go back to the previous screen, and saves. But it still will not place my cursor in the material selection list (SAPLCZDI screen 1010).
Here is code used. It is the second section of code labeled "CA02 Material Assignment - Delete" that is not working.
CA02 Material Assignment - Set position
this code functions to position the desired material to first in screen list
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC27X-ENTRY_ACT'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENT1'.
PERFORM bdc_field USING 'RC27X-ENTRY_ACT'
c_position.
CA02 Material Assignment - Delete
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MAPL-MATNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=LOE'. " trash can
PERFORM bdc_field USING 'RC27X-ENTRY_ACT'
c_position.
Acknowledge Pop-Up Screen
PERFORM bdc_dynpro USING 'SAPLSPO1' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
CA02 Material Assignment - Green Check OK
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC27X-ENTRY_ACT'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BACK'. " check mark
PERFORM bdc_field USING 'RC27X-ENTRY_ACT'
c_position. -
Odi os command not working with agentservice agent.
dear all,
odi os command not working with agentservice agent but with local agent it work fine.. and user is administrator.
kindly solve it
Regards
NaseerHi,
you referred to oscommand, so are you executing a .bat fille? if yes, where exactly does the .bat file reside, local machine or on network share?
Also, follow these couple of documents, they may be helpful to you.
859215.1 and 424703.1
Regards
Srikanth -
Crontab reboot command not working
Crontab reboot command not working
Greetings
I am new at this so excuse any ignorant mistakes I might be making.
I have a server (MM X.4.9) that I would like to restart every day in order to make sure no programmes are hanging etc. If a program is hanging is should force quit it. Using terminal I have entered the following command:
sudo nano /etc/crontab
Entered password
Than I entered using tab between each sequence:
15 13 1 1 * root reboot
This was a test run and it did not reboot.
Entering
cat /etc/crontab
I got:
# The periodic and atrun jobs have moved to launchd jobs
# See /System/Library/LaunchDaemons
# minute hour mday month wday who command
15 13 1 1 * root reboot
What have I done wrong?
ThanksHehe, there you are experimenting with a "reboot" cron command and you are surprised it quit so fast. You are not going to find a "graceful" solution to shutdown dialogs.
MSWord is a Java app, so it is especially important for the command to work that it doesn't get hung up on outer layers of the system. Especially stupid apps that use Java which is not well integrated. I believe Word has a 5 minute autosave, so you should be able to recover most of your document.
This reboot command should be running around 2AM, when the average webserver has minimum traffic. If you feel the need to reboot during busier times of the day, I'd suggest you look at what's causing your applications to crash. -
Illustrator Short Commands Not Working
Hi Team,
My illustrator CS6 short commands have stopped working.
Any time I try to use any CMD + Key, illustrator will not react.
This has been on going for a few months, I have tried resetting preferences but nothing has changed.
If someone could please help.
Thanks,
BrandonHi Jacob,
I have tried resetting preferences and few other options.
Anytime I press the CMD key the option at the bottom just changes from selection to direct selection, if that helps.
Should I uninstall and reinstall illustrator?
I no longer have my access key.
Thanks,
Brandon
Date: Wed, 8 Jan 2014 15:39:58 -0800
From: [email protected]
To: [email protected]
Subject: Illustrator Short Commands Not Working
Re: Illustrator Short Commands Not Working
created by Jacob Bugge in Illustrator - View the full discussion
THS,
You may try the following (you have tried/done some of them already) and see whether it helps (the following is a general list of things you may try when the issue is not in a specific file; 3) and 4) are specifically aimed at possibly corrupt preferences):
1) Close down Illy and open again;
2) Restart the computer (you may do that up to 3 times);
3) Close down Illy and press CtrlAltShift/CmdOptionShift during startup (easy but irreversible);
4) Move the folder Other options (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5994475#5994475
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5994475#5994475
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5994475#5994475. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Illustrator at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Why does default keyboard shortcut for show/hide baseline grid (opt+command+') not work?
Here's where you need to change the settings: System Preferences > Keyboard > Keyboard Shortcuts:
-
External library not working in xcode 4.5
I developed an application in Xcode 4.5and added an external library in to the application, while compling the app i am getiing the below error.
ld: library not found for -lgsgdg
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Anyone please helpTake a look at the following thread on MacRumors:
-ll linker flag not working
Make sure the library you're linking is part of the Link Binary with Libraries build phase. If you still get a link error, add a search path for your library to the Library Search Paths build setting. -
Network backup to external HD not working well
So I've got a Macbook and an iMac. I have a 500GB external firewire hard drive permanently plugged into the iMac and always on. The iMac has no problems backing up.
However, the laptop has problems. I can set it up and it starts working just fine. The external drive is shared, the laptop can go and find the share, and all starts off well. However, it can't keep backing up. The laptop will "lose" the mount to the desktop -- and then complain 2 weeks later that it can't backup. If I manually go remount the shared drive, then it works fine. Shouldn't Time Machine auto reconnect?
Also, the sparsebundle file that is created on the remote disk is not mountable by the iMac (a "no mountable file systems" error). The file has it's size listed as "8KB", which is a total lie, but I think there's some permissions problem inside that sparsebundle.
Any ideas? The second one is a minor problem (probably has to do with the fact that I don't have the same users on the desktop and laptop), the first with the "haha, your backup hasn't worked for the last 2 weeks!" problem is more worrying.To clarify, I launched iPhoto holding COMMAND, not control. Thanks.
Yes, but the instructions say to hold the option (or alt) key
Hold down the *option (or alt) key* while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
Regards
TD -
External Task not working from job
Hi,
I am trying to call a batch file which copied fdr files from one folder to another and runs sarmanalyzer to generate csv files in the edq landing area.
The batch file is working fine when called from command prompt or double clicked in the edq server, but does not work as expected when called from project or job.
I generated a log file which confirms that the log file is being executed by the job to the last line, but the file copying and sarmanalyzer commands simply do not work.
Any pointers are greatly appreciated.
Thanks,
SidHi Nick,
Thanks for help!
My bat file runs without any errors from external tasks in EDQ.
The account has full control on all the shared folders i am using.
My script:
set ss_temp_dir=D:\Datanomic\dnDirector\config\landingarea\EDQ_Notification
echo s1 > log.txt
set srm_analyzer_path=\\<appsrvr4>\d$\sba81\siebsrvr\BIN
echo s2 >>log.txt
COPY /Y \\<appsrvr1>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
COPY /Y \\<appsrvr2>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
COPY /Y \\<appsrvr3>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
:: The above copy is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
echo s3 >>log.txt
:: log s1-s2-s3 created in commandarea.
setLocal DisableDelayedExpansion
pushd \\<sharedloc>\siebfile\FDR\
setLocal EnableDelayedExpansion
echo s4 >>log.txt
for /f "tokens=* delims= " %%G in ('dir/b/od T*.fdr') do (set newest=%%G)
echo s5 >>log.txt
copy %newest% %ss_temp_dir%
echo s6 >>log.txt
:: log s4-s5-s6 created in \\<sharedloc>\siebfile\FDR\
pushd %ss_temp_dir%
echo s7 >>log.txt
for %%F in (%ss_temp_dir%\*.fdr) do (
::set outfile=%ss_temp_dir%\%%~nF.csv &&
%srm_analyzer_path%\sarmanalyzer.exe -o %ss_temp_dir%\Snapshot_Working_CSV.csv -x -f %%F
:: The above saqrm_analyzer is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
echo s8 >>log.txt
MOVE /Y %ss_temp_dir%\*.fdr %ss_temp_dir%\BU\
echo s9 >>log.txt
:: The above move is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
::Log s7-s8-s9 created in %ss_temp_dir%
Thanks,
Sid -
Perl command not working throgh database.
Hello,
I am using perl command to convert unix format to dos format.
I have written perl command in shell script and call shell script though database.
Suddenly perl command is not working though database call.
I can convert file using perl command through command promt.
What could be the issue?user10540254 wrote:
What could be the issue?Environment. When making that o/s call to run the perl script from inside Oracle, an external o/s process is created. This process executes the perl script. This process needs a valid environment (e.g PATH variable and others) in order to find the Perl run-time system, the required commands and libraries and so on.
If the process does not have a valid environment, it will fail. You can test that manually by logging on to the server, and running the command unset PATH before executing the Perl script.
One approach to this, is not to call something like the perl script directly. Instead create a shell wrapper script. In this script set a valid environment and then have it execute the perl script with the required command line parameters. Typically a shell script can always be executed (despite minimal environment settings), as long as you fully qualify the location (path) of the script. -
SAP* and DDIC locked and SQL commands not working
Dear All,
We work on ECC6 and SQL 2005 as database.Somehow our SAP* and DDIC user gets locked in production server client 240 and SID AEP
I tried the following things but none worked.Every time getting error.
1. First i tried to run the following command in SQLPLUS mode
in th command prompt i typed sqlplus / nolog(then enter)
I got the following error sqlplus is not recognized as an internal or external command,operable program or batch file.
2 Then i thought may be we work on SQL database we may already be in the SQLprompt.Still when i typed conn / as sysdba,same error
conn is not recognized as an internal or external command,operable program or batch file.
3.Then i again go to the command prompt and typed
delete* from sap<AEP>.usr02, where BNAME = ' sap* ' and MANDT = ' 240 '
This time I get the system cannot find the file specified
Anyone can please clear my following doubt.
1. Am I requiredto go in SQLPLUS mode even when we have SQL Database.
2. How to unlock this SAP* and other super users.Cause yesterday somebody must have tried to login to sap*,ddic,and sapbasis and in the process locked all by entering the wrong password.
PS: Other users are working as we have role based authorization
Help will be highly obliged
Regards,
AshutoshHello, ive got a problem with the SAPDB abd SAP* and DDIC in Client 000
in our PROD 000 client we forgot the password for SAP* , DDIC and cannot delete it.
Now the account was locked. please help how to reset SAP * this account on SAPDB.
Its DB Versio 7.7! I read a lot about that! Please, step by step, is that a problem of interface sqlcli, or rights?
Please could somebody give me an feedback about sqlcli, could i delete it with this tool the user? Because SQL studio is damaged on that server. Failed installation,Will not work! could not remove!
I have to configure the server! sorry, i am not so much familar with SAPDB
in old releases the shema is SAPR3 the new (NW 7) is SAPSR3.
Checked 701!
please set login/no_automatic_user_sapstar to 0.= Done!
At sql propmt: Thats no SAPDB sqxli command, right!!!!
select * from sapsr3.usr02 where bname='sap*' and mandt='000';
Thats doesnt work!
When i logon with the superdba , the connect is fine!
After the command execute
D:\sapdb>sqlcli -U DEFAULT delete from sapsr3DB.usr02 where bname='sap*' and mandt ='000';
-10757: XUSER error (the USERKEY is unknown)
select * from sapsr3.usr02 where bname='sap*' and mandt='000'; Doesnt work!
What the hell is the error??? Doesnt find the answer, before, i get the same error then the other colleagues
unknown table USR02! Is this superdba? Rights of DBA??
please give an step by step advice. Logon with..... before ... choose sqlci..............sqlcli, \? + sql execute......
Kind regards
Ralph -
IPhone 6 External Mic not working for Siri/Dictation
I am finding that the external mic on my iPhone 6 works for phone calls and voice memos, but does not work for Siri/Dictation. When I plug in the earbuds, they work for everything (including Siri/Dictation).
Was chatting to Apple support who had me reset all settings. I thought that worked, but realized that after a reset, Siri is off and I was talking to "Voice control" (which works). When I turned Siri back on, it does not work.
I have two questions for the community to see if you can help:
1- I have been assuming this must be a software problem since the mic does work for non-Siri access. But is that true? Is there a hardware component that Siri depends on which could be faulty here?
2- If it is software, what action should I try to address it? I have done a reset all settings already and that did not help.
DougHi, everyone. I talked to Apple Genius at Apple Store last week, she said it should be a software issue and I needed to reset my iphone 6 plus as a new device and I can not use the backup restore from my iCloud, it was because the microphone bug or glitch can be in the backup also. Ok, followed her advice, erased all contents and set my iphone as a new device , the microphone worked for an hour, but went bad again. I used "voice memo" app from Apple to test the microphone. It is the best tool since it doesn't involve any provider's network and it doesn't need another person's phone to listen and test. If you can hear your voice recording clearly, then the mic works. I tested it 3-4 times a day for a few days now, half of the time the mic doesn't work. So, set as a new device isn't working. The issue is intermittent and it comes and goes as it likes, so very annoying. I carry my Apple EarPods with me in these past few days ust in case I need to make important phone calls. Will need to go back to Apple Genius this weekend for sure. Will give update after the weekend.
Maybe you are looking for
-
Can't say I like the new iCal running on Lion. One feature that I can't seem to find is the mini month view. I did away with my paper calendar for viewing full months because of the mini month calendars on my Macs. Is that functionality gone? I've se
-
Why can you not fix your mistake???
I am so upset and disappointed with Verizon customer service right now!!!! I had an email about upgrading my son's device early for free to the iphone 5c 32gb. I tried to apply it online on Saturday, 8/23/14, around 9/10am. It would not work online a
-
Hi guy, i am having OS X Mavericks and Photoshop CC (last update), and when i click on Black and Whit, photoshop crash and i get this log: Process: Adobe Photoshop CC [343] Path: /Applications/Adobe Photoshop CC/Adobe Photoshop CC.
-
I got an email this morning from apple saying my bumper has been shipped. Has this happened to anybody else and do you know how long apple's regular shipping is?
-
Problem in Recording(SHDB) for Txn: FBRA
Hi, I am facing a problem in the Transaction - FBRA while doing a Recording through SHDB. I am not getting a sub-screen with Title : Reversal of clearing document, which has got 3 buttons : 1) Only Resetting 2) Resetting and Revers 3) Cancel. This sc