Regarding File Selector

what is the function module name for file selector.
i used ws_filename_get. But it is not working showing the Exception Selection_Cancel.

PARAMETER: p_locat LIKE rlgrap-filename
DEFAULT '/interfaces/outbound/archive/RGIS/ff.txt'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_locat.
PERFORM get_file USING p_locat.
form get_file using p_locat.
DATA: v_file LIKE ibipparms-path.
MOVE: p_locat TO v_file.
DATA: v_repid LIKE syst-repid,
v_dynnr LIKE syst-dynnr.
v_repid = syst-repid.
v_dynnr = syst-dynnr.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = v_repid
dynpro_number = v_dynnr
field_name = field
IMPORTING
file_name = v_file.
MOVE: v_file TO p_locat.
Regds,
Senthil

Similar Messages

  • Why does file-selector crash Logic?

    I have read numerous posts on this subject here earlier but none of the fixes work on my system. The bug appears from time to time as a crash caused by an action that opens the OS's file selector. That is, boucing, importing, save as, save as project etc. It seems to occur when song files have been worked on for a while and grown in size. It seems I can reset the system by restarting, opening my autoload and perform an action that brings the file selector up. I haven't had this kind of unexpected quit on an empty autoload file. After this the problem will be gone for a while.
    People have removed the bug in different manners and it seems it occurs for various reasons but I'm still to find a common feature among the articles I've read that leads me to the underlying cause of the problem, thus giving the solution for my specific version of it. The fix involviong removal of two specific files from an inputmanagers-folder in library doesn't work for me as I have no such files/folders. Somebody mentioned they got rid of the bug after running System Optimizer. That didn't work for me either. One even mentioned he'd got the bug after installing a shareware app to freshen up the mac's appearence for his girlfriend. I have a girlfriend but she has her own mac and mine looks good enough for me as it is.
    Apple Logic phone-support has no files on the issue.
    I use a minimum of 3rd party plugins (mostly Kontakt2 and Altiverb) and none of them seem to be directly linked to the problem as I have had it occure without any of them loaded.
    None of the people that posted question on this issue anywhere I've read has fixed it by reinstalling anything, trashing prefs/caches, repairing permissions or creating new users.
    I'm on a tight deadline so doing an archive and install of the os is completely oout of the question.
    It has been quiet on this issue for a while and I wonder how people are doing? Are you bug free and how did you manage it?
    I'm on OSX 10.4.8, Logic 7.2.3 and I use a MOTU 828mkII
    Regards
    Ginge

    I have read numerous posts on this subject here earlier but none of the fixes work on my system. The bug appears from time to time as a crash caused by an action that opens the OS's file selector. That is, boucing, importing, save as, save as project etc. It seems to occur when song files have been worked on for a while and grown in size. It seems I can reset the system by restarting, opening my autoload and perform an action that brings the file selector up. I haven't had this kind of unexpected quit on an empty autoload file. After this the problem will be gone for a while.
    People have removed the bug in different manners and it seems it occurs for various reasons but I'm still to find a common feature among the articles I've read that leads me to the underlying cause of the problem, thus giving the solution for my specific version of it. The fix involviong removal of two specific files from an inputmanagers-folder in library doesn't work for me as I have no such files/folders. Somebody mentioned they got rid of the bug after running System Optimizer. That didn't work for me either. One even mentioned he'd got the bug after installing a shareware app to freshen up the mac's appearence for his girlfriend. I have a girlfriend but she has her own mac and mine looks good enough for me as it is.
    Apple Logic phone-support has no files on the issue.
    I use a minimum of 3rd party plugins (mostly Kontakt2 and Altiverb) and none of them seem to be directly linked to the problem as I have had it occure without any of them loaded.
    None of the people that posted question on this issue anywhere I've read has fixed it by reinstalling anything, trashing prefs/caches, repairing permissions or creating new users.
    I'm on a tight deadline so doing an archive and install of the os is completely oout of the question.
    It has been quiet on this issue for a while and I wonder how people are doing? Are you bug free and how did you manage it?
    I'm on OSX 10.4.8, Logic 7.2.3 and I use a MOTU 828mkII
    Regards
    Ginge

  • How do I restrict file selector?

    Hello all,
    I'm looking for a javascript equivalent to JFileChooser.
    Does anyone know of a cookie-cutter javascript function out there that I can use to restrict the file selector in the dialog window to allow the user to only see or upload a file with a specific extension, such as excel?
    I know that there are ways to validate the file selector the user chooses, and then give them an error message via alert, but is there a more direct way of accomplishing this, so that the user is never given the option of starting down the wrong road?
    I'd greatly appreciate any help anyone could give.
    -Tom

    JavaScript != Java. Try a JavaScript forum.

  • Regarding file content conversion

    Re: regarding file content conversion  
    Posted: Sep 25, 2008 11:30 AM    in response to: kummari     Edit      E-mail this message      Reply 
    i tried.but m getting this error
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns1:MT_HyperionReport' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns1:MT_HyperionReport' found in document', probably configuration error in file adapter (XML parser error)'
    Actually my input structure is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_ECCReport xmlns:ns0="urn:syngenta.com:i_ecc_erp:se:global:fi_reports:common">
    <ACTFiscalyear>siva</ACTFiscalyear>
    <StartPeriod>44</StartPeriod>
    <EndPeriod>55</EndPeriod>
    <LineItems>
    <ReportingUnit>rama</ReportingUnit>
    <ProfitCentre>844</ProfitCentre>
    <Amount>855</Amount>
    </LineItems>
    </ns0:MT_ECCReport>
    and in FCC i wrote below these three lines:
    LineItems.fieldSeparator 'nl'
    MT_HyperionReport.fieldSeparator 'nl'
    LineItems.fieldSeparator 'nl'
    So please tell me what is wrong in this

    MT_HyperionReport is your message type and this represents the top level node of your message. Below this you have your records. You have MT_HyperionReport as a record type which is clearly not going to work.
    In the content conversion parameters section the following fields should be filled, you dont need to specify Recordset if your XML structure does not include this node see SAPhelp example:
    Document Name: MT_HyperionReport
    Document Namespace: <look at your message type in the designer>
    Recordset Structure: Record_type1,<occurrence 1..>, Record_type2,<occurrence 1..>
    In the parameter box:
    Record_type1.fieldSeparator
    Record_type1.fieldNames
    ignoreRecordsetName value true
    Record_type2...
    The SAP help on this is pretty clear and comprehensive...
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm

  • Query regarding file content conversion using file adapter

    Hi All
    I have a question regarding file content conversion in file adapter.
    I have a file coming in the following format.
    AA,111,222,333
    BB,444,555,666
    CC,777,888,999
    My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
    AA,111,222,333
    <<BB,444,555,666>>
    <<<<CC,777,888,999>>>>
    After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
    Is it possible to get a nested hierarchy as a result of file content conversion?
    Please let me know
    Thanks
    Chandra

    Hi Udo
    According to your suggestion, I am trying to use mapping.
    I am getting a flat file and i am reading it.
    This is my source structure:
    AA,11,22,33
    BB,44,55,66
    CC,77,88,99
    This is my required targer structure:
    AA,11,22,33
    <<BB,44,55,66>>
    <<<<CC,77,88,99>>>>
    To explain this, BB record can have multiple records of CC records.
    AA records can have multiple records of BB record.
    I am using removecontext node function.
    CC (Source)  (removecontext)-> CC (target structure)
    But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
    Many Thanks
    Chandra

  • Type in file location in Finder or file selector windows

    Is there any way I can get a text field, preferrably with filename completion, where I can simply type in the location of a file or folder? In the Finder or file selector dialog, that is?
    Yeah, a directory GUI is nice, but in some cases it is actually faster to write the name than to track down and click through a chain of folder icons. I mean, while still using the GUI - not doing everything in the shell. And just being able to see the path to the directory you're looking at may be useful, too...

    Whoops. Somehow I forgot about Go->Go To Folder, and overlooked it when trying to find it, when I wanted to do this for the first time in a while. How embarassing...
    This interface is of course also available in the file selector via the normal shortcut (ShiftOptionG)
    Even "more direct" access to folder location would sometimes be nice, though...

  • Regarding file export

    Hi,
    I have some problem regarding file export from java to some word or excel. I have a Jtable in which I fill the data dynamically now I wan't to get that data into an excel sheet with just one click. Regarding .doc I am writing the file but how to do in excel sheet having columns defined.
    Best Regards,
    Sreedhar

    A good Java API for creating or accessing Excel files is POI-HSSF: http://jakarta.apache.org/poi/hssf/index.html

  • Save (not Save As) brings up file selector? Huh?

    Logic 7.1.1
    I'm fine-tuning the way I want my Autoload song to appear. So I boot Logic and as expected the Autoload song automatically loads up. So far so good.
    I make a change to it and use the "Save" command, expecting that the old Autoload song will be backed up and the new version simply written to disk *without* expecting to see a file selector appear. But the file selector comes up anyway. This is the behavior I expect with "Save As...", not "Save". What gives? Any clues would be helpful.

    Your Autoload is protected, it always is, that's the whole idea. So... make the changes you want in your Autoload and then when you go to save select "Save As Template..." and then it should open up the templates folder. Click on the old Autoload file so that this new version will inherit the same name, click OK , then click to Replace the old Autoload. You've now updated your Autoload.
    This is meant to ensure that your Autoload remains unchanged. I used to open up my main template and then work in it for a couple of hours before realizing I had been working in my Autoload and changing it all around. This will keep that from happening.
    BTF

  • Several questions regarding File Vault

    Hi!
    I have several questions regarding File Vault - right now I'm using Mac OS 10.4.8
    1.: The battery lock of my iBook is defect thus it happens from time to time that while transporting it the battery drops out while the laptop is sleeping. What happens with the File Vault-disk image?
    2.: I want to (have to ) set up my Intel iMac again. The installer-CD I have will bring it back to 10.4.6
    AFAIK the data format used for File Vault since 10.4.7 is version 2. What happens if I encrypt my stuff now (10.4.8 - thus version 2), back it up to my backup disc, install a new system (10.4.6 - therefore version 1) and want to access my data via Migration Manager (don't want to use archive and install)?
    3.: How do I actually do a backup of my data while the system is running? The backup should be encrypted as well.
    I use the demo-version of SuperDuper for backing up my system because with it I can ensure that I have a complete bootable backup of my running system.
    Thanks for your answers in advance
    ibook g4 12" 1.2 GHz 768 MB RAM / Intel iMac Core 2 Duo 17" 2.0 GHz 2GB RAM   Mac OS X (10.4.8)  

    Parker,
    You said:1. If it did, Apple would not use FileVault, as everyones computer will have a battery problem once in their life, and Apple would lose buisness from angry people who lost all of their data.I have seen enough reports of data loss with FileVault that I feel compelled to dispute your statement.
    In Data corruption and loss: causes and avoidance, Dr. Smoke writes...If your data-security needs demand FileVault, you should backup your encrypted Home folder regularly, preferably daily. Like any hard drive or disk image, a Home folder protected by FileVault — an encrypted, sparse disk image — does not respond well to the causes of data corruption...Loss of power definitely is a cause of data corruption.
    For Niels....,
    An Unencrypted Look at FileVault, by François Joseph de Kermadec is an excellent discussion of the features, pitfalls, and cautions regarding Filevault.
    Although the article discusses Panther and is dated 12/19/2003, the concepts as they apply Tiger have not changed.
    The cautions and warnings are prominent in any of the Apple Knowledge Base articles referring to the use of FileVault. If a user is unfamiliar with any aspect of FileVault, it should not in my opinion be activated.
    As good as FileVault is in protecting your sensitive data, it also presents the danger of locking up your files in an irretrievable ball of one's and zero's. Backups are critical. You must ensure that you have a comprehensive backup plan. Backup and Recovery, by Dr. Smoke is a fine example of what you need to consider.
    ;~)

  • Regarding Content Selectors

    In which database table, Content selectors will be stored?

    The data in the datasync tables is in XML form , so you may not be looking at the correct place.(Im not sure whether in development modethe tables get loaded , i believe they do , but I havent verified , in dev mode I believe the portal uses the file system)
    if this is a new content selector , propagation will work, try it out. You can download inventory from local and you should be able to see the content selector...if you are modifying an existing content selector you may have problems with propagation , if so you have no way other than cleaning the tables.
    regards
    deepak

  • Critical issue regarding file to website interface

    hi all,
      I am working on one scenario in which sender is an File. and receiver is an HTML page(actually it is a website) which responds according on the input data.
    when i visited that site I came to know that there are three fields. as follows...
    username: 
    Password:
    File:                        Browse
                  POST
    Actually file name contains the contents of the file feilds which varies for every transaction.
    When i manually put username password and location of the file(using Browse tab) in the website page, I got the response file.
    But when I put just file name I am unable to click POST tab.
    My problem is:--
    Is this thing is possible using XI.
    I tried using HTTP and put all three inputs in the header fields of receiver HTTP channel.
    But i didn't get the response.
    Can anybody tell me any other solution. Since it is critical requirment for me. so Plzz respond ASAP.
    Solution will be awarded
    Thanks
    Jaideep jain

    Hi,
    you said that the target system is a website...so can i say that it is a WebService exposed by some XYZ system...if yes then why dont you opt for the receiver SOAP channel....the use of SOAP channel is in such cases only (source: http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm )
    Also if you have any doubt regarding what kind of adapter to use please refer this discussion: Re: Can't select Adapter Type during creating communication channel.
    Adding one more link:
    Difference between SOAP and Http Sender
    Regarding the target url, u need to use the one which you can see after you hit the Post button.
    In the receiver SOAP channel, under the Target URL option u can find the User Authentication details...enter the user details who is authorised to post/upload the document.
    Regards,
    Abhishek.

  • I Need Information Regarding File Upload?

    Where can I get information regarding the File uploading packages in Portal. Is there a specification I can get a hold of. I know such a package exists, as it is used by portal itself. I just need to know where I can get hold of information as to what it is called and how to invoke it.

    Suraj,
    The APIs to do file upload are not public as of yet. We are looking into the feature right now. Currently, the only supported method of file upload is using the Web Interface.
    You may find more information about this in the 9iAs Portal forum
    Sue

  • Regarding File to JDBC/MS Access database

    Hi all,
    I am trying to insert some values in to MS access database table.I kept the .mdb file in the local PI folder.I am getting connection error
    com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//test/data/input/Employee.mbd': SAPClassNotFoundException: jdbc.odbc.JdbcOdbcDriver
    i have given the configuration as:
    JDBC Driver:   jdbc.odbc.JdbcOdbcDriver
    Connection:  jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//test/data/input/Employee.mbd
    Please give me some pointers.
    Regards,
    Anika

    Hi Anika,
    Also please check for :
    You can set the configuration as following:-
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ= Full Path of DB file;
    eg of full path:D:\USERS\Employee\employee.mdb
    Please go through these steps: (Assuming you are working on Windows)
    1) An ODBC driver for your database must be installed on the Windows computer running the application server.
    Check if there's an ODBC driver for MS Acess on the application Server.
    2) To connect through an ODBC driver, you must install the Sun JDBC-ODBC Bridge driver on the Windows computer running the application server. The driver comes with the Sun Java 2 SDK, Standard Edition, for Windows.
    Also there is another point.
    sun.jdbc.odbc.JdbcOdbcDriver
    This driver is a part of the JDK kit and so, you need not install the driver on your XI server. Check the SAP Note JDBC FAQ for this info.
    3)Define a DSN on the Windows system hosting your application server.
    4)These parameters you need to give while configuring the JDBC receiver adapter channel
    Regards
    joel
    Edited by: joel trinidade on Mar 26, 2009 12:45 PM

  • Regarding file content conversion and jdbc adapters

    hi
    can any one send me the details about the sender jdbc adapter and the receiver jdbc adapter.
    i need the output of sender jdbc adapter(structure)also fro the receiver jdbc adapter.
    for file content conversion -
    can any one send abt the sender and receiver of the FCC adapter.
    also provide some links abt these in blogs.
    thanks in advance .

    Hi..
       You can search those links in SDN.
    FILE to JDBC Adapter using SAP XI 3.0 --Receiver Jdbc adapter .
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC& ---for both sender and receiver jdbc adapter configuration
    Content Conversion (Pattern/Random content in input file) ---for FCC
    Regards,
    Leela

  • Regarding File Adapter

    Hi All,
       How can I specify the source Directory in Sender File Adapter. I have given it as
    <hostname>\<directory>. I am getting the error
    <hostname>\<directory> does not exist in adapter status. The directory is shared and has all permissions.
    Help me solve my issue.
    Thanks & Regards,
    Jai Shankar.

    Hi,
    if you're using file system
    try logging on your XI server system and
    try if you can access
    <hostname>\<directory
    from <b>there </b>with this path
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • How to replace a component in the JPanel?

    Hi, I want to replace a component in the JPanel. My panel has GridBagLayout. Thanks in advance.

  • How do I save my new data into a new .xls file? i am running my VI in a continious mode

    I am using a Data Acquisition Board to get my pressure and displacement signals. Have to measure it continiously. I am able to save the data continiously but not in new XLS file for new experiment. If any of you could hepl me with it

  • Movie Download time

    I am downloading a movie now and the screen says it will take 5 hours. Is that normal?

  • Not able to link inbound to outbound in cross dock

    Hi, we have a warehouse managment setup in our project we are using cross dock process linking of my inboun delivery to outbound delivery. In my inbound delivery consits of 2 materials amd my outbound also consists of the same materials while i am go

  • Time Management Query

    Hi Guys, What is the real use of Shift Group in time management Hi Guys if i want to connect my sap software with other software to collect data employees Clock in/Clock Out time what will be th e procedure in IMG to connect with subsystem,so that th