Do I need to declare parameters before using them?

Hello,
Say I have a piece of code like below:
FORM UPLOAD_PC_FILE USING P_PATH
                           P_INTERNAL_TABLE.
   P_PCPATH_TOSTRING = P_PATH.
   CALL FUNCTION 'GUI_UPLOAD'
     EXPORTING
       FILENAME                      = P_PCPATH_TOSTRING
*   FILETYPE                      = 'ASC'
*   HAS_FIELD_SEPARATOR           = ' '
*   HEADER_LENGTH                 = 0
*   READ_BY_LINE                  = 'X'
*   DAT_MODE                      = ' '
*   CODEPAGE                      = ' '
*   IGNORE_CERR                   = ABAP_TRUE
*   REPLACEMENT                   = '#'
*   CHECK_BOM                     = ' '
*   VIRUS_SCAN_PROFILE            =
*   NO_AUTH_CHECK                 = ' '
IMPORTING
*   FILELENGTH                    =
  HEADER                        =  WA_INBOUND
     TABLES
       DATA_TAB                      = P_INTERNAL_TABLE
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
Do I have to declare the P_INTERNAL_TABLE as an internal table or ABAP will automatically know that this is an internal table (I will always pass in internal tables when I call this form in the main program)?
Thanks a lot!
Regards,
Anyi

You must declare it before you use it.  In this case, you are declaring it in the signature of the FORM.  So here it is declared.  But when calling the form you must pass a valid internal table name  that has been declared before hand.
For example.
report zrich_0001.
data: <b>itab</b> type table of string.
perform upload tables <b>itab</b>.
*       FORM upload                                                   *
*  -->  L_ITAB                                                        *
form upload tables <b>l_itab</b>.
  call function 'GUI_UPLOAD'
       exporting
            filename = 'C:test.txt'
       tables
            data_tab = <b>l_itab</b>.
endform.
Regards,
Rich Heilman

