Gui_download_ filename creation problem

Dear Experts,
I am using the GUI_Download FM to download the file from the application server to the local desktop. when we passing the file name with out single qoutes its showing the dump error (type conflict error), and when we passes the file name with in the quotes its not taking the file path name correctly, instead its creating the file in desktop based on the filepath name.
for your better understanding please see the code.
DATA : FILENAME1(200) TYPE C.
    CONCATENATE DIR '\bkpf' VERSION '.XLS' INTO FILENAME1.
    CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
   BIN_FILESIZE                    =
    FILENAME                        = FILENAME1
    FILETYPE                        = 'DAT'
   APPEND                          = ' '
     WRITE_FIELD_SEPARATOR           = 'X'
IMPORTING
   FILELENGTH                      =
  TABLES
    DATA_TAB                        = IBKPF
pls help me to resolve this issue as it is very urgent.

Hi,
Instead of using the FM GUI_DOWNLOAD, use the OPEN DATASET statement. GUI_DOWNLOAD is for files from the presentation server, while OPEN DATASET is for files on the application server.
you can use for example:
DATA data_stringTYPE xstring.
    OPEN DATASET file_name FOR INPUT IN BINARY MODE.
    READ DATASET file_name INTO data_string.
    CLOSE DATASET file_name.
Good luck!

