Getting error logical file name not maintained adequtely

Hi,
when i execute a z report and press the download botton getting error logical file name not maintained adequtely,see long text.
Below code i wriien. Please somebody help..
    DATA: lt_rows TYPE lvc_t_row.
    CASE e_ucomm.
      WHEN 'DOWNL'.
Determine and construct OS specific file name                        *
        PERFORM get_file_name_for_os.
in the  above perform , i wriien
FORM build_file_name USING pf_os
                           pf_with_file_extension
                           pf_param_1
                           pf_format
                           pf_fname.
  DATA: lf_para1(20) TYPE c.
pf_param_1 hold the materialnr with leading zeros not prefered in    *
download file name                                                   *
  WRITE pf_param_1 TO lf_para1.
  CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
  CLIENT                        = SY-MANDT
      logical_filename              = 'Z_MATERIAL_BOM_FILE'
      operating_system              = pf_os
      parameter_1                   = lf_para1
  PARAMETER_2                   = ' '
  PARAMETER_3                   = ' '
  USE_PRESENTATION_SERVER       = ' '
      with_file_extension           = pf_with_file_extension
  USE_BUFFER                    = ' '
    IMPORTING
  EMERGENCY_FLAG                =
    file_format                   = pf_format
    file_name                     = pf_fname
EXCEPTIONS
   file_not_found                = 1
   OTHERS                        = 2
Error handling.
  CASE sy-subrc.
    WHEN '1'.
      MESSAGE e014(ba) WITH 'Z_MATERIAL_BOM_FILE'.                     "error message i am getting      LEAVE.
    WHEN '2'.
      MESSAGE e213(ky) WITH 'Z_MATERIAL_BOM_FILE'.
      LEAVE.
  ENDCASE.

Hi.
In file txn,
click on "Logical File Name Definition, Cross-Client" from the left.
Then click position and check for your logical file name.
If you dont get it, it means you need to create it. You can click on New Entries to create.
Thanks
Mani