Similar Messages

  • Hi guys, my ipad2 says that it needs to cool down before using. It has been sitting in a cool place over a day now but the message still pops up. Any other ideas? or help?

    Hi guys, my ipad2 says that it needs to cool down before using. It has been sitting in a cool place over a day now but the message still pops up. Any other ideas? or help?

    Is the iPad Off and not connected to the charger?
     Cheers, Tom

  • My brand new iphone 6 when charging for the first time gets a message "iphone needs to cool down before using" cannot even charge it

    My brand new iphone 6 when charging for the first time gets a message "iphone needs to cool down before using" cannot even charge it. Have offed and on several times, but same result. Any help on this.

    To resume use of your device as quickly as possible, turn it off, move it to a cooler environment, and allow it to cool down.
    You can read more on :Keeping iPhone, iPad, and iPod touch within acceptable operating temperatures

  • My MacBook is incorrectly recognizing fresh DVDs as needing to be erased before use, and then announces that this disc cannot be erased.  How to correct?

    My MacBook is incorrectly recognizing fresh DVDs as needing to be erased before use, and then announces that this disc cannot be erased.  How to correct?

    All over the internet, you can also pick them up in any electronics store or electronics section of a store (wal-mart for example).

  • My second brand new iphone 6 when charging for the first time gets the message "iphone needs to cool down before using" cannot even charge

    My brand new iphone 6 when charging for the first time gets a message "iphone needs to cool down before using". I cannot even charge it. I offed it and on it several times, still the same message keeps on coming.

    To resume use of your device as quickly as possible, turn it off, move it to a cooler environment, and allow it to cool down.
    You can read more on :Keeping iPhone, iPad, and iPod touch within acceptable operating temperatures

  • How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    You can certainly use iWork, though I hesitate to recommend it to a seasoned Windows user simply because it would add another level of the unfamiliar with which you would have to gain familiarity. The iWork applications are certainly very competent and in most respects both easy to use and surprisingly powerful. They are not 100% compatible however, though that typically manifests itself in document formatting issues rather than anything more significant.
    I have never attempted to import emails from a Windows system into MacOS - other than in Outlook connected to an Exchange server, thus not really an issue at all. I doubt that the Mail app in MacOS can import directly, but of course you could always set the account(s) up on the Mac and then forward emails you want to keep from the PC. Not elegant, but it works. Virtually any Windows document or file, whichever application created it, can be opened or converted for use on a Mac, and using both systems on my desk each day I rarely see any issues switching stuff from one machine to the other. You may stumble over one or two issues, but likely not significant.
    In switching platforms there will be some inevitable issues, not so much with being able to import your stuff because there's usually a workaround or a utility that can help, but just with getting familiar with the platform and the differences between Windows and MacOS that can obscure their similarities. From time to time the support community here hears from a user who has found the migration very problematic and regrets it, but for the most part the phrase 'I should have done this years ago...' is rather more prevalent!

  • My iPhone say it need to cool down before using it

    My iPhone have4 days say it need to cool down before using

    A tip is avoid doing things that eat up battery power right after it has been charging. Charging any battery will naturally make the battery temperature go up, followed by activities that drain a battery like heavy internet browsing in combo can make the temperature get to the point where the fail safe kicks in to prevent an over heat.

  • I need to buy Jdeveloper before using it?

    I have downloaded Jdeveloper from internet and saw many demos on internet on how to use it.
    I want to develop application using Jdeveloper and deploy on the server, but i think before this I need to buy this.
    Can anyone clarify me, what I should do?
    Thanks in advance.

    JDeveloper is free to use.
    If develop a plain Java/J2EE app - it's free to deploy.
    If you use any of Oracle's ADF/SOA/etc - you need to have a license to deploy in production.
    john

  • A first step: Editing video clips before using them in a longer video?

    I am an absolute beginner.  I have purchased Premiere Elements 7 and I bought the Premiere Bible and am reading that.
    My question is, Premiere seems to be software designed primarily to help you make a video production by joining together video clips, sound clips, and photos.  Is there a step before this, though, namely editing the clips as they come out of your camera?
    I've been using PhotoShop for years, and typically when I take a still photo I open it in PhotoShop and adjust saturation, brightness, sharpness, maybe white balance, rotate if needed, etc.
    Is there another piece of software designed to help do this kind of basic editing to a single video clip?  For example, if the clip came out too dark, is there a way to brighten things up?
    I'd really appreciate any answers, and if there is a book or article you could suggest about editing video clips I would appreciate the recommendation!

    Stephen,
    First, welcome to the forum.
    Next, and this does depend on your camera, you Capture your video from the camera, using a Preset for your Project, that matches the material from your camera.
    Now comes the "RAW conversion," though I am using that term VERY loosely. Many people will do basically a pre-edit, by Dbl-clicking the Captured Video in the Project Panel. This opens it in the Source Monitor, where one sets  the In and Out Points, basically doing a loose edit of the scenes. The Clip in the Source Monitor can then be dragged to the Timeline. Each is done this way, until they all appear, in the order that you want, on the Timeline. Note: you can drag from the Project Panel, and do this in the Timeline too. Also note: when you play the Timeline, you are now looking at the Program Monitor.
    At this stage, one touches up the edits, and adds any desired Effects.
    Usually last is any Audio work, like adjusting the Clip's Audio, or adding Narration, and/or Soundtrack.
    Export/Share is the final step and one can choose their delivery format.
    The exact workflow is a bit different than processing an image in PS, but not totally alien.
    Good luck,
    Hunt

  • Doing the same task for different data.. Do I need Queues? How to use them if yes?

    Hello all,
    I have created a VI which is getting data from some FTP server and then after comparing with the HDD specified folder copy the missing data from the FTP ... Description is also in the VI. There are few things I need to ask.
    1) The email sending VI gives error 1172..What could be the reason .. is it firewall.. or is there any mistake in the code?
    2) As you people are experts so I really like any suggestion to improve the VI..
    3) The most important .. Currently this VI can only perform the whole task for one FTP folder. Actually my task is I need to check for 4 different FTP folder on different servers..its not 4 different folder in one FTP .. its 4 different FTP.Now my question is how I can do this: First it compare and copy from FTP1.Then FTP2... and so on.. How can I change the data for the cluster for different FTPs? Do I need to use queues? If yes how because I don't have any experience with queues.
    I will really appreciate is someone can either provide me the relevant example or can give me some idea.
    The main VI is the 'TASK START'.VI please find the attached files.
    Thanks
    Regards,
    Naqqash
    Naqqash
    Attachments:
    Project.zip ‏151 KB

    Hi Peter,
    Thank you very much for your reply. I have understood your idea but there are few problems.
    Please see the attached "Final test.vi".. actually my top level vi should be like this.. due to this reason I need to develop the cluster like one with name "Settings" as shown in Enum FTP events.vi.. In this cluster all the data types are not constants (but can be set as constants)  and further all of them are not of same type so whenever I try to create as you created I have got error, wire broken..so what do you think i should do.. In this cluster there are different types of data .. string, path, numeric, array and a cluster with name file properties also... can't figure out what to do..I know things are little scattered and wiered but due to lack of experience, I guess, I am now a little bit confused for this matter. I
    hope guys here in the forum will help me as you guys always did.
    Naqqash
    Attachments:
    Final test.vi ‏11 KB
    Enum FTP Events.vi ‏14 KB

  • I've bought numbers & pages from the App Store but when I open either I'm being asked to use the iWork trial or buy it - Do I have to buy iWork too, and if so, why does the App Store leet you buy the apps separately if you need iWork in order to use them?

    Any help would be appreciated!
    Jim

    Hi Jim,
    Following Matt's instructions may be sufficient, but I'd recommend checking Yvan Koenig's post in this thread for a more thorough procedure.
    Regards,
    Barry

  • Should PFI I/O Be Set To A Default Setting Before Use?

    Hi everyone, I am using the PFI lines on my PXI DAQ Card (6229) for Counter Output frequency generation and Counter Input frequency readings.  I know these lines on power up of the PXI card are set to high impedance mode by default.  Should these lines be set to digital LOW '0' before setting them up for Counter Output or Counter Input use?  Is it good practice to set up the PFI lines to a default state before using them in an application?
    Thanks!

    Hello testdesign, 
    Thank you for your inquiry. You do not need to set the PFI lines to any specific value before setting up a Counter Input or Output task. The LabVIEW Example Finder has excellent Counter Input and Output examples if you have any questions on how to program or set up these tasks. These can be found by going to Help » Find Examples » Hardware Input and Output » DAQmx » Counter Input or Counter Output. 
    Cameron Schaefer
    Applications Engineer
    National Instruments

  • Do individual Adobe products need to be uninstalled before installing creative cloud?

    I am deploying user licenses to several users in a department where a lot of individual Adobe products are installed and already in use. Will these individual products need to be uninstalled before using or installing Adobe Creative Cloud?

    U-96,
    When you install different versions, you should always do so in order from first to last. With a different order, you will (almost certainly) overwrite crucial files with older versions.

  • Configuration changes needed or commands before using JRockit mission ctrl

    What are the things I need to do before I start using jrockit mission control . I have configured weblogic server and used jrockit as my jvm. Now, I can start jrockit mission control by goint to : C:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\bin\jrmc.exe but i do not see jrockit jvm and local jvms in my JVM browser. Do i need to do some extra configurations before using the tool?
    Also, how do I see my ear files listed here so I can do application level monitoring too using the tool.
    All help will be really appreciated !
    Sid

    Then you need to use the registry edit option:
    use: regedit in the run option so that you can open the registry edit browser.
    Then go to : My Computer --- HKEY_LOCAL_MACHINE----SYSTEM---- services ---- beasvc_weblogic_server
    There will be services present with each weblogic server.
    Within server name, go to the parameters option and there you can see the option: cmdline
    You will have to edit the value of this cmdline.
    Also before editing any values from the registry edit browser, make sure that the service is stopped first and then you should edit and save the values and then start the service.
    Thanks,
    Sandeep

  • I need to install Mozella Firefox 2.0 to fill out a form that is not supported with the newer version that is installed on my PC. Do I need to delete the new version before using the older version?

    I need to install Mozella Firefox 2.0 to fill out a form that is not supported to input info from the newer version that is installed on my PC. Do I need to delete the newer version before using the older version? If so, how do I delete the new version and install the older version?

    If you just need it for one site you can use the portable version of Firefox 2 instead. You can install the portable version on a USB key, or if one is not available choose the custom install and install it somewhere on your hard drive. The portable version will not interfere with your current version of Firefox. You can get the portable version from http://portableapps.com/apps/internet/firefox_portable - the link for Firefox 2.0.0.20 is near the bottom of that page.

