Error with Filename

Hi,
I am trying to get an Excel File Name using the function module KD_GET_FILENAME_ON_F4 on a Module Pool program. I can see the name of the file but when I click on it it just does not move the filename to the screen field.
Using the DEBUGger, I found that in KD_GET_FILENAME_ON_F4 when he calls the FM WS_FILENAME_GET it returns sy-subrc as 4 (selection error).
Could you please help me with this problem?
Here is the code sample.
Best regards.
CONSTANTS:   C_XLS(25)  TYPE C  VALUE ',Arquivos do Excel,*.XLS'.
CONCATENATE RLGRAP-FILENAME C_XLS INTO V_TEMPARQ.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                STATIC    = ' '
                MASK      = V_TEMPARQ
           CHANGING
                FILE_NAME = RLGRAP-FILENAME.

Hi,
Try to use
DATA: LV_CNT TYPE I,
LS_FILENAME TYPE FILE_TABLE,
LT_FILENAME TYPE FILETABLE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
EXPORTING
DIRECTORY = 'C:'
FILTER = '*.*'
FILES_ONLY = 'X'
CHANGING
FILE_TABLE = LT_FILENAME
COUNT = LV_CNT.
LOOP AT LT_FILENAME INTO LS_FILENAME.
WRITE: / LS_FILENAME.
ENDLOOP.
aRs