Similar Messages

  • FM for getting the logical file name

    Hi,
    is there any FM for getting the logical file name.
    Thanks
    Vikranth

    Hi,
    CONSTANTS: c_mask          TYPE char9      VALUE ',.,..'.
          Pick up the file path from the application server
    FORM f1001_browse_appl_file .
      DATA:  lcl_directory  TYPE char128.
      lcl_directory  = p_direct.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = lcl_directory
          filemask         = c_mask
        IMPORTING
          serverfile       = p_f2  " Parameter File
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
       MESSAGE e000(zmm) WITH text-039.
       flg_app = 'X'.
      ENDIF.
    Then use  OPEN DATASET for data reading
    Hope this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • Error - Logical file is not part of database. Use RESTORE FILELISTONLY to list the logical file names

    I made a script to restore .bak or backup files. It works for some databases, but not for one. How do I make it work for any type of .bak file ? This is in sql server 2008. The error message is -
    Msg 3234, Level 16, State 1, Line 1
    Logical file 'Northwind_Data' is not part of database 'Northwind'.
    Use RESTORE FILELISTONLY to list the logical file names.
    Msg 3013, Level 16, State 1, Line 1
    RESTORE DATABASE is terminating abnormally.
    Script -
    IF DB_ID('Northwind') IS NULL
    BEGIN
    RESTORE DATABASE [Northwind]
    FILE = N'Northwind_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    WITH FILE = 1,
    MOVE N'Northwind_Data'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind.mdf',
    MOVE N'Northwind_Log'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind_0.LDF',
    NOUNLOAD, STATS = 10
    END

    Hello,
    The issue you are facing might be related to below link
    http://support.microsoft.com/kb/2487231/en-us
    As per link this is known issue.Can you please check service pack level of SQL Server 2008 .It should be SP3.Please apply SP3 and see if the error subsides.
    Also error suggests  logical file name 1 which you are giving is not part of the backup set from which you are trying to restore.You should first use below query to determine right file then proceed with restoration of the same.
    restore filelistonly from disk='C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    if file ID is 3 may be your restore script would be like below
    F DB_ID('Northwind') IS NULL
    BEGIN
    RESTORE DATABASE [Northwind]
    FILE = N'Northwind_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    WITH FILE = 3,
    MOVE N'Northwind_Data'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind.mdf',
    MOVE N'Northwind_Log'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind_0.LDF',
    NOUNLOAD, STATS = 10
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Getting Error: Config file does not have IDStore WLS Administrator Username

    I am configuring OIM/OAM in HA mode following the EDG:
    - Enterprise Deployment Guide for Oracle Identity Management
    - 11g Release 1 (11.1.1.5)
    I am at step
    - 10.4.5 Creating Users and Groups for Oracle WebLogic Server
    I am executing this command:
    - idmConfigTool.sh -prepareIDStore mode=WLS input_file=wls.props
    Where wls.props has these values:
    IDSTORE_HOST: admin.mycompany.com
    IDSTORE_PORT: 389
    IDSTORE_BINDDN: cn=orcladmin
    IDSTORE_USERNAMEATTRIBUTE: cn
    IDSTORE_LOGINATTRIBUTE: uid
    IDSTORE_USERSEARCHBASE: cn=Users,dc=mycompany,dc=com
    IDSTORE_GROUPSEARCHBASE: cn=Groups,dc=mycompany,dc=com
    IDSTORE_SEARCHBASE: dc=lispa,dc=local
    POLICYSTORE_SHARES_IDSTORE: true
    and I am getting this error:
    Config file does not have IDStore WLS Administrator Username
    Any idea why ?

    I have added to the property files:
    IDSTORE_SYSTEMIDBASE : cn=systemids,dc=mycompany,dc=com
    But its not solving the issue.
    Here is the log:
    Jun 3, 2013 10:01:55 AM oracle.idm.automation.util.Util setLogger
    WARNING: Logger initialized in warning mode
    Jun 3, 2013 10:01:59 AM oracle.idm.automation.impl.oid.handlers.OIDIntegrationHandler validateInputParams
    SEVERE: Config file does not have IDStore WLS Administrator Username
    Please advise on how to resolve this issue

  • When trying to open documents, getting error as File is not a valid Win32 application

    Hi,
    I am trying to open a MPP by clicking on the name of the file. But I am getting the error as "path\filename.mpp is not a valid Wind32 application".
    I am able to save the document and open it in MPP, but clicking on the document name is giving this error "File is not a valid Win32 application".
    I have tried to repair "Microsoft Project". But still the same issue. I am using Office 2010. SharePoint site is SP 2010.
    How to fix this?
    Thanks

    Hi Ed,
    I am sorry, but I could not understand that answer.
    I have put that answer in the below quotes:
    "You are never going to believe what I did. This is a nice ending to a very confusing situation. lol
    I uninstalled Project 2007 and rebooted my laptop and reinstalled Project 2007. No Difference at all. Same thing happened. I just couldn't stop thinking about how 2007 Microsoft Office Component kept showing up in default programs. This has bugged me for days.
    I went browsing in my program files. I typed in Microsoft Office Project. The only thing I found was WINPROJ. I decided to check it out. I checked it's properties, size, location, etc.. What did I have to lose at this point? I clicked on it and it went into
    my default programs as Microsoft Office Project 2007. This doesn't make any sense to me. But, don't try to fix anything else if it isn't broken, right? It's working and I am so relieved. I mean, YAAAAY!!! Another mystery solved...
    Thanks for hanging in there with me to help solve this mystery. You have been of great assistance to me. You made me think outside the box and it worked.
    Laura"
    Does it mean MPP Should be a 2007 version?
    Thanks

  • Help! Getting error "The file could not be written" when exporting

    When I attempt to export a group of approximately 50 photos from LR4, a window opens at the end of the process saying "The file could not be written" along with a list of approximately 10-15 NEF file names.  I have never had a problem exporting before, but I recently started storing my LR catalog and files on an external USB 3.0 drive.  I'm looking for any suggestions!
    Here are the details:
    LR4 with latest updates
    Win 7 with latest updates
    LR catalog and photo files stored on external USB 3.0 G: drive
    Trying to export to a folder on my desktop on C: drive (46GB free out of 134GB, solid state drive)
    LR files are NEF, exported files are JPG
    I've tried to export to the same group of photos multiple times with different names and different output file sizes (8MB, 5MB, 2MB).  Each time the list of failures is different.
    Some of the thumbnails which appear in Windows Explorer are corrupted (part of the thumbnail is gray)
    When I try to export the same group of photos to the external USB 3.0, it works perfectly!
    Here is an example of one of the LR log files:
    The file could not be written. (17)
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1915.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1918.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1919.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1939.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1948.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1958.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1961.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1964.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1968.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1971.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1972.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1973.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1978.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1983.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1986.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1989.NEF
        G:\2013\Stratton and Colorado\2013\2013-06-23\_D7K1990.NEF

    http://forums.adobe.com/community/search.jspa?peopleEnabled=true&userID=&spotlight=false&c ontainerType=14&container=3316&rankBy=date&q=%22file+could+not+be+written%22

  • Can get sort by file name not by added order?

    When I import, LR for some reasons seems to always default the sort to added order, not filename. Its a real nuisance, anything I can do. thanks!

    Ok, found view toolbar, funny, I don't even see the toolbar, what is it. what does it show?  I doubt it's relevant to this conversation...?
    Cornelia, thanks. ok, so the default is previous import. Can I get LR to default to Folders?
    Ok, so you are like me, if you want capture time as your sory then you have to remember to manually then click the folder name? But still even with the folder name selected LR chooses added order, not what I want.

  • Logical file name transport

    Hi Friends,
    I have created logical path and logical file name using FILE Transaction code, the problem was logical Path was saved in transport request and logical file name not saved in Transport request, Could you please help me logical file name save are not in the transport request.
    Thanks in advance,
    Jayachandran.A

    Run transaction FILE, in the menu goto "Table view", "transport", select or create a transport request. In node "logical file name definition, cross client", select your file names and in the menu bar click on "include in request"
    Regards,
    Raymond

  • Why does Logical file name in sys.master_files does not match SSMS Properties

    SQL 2012 11.0.2100.60 (x64)
    I have a sproc that does an ALTER to change the logical file name of a DB. Getting this error at a customer site "5041 MODIFY FILE failed. File 'Template_201401_Log' does not exist.' When I query the sys.Master_files the log name is'Template_201401_Log'.
    but when i look in SSMS at the DBs -> properties -> files the logs logical file name is  Store01_log. There is only a single log file.
    Just found out that if I change the log file name in SSMS it then corrects it in the sys.Master_files. So it is now corrected. BUt what would cause it to be a mismatch between the sys.Master_files and the SSMS Properties?

    Hi,
    Can you show us the query. What is template file  ?
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • I am having a terrible time trying to convert my Quick Time file to an AVI file to use in a powerpoint presentation.  Any suggestions?  I am getting Error .43 file not found?

    I am having a terrible time trying to convert my QT file to an AVI file so I can use in PowerPoint.  I am getting Error 43 File not Found, any suggestions?

    Hi Jenna,
    The error your getting suggests a file path problem.
    How are you embedding the movie in PP and where is the movie file located relative to the PP file? Are you getting this error within PP when the slide containing the embedded video is displayed?
    If you embed a movie and then move it or change its name then PP will generate this error.
    Alastair.

  • Get logical file name

    Hi Gurus,
    I know the physical path of a file. Can anyone tell me how do I view this file? I do not know the logical file name, hence cannot use AL11 to view the file.
    Regards,
    Rishi

    Hi,
    There are some function modules, Can you please check:
    FILE_GET_NAME_USING_PATH : Generate a complete file name with file name and logical path
    FILE_GET_NAME : Assign the Physical File Name Using a Logical File Name
    FILE_GET_NAME_AND_LOGICAL_PATH: Assign physical file names and get logical path
    Below link also helpfull.
    [http://help.sap.com/saphelp_nw04/helpdata/EN/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm]
    Regrads,
    Lokesh.
    Edited by: Lokesh Tarey on Apr 20, 2010 12:53 PM

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

  • [SOLVED]getting "error 15: file not found!"

    Hi all, I'm new to Arch and linux in general but i've managed so far and I'm really enjoying it.
    I'm dual booting Arch and Vista.
    Anyway, everything was working fine until I decided that I wanted to stop using GRUB as my bootloader and I used a program called EasyBCD and this guide http://apcmag.com/how_to_dualboot_vista … htm?page=4
    Now, I get "Error 15: File not found!" when i try to boot into arch. I've looked through countless other threads and google results with people with the same problem but none of the solutions in those threads helped me.
    here's my menu.lst
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    # Linux Grub
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,1)
    # /dev/sda3 (hd0,2)
    # FRAMEBUFFER RESOLUTION SETTINGS
    # +-------------------------------------------------+
    # | 640x480 800x600 1024x768 1280x1024
    # ----+--------------------------------------------
    # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    # +-------------------------------------------------+
    # for more details and different resolutions see
    # http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
    # general configuration:
    timeout 3
    default 2
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    title Arch Linux
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/6e30f601-1196-41bf-b9f3-063434fa0c45 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/6e30f601-1196-41bf-b9f3-063434fa0c45 ro
    initrd /boot/kernel26-fallback.img
    # (2) Windows
    title Windows
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    Last edited by tooeasyforkevin (2009-07-13 06:48:38)

    ok, try doing it the manual way by booting the cd as if you where to do an installation where it prompts you to log in as root.
    Once your logged in as root do
    grub
    and you will get the grub prompt
    grub>
    then the at the grub> prompt do
    grub> root (hd0,2)
    that tells grub it will find the boot files on the 3rd partition of the 1st hard drive. Then,
    grub> setup (hd0)
    to setup the grub bootloader on the MBR of the first hard drive.
    If all goes well you should see something like 'Checking if "/boot/grub/stage1" exists... yes '.
    grub> quit
    and reboot.

  • Error: Enter either the physical file name or the logical file name

    Hi Expert,
    I have error: Enter either the physical file name or the logical file name, when upload BP with external data transfer.
    My Step:
    1. Define Sender Structure
    2. Define Transfer Rules
    3. Start Transfer
    When execute step 3, there's displaying error:  Enter either the physical file name or the logical file name
    Can you help my problem?
    Any document/link for upload BP with external data transfer.
    Thanks and Regards,

    Hi,
    See thread: [CO-PA External Data Transfer|CO-PA External Data Transfer]
    Regards
    Leon

  • When trying to change ringtone I keep getting the error message file type not supported.

    I have downloaded some ringtones fro VZ Tones and when I go to make them the default it gives me the error message file type not supported.  If I go to my storage and try to look at pictures, it tells me the same thing.

        That's definitely odd CrystiDawn, and I understand it can be quite frustrating. Let's get to the bottomof this. What device make and model phone do you have? Did you receive a text message with a link to download the ringtones? If so, once downloaded, please go to all your Apps, locate "Files" and play the ringtone using the media player. You will have the option to set it as ringtone while playing and pressing the menu icon. Were the pictures taken from the phone or transferred using the USB cable?
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

Maybe you are looking for

  • Need Replacement . . .

    I am needing a new cord that hooks my 'iPod mini' into my computer. I have broken my head phones before and got new once but, I cannot find the form to get a new cord. Can someone help me? p.s. and its to late to call the support lines either...argh

  • Error in Data Replication from R3

    Hi We are trying to replicate data from R/3 to SRM & getiing an error msg in SRM Inbound que saying "mapping error". Pls guide what is be done. We have already done replication of Basis3, Prod 0 , Prod1. Pls.  guide what could be a possible reason fo

  • Create variable as substring of another variable?

    Hello, Is there a way in SQL *Plus to create a variable from a sub string of another variable. For instance Variable v_var1 is 'ABCDE' I'd like v_var2 to be 'ABC' from v_var1. I know it can be done using PL/SQL with the following: PROMPT ACCEPT v_own

  • Lost Album Artwork

    Does anyone know how to recover album artwork that was lost during an upgrade? They are still missing even when I try to retrieve it from the pull-down menu which always used to work.

  • Can't undo in Flash Pro CS6

    For some reason I can not undo (crtl+z) when I do something in some of my projects. If I add some text or move a box or whatever I'm not able to undo anything to the previous state. This does not make any sense to me. The project worked fine the day