Maybe you are looking for

  • BPC 7.5NW Username Change Issue

    I've been having a weird issue when a user has a name change. As an example, I have an initial user (DOMAIN\clwho) that has access to BPC and everything is working fine. She gets married and changes her user ID (DOMAIN\cwdoe) in active directory and

  • Drive not SHowingup in Disk Utility, HW Test OK?!

    Anyone have hint on where to look for solutions to this: Starting up from the Tiger CD, Disk Utility window does not show the internal HD (either the new one or the old one). However, running G4 iBook HW Test CD however shows that all is good, includ

  • Do you need Final cut in order to use Motion 5 or can I use iMovie?, Do you need Final cut in order to use Motion 5 or can I use iMovie?

    Do you need Final cut in order to use Motion 5 or can I use iMovie?, Do you need Final cut in order to use Motion 5 or can I use iMovie?

  • PanelGrid with PanelTab problem

    hello everyone, i am using tomahawak tabbedpane it has 3 panelTab's ,1st paneltab has 3 panelGrid's when i move from one grid to another say 1-2-3 then i click on tab 2 or 3,if i come back to tab1,it should display the grid1 .but it is displaying gri

  • Help testing players

    I'm testing some streaming video capabilities for my company and I'd like to gather some feedback for performance testing. Can you please click on the links and answer a few questions, please make sure you reference which link you are giving feedback