Similar Messages

  • Export Tasksequence fail with error "The filename, directory name, or volume label syntax is incorrect"

    Hello
    When I try to Export a Task Sequence I recive the following error in the Export Wizard
    Error: The filename, Directory name, or volume Label Syntax is incorrect
    Dos someone now this error or is ther a log with more Information? In the Log TaskSequenceProvider.log I dont find any error.
    Andreas

    Hi Jörgen
    Thanks for the Answer, I have exported do the Root of
    a Drive.<o:p></o:p>
    Put I have found the Problem, a Application Package pointed
    to a Source path that doesn’t exists any more<o:p></o:p>
    Andreas

  • Firefox has repeatedly gone into "Not responding", needing me to force close it (or it will bomb out eventually) - always with Hotmail, possibly related to "Error! Filename not specified." being added to some e-mails when using FF .... any ideas?

    Not much more to add, other than this current and very interesting thread elsewhere:
    http://www.google.co.uk/support/forum/p/gmail/thread?tid=3ed94668bd00125f&hl=en
    I first picked out Firefox as being a common feature to the words "Error! Filename not specified." being added to e-mails (the thread talks about gmail, but I am finding it with Hotmail too) and other contributors note FF has suddenly started locking up unusually frequently. FF has always been stable for me with Hotmail until now - other (non-email) web sites are okay. I have McAfee Internet Security and Ad-Aware installed, both up-to-date and both show the PC to be clean. I've also updated all plugins etc - again, the problem persists.

    Okay, it's McAfee Site Advisor clashing with Firefox (I'm running FF v3.6.13). Disable McAfee Site Advisor by:
    Firefox > Tools > Add-ons > Extensions > McAfee Site Advisor > Disable and re-start Firefox.
    Stability returns to Firefox, Hotmail no longer locks up and no longer adds "Error! Filename not specified." and a bunch of grey squares to the end of sent e-mails.
    Thanks to those at:
    http://www.google.com/support/forum/p/gmail/thread?tid=7c144d837db89ac6

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • B2B-51566 Description: Parse stream error with RosettaNet 1.1

    Hi
    Need help with the following error message
    B2B-51566 Parse stream error
    We have a trading partner set up to use RosettaNet 1.1 protocol and we are getting 51566 error. We are NOT experiencing this error with a trading partner who is in RosettaNet 2.0
    we are currently patched up to 11.1.1.5
    One thing I notice is when i go to the message and open the packed message i get this "Cannot display Packed Message in binary format."
    Here is the payload
    XMessage-ID: <[email protected]d.e2open.com>
    MIME-Version: 1.0
    Content-Type: multipart/related;
         boundary="----=_Part_176_29725195.1331307008851";
         type="Application/x-RosettaNet"
    Content-Description: This is the RosettaNet Business Message
    Content-ID: "-15059242:135f6ea5e3c:-62b9"
    ------=_Part_176_29725195.1331307008851
    Content-Type: Application/xml; rnsubtype=preamble-header; name=Preamble
    Content-Transfer-Encoding: binary
    Content-Disposition: attachment; filename=Preamble
    Content-ID: <[email protected]>
    Content-Description: This is the Preamble Header part of the Business Message
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE Preamble SYSTEM "PreamblePartMessageGuideline.dtd">
    <Preamble>
    <DateTimeStamp>20120309T153008.852Z</DateTimeStamp>
    <GlobalAdministeringAuthorityCode>RosettaNet</GlobalAdministeringAuthorityCode>
    <GlobalUsageCode>Production</GlobalUsageCode>
    <VersionIdentifier>1.1</VersionIdentifier>
    </Preamble>
    ------=_Part_176_29725195.1331307008851
    Content-Type: Application/xml; rnsubtype=service-header; name=ServiceHeader
    Content-Transfer-Encoding: binary
    Content-Disposition: attachment; filename=ServiceHeader
    Content-ID: <[email protected]>
    Content-Description: This is the Service Header part of the Business Message
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ServiceHeader SYSTEM "ServiceHeaderPartMessageGuideline.dtd">
    <ServiceHeader>
    <ProcessControl>
    <ProcessIdentity>
    <description>
    <FreeFormText>NotNull</FreeFormText>
    </description>
    <GlobalProcessCode>Request Purchase Order</GlobalProcessCode>
    <GlobalProcessIndicatorCode>3A4</GlobalProcessIndicatorCode>
    <initiatingPartner>
    <GlobalBusinessIdentifier>007710825</GlobalBusinessIdentifier>
    </initiatingPartner>
    <InstanceIdentifier>PIPC0A85CB8135F814CB4200000EAFE56F0</InstanceIdentifier>
    <VersionIdentifier>V02.00</VersionIdentifier>
    </ProcessIdentity>
    <ServiceRoute>
    <fromService>
    <BusinessServiceDescription>
    <GlobalBusinessServiceCode>Seller Service</GlobalBusinessServiceCode>
    </BusinessServiceDescription>
    </fromService>
    <toService>
    <BusinessServiceDescription>
    <GlobalBusinessServiceCode>Buyer Service</GlobalBusinessServiceCode>
    </BusinessServiceDescription>
    </toService>
    </ServiceRoute>
    <TransactionControl>
    <AttemptCount>1</AttemptCount>
    <PartnerRoleRoute>
    <fromRole>
    <PartnerRoleDescription>
    <GlobalPartnerRoleClassificationCode>Seller</GlobalPartnerRoleClassificationCode>
    </PartnerRoleDescription>
    </fromRole>
    <toRole>
    <PartnerRoleDescription>
    <GlobalPartnerRoleClassificationCode>Buyer</GlobalPartnerRoleClassificationCode>
    </PartnerRoleDescription>
    </toRole>
    </PartnerRoleRoute>
    <TransactionIdentity>
    <GlobalTransactionCode>Request Purchase Order</GlobalTransactionCode>
    <InstanceIdentifier>TIC0A85CB8135F814CB4200000EAFE5700</InstanceIdentifier>
    </TransactionIdentity>
    <SignalControl>
    <inResponseTo>
    <ActionIdentity>
    <GlobalBusinessActionCode>Purchase Order Request Action</GlobalBusinessActionCode>
    <InstanceIdentifier>C0A85CB8135F814C33C00000EAFE5670</InstanceIdentifier>
    </ActionIdentity>
    </inResponseTo>
    <InstanceIdentifier>20120309T153008.882Z</InstanceIdentifier>
    <PartnerRoute>
    <fromPartner>
    <PartnerDescription>
    <BusinessDescription>
    <GlobalBusinessIdentifier>364132837</GlobalBusinessIdentifier>
    </BusinessDescription>
    <GlobalPartnerClassificationCode>null</GlobalPartnerClassificationCode>
    </PartnerDescription>
    </fromPartner>
    <toPartner>
    <PartnerDescription>
    <BusinessDescription>
    <GlobalBusinessIdentifier>007710825</GlobalBusinessIdentifier>
    </BusinessDescription>
    <GlobalPartnerClassificationCode>null</GlobalPartnerClassificationCode>
    </PartnerDescription>
    </toPartner>
    </PartnerRoute>
    <SignalIdentity>
    <GlobalBusinessSignalCode>Receipt Acknowledge</GlobalBusinessSignalCode>
    <VersionIdentifier>1.1</VersionIdentifier>
    </SignalIdentity>
    </SignalControl>
    </TransactionControl>
    </ProcessControl>
    </ServiceHeader>
    ------=_Part_176_29725195.1331307008851
    Content-Type: Application/xml; rnsubtype=service-content;
         name=ReceiptAcknowledgement
    Content-Transfer-Encoding: binary
    Content-Disposition: attachment; filename=ReceiptAcknowledgement
    Content-ID: <[email protected]>
    Content-Description: This is the Service Content part of the Business Message
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ReceiptAcknowledgement SYSTEM "ReceiptAcknowledgementMessageGuideline.dtd">
    <ReceiptAcknowledgement>
    <fromRole>
    <PartnerRoleDescription>
    <ContactInformation>
    <contactName>
    <FreeFormText>E2open Support</FreeFormText>
    </contactName>
    <EmailAddress>[email protected]</EmailAddress>
    <telephoneNumber>
    <CommunicationsNumber>650-381-6000</CommunicationsNumber>
    </telephoneNumber>
    </ContactInformation>
    <GlobalPartnerRoleClassificationCode>Seller</GlobalPartnerRoleClassificationCode>
    <PartnerDescription>
    <BusinessDescription>
    <GlobalBusinessIdentifier>364132837</GlobalBusinessIdentifier>
    <GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>
    </BusinessDescription>
    <GlobalPartnerClassificationCode>null</GlobalPartnerClassificationCode>
    </PartnerDescription>
    </PartnerRoleDescription>
    </fromRole>
    <receivedDocumentDateTime>
    <DateTimeStamp>20120309T153008.907Z</DateTimeStamp>
    </receivedDocumentDateTime>
    <receivedDocumentIdentifier>
    <ProprietaryDocumentIdentifier>337719</ProprietaryDocumentIdentifier>
    </receivedDocumentIdentifier>
    <thisMessageDateTime>
    <DateTimeStamp>20120309T153008.904Z</DateTimeStamp>
    </thisMessageDateTime>
    <thisMessageIdentifier>
    <ProprietaryMessageIdentifier>20120309T153008.905Z</ProprietaryMessageIdentifier>
    </thisMessageIdentifier>
    <toRole>
    <PartnerRoleDescription>
    <GlobalPartnerRoleClassificationCode>Buyer</GlobalPartnerRoleClassificationCode>
    <PartnerDescription>
    <BusinessDescription>
    <GlobalBusinessIdentifier>007710825</GlobalBusinessIdentifier>
    <GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>
    </BusinessDescription>
    <GlobalPartnerClassificationCode>null</GlobalPartnerClassificationCode>
    </PartnerDescription>
    </PartnerRoleDescription>
    </toRole>
    </ReceiptAcknowledgement>
    ------=_Part_176_29725195.1331307008851--

    I do have SR but hoping i can get quicker answer hereYou may always escalate the SR if you are not getting response timely. Anyways, give the reference of this thread in the SR and ask service engineer to file a bug.
    I will email you the wire messageI saw the wire message you mailed across. There are some junk characters in the starting of the payload and that's why parsing is failing. Most probably it is a BOM (Byte Order Mark). Ask your TP to send messages in UTF-8 encoding without BOM or any other junk character in the starting of the message. You may open the wire message payload you mailed across in notepad or textpad and you will able to see those junk characters in the starting of the payload.
    Regards,
    Anuj

  • Error with a File Sender interface

    Hi gentz,
    we have an error with an interface which we can't explain. We are using a File Sender Adapter with File Transfer Protocol.
    We are receiving the following eror:
    <i><b>Could not process file '0080953854-071201.csv': com.sap.aii.adapter.file.ftp.FTPEx: 550 SAPUIT: The system cannot find the file specified</b></i>
    It seems that we can see that there is a file present, but it also is saying that the file can not be found.
    We already tested the connection with a separate FTP program, and here we have no errors in retrieving the file.
    Has anybody got a clue what we are doing wrong???
    Thanks in advance!
    Peter

    Hi Peter,
    which Tool do you use as FTP-Client (WS_FTP)?
    Make sure taht you refresh the client (F5); WS_FTP does not automatically refresh.
    But I also suggest to copy and paste the filename agin from folder on server into your communication channel.
    Sometimes the filenames are different, but the eyes are to tired
    Greetz Mario

  • 32-bit Windows Error: 38: Filename too long and NOD32

    I had Vist32 and Oracle 10.2.0.1 running with no problems.
    Then I have installed NOD32 3.0.624.
    After that I could not start listener.
    Started with pid=2868
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pcdamir)(PORT=1521)))
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      32-bit Windows Error: 38: Filename too longThen I have disabled NOD (services and egui exe) and restart PC. Still have a problem with listener.
    I'm 100% sure that NOD is the problem because just before installing the NOD all was running in a perfect order!
    Any info how to overcome that (without removing NOD, because I'd like to have it on my PC) and have Oracle working...
    Just to show that all seems to be OK, here are my configuration files....
    Our Listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
         (SID_DESC =
            (SID_NAME = PLSExtProc)
            (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
            (PROGRAM = extproc)
          (SID_DESC =
              (GLOBAL_DBNAME = xe.world)
              (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
              (SID_NAME = XE)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = pcdamir)(PORT = 1521))
    CONNECT_TIMEOUT_LISTENER=15sqlnet.ora
    NAMES.DIRECTORY_PATH= (TNSNAMES)THX
    Search tjhe metalink gave me no good answer (just some rookie advicess about network files).
    P.S:
    I do remember that something similar happend on the job. After installing NOD32 we have to reinstall the Oracle client which was having problems with onames (sometimes it could ping and sometimes not!)...
    Please I'm sure that someone else had problems like we. I could reinstall Oracle but I'd like to understand what is going on....
    THX2

    Vista 32 is unsupported? I think there is some misunderstanding about that....Ok maybe 10.2.0.3 is fully supported but... 10.2.0.1 is "unpatched" but please do understand ... it was working very nice before installing NOD32. All of it!
    Also, please do understand that we are not rookies and 1 year old DBA...
    On the job, there is the same problem on Windows XP SP2 client and Oracle 9.2.0.6 and names server. Here all was working smooth and nice until on client NOD32 was installed. From that moment client was sometimes unable to resolve tnsping through names service on "real" Sun Solaris 10 with 9.2.0.6 (patched!!) database. This is "real" enough and fully supported by Oracle....
    That all is to obvious that something is wrong on the client side. Please do understand that none of the problems that I found on metalink that was made form user were not resolved.
    So I just want to try to understand the cause....Please I know that Vista is not OS for database, but sometimes we have to have something small at home for Oracle fun....and testing some SQL's....
    THX
    P.S:
    All can be repaired (at least that helped on the work) to reinstall Oracle client (administrator type) again after NOD32.
    Here maybe something can be done again ... bu I'd like to know what is the problem...if possible.

  • Error with forign key constraints

    hi
    I have a .sql file which contains about 180 tables scripts . TO disable the contraints i ran the below script first
    begin
    for v in (select constraint_name, table_name from user_constraints where constraint_type = 'R')
    loop
         execute immediate
         'alter table ' || v.table_name || ' disable constraint ' || v.constraint_name;
    end loop;
    end;
    and then the .sql file by giving @filename.sql .Some of the scripts are getting executed but the one's having forign key references it is showing containt error foreign key check. but when i ran the above script ie the one to disable the foreign key check again and then ran each of these table scripts which showed error before manually it gets executed .why is this so? can anyone help me in solving this problem
    Thanking you in advance
    Dinny

    I have a .sql file which contains table scripts and i some of these tables there is foreign key referencesing other tables so when i am ruuning the script it is showing such tables(ie the tables that i am refering to) is not existing for eg below is one of the script from the .sql file
    create table t_system_groups (
    group_id NUMBER(11) not null,
    group_name VARCHAR2(255) not null,
    group_desc VARCHAR2(255),
    parent_id NUMBER(11) default '0',
    full_path VARCHAR2(255) default NULL,
    CONSTRAINT pk_group_id_t_system_groups PRIMARY KEY (group_id),
    CONSTRAINT uk_group_name_t_system_groups UNIQUE (group_name),
    CONSTRAINT fk_t_system_groups FOREIGN KEY (parent_id) REFERENCES t_system_groups (group_id) ON DELETE CASCADE
    Since i have run the script for disabling the constraints before running the .sql file then why is it showing such as error. also showing errors with drop table having references
    for eg:
    SQL> begin
    2 for v in (select constraint_name, table_name from user_constraints where constraint_type = 'R'
    3 loop
    4 execute immediate
    5 'alter table ' || v.table_name || ' disable constraint ' || v.constraint_name;
    6 end loop;
    7
    8 end;
    9 /
    PL/SQL procedure successfully completed.
    SQL> drop table t_system_groups;
    drop table t_system_groups
    ERROR at line 1:
    ORA-02449: unique/primary keys in table referenced by foreign keys
    Regards
    dinny

  • Error with excel upload

    Hi
    it is going to dump.
    in the debugging , when it reaches the alsm_excel_internal_table
    at filename parameter it is going to dump
    in error it is saying the wrong with filename(v_fname).
    i have declared v_fname and p_fname as
    parameters: P_FNAME LIKE RLGRAP-FILENAME MODIF ID P1,
    UNIXFILE LIKE RLGRAP-FILENAME MODIF ID P2.
    DATA:   V_FNAME TYPE STRING.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    MOVE P_FNAME TO V_FNAME.
    LEN = STRLEN( V_FNAME ).
    LEN = LEN - 3.
    IF V_FNAME+LEN(3) = 'xls'.
                PERFORM EXCEL_UPLOAD.
    ELSE.
    . PERFORM TEXT_UPLOAD.
    FORM EXCEL_UPLOAD .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            FILENAME                      = V_FNAME
            I_BEGIN_COL                   = '1'
            I_BEGIN_ROW                   = '1'
            I_END_COL                     = '10'
            I_END_ROW                     = '100'
          TABLES
            INTERN                        = I_XLTAB
         EXCEPTIONS
           INCONSISTENT_PARAMETERS       = 1
           UPLOAD_OLE                    = 2
           OTHERS                        = 3
        IF SY-SUBRC <> 0.
        ENDIF.
    .ENDFORM.
    pls give me a suggestion ????

    Hi,
    Even though u move p_fname to v_fname , the decleration of v_fname should be of type rlgrap-filename because the filename(of ALSM_EXCEL_TO_INTERNAL_TABLE ) is of type RLGRAP-FILENAME .
    Or u can do this
    parameters: P_FNAME LIKE string MODIF ID P1,
    UNIXFILE LIKE RLGRAP-FILENAME MODIF ID P2.
    DATA: V_FNAME TYPE RLGRAP-FILENAME .
    LEN = STRLEN( P_FNAME ).
    LEN = LEN - 3.
    MOVE P_FNAME TO V_FNAME.
    IF V_FNAME+LEN(3) = 'xls'.
    PERFORM EXCEL_UPLOAD.
    ELSE.
    . PERFORM TEXT_UPLOAD.
    Regards,
    Sachin M M
    Edited by: Sachin Mathapati on Jun 13, 2008 4:31 PM

  • ITunes music file with filename 255 characters will not download

    Hi all,
    I recently purchased an album from the iTunes store where by a single track fails to download and produces the error as follows:
       There was a problem downloading
       “Here Comes the Sun / A Symphony of British Music: Music For the Closing Ceremony of the London
       2012 Olympic Games / Urban Voices Collective, Pete Lockett, Rahda Meta, Prabhat Rao, Varun Verma,
       Toby Pitman, David Arnold, Bilwal Iyer, Eos Chater, Tania Dav".
       An unknown error occured (-50).
    Things to note:
    + All other tracks downloaded perfectly
    + I have been able to download other albums/tracks before and after with no problem
    + Looking at the filename, it seems to be >255 characters so wondered if this is the problem.
    + I can download the file via the cloud to my iPad, but for some reason via my Mac it wont work.
    + It's worth pointing out that My iTunes library is located on a Synology 212+ NAS drive.
    + I have an itunes library of over 78G of tunes, movies and apps from the store that all work fine
      on there apart from this one music file - again the file length stands out.
    + every time I download something new ,it keeps erroring with the same message as iTunes tries to re-download the file
      so its essentially stuck. same with check for downloads etc, the file remains stuck and errors the same.
    Are there any known issues with hosting your itunes library on a NAS drive?
    Again, the only thing that stands out about this file is the file length and its the only track I have had a problem with.
    Is there any workaround I could try i.e. some how copying the file from iPad manually over to iTunes library (truncating the name), will this remove the stuck file from my download queue?
    In the meantime this file is essentially stuck in my iTunes (Mac) download queue and I am missing a track from the album.
    Many thanks for any help offered!

    err = -50 when downloading from store - https://discussions.apple.com/thread/3697501 - delete incomplete downloads from downloads folder as per http://support.apple.com/kb/TS3297
    iTunes Store: "Error (-50)" when downloading purchased content - http://support.apple.com/kb/TS1583

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • Issue with filename in gui_download fn module

    Hi,
    i have an issue with the filename of text file that was dowloaded using gui_download fn module.
    PARAMETERS : p_file TYPE rlgrap-filename.
    CONCATENATE s_laufd-low6(2) s_laufd-low4(2) INTO gv_dt.
    CONCATENATE 'HINL' gv_dt '.001' INTO p_file.
    START-OF-SELECTION.
      DATA: v_file TYPE string.
      v_file = p_file.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = v_file
          filetype                = 'ASC'
          append                  = 'X'
        TABLES
          data_tab                = it_tab[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    data is downloaded into the textfile with filename as HINL2411 truncating the decimal part.
    How can i get the filename along with the decimal part as HINL2411.001.
    Thanks

    Hi ,
    Declare p_file  as TYPE string

  • Odd Error with decode function in Order By Clause

    I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
    select task_id, display_date, remark_id from task_list
    where task_id > 1000
    order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
    returns the error:
    select task_id, display_date, remark_id from task_list
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?

    I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
    The Order by was rewritten like this:
    order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
    decode(pSort, 'Remark_ID',Remark_ID);
    Thanks

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

  • Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)

    Hi,
    I bought Mainstage 3 for my MBP (15'' 2011).
    When i click con "perform" i get graphic errors.
    I have the same issue with the old Mainstage version since Mountain Lion.
    Also a fresh installation didn't help.
    I think i'm not the only one with this issue!
    I don't know how to report a bug?
    Perhaps someone can help me.
    (and  I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
    /forgotten ebi
    So, here an example how it looks like when i click on "perform":

    Same configuration,same problem. BUT I found a workaround.
    Mainstage has this error with the AMD video card and/or a second monitor connected.
    With a little app (http://gfx.io)  it's possible to really force the MBPro to use the Intel Graphics card.
    This will work only with the internal screen, not with a second screen connected.
    And sometimes you need to restart, to really make the Intel video card free.
    This works fine...In the meantime of a fix.

Maybe you are looking for