Using GUI_UPLOAD 3 times in a program. Is this possible?

Hi. I am trying to upload 3 different files at the same time in a single program. But when the program process the 2nd file, I got a program dump. Isn't it possible to upload multiple files at the same time? If possible, how will I do this.
Thanks.

Hi,
here a short example. It works without any problems:
TABLES: MARA.
DATA: DATEI_PC TYPE STRING VALUE 'C:\MATNR.TXT'.
TYPES: BEGIN OF IMARA,
         MATNR LIKE MARA-MATNR,
         MTART LIKE MARA-MATNR,
       END OF IMARA.
DATA: ITAB    TYPE TABLE OF IMARA WITH HEADER LINE.
DATA: ITAB_U0 TYPE TABLE OF IMARA WITH HEADER LINE.
DATA: ITAB_U1 TYPE TABLE OF IMARA WITH HEADER LINE.
DATA: ITAB_U2 TYPE TABLE OF IMARA WITH HEADER LINE.
START-OF-SELECTION.
  SELECT MATNR MTART INTO TABLE ITAB FROM MARA UP TO 100 ROWS.
  CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
    EXPORTING
      FILENAME                = DATEI_PC
      FILETYPE                = 'ASC'
    CHANGING
      DATA_TAB                = ITAB[].
  CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
      FILENAME                = DATEI_PC
      FILETYPE                = 'ASC'
    CHANGING
      DATA_TAB                = ITAB_U0[].
  WRITE: / 'UPLOAD0:'.
  LOOP AT ITAB_U0. WRITE: / ITAB_U0. ENDLOOP.
  CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
      FILENAME                = DATEI_PC
      FILETYPE                = 'ASC'
    CHANGING
      DATA_TAB                = ITAB_U1[].
  WRITE: / 'UPLOAD1:'.
  LOOP AT ITAB_U0. WRITE: / ITAB_U0. ENDLOOP.
  CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
      FILENAME                = DATEI_PC
      FILETYPE                = 'ASC'
    CHANGING
      DATA_TAB                = ITAB_U2[].
  WRITE: / 'UPLOAD2:'.
  LOOP AT ITAB_U0. WRITE: / ITAB_U0. ENDLOOP.
Regards, Dieter