Similar Messages

  • Does Seeburger's SFTP adapter support dynamic filename creation

    Hi all,
    Does the SFTP adapter support dynamic filename creation.
    If yes, then do we have to use UDF's and are there any specific settings that have to be done in the SFTP communication channel.
    Please provide a blog which helps in the configuration process of the above case.
    thanks,
    younus

    Dynamic Creation of File using counter in Seeburger Variable:
    1. Configuration Needed in the Communication Channel:
    The process of dynamic creation of files can be done we have to select the following checkbox in the receiver channel:
    Dynamic Attribute in receiver Channel:
    Import the following modules:
    Localejbs/Seeburger/solution/sftp
    Localejbs/Seeburger/AttribMapper
    Localejbs/ModuleProcessorExitBean
    Enter  the desired file naming convention:
    Use the Parameter GetCounter("ID") to the place where the counter is expected to come.
    2. Configuration Needed in the SeeBurger Workbench:
    If the J2EE server is listening on a port different from 50000 (which is the standard for the SAP client 000), the port number must be configured:
    Login into the seeburger workbench using the URL
    http://<localhost>:<port number>/seeburger/index.html
    Select Property Store.
    Create or edit the following property:
    Parameter
    Value
    Namespace
    http://seeburger.com/xi/SeeFunctions
    Key
    provider.servlet.server
    Value
    http://localhost:50000/ (where the port number 50000 must be set
    accordingly to the J2EE server configuration).
    Note: The configured value (server URL) has to end with a slash (/). Otherwise,
    SeeFunctions will not work correctly.
    If we need to start the counter from any specific value , it can be configured in the SeeBurger workbench, this value can be maintained in Mapping Variables :

  • Database creation problem on Windows XP

    Hello Readers
    I have installed ORACLE Database Engine on windows XP.
    I am facing problem in database creation.
    I have tryed wizard as well as mannual method.
    in wizard at 90% it gives an error "END-OF-FILE ON COMMUNICATION CHANNEL"
    although CD drive is in CR Rom drive.
    Please help me ....
    Rashid Masood Ashraf
    email: [email protected]

    After going to the properties as you suggested:
    Right now the Obtain an IP address automatically is checked
    I need to check the Use the following IP address:
    What should I enter for
    IP address:
    Subnet mask:
    Default gateway:
    Please help.
    Edited by: Nel Marcus on Dec 2, 2008 3:49 PM

  • Remittance challan creation problem in Cross company code scenario.

    I made to Advance  payment to Cross comany code while posting time we deduct the TDS amount. at the time remiottance challan creation  i got bellow error.please help to me
    No unpaid tax lines exist for the given selection criteria.
    Message no. 8I702
    Diagnosis
    The corresponding withholding tax line  &1& is not present in WITH_ITEM table.
    System Response
    For withholding tax recovered from the vendor, tax line is present in table BSIS, but the corresponding entry is missing in table WITH_ITEM , which is necessary for challan updation. Check the entries.
    Procedure
    check entries in table WITH_ITEM for the open tax items chosen for clearing.
    Edited by: TEEGALA SATISH on Jun 15, 2010 5:43 PM

    Hi ...Actually i am getting same problem in challan creation.. Did you get any solution? ...

  • Process order creation problem

    I am creating a process order . while creating the process order system is throwing error as Auto batch numbering not set up for material type XXXX in plant xxxx . System is not allowing to create process order.
    How to resolve the issue.

    Check in CORW   and switch off batch creation  to isolate the problem if needed.   Also see whether you have any batch managed compoents   for which you have set master data for automatic batch determination.
    There is no setting for material types and plant for batch.  May be the error message is not correct.  What is the message number?

  • New Excise Invoice Creation - Problem

    Hi All,
    I am facing problem in creation of Excise Invoice. I dont know the step by step process, can any one help me to get this ?
    Best Regards
    Chintesh Soni

    Hi Chintesh,
    if you are referring to a 100% tax invoice, please see note [887917|https://service.sap.com/sap/support/notes/887917] for 2 workarounds.
    All the best,
    Kerstin

  • Logical Standby Creation Problems "Create STatus Unknown"

    We are using Grid Control 10.2.0.3 on Oracle 10.2..0.3 databases, Windows 2003 sp2 machines.
    We have a primary and fsfo physical standby working properly. We went to create a logical standby on a separate server and had problems. it turned out that the listener on the server was not discovered on the target. we fixed that problem and finished the creation of the logical standby and it seems to be functioning properly now.
    However, the status on the data guard page for the logical standby shows Create Status Unknown and we are unable to proceed on to create an additional standby database for other purposes. We have tried removing the logical standby target and re-discovering it but status still shows Create Status Unknown.
    Is there any way to clear this status without having to drop the logical standby and completely recreate it.

    The status on the agent shows it uploading successfully.
    We resolved the issue by removing the logical standby from the configuration and selecting to retain the log apply. We then re-added the standby selecting to manage an existing standby database and the status went to normal.

  • Dynamic file name creation problem

    Hi Friends,
                      I had a requirement where i had to generate file name at target side with the following format
    " raw_text_yyyymmddhhmmss.txt" . This can be acheived by using "currentdate" function but there is no field at target side which holds this value, if there was a field then i would have used variable substitution method to generate the file name.Another option is Dynamic Configuration UDF already
    my root node is mapped to some src field say FLD1 based on which i will be getting multiple files.
    How to customise this udf to get current date as filename for multiple target files:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    String Outputfile = conf.put(key,a);
    return Outputfile;
    Regards,
    Vinod.

    Hi Nityanand,
                          Your solution is right but actually problem here is recently a slight change was made for file name it should be "raw_text_yyyy-mm-dd-hh-mm-ss.txt"  by using variable substitution we get file name as this format "raw_text_yyyymmddhhmmss.txt"  .
    @Prateek: I cant give Currentdate as direct input to udf becoz we are generating files based on a certain field from source side.We are sorting this multiple source fields and generating target files.
    Any suggestions.....
    Regards,
    Vinod.

  • Date of creation problem after making Bridge create TIFs with PS Image Processor.

    I went through about 100 files and did what I wanted in Camera RAW (started out with NEFs). Thereafter I had Bridge make TIFs of all the files in the folder using the PS Image Processor.
    Now, looking at the TIF folder in Bridge, I find that about 80 of them has a wrong creation date (I checked the Preferences and I have asked for the date of creation - and not the date of modification). As I watch (several minutes) Bridge changes some of the dates to the ones known to me to be correct - but not all. If I close Bridge, restart Bridge and open the folder again the same happens, i.e. it starts all over. Even stranger is that the Windows Pathfinder have problems with the same files - i.e. does not show the date of creation at all.
    The date of these 80 files are all the same - and they have been edited over several days!
    I have done a lot of work on those files and would hate to start all over. I checked and of course the dates are the original in the RAW folder that I started out with.
    I am sure that I do not have any bugs in my PC.
    Can I remedy this i any way? I hate to have wrong dates on my files.
    What can I have done to cause this? Can anyone help me? Thanking You in advance.
    Git

    Thank You again.
    Yes, I have also purged the cache. More than once and again this morning. It does not change the result. Bridge still goes from the date January 13th 2013 to the correct date of creation when I look at the separate thumbnails - and back again when I scroll down the page and subsequently scroll up again!
    Thus it seems that Bridge knows the date that the camera set but somehow this foolish January date keeps coming back.
    All the folders with NEFs have correct dates - also the ones where I have imported the files from camera to pc in 2013! Only my TIFFs have this problem.
    Rigth now I am having Norton 360 run a complete system scan. When that is done I will inactivate Norton (I know that I cannot have 2 antivirus softwares and firewalls run simultaneously on the PC) and instead run a complete scan with Lavasoft Adaware Pro. I have also used Norton Utilities and found no problems. Plus Malwarebytes Antimalware and Superantispyware. No problems.
    If "date file created" is the date that the file was modified, it would not help me much. I often go back to a file and play with it again and if I have understood correctly, then this date would change again. I want to see the date of capture ("date created"). Also, by now the problem afflicts at least 1000 files. It would be impossible to do single file manual corrections of dates on so many files.
    Update: While I have been writing this, an opened folder with only 36 files has changed the dates to the correct date of capture. I could also scroll up and down without the dates changíng in this small folder. But when I closed Bridge, restarted it and looked at the folder again Bridge again did need minutes to get all the dates rigth. Maybe I have a pc capacity problem instead of a software problem? But why on earth would this specific wrong date result from a too weak pc.?
    Maybe I should just give up and reinstall PS?
    Sorry if I trouble You with a ridiculous problem.
    Git

  • File Sender Filename scheme problem

    Hello,
    we need to pick two types of files from the same folder on FTP server:
    Examples of filenames are:
    FILEINVRPT12_28102010.xml  and  FILESLSRPT12_28102010.xml
    We tried to use Advanced selection of files for these two file types and the filename scheme used was
    FILEINVRPT.xml in filename and FILESLSRPT.xml in Filename mask for Advanced selection
    All files of type FILEINVRPT.xml  have been picked up but FILESLSRPT.xml were not.
    We tried to remove advanced selection and even used *.xml and . as filename scheme ,still these files aren't picked up.
    Then we tried giving exact filename (hardcoded) for some of these files and they were picked up ,so there should be no problem with these files.
    Can anyone please suggest what could be the reason for this strange behaviour?
    Thanks a lot.
    Best Regards,
    Shweta

    Hi Shwetha,
    As per my understanding, you need to pick two different files(not having same naming convension) from the same folder. I see that you are using Advanced selection for Source files.
    This can be easily achieved, I have done it and providing you the steps to configure the adapter.
    1. In the File Access parameters, provide the source directory and filename as FILE*.xml.
    2. Now, check the option, advanced selection for source files.
    provide the directory = 10.20.30.40
    and the File Name Mask FILEINVRPT.xml, FILESLSRPT.xml
    Ensure that the file placed in the FTP should have the same naming convension of the filename.
    Thanks,

  • Filename space problem

    I have Iplanet web server(iws, 6.0 SP4) talking with weblogic 6.1 (using NSAPI plug-in). the request reaches iws and is internally redirected to weblogic. the problem i have is that there is a folder in weblogic which has spaces in filenames.
    When I try to access any file having spaces through Iplanet having spaces, the Get call only encodes URI with the letters of the filename till the first space and I get error back. The same problem is not seen when I access through Weblogic. Is there a know problem with Iplanet when spaces occur in URI?. how to resolve it

    Is the problem in the GET request sent to iWS or in the GET request sent from iWS to WebLogic? If it's the former, make sure the URL is properly encoded in the referring page. If it's the latter, the problem is a defect in the WebLogic NSAPI plugin.

  • RAID creation problem,

    When I try to create RAID sets, both mirrored in Disk Utility, one set works perfectly while attempting to create the other set results in the error message: "Creating RAID set failed with error: Could not find RAID"
    I've tested the disks with Techtool Pro and there were no errors found on either. I have also used the repair/rebuild function in DiskWarrior on both of them as well as the repair permissions and repair disk functions in Disk Utility.
    After the above error the 2 drives involved do not show up in the finder, but are still present in Disk Utility as unmounted disks. In order to act on them again they have to be initialized/formatted. After doing this they show up again, but any attempt to create a mirrored set with them continues to fail.
    Is there anything that can be done to fix this? Or are these bad drives that are good at hiding it (no bad sectors, all tests+).

    From your comments, I guess you are using 4 disks and trying to create two Mirrored RAIDs at the same time? If that's the case, you might try just creating 1 set using two disks, then quit Disk Utility. Launch Disk Utility, then try creating the second set using the other two disks. If that doesn't work, you might try rebooting in between RAID creations. If that doesn't work, you might try the work around seen here;
    http://forums.creativecow.net/archivethread/71/480772
    "2) Create 1st stripe from two devices, don't do anything to the other two yet. Shutdown Mac and turn off the power to the devices of the 1st stripe, leave the power on to the two un-stripe devices. Boot and stripe the 2nd pair, shutdown Mac. Turn power back on to the 1st stripe and reboot (all power to devices are on). Both stripes should be on the desk top."
    Personally, that 'solution' seems a little dated. Disk Utility has been able to create more than one set for a while now. I just tried it. I have a Stripped BootRAID using two disks, I used a partition from another internal disk and an old external disk, connected by USB2, to create another Stripped RAID. Then I broke the new Stripped set and created a Mirrored set. I didn't have any problems creating either. I had two stripped RAIDs on a FW800 G4 running Tiger a couple years ago...
    Good Luck

  • Generic Data Source Creation Problem....URGENT!!!!!!!!!!!!!

    Hello BW Experts...!
    I need to create a Generic Data Source out of a table called VBSEGK... I was trying in the usual way with RSO2 , but when I press save button after entering the Table name the following error is coming:
    " Invalid Extract Stucture Template VBSEGK of Data Source ZPARK_01"
    and when I click on the error message its showing
    Diagnosis
    You tried to generate an extract structure with the template structure VBSEGK. This operation failed, because the template structure quantity fields or currency fields, for example, field DMBTR refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
      VBSEGK is a standard table , so I cant change the Table structure. Can any one give me some idea of how to create Data source with this table ASAP ASAP please....
         Please ask me questions if you didnt get this...
    thanks

    Hi Harish,
    Please check OSS note 335342.
    Symptom
    The creation of a generic DataSource which is extracted from a DDIC view or a transparent table terminates with error message R8359:Invalid extract structure template &2 of Datasource &1
    Other terms
    OLTP, DataSource, extractor, data extraction, generic extractor
    Reason and Prerequisites
    The problem is caused by a program error.
    Solution
    The table or view used for extraction must have currency and unit fields within the field list of the table/view for all currency and quantity key figures.Otherwise the consistency of the extracted data cannot be ensured.To make the generation possible, check whether all key figures of your table refer to unit fields that are within the field list.If this is not the case, there are two possibilities:
    1. A table is used for extraction.
    Create a view in which you have a currency / unit field contained in the view for each key figure. The currency / unit field from the table must be included in the view to which the key figure actually refers.
    Example:
    Field WKGBTR of table COEP refers to the unit field WAERS of table TKA01. In a view that contains field COEP-WKGBTR, table TKA01 and field WAERS must be included in the field list.
    If the currency or the unit a key figure refers to is not located in a table but in a structure, the key figure has to be removed from the view and read via a customer exit (see below). Structures cannot be included in a view.
    ATTENTION!! Often the key of the table in which the referenced unit is located, does not agree with the key in the table with the corresponding key figure. In this case, the join condition of both tables is not unique in the view definition, that means for each key line of the table with the key figure, several lines of the table with the unit may be read: the result is a multiplying of the number of lines in the view by a factor corresponding to the number of lines that fit the key figure, in the unit table. To be able to deliver consistent data to a BW system, check whether the unit of the key figure in question should always have a fixed value. If yes then you can determine that in the view definition via 'GoTo -> Selection conditions'. If no, then you must proceed as follows:
    a) Remove the key figure from the view
    b) Define the DataSource
    c) Enhance the extract structure by key figure and unit for each append (Transaction RSA6)
    d) Add the key figure and the unit in a customer exit
    2. A view is already used for the extraction
    If it is not possible to obtain a unit of measure from a table on which the view is based, the unit field must be deleted from the field list.
    A note in relation to the upward compatibility of BW-BCT InfoSources: BW-BCT 1.2B was not yet able to check units and currency fields. For this reason, it is possible that InfoSources which were defined in the source system as of BW-BCT 1.2B must be redefined as of 2000.1 in the manner described above. However, checks are absolutely essential for the consistency of the extracted data.
    Regards,
    Praveen

  • Database creation problems and parition consolidation

    This is my first time on here so please look past my green-ness. =)
    I Installed Oracle 8.1.7 successfully and opted to setup the database creation later so I could put the database on another partition. Well, I tried once to create the database on the partition I installed oracle onto (/oracle) but I had insufficient space, It said I needed 1.3 gigs. My "/database" partition is only a 1 gig parition (and /oracle is 2 gigs). My plan was of course, to seperate them.
    Ok, I didn't see an option to create the db on another partition so I resigned to using /oracle. My question now is, is the 960 megs on /oracle enough to create the database? I used the custom setup so I could see how everything was broken down and I noticed that my rollback segment is 500 megs. Is this necessary? Can I get by with 100 megs and be fine? Also, if I did do this, I'd have approximately 100 megs free for data, this is enough I hope??
    Lastly, I need to combine the partitions somehow without effecting /. The hard drive is broken down into:
    gigs
    5.5 /
    2.0 /oracle
    1.0 /database
    Does anyone have any ideas? In windows, I used partiton magic but I don't know if there is a linux version.
    One more thought (last one for real =), it had 50 megs allocated for it's shared memory pool. I'm assuming this will take away from the 128megs I have thus effectively making only 78 available to X, will this cause any noticeable problems other than a bit of slowdown? I have most if not all of my virtual memory free at all times. I know I should get more ram, but you know how the budget thing goes...
    Any help would be greatly appreciated,
    Rob

    Try running the catalog and catproc sql scripts.
    $ cd $ORACLE_HOME/rdbms/lib
    $ svrmgrl
    connect internal
    @catalog
    @catproc
    That will set up all of the internal views and packages that
    oracle needs to do DDL.
    Scott
    Don DeLuca (guest) wrote:
    : I'm gotten through the install and created the database. The
    : database comes up, I can do some simple stuff like create a new
    : user, create a simple table but when I try to run SQL DDL
    : statements I get errors saying: "recursive SQL error". I
    : looked at the sql.log file after the install. It doesn't look
    : like all the packages were created successfully. Have others
    had
    : similiar problems with the system table/package creation? To
    me
    : it looks like a DDL that was needed was not called during the
    : install and later caused problems during package creation.
    : This is my fourth time installing and I have the same problem
    : each time. I also tried to run the plsql.sql file to recreate
    : some of the packages but this did not work either.
    : I've just about given up and I'm starting to realize why its
    : free.
    null

  • Filename creation options like AudioGrabber

    When I rip a Cd in I-Tunes to MP3, two folders are automatically created, one with the name of the artist, and a sub-folder with the name of the album. In this sub-folder I can find the filename.
    Well, as a professional DJ, I do not like to organize my folders this way. I prefer to have one only main folder with all my MP3 tracks or have some folders named by genre. I like to have the filename as: Artist name - Track name. This does not occur when you rip with I-Tunes, and so you need to use Tag & Rename in order to rename the file (s).
    I would like to suggest a feature found in AudioGraber, where in Options, you can create filenames from Artist name and Track name or create a Directory for Artist and a Sub-Directory for album.
    I love I-Tunes !
    I would be very happy with comments.
    Elvert Brandao
    Rio de Janeiro - Brazil

    I had the same problem and didn't find an option to fix it. It's archaic and bad design to import tunes into folders that are forcibly created with the names of the artist and album from MP3 ID tags that are usually incorrect, anyway. Worse, it then only names the actual tune file without the artist in it. Amazing!!!
    If iTunes were the ultimate product that did anything anyone ever needed, there then might be the weakest of arguments for not providing additional customization and options. But, since no software has or ever will be THAT good, it's just bad design!
    Working around iTunes' lack of file management:
    If you have a more capable song file management software like MusicMatch, Windows Media Player, or any of the many other such products, I suggest you do your tune management through those programs, then run iTunes ONLY to load iPods or any other functions EXCEPT importing music.
    If you buy from the Apple store, then after downloading it, exit iTunes, bring up your system file explorer, move the files out of the stupid folders they were loaded into, rename them, then run the other softwares to fix up the library. MusicMatch has a wonderfully powerful 2-way interface to name you song files after the ID tags in any order you want or vice versa (fill tage from filename).
    In short, despite it's wonderfully simple interface with its non-existent file management, I suggest NOT using iTunes unless absolutely necessary to load an iPod.
    iTunes is currently at version 6. Pehaps by version 10, they'll get it more usable for anyone with more than the most simplistic needs.

