Can't we use GUI_UPLOAD and scshedule in background
Hi,
I have a program which uploads a comma delimted text file and updates custom table.
.It works fine in when I run online but when I schedule it background it fails.
I used GUI_UPLOAD to upload the text file.
FORM file_upload.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file
* FILETYPE = 'ASC
* has_field_separator = ',' <-- Comment this
* HEADER_LENGTH = 1
* READ_BY_LINE = 'X'
* IMPORTING
* FILELENGTH =
* HEADER = 'X'
TABLES
data_tab = i_datatab
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.
LOOP AT i_datatab INTO x_datatab .
IF sy-tabix GT '1'.
SPLIT x_datatab-line AT ',' INTO wa_tab-zdate
wa_tab-empid wa_tab-lname wa_tab-fname wa_tab-cycle wa_tab-branch
wa_tab-job wa_tab-phase wa_tab-pdept wa_tab-ptype wa_tab-zhour .
APPEND wa_tab TO i_tab.
ENDIF.
ENDLOOP.
fm GUI_UPLOAD will not work in background
you need to use
lv_filename = <input file path> " app server path
open dataset lv_filename for input in text mode encoding default.
if sy-subrc = 0.
do.
read dataset lv_filename into gs_input-wa_string.
if sy-subrc eq 0.
append gs_input to gt_input.
else.
exit.
endif.
enddo.
close dataset lv_filename.
endif.
a®
Similar Messages
-
Why can't I use iMessage and Facetime on my iPhone4(iso5.1.1)?
Why can't I use iMessage and Facetime on my iPhone4(iso5.1.1)?
in settings where you have them turned on, does it say waiting for activation ?
-
Can anybody recommend any useful performance and tuning books.
I should probably limit my search to 11g or higher.
I am starting to prep for the 12c perf and tuning beta I have scheduled on March 21st.
Thanks RogerHi,
I will review your review.
I do see this Oracle 12c book at Amazon written over a year ago.
Its not a certificaiton book.
I also did take the course at Oracle for 11g performance and tuning.
Amazon book:
Oracle Database 12c Performance Tuning Recipes: A Problem solving approach.
Thanks Roger -
Can I still use CS3 and what is the cost to update or get another licence?
Hello, I still have DW CS3, however I have not used it for awhile now. My questions are below.
Is it still usable? and or how outdated is CS3?
What is the cost to upgrade to the current version and where is the best place to purchase if I should decide to?
I currently have it installed on 2 machines. How do I uninstall it on one of the machines to be able to install it on a 3rd machine?
Thank you in advance for any help with these questions...very much appreciated.1. It's usable but very outdated by modern HTML5 and CSS3 standards.
2. There is no upgrade option, it's too old. You can purchase CS6 which is now 5 versions back from the current Creative Cloud version (CC 2014.1.1). CS6 is no longer receiving updates either so for the most part it's an "as is," legacy software. Or you can join the Creative Cloud and get the very latest DW for approx $20/month.
3. No matter which product version you have, a single license allows you to have DW installed on only 2 machines at one time. However, you can use only one at a time. If you want to install on a 3rd machine you must deactivate one of your others or purchase another product license. But CS3 is no longer offered or supported by Adobe. It's too old.
Nancy O. -
How can i HALF_ROUND_UP using DecimalFormat and NumberFormat
hi
currently what i did is
public static String formatNumber(double value){
NumberFormat formatter = new DecimalFormat("#.00");
return formatter.format(value);
}1. 12.344 ==> 12.34
2. 12.346 ==> 12.35
3. 12.345 ==> 12.34
But what i want for case number 3 is 12.345 ==> 12.35
Because in oracle 12.345 it will always round up
How do i do that using DecimalFormat and NumberFormat??
ThanksAs long as you're using Java 6, you can specify the rounding using
setRoundingMode(RoundingMode roundingMode)
Sets the RoundingMode used in this DecimalFormat.For the available modes - including "round half up" - see the Java 6 RoundingMode enum API. -
Can CRM_DATAEXCHG_BADI be used inbound and outbound?
Hello gurus, I have implemented a middleware solution that replicates fields from CRM to R/3 using CRM_DATAEXCHG_BADI and that seems to work well.
Currently however I am struggling a bit trying to replicate data from R/3 to CRM and I was wondering if it is possible to use CRM_DATAEXCHG_BADI both in the inbound and in the outbound direction?
The alternative which I am currently working on involving CRM0_200 on the R/3 side and SMOUTIL3 on the CRM side is not really working the way I had hoped for.
Best regards,
AndersHi Anders,
As per the BADI documentation it has been mentioned its possible. Please refer to CRM_DATAEXCHG_BADI documentation where it has been illustrated with an example.
Regards,
Karthik. -
Why can't i use wifi and bluetooth at the same time?
I recently bought a Philips docking speaker that has bluetooth connectivity for streaming music wirelessly from my Ipod Touch. The bluetooth/speaker works great, but, my Touch won't allow me to be online AND use the bluetooth at the same time. This is really annoying when you want to listen to music and check your emails. Am I doing something wrong?? Any help would be gratefully received.
I can use by BT headphones while my iPod is connected to the internet via wifi with no problems. I am uncertain how the Philips' system works. Does it have its own BT transmitter/receiver or doe it use the iPods to stream to its speaker?
-
G510 can't simultaneously use keys and touchpad
Whenever I use the ke'yboard, the mouse freezes. This may not seem like much of a problem, but that means whenever I play a game that uses the mouse to move the screen, I can't move at the same time. I've looked through the settings and tried different changes, but nothing seems to work.. Help?
hi Laura_G,
Have you tried checking the touchpad hardware setting?
This feature is like a palmcheck feature. Where it like mutes the touchpad when a keyboard input is detected to prevent accidental touchpad movements or clicks.
Try checking Palm check
http://forums.lenovo.com/t5/IdeaPad-Y-U-V-Z-and-P-series/Z500-Touch-Elan-TouchPad-Can-t-Disable-Palm...
Hope this helps
Cheers!
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Can't share using facebook and youtube.
hi guys, i'm having a problem with my nokia n900 i can't share anything via facebook/youtube using the built in sharing service, on facebook, it says just after the upload starts 'upload failed unable to continu ' and on youtube it shows the green sharing icon for a minute that its gone !
any help ??
Reality is wrong....dreams are for real... 2pac .
don't forget to hit that green kudosproblems-problems-problems .
now even after reflashing its still the same issue, and i noticed something, i don't think its new because its the fist time i try it, if i want to add a new ovi account in my sharing accounts, when validating, the app 'settings' closes with a message ' internal error application settings closed' same thing if i want to use a pixlepipe account, this thing happens when i click 'excicting account'.
please please help, this sharing thing is very essentiel for me and i need .
any good help is kudossed .
HELP .
Reality is wrong....dreams are for real... 2pac .
don't forget to hit that green kudos -
Hi I have an air and Ipad can I split use work and games
I have a new air, my kids comandeered my IPAD Can I install work apps on one and apps and games on the IPAD tht the kids use
The obvious answer is yes. The question is, why are you asking?
If you use the same Apple ID on both devices and it is your own personal Apple ID, you will want to make sure that you turn off automatic downloads on both devices, since I would assume that you don't want the kids games, apps, books and music on your work iPad and they will not want your work apps on "their" iPad.
I believe that there is more to this than what you revealed, so providing more details would be helpful in giving you the best answer for what you want to do. -
Can a PC use itunes and itunes?.....
I"d like to know if a PC can use some of the iLife programs such as
iPhoto and iTunes. And can the whole iLife program also be used by
a PC?There is a windows version of iTunes. But none of the other iLife apps will run on Windows Or any other OS..
Regards
TD -
Can my ipad use wifi and bluetooth at the same time?
Hi
I can stream radio via wifi radio apps and play through earphones. I can connect to my bluetooth speaker and play music stored on my ipad ok.
When I connect up to my bluetooth speaker and try to stream the radio app it plays for a couple of seconds then stops for 20 seconds then plays for 2 seconds and carries on start, stop, start (I guess it's buffering or something?).
Is it not possible to listen to a radio app and stream it to a bluetooth speaker at the same time?
Any suggestions welcomeThanks for confirming it should work man.
A quick check of the talktalk forum and it's my talktalk D-link 2780 router. It's a known problem.
It all works ok on next doors router so Off to PC World for a decent router.
Thanks again. -
So I have used Mozilla for a long time with no problems. All of a sudden I cannot access certain games on facebook. All else works. First uninstalled and reinstalled. Then ran malware program. Still nothing and the games work off IE and Google Chrome. I really like Firefox and would like to be able to go back to it
So I have used Mozilla for a long time with no problems. All of a sudden I cannot access certain games on facebook. All else works. First uninstalled and reinstalled. Then ran malware program. Still nothing and the games work off IE and Google Chrome. I really like Firefox and would like to be able to go back to it
-
In the zynga game farmville...you click on quest and ask for them and in IE and Chrome you can copy and paste to "groups" of friends while in the game. With Firefox it will not let you while playing the game. You have to leave the game and do the copy & paste to the group and then go back into the game.
Please fix this. I don't understand why this can not be done with FirefoxCheck here
*http://kb.mozillazine.org/Clipboard_not_working
Hello,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
To Reset Firefox do the following:
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox" button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us!
Thank you. -
Why can't I use 'Control and Arrow' to zoom with Leopard?
Hi guys,
I've lost the ability to quick track zoom since installing Leopard. When I press Control and one of the four vertical or horizontal arrows, the Spaces icon shows and shoves my Logic out of the way.
I hope that there's some way to disable this function so it will enable me to use my beloved Zoom again.
Please help!!!3-D is very memory intensive.
System requirements | Photoshop
Mac OS
Multicore Intel processor with 64-bit support
Mac OS X v10.7, v10.8, or v10.9
2 GB of RAM (8 GB recommended)
3.2 GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
1024x768 display (1280x800 recommended) with 16-bit color and 512 MB of VRAM (1 GB recommended)**
OpenGL 2.0–capable system
Internet connection and registration are necessary for required software activation, membership validation, and access to online services.*
** 3D features are disabled and some Mercury Graphics Engine enhanced features may not work with less than 512 MB VRAM. Read the Help article.
Bottom line, you don't have enough VRAM
Nancy O.
Maybe you are looking for
-
My old mac was requested to upgrade Firefox to 14.0.1. After the sucessfully installation, I received a message saying my old Mac couldn't use the new Firefox and Safari crashes. I have NO browser now! Any help would be appreciated.
-
I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?
-
i am trying to figure this out so i can start downloading music to my ipod from my computer please help
-
Unresponsive iMac 27" i3 had to be unplugged it before I could reboot. What's up?
My iMac 27" i3 wouldn't wake from sleep this morning and wouldn't boot with the power button until I unplugged it and replugged it. What gives? This has never happened before. Should I be worried?
-
Convert 7.0 VI to 6.1
Hi all, as altenbach suggested (thanks a lot altenbach) I managed to save from 7.1 to 7.0 - the problem is I am missing 7.0!!! can someone please convert the attached VI to 6.1! thanks Dimitris Attachments: IP measurement - Folder.zip 355 KB