Similar Messages

  • Can the iPhone have settings profiles?  I want the settings of what apps are using the "call home" automatically set based on my location or the time of day.  Is this possible?

    Can the iPhone have settings profiles?  I want the settings of what apps are using the "call home" automatically set based on my location or the time of day.  Is this possible?  Of course the GPS location feature will need to be on in order for this to work.  But the idea here would be to optimize battery life by disabling the 'call home' requests of apps.  The settings profile should also support downloads as I would like to download and allow it when I am on WiFi but not so much when I am using my cellular data.

    No, this is not possible as the sandboxed nature of iOS would not allow any app to modify another app like that. Such a feature would have to be enabled by Apple as a part of iOS itself. You can submit feedback to Apple about the idea if you wish to.
    https://www.apple.com/feedback/

  • I am considering buying Acrobat 11 Prio on a monthly subscription but I would like to use it on more than one machine is this possible?

    I am considering buying Acrobat 11 Prio on a monthly subscription but I would like to use it on more than one machine is this possible?

    You are allowed to have two working installations so if you want to have it on two machines you can.  If you want it on more than that then you need to manage which ones are working at any given time such that only two are usable.

  • "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?

    I don't know what's wrong with my Mac Mozilla Firefox, version 3.6.8, but today, it started alerting me about an error message on the "Error Console". In every website I visit, it tells me: "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?
    I saw a pop-up which did not allow me to click it when I scatter the windows on my Mac. I was using Private Browsing, with pop-ups disabled, but one pop-up managed to get passed my settings, and open in another window. It would not allow me to select it, so all I did was to close Firefox, and start a new session. So far, everything has been normal, I also deleted the cookies it installed.
    But, I still keep seeing that "Error Console" notice under my "Tools" on the Menu Bar, and when I clicked on it, it listed errors (such as what I listed above).
    Would someone explain this to me?
    Thanks for your help!

    The messages you see in the Error Console are mostly to assist the web site's author in resolving compatibility problems. Some of them can assist you in determining why a web site doesn't work as intended. The one you mentioned doesn't sound that suspicious, except that it occurs on many sites. Perhaps one of your add-ons is trying to monitor what you type?
    To diagnose whether this is caused by an add-on or one of your settings, you could try the following:
    First, make a backup of your computer for safekeeping. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
    Does that resolve the errors? If so, then an add-on usually is the culprit. If not, try creating a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    If the new profile works correctly, you can choose between further research on your old profile or moving key settings like bookmarks from your old profile to the new one. [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • Using green screen ( but just on isight) is this possible

    Can anybody direct me to a tutorial on exactly how to place a greenscreen background into the isight capture.
    I am using imovie 09 to create a video however i captured the isight footage using screenflow. Now i would like to use the isight footage however wanted to place a nice background image in the frame so it looks more pro than just the background of the recording area. Is this possible.
    I attempted to export from screen flow and import into imovie however it exports the whole enchilada screencast and isight as an exported .mov.
    Regards M

    Welcome to Discussions, whoismarktaylor
    Until you get better suggestions:
    whoismarktaylor wrote:
    Can anybody direct me to a tutorial on exactly how to place a greenscreen background into the isight capture.
    (1) Position "greenscreen" (something like this: http://tinyurl.com/29w2lp4 )
    (2) Position subject in front of "greenscreen"
    (3) Record with iSight
    I am using imovie 09 to create a video however i captured the isight footage using screenflow. ...
    Seems simpler to me to follow iMovie Help to record and superimpose directly in iMovie:
      http://docs.info.apple.com/article.html?path=iMovie/9.0/en/mov39f84285.html
      http://docs.info.apple.com/article.html?path=iMovie/9.0/en/mov3a622974.html
    Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.5); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.5)
    LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1

  • Feature Request: I want Firefox 4 to remember search history, but not form data, without having to use a third-party plug-in. Is this possible now and I am just not seeing it?

    I don't like having Firefox (or any browser for that matter) remembering any form history, as I do not see this as secure data storage (IT security/network engineer). Currently the only way to disable this is to also disable search history, which is a useful tool to have, and I am not worried about the security of that data (I don't search for sensitive data). I would like to see these two options under the Privacy->Custom Settings Preference to be separated so that people can more finely control what of their data is stored.
    Is this possible without the use of third-party plugins?

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • I have a iPhone, and iPad. I just got a iPod. I want to create a new account for the iPod and use the same credit card information. Is this possible?

    I have an iPhone, and IPad. I just got a iPod. I want to create a new apple ID for the iPod so I can access face time and messages separately. However can I use the same credit card account?

    Just do it. You can use the same credit card for multiple accounts.

  • Email application using dreamweaver MX and ASP...Is this possible?

    Hello
    I would like to create a web application that would allow
    users to create and send emails a bit like Outlook but a bespoke
    version.
    There are a few things that this email application should do
    such as:
    1) Allow you to enter name, address, email address and job
    category for each contact.
    2) filter email list based on that above criteria eg. list
    all the contacts that have a job category of Manager. One contact
    may have one or more job category so the list would need to remove
    any duplicates.
    3) The email should get sent to everyone on the filtered list
    so it would need to be able to send to multiple email addresses
    4) The user should be able to send attachments.
    I hope this makes sense. It would be great if I could do all
    this in Dreamweaver.
    Any help would be much appreciated on how I could develop
    such a application and also if there any tutorials that I could
    follow which allow me to do something similar.
    Thanks

    Hopefully this will set you in the right direction.
    1. Create a user table. You will need to do this mentally
    before actually
    creating the database. What will the table contain? After you
    have this
    spec'd out, you can create it. You should create your entire
    database
    before creating it in whatever software you'r eusing (mySQL,
    Access, SQL)
    2. Design your jobs table. This will contain all info you
    need to store
    about the job.
    3. Create a form that uses lists to build your "email". This
    should be a
    form that says, select Name, Adress or job category. This
    will feed into
    your SQL statement(or DW recordset), which will bring up all
    your contacts
    where your Name field in your user table (or Address, or Job
    Category or all
    three). You can tweak this until you get it just how you like
    it.
    4. Lastly you should have a very simple form (you don't
    mention what server
    language you're using) that will build an email based upon
    the contacts you
    have selected and email them.
    You will need to get the database up and structure setup
    before I could help
    you more with it. Do you feel comfortable doing that?
    "aman16" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thank you for your reply. Its much appreciated.
    >
    > I have made website in Dreamweaver before using ASP and
    databases. I dont
    > usually hande code though and just use the built in
    tools that Dreamweaver
    > MX
    > has as standard. I just need a step in the right
    direction really thats
    > why I
    > would appreciate any tutorials that you may no of which
    do something
    > similar or
    > maybe do a part of what I am trying to do. I could get
    as far as making a
    > database with contacts and all there details and then
    making an ASP page
    > to
    > display that information and maybe filter it in some way
    but I dont know
    > how to
    > then extract the email address from that filtered info
    and then make a
    > form to
    > type the message and attach any attachments and then
    email the form to all
    > the
    > email addresses from the filtered list.
    >
    > You mentioned that there are web based email
    applications out there that I
    > can
    > customize to do a similar thing. Could you let me know
    of any names of
    > these
    > programs so I can then read up about them? I would like
    to customize it
    > quite a
    > bit though to try and make them as bespoke as possible.
    >

  • Two users open same file at the same time... how is this possible?

    I am the Creative Director for a magazine. All the people in my team are using Macs with Leopard and Indesign CS3. I didn't know this was possible, but it is happening to us. Two people can open the same Indesign file at the same time. When this happens, the file becomes corrupt and we can't work on it again. We don't use Version Cue. We probably should, as well as In Copy, but we just haven't had the time to learn to use them. This problem started about three months ago and we have not been able to determine how this is possibe or find any information why it is happening, or how to stop it from happening. Help! If anyone out there has any idea... we are desperate.

    My hunch would be to suspect the server - it's probably not handling file locking correctly.
    Here's what I'd image I'd try - but be aware, I am writing down stuff from memory, and I cannot guarantee the info is completely accurate - but I hope it might give you some pointers.
    - If the server is currently providing the AppleShare Filing Protocol (or whatever it is called - acronym is AFP), you could try to connect using that.
    Go to the Finder, and use the Go - Connect to Server... menu item and enter the server's IP address, prefixed with afp:// - e.g. if the server is on IP address, say '192.168.1.120'
    In that case, I'd try connecting to
    afp://192.168.1.120
    (I am inventing this IP address for the sake of argument - don't simply copy this number. Ask the IT guy what the server's IP actual address is. There are other ways to connect, and using the IP address is very crude and 'primitive' but it also cuts a few complexities out of the picture).
    If this does not work, it might mean that the server is not providing the AFP protocol - in that case, ask the IT guy if he can turn it on for you.
    I don't know much about what Microsoft's various product names mean (e.g. what exactly is included in a 'Microsoft small business server' - no idea), but there's a good chance there is a module available that is probably called 'Services for Macintosh' which can be installed.
    I've worked around Microsoft servers before, and if I remember correctly, 'Services for Macintosh' is not typically installed by default - it's part of the product, but it is not installed unless explicitly requested during install.
    The IT guy will need to get out the Microsoft server's install disks and install the optional Services for Macintosh, then turn it on. Once that is done, the above 'magical incantation' afp://yadiyadi... should work.
    If it does, make sure _everyone_ in the team uses the same method to connect to the server, and then try again - there's a good chance the server will now honor the file locking and warn the second user who attempts to open the document.
    - If the server is already using the AppleShare Filing Protocol, and you're already doing some variation of the above, and the whole point I made above is moot, try connecting using the SMB protocol instead. So, in the finder use 'Go - Connect to Server...' then use
    smb://192.168.1.120
    (replacing 192.168.1.120 by your server's real IP address).
    Again - make sure _everyone_ is using the same method to connect before trying whether the files are now locked properly.
    The AFP and SMB protocols are the two most common protocols that Macs can use to connect to a Microsoft file server.
    Now, the third possible cause: often people don't realize there are possibly multiple ways to connect to an MS server, and so people go browsing the network from their Macs and 'grab' whatever entry they see first.
    So what often happens is that user 'A' is actually connecting using SMB, and user 'B' is connecting using 'AFP' and in theory that should all work, but in practice sometimes things go wrong.
    My recommendation is to make sure that all users in the Mac workgroup connect in the exact same way - so there's no mix of SMB and AFP protocols being used.
    To verify which protocol is used, right-click or control-click on the volume name after it has been mounted on the Mac, and use the Get Info... menu item - the info dialog should tell you which protocol is being used. The easiest to see the mounted volumes is to go into the Finder Preferences, and under 'General' make sure it shows mounted volumes on your desktop. Then you can simply right-click the volume on the desktop to do Get Info...
    Hope that helps!
    Cheers,
    Kris

  • Using MacBook Pro display for another computer, is this possible?

    I have a MacBook Pro and an older Dell tower, i would like to see if I can use an input on the MacBook Pro to view my desktop on the Dell without the use of another monitor clogging up my workspace. Im thinking firewire or something.... i don't know.... Thanks.
    PowerMac G5, PowerMac G4, iMac G3   Mac OS X (10.4.7)  

    You cannot use a display built into a Mac as a monitor for another machine, as no Mac has a video-in port. You may be able to get a workable configuration by installing a VNC server on the PC and then using a VNC client on the MacBook Pro such as this one to control it.
    (14008)

  • I'm about to become a professional photographer and in the process of producing my own website. I want to choose one which allows photos from Aperture to be uploaded onto it in full resolution, with keyword/time metadata attached. Is this possible?

    I plan to use a company such as Zenfolio to allow automatic ordering and payment of prints also. I would also like the photos to be uploaded with a watermark attached. Is this best to apply in Aperture, or by the website, if that is possible?!

    There are plug-ins to upload from Aperture to both Zenfolio and SmugMug. The latter is built-in to Aperture 3.5.
    I personally use SmugMug and I watermark the photos after the fact. I do this because if people order prints, they want an un-watermarked print, and if I watermark the photo that I upload to the service itself, there's no way to remove it, other than uploading a new version. I'd assume Zenfolio can do the same but don't know first hand.

  • Date & Time are wrong, how is this possible.

    I am having a look at my inlaw's computer. Late 2008 15" MPB, 10.6.8/iLife 11.
    One of the more strange things I've seen is that in Date & Time preferences the small section above the calendar where it should show the date i.e. 2/19/2012 is essentially missing. There's up and down arrows next to a tiny 1 character width box.
    This is affecting multiple things within their user account in terms of files being tagged with the wrong date, in apps like mail, iphoto, etc. 11/24/11 is what is being tagged.
    If you click on the clock in the menu bar, which I have set to display day of week, date, and time and is doing so correctly, just below it in the popup box that appears where it should display the same information and give the option for View as analog or digitial, it says Thursday, November 24, 2011 in gray instead of the correct date and time.
    I have tried in a test user and issue does not persist.
    I have tried SMC/PRAM resets. Persists.
    I have tried deleting /etc/localtime. Persists.
    I have tried 10.6.8 combo update. Persists.

    Try this.
    Go to System Preferences > Date & Time > Formats
    In the section for Dates, click the Customize button. You should get a screen that looks something like this -
    In the upper area, showing boxes for Short, Medium, Long, and Full, make sure that no text has been entered into any of those boxes. They should contain only blue ovals. If you need to replace any of those, drag the appropriate ones up from the lower area of that screen.
    Note that the info shown in the blue ovals is representative, and is not intended to show current date info in that screen.

  • Can TXT file with separater ',' be upload to internal TBL using GUI_UPLOAD?

    hello, experts,
    I have a problem with data transfer. I need to upload TXT file to SAP internal table, data in TXT file are separated by ',' and more than one line records are contained in the file. I tried to use FM GUI_UPLOAD as below to upload the file and transfer the data to internal table, however it comes out error. SY-SUBRC is UNKNOW ERROR, error message shows: Cannot interpret date in file.
          CALL FUNCTION 'GUI_UPLOAD'
               EXPORTING
                    FILENAME                = FILEPATH
                    FILETYPE                = 'DAT'
                    HAS_FIELD_SEPARATOR     = ','
                    READ_BY_LINE            = 'X'
               TABLES
                    DATA_TAB                = TAB_X3
               EXCEPTIONS
                    CONVERSION_ERROR        = 1
                    FILE_OPEN_ERROR         = 2
                    FILE_READ_ERROR         = 3
                    INVALID_TYPE            = 4
                    NO_BATCH                = 5
                    UNKNOWN_ERROR           = 6
                    INVALID_TABLE_WIDTH     = 7
                    GUI_REFUSE_FILETRANSFER = 8
                    CUSTOMER_ERROR          = 9
                    OTHERS                  = 10.
    Thank you.

    HAS_field_separator can have only SPACE or X.
    upload the file using GUI_UPLOAD and then in the program you split the lines by comma.
    Data: begin of itab occurs 0,
          rec(1000) type c,
          end of itab.
    DATA: begin of itab1 occurs 0, 
              matnr type mara-matnr
          werks type marc-werks
          lgort type marc-lgort,
          end of itab1.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = FILEPATH
    FILETYPE = 'DAT'
    HAS_FIELD_SEPARATOR = 'X'
    READ_BY_LINE = 'X'
    TABLES
    DATA_TAB = TAB_X3
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    OTHERS = 10.
    loop at itab.
    split itab-rec at ',' into itab1-matnr itab1-werks itab1-lgort.
    append itab1.
    endloop.

  • I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so slow that I wind up having to crash and restart most of the time.  This is true regardless of the app I am using at the time.  The specs of th

    I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so unresponsive that I wind up having to crash and restart most of the time.  This is true regardless of the app I am using at the time.
    The specs of this iMac are:
    iMac 27 inch, late 2009 model with a 3.0 GHz Intel Core 2 Duo with 4 Gig 1067 Mhz DDR3, using OSX Lion 10.7.4 (11E53)
    I have Mackeeper installed and according to the scans I have run, everything is fine. No virus, no junk files . . . no problems at all . . .
    Except that for all practical purposes, my computer isn't working. 
    I am nearly totally deaf and live in an isolated, rural area of NW Missouri and this computer is what I mainly rely on to contact friends, relatives and business associtates!
    Any and all suggestions will be greatly appreciated!

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Is ti possible to label a set of tape with a specific media family. For eg. I want media family'xyz' to use tape only from location '1-6'. Is this possible in OSB

    -Is it possible to label a set of tape with a specific media family. For eg. I want mediafamily 'abc' to use tape only from location '1-6' and media family 'xyz' to use tapes from location '7-12'. Is this possible in OSB.
    -If not through media family, is there any other way to label tapes with customized lablels.
    -Is it possible for a backup job to use the tapes from a set of tapes and backup should fail if the tapes are not found from the set. Even if the library has empty tapes.
    I have read about Volume set, but I believe its something that is created automatically when the backup spans to the next volume after current volume is full.

    -Is it possible to label a set of tape with a specific media family. For eg. I want mediafamily 'abc' to use tape only from location '1-6' and media family 'xyz' to use tapes from location '7-12'. Is this possible in OSB.
    -If not through media family, is there any other way to label tapes with customized lablels.
    -Is it possible for a backup job to use the tapes from a set of tapes and backup should fail if the tapes are not found from the set. Even if the library has empty tapes.
    I have read about Volume set, but I believe its something that is created automatically when the backup spans to the next volume after current volume is full.

Maybe you are looking for

  • FTP adapter settings for Anonymous login

    Hi All, Can any one tell how to configure the oc4j-ra.xml under the FTP adapter as i am using FTP adapter which did not have any login credentials(Anonymous login) Thanks andRegards, Nagaraju .D

  • Solman 7.0 :  setup system monitoring

    hi I am taking an error while I want to configure the system monitoring in solman 7.0 solution monitoring-->sys monitoring  --> setup sys monitoring the CCMS Read Destination status is RED.but I have tested  the CCMS Read Dest. by double clicking rel

  • I have a question about my puppet animation???

    Hi, I have been makeing pony puppets in flash but I am haveing a problem with the ponys leg now it starts out like this: but when It gets to frame 8 the leg disapears and was suposed to mov as you can see in the other picture: But when I dubble click

  • MATMAS Inbound IDOC

    Hello all, Iam working on Material master Data Upload using the IDOCs. -There are about 3K records. -I have collected the IDOCs and executing the RBDAPP01 -in background with Parallel processing and with Packet size as 5. All the IDOCs processed thes

  • Air in flash

    dear, i am a newbie in air and i need to start use it these days , i have flash cs3 pro. and i downloaded this file ( flashcs3_air_extension_p3_en_121407.exe ) from adobe air and when install i got this error ( the updater is unable to locate the pro