How to validate File path

hi experts,
          how to validate file path, weather given file exists in the given path or not. for both presentation and application server files.
kindly suggest Function modules
i am using F4 function module to take input to the file name parameter. if user didn't used those options and directly entered the file path then i have to validate that path.
regards,
pavan

hi all,
  for presentation server path cl_gui_frontend_services=>file_exist is working.
for application server path
  PFL_CHECK_OS_FILE_EXISTENCE--function module is working fine.
Thank you all for your quick responses.
regards,
pavan

Similar Messages

  • How to validate File Path given for upload

    Hi All,
    I am trying to upload a file using the File Upload Control. I have already bound the data and resource property with the context attributes. Can someone please suggest that what can be done to validate the file path? For eg. if i enter "abcd" in the file path and click a button for uploading the file. My application simply "<b>HANGS UP</b>" without even reaching the code what i have written on action of the button.
    Is there any way to permit the user to enter the path only through Browse button and not manually? Please reply ASAP.
    Thanks and Regards,
    Smriti

    Hi Smriti,
    Have a look on the Following Links... which clearly briefs what is the use of FileUpload UI and how it works behind the screen...
    <a href="/people/dagfinn.parnas/blog/2004/08/15/inputfile-how-to-hide-the-plain-browse-button you about the how the FileUplaod UI is being built.</a>
    <a href="/people/dagfinn.parnas/blog/2004/08/15/inputfile-how-to-hide-the-plain-browse-button more stuff on FileUpload UI</a>
    <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;892442">How the FileUpload UI interacts with the local system</a>
    After going thru above post, you can identify that the inputField is being declared as FILE type (like <input type="file" >), and you would also noticed the cause for your error in the last link which I have specified above, and what microsoft also recommends for it as a solution to show an alternative message in place of the blank screen...
    Hope now you would be clear...why your method is not being invoked..
    Please revert back for futher queries... try to come soon with an alernative solution...
    Regards / Guru
    Message was edited by:
            Armin Reichert

  • How to Print File Path and File Name at the bottom of the Report?

    Hi guys,
    I have situation where i have to display my file path where i save my file. For example: U:\Reports\Monthly_Reports\Compay_xyz.jsp
    also, after the file path line if its possible i would like to display the date where the last modification done on the file.
    I read one of the post and some one suggested that use srw.get_report_name() but since i am a new to Reporting i am not sure how to use it.
    Can anyone describe me little bit in detail please?
    Thank You.

    Hi,
    Your logic seems to be fine and you should put it in the additional plsql code section "After displaying the page". But you may have to check you syntax by compiling it. You cannot use "LINEFEED". It should be '<br>'. This is the line break in html. Please check your type declaration. Also some ';' is missing after some statements.
    Hope that helps.
    Thanks,
    Sharmila

  • How to get file path?

    Hi all,
    I have a tcode ysd_gr. When I execute it, it has one select option & I entered the values as *.csv. It gave 6 csv files(only file names) & I want to retreive data from one file.
    So I need to find the file path. The functional consultants told that the files are in Application server (there are more than 5 application servers are used here).
    So I need to know how to find the file path  and in which application server the file is placed.
    Thanks in advance,
    Vijay.

    Go to t-code AL11 and give the path name excluding the file name:
    I mean for example the name is as below:
    D:\usr\sap\IDS\DVEBMGS00\data\test.csv
    here test.csv is the file name.
    So go to AL11 and give upto D:\usr\sap\IDS\DVEBMGS00\data and dauble click on it and search for the file name.
    Hope this will solve your problem.
    Reward if helpful.
    Thank you.

  • How to remove file path location listings from photos and objects in Acrobat Pro 9.0 PDF?

    After converting a windows-based Powerpoint 2007 presentation to an Acrobat Pro 9.0 PDF, the file path location of all photos and objects are shown in a dialogue box when the cursor is moved over the image as seen in this screenshot below. How can I stop this from happening and remove this feature on my pdf documents? 

    I saw that referenced on a forum, but it does not seem to address the issue I am having.
    As per Adobe Acrobat X Standard * What’s new, the equivalent to the "Tools > Protection > Remove Hidden Information" utility found in Acrobat X Standard is the same as the "Document > Examine Document" feature in Acrobat Pro 9.0. Those tools seem to cover meta data, book marks, hidden text, and deleted or cropped content, but not the file path listings that appear on images and objects converted from Powerpoint presentations and other MS Office programs.
    I have reviewed the settings used while creating a pdf, and have also tried the “Advanced > Preflight tool”, but could not find anything to apply to the issue at hand.
    Thus, this issue has not been resolved, but seems like it should be an easy fix that anyone who publishes pdf documents would want to use to publish clean, professional documents without anyone seeing the file path location of every object and image shown in the document on their hard drive.

  • How to include file path in footer

    I need to add file paths to a pdf I have created.  Does anyone know how?  I know that there are JavaScript ways, but I am not even sure what a Java Script is.
    Thanks for any insight!

    If you do not know how to use JavaScript, there is this option: Custom-made Adobe Scripts: Acrobat/Reader -- Advanced Add Header/Footer Text (but it's not free).

  • How to diable file path prompt?

    Everytime I hit the run button the file path prompt opens up, how can I disable it? I want to manual click the folder icon to open up browse window. Here is my code.
    Attachments:
    path.jpg ‏15 KB

    panoramarts wrote:
    Is there a way to leave it empty and not have the dialog box open?
    What would be the point to run the VI if there is no file to open???
    You could use a loop and an event structure and place the file operations inside an event case that is triggered by a value change of the path control.
    LabVIEW Champion . Do more with less code and in less time .

  • How to get file path in the form \\filer01\dir\index.htm

    Hi,
    after selecting a file using the FileChooser dialog, i would like to convert the file path like "H:\index.htm" into a form like "\\filer01\dir\index.htm".
    On my system, the logical device name H:\ is mapped to a directory on a file server "filer01".
    Is there any possibility to do this conversion?
    Thanks in advance.

    hi,
    i dont think java has a way of figuring out the actual mappings for a drive, you can retrive all drives that are present using the following code
    File [] roots = File.listRoots();
    then you could just iterate through the roots some of which may be mapped (but you cant figure out which is mapped and which is not).
    So i guess the best way to do it is to have a Properties file with key,value mappings. for eg
    h:\\, \\file01\dir\..
    and then read the value from the Properties file, now if you want this for accessing a resource across the network you dont require to get the actual mapping, you can still use the mapped drive as you would use a unmapped drive.
    hope this helpz
    cheerz
    ynkrish

  • How to Provide File Path in MII 12 to access file located in Network Path

    Hi,
    How can I locate a file which is placed Network Path?
    Iam trying to access PDF file which is stored in Network Drive, I just want to open folder which contains all PDF files located in some Network Path on click of button.
    I tried all possibilities like below:
    window.open("file
    \G:");
    window.open("
    SERVER-NAME
    Folder Name");
    But Iam unable to Fix this.
    Please Help me in this regard
    Regards,
    Padma

    Hi Rao,
    this is less a MII than a browser or mapping problem.
    You can access a local file in a browser like this:
    window.open('file:///c:/folder/file.txt');
    However, in case of MII local means local to the MII server. So in the above example the file is located on the c driver of the MII server.
    If you want to access files on a network drive, the folders to the files should be mapped on the MII server so you are able to address them like they were local files.
    I haven't tried to address network folders directly, because we are running MII on Unix.
    Michael

  • How to validate File extension.

    Hi all,
    Can anyone suggest me any Function Module to validate a file extension while selecting the Filename at popup window.
    thanx
    Rakesh

    Hi,
      If you are using upload FM, fill up the following parameters..If you want to filter the data by certain extension.
      Hope this works...
    FILETYPE                        DAT   
    ITEM                                  
    FILEMASK_MASK                   *.xls 
    FILEMASK_TEXT                   *.xls 
    FILETYPE_NO_CHANGE              X     
    THanks,
    Naren

  • How to separate file path and file name

    Hi All,
    Is there any FM which will separate the filepath and filename? I have whole string is like /test/test.txt. I want to separate this to two parts one is  /test/ and another is test.txt. How to achieve this?
    Regards,
    Jeetu

    use this FM - PC_SPLIT_COMPLETE_FILENAME or
    'SO_SPLIT_FILE_AND_PATH
    Regards,
    Amit
    Reward all helpful replies.

  • How to validate the file path when downloading.

    Hi
    How to validate the file path when downloading to Presentation or application Server.

    hiii
    you can validate file path by following way
    REPORT zvalidate.
    TYPE-POOLS: abap.
    DATA: w_direc TYPE string.
    DATA: w_bool TYPE abap_bool.
    w_dir = 'c:\Myfolder\'.
    CALL METHOD cl_gui_frontend_services=>directory_exist
    EXPORTING
    directory = w_direc
    RECEIVING
    result = w_bool
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    wrong_parameter = 3
    not_supported_by_gui = 4
    OTHERS = 5.
    IF NOT w_bool IS INITIAL.
    WRITE:/ 'Directory exists.'.
    ELSE.
    WRITE:/ 'Directory does not exist.'.
    ENDIF.
    regards
    twinkal

  • Media file path in IP IVR - Run external VRU script

    Hi all,
    I am configuring ICM script by using run external vru script which is located in IP IVR server. But, I am not sure how pass media file path from ICM script to VRU script.
    Last time, I used  IVR version 7.0. I set the path such as: c:\MediaServer\english. Now, I am running IVR version 10 with en_US language.
    Any advise?
    Thuc

    Hi,
    I try to your guide but still silent. Log file is:
    01 15:10:42.398 ICT %MIVR-SS_CMT-7-UNK:init:: flushDTMF=true DTMFBuffer.size=0
    344389: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-PROMPT_ERROR_IGNORED:Prompt error ignored: Exception=com.cisco.prompt.UndefinedPromptException: unable to append prompt: Vietnamese\Loichao.wav; nested exception is: 
    java.io.IOException: file not found: Vietnamese\Loichao.wav
    344390: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION:com.cisco.prompt.UndefinedPromptException: unable to append prompt: Vietnamese\Loichao.wav; nested exception is: 
    344391: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: java.io.IOException: file not found: Vietnamese\Loichao.wav
    344392: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.FilePrompt.appendTo(FilePrompt.java:229)
    344393: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.DocumentPrompt.appendTo(DocumentPrompt.java:264)
    344394: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.ConcatenatedPrompt.appendTo(ConcatenatedPrompt.java:169)
    344395: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.appendPrompt(CMTDialogImpl.java:165)
    344396: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.playCompositePrompt(CMTDialogImpl.java:140)
    344397: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.playInitialPrompt(CMTDialogImpl.java:110)
    344398: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.playPrompt(CMTDialogImpl.java:92)
    344399: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTSimpleRecognitionDialogImpl.dialogLoop(CMTSimpleRecognitionDialogImpl.java:109)
    344400: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTSimpleRecognitionDialogImpl.run(CMTSimpleRecognitionDialogImpl.java:87)
    344401: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl$ActionImpl.run(ApplicationManagerImpl.java:7757)
    344402: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl.doInterruptible(ApplicationManagerImpl.java:7560)
    344403: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.dialog.DialogObjectImpl.invoke(DialogObjectImpl.java:632)
    344404: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.steps.ivr.MenuStep.execute(MenuStep.java:394)
    344405: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFBeanStep.executeImpl(WFBeanStep.java:141)
    344406: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFStep.execute(WFStep.java:174)
    344407: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFWorkflowTask.executeStep(WFWorkflowTask.java:494)
    344408: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.WFEngineWorkflowTask.executeStep(WFEngineWorkflowTask.java:122)
    344409: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.executeStep(WFWorkflowAppDebugTaskWrapper.java:416)
    344410: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFWorkflowTask.execute(WFWorkflowTask.java:360)
    344411: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.WFEngineWorkflowTask.execute(WFEngineWorkflowTask.java:77)
    344412: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.execute(WFWorkflowAppDebugTaskWrapper.java:736)
    344413: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTaskNormally(TaskManager.java:416)
    344414: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTask(TaskManager.java:371)
    344415: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.Invoker.invoke(Invoker.java:85)
    344416: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl.subinvoke(ApplicationManagerImpl.java:4658)
    344417: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl.subinvoke(ApplicationManagerImpl.java:2204)
    344418: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.Application.subinvoke(Application.java:276)
    344419: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplication.invokeWorkflow(ICMApplication.java:154)
    344420: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplicationTask.invokeWorkflow(ICMApplicationTask.java:684)
    344421: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplicationTask.runScript(ICMApplicationTask.java:1382)
    344422: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplicationTask.execute(ICMApplicationTask.java:2468)
    344423: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFAppTaskWrapper.execute(WFAppTaskWrapper.java:291)
    344424: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTaskNormally(TaskManager.java:416)
    344425: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTask(TaskManager.java:371)
    344426: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager$RunnableTask.run(TaskManager.java:589)
    344427: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690)
    344428: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486)
    344429: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762)
    344430: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:776)
    344431: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.PooledExecutorStubImpl$1$WorkerImpl.run(PooledExecutorStubImpl.java:99)
    344432: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:853)
    344433: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: nested stack trace is: 
    344434: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: java.io.IOException: file not found: Vietnamese\Loichao.wav
    344435: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.FilePrompt.appendTo(FilePrompt.java:229)
    344436: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.DocumentPrompt.appendTo(DocumentPrompt.java:264)

  • Aperture using 3 week old file paths for referenced files after Rebuild

    I recently had major problems with some Nikon D60 files (the referenced files switched original files). I had to re-import everything a start again. Having sorted everything out, I then relocated the files with new files names (thinking that the original file names may have caused the problems).
    This was 3 weeks ago. However, when I Rebuilt the library today, these renamed images went offline because Aperture has kept the original file paths (with the original names).
    Does anyone know how to update file paths to the current ones? (rather than some random previous one).

    Thanks for the reply. I will check out the links.
    I should have mentioned that all renaming/moving of files was done from within Aperture. Aperture is not updating its own file paths.
    The process is this. Having moved/renamed the images (using Aperture's Relocate Masters) I am able to use the software, close it down, restart etc and the images will be found correctly with few/no 'lost' images. It is when I use 'Rebuild' that the file paths revert to an old, previously used version that is no longer valid. It is as though there are two preference files, each with a different file path information. There was a post sometime ago that mentioned using Terminal commands to force Aperture to update to the correct files paths/directories. I haven't been able to find the post yet though.
    These particular files (Nikon D60) are not from my own camera so I am not sure why I have had such an issue. Normally I am using a Canon 5D MK2 or a Phaseone digital back. However, even with my own equipment I do regularly have to 'Reconnect' one or two image files that have become lost which is annoying. So I am keen to get to the bottom of this issue.

  • How to  validate a file  given the file name and the path

    hi ,
      is their any function module which can validate a file present in the presentation server given its filename and path name

    Hi,
    Refer Sample Code Below:
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : rb_pc  RADIOBUTTON GROUP r1 DEFAULT 'X', "For Presentation
                 p_f1   LIKE rlgrap-filename,            
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN SKIP.
    AT SELECTION-SCREEN ON p_f1.
      IF  p_f1 IS INITIAL.
        MESSAGE e000(zmm) WITH text-002. ' Enter File Path
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f1.
    *-- Browse Presentation Server
      PERFORM f1000_browse_presentation_file.
    FORM f1000_browse_presentation_file .
      CONSTANTS: lcl_path TYPE char20 VALUE 'C:\Migration Files\'.
      CALL FUNCTION<b> 'WS_FILENAME_GET'</b>
        EXPORTING
          def_path         = lcl_path
          mask             = c_mask  "',.,..'
          mode             = c_mode
          title            = text-006
        IMPORTING
          filename         = p_f1
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
      IF sy-subrc <> 0.
        MESSAGE s000 WITH 'No file Selected'.
        flg_pre = c_x.
      ENDIF.
    ENDFORM.                    " f1000_browse_presentation_file
    *&      Form  f1001_browse_appl_file
          Select file from Application Server
    FORM f1001_browse_appl_file.
      DATA:  lcl_directory  TYPE char128,
             lcl_file       TYPE char10.
      lcl_directory  = p_direct.
      CALL FUNCTION <b>'/SAPDMC/LSM_F4_SERVER_FILE'</b>
        EXPORTING
          directory        = lcl_directory
          filemask         = c_mask
        IMPORTING
          serverfile       = p_f2
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
       MESSAGE e000(zmm) WITH text-039.
       flg_app = 'X'.
      ENDIF.
    ENDFORM.                    " f1001_browse_appl_file
    *&      Form  f1003_pre_file
          Open Presentation Server file
    FORM f1003_pre_file .
      DATA: lcl_filename TYPE string.
      CONSTANTS: lc_codepage(3) TYPE c VALUE 'IBM',        " Code page
                 lc_filetype    TYPE char10 VALUE 'ASC'.
      lcl_filename = p_f1.
      CHECK p_f1 IS NOT INITIAL.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lcl_filename
          filetype                = lc_filetype
          has_field_separator     = c_x
        TABLES
          data_tab                = i_reg_grp
        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.
    <b>Reward points if this helps.
    Manish</b>

Maybe you are looking for

  • Is there a way to export your photo links from Illustrator (CS6) to a contact sheet?

    So I've got this project where I'm making a set of images and placing about 300 photos with each set.  In order to avoid duplication and to track which photos were used where, I'm having to take screen shots of the links panel (scrolling down and tak

  • VPD in Apex using Standard or XE version of database

    I was planning to use the VPD method of security in my APEX application. Some of my sites are using Standard Edition and XE edition of database. Is it true that VPD only works in Enterprise Edition of database? If so, any suggestion on how to impleme

  • Weird noise in the headphones

    hello everybody, now here is a little something taht totally wrecks my nerves. while trying to set up my laptop for recording (pismo) i noticed a distorted hiss in the headphones. it will not quit, whatever i do. its not the headphones, i doublecheck

  • Output client setSynchronous()

    I'm trying to understand what exactly it is that the setSynchronous() method does on the output client. Sure, it sets the mode to "synchronous" per the java docs, but then does that mean it's asysnchronous otherwise? That doesn't make sense becasue I

  • Development Systems

    Hi Guys, being a newbie to BW i was wondering when development systems are used in the ETL process and why. Could anyone please explain this to me? Your help is highly appreciated.