Maybe you are looking for

  • Windows 10 Installation hangs on Windows logo (Not installing on VirtualBox)

    I am trying to install Windows 10 parallel with my Windows 7. I downloaded the latest ISO and created the bootable DVD but during the installation its just hanging on Windows logo and it doesn't go further. I have even disabled the UEFI on my machine

  • Cant get itunes to install it keeps saying HRESULT:0x80073712 please help!!!

    I cant get itunes to install on my computer. I uninstalled it and now it wont let me reinstall. It keeps saying error HRESULT:0x80073712 please HELP!!

  • Pivot point in Photoshop CS 4

    Hello I seem to have an issue using 3D layers in Photoshop CS 4 ext. You see I have a layer which I convert to a 3D layer and I want to rotate the element however I would like to move the pivot point which it rotates from. I am unable to do this. I c

  • FP in different browsers

    Do I need to install FP in every browser I use? I have FP installed in IE 8 and it works fine in IE 8, but when I go to FF and try to watch a video there, (specifically in FB), I am told that I need to download FP. I use Windows XP/SP3, 32 bit, Brows

  • Error when trying to view details of a task in Worklist App

    I am trying to view the details of a task in the Worklist app the new window comes up, but i get an error message oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.naming.NameNotFoundException: Unable to resolve 'TaskQuerySer