Tcode:File ,Tcode:sf01  understanding

pls help me in understanding these tcode
to create logical path,pls provide me the step by
step to create a logical path

Hi,
Pls check threads like
Application Server -File Upload
How to create logical file name
Eddy

Similar Messages

  • Run time error while saving values in File (Tcode)

    Hi,
    I am using FM   call function 'FILE_GET_NAME'
           exporting
                logical_filename = logical_filename
                parameter_1      = program_name
                parameter_2      = file_id_param
           importing
                file_name        = physical_filename
           exceptions
                file_not_found   = 1
                others           = 2.
    for this I am trying to maintain dynamic values(field symbols) in Tcode FILE Logical file name definition , physical path as.
    Physical file   =<PARAM_1>.<PARAM_2>
    But while saving it dumps, saying filed symbol assinment to substring is not allowed.
    Physical path for the same is /<V=Z_DIR_MAIN>/<SYSID>/<V=Z_DIR_OUT>/<FILENAME>.<CLIENT>.<DATE><TIME>.
    Regards
    Mohinder Singh Chauhan

    Hello Mohinder,
    the better way to analyse these kind of things is by entering the function module in se37 and providing the required test data.
    In your scenarion as you say its throwing a runtime dump related to field symbols better you concatenate the data param1 and param2 into a new variable and then pass that value into the function module.
    Thanks,
    M.Naveen kumar

  • Change Logs for TCODE -- FILE

    Hi Friends,
        Please help me in finding the change logs  for the TCODE  FILE,
        i.e  The changes made to the Logical paths
       I had tried  Utilities---->change logs , but unfortunately i cannot find any changes logs
       But there are changes made to the logical paths in my system but i cannot see them in change logs
    thanks
    chandrasekhar j

    rec/client is a profile parameter, you can view the settings in transaction RZ10.  However I find program RSPARAM more useful, the report lists all system parameters with their default and altered value.  Also if you double-click on a parameter you can get to the full help text for its meaning.
    The parameter essentially switches on table change logging for configuration tables (based on the technical settings of the table) and has to be set before the changes are made.
    Hope this helps.
    Nick

  • Use of tcode file

    what is the use of tcode file????
    what is platform independent file name????

    Platform Independent File path: The actual (Physical) file name/path is always dependent on hardware and OS of the system. Now In this transaction define a Logical name of a file and map it to your specific system specific actual path.
    Now in your coding you can use the logical name. When you use the same come in a different system you need not change the logical name to everywhere you have coded. The Logical name will be same, only in FILE transaction you will change the mapping of Logical File name to actual file path.
    Check the following Link :
    http://help.sap.com/saphelp_erp2005/helpdata/EN/8d/3e4edc462a11d189000000e8323d3a/frameset.htm
    Example:
    Suppose in your application server you created a file and give a logical name as AIRS_PATH. But when you want to access the file you need to know the actual physical path to it. That path may be ‘c:\temp\<FILENAME>’. Now in FILE transaction you mapped AIRS_PATH to c:\temp\<FILENAME>.
    So whenever you try to access AIRS_PATH, the system know that you want to access the c:\temp\<FILENAME>.
    Now may be you want to run your code in a different system and different hardwre. And the file is stored there in ‘c:\temp\temp1\<FILENAME>’ path. So then in that system you need to map AIRS_PATH with ‘c:\temp\temp1\<FILENAME’.
    Now while coding you are not actually familiar or bother the actual file path. You will do your coding based on AIRS_PATH. And that is same in all the system only the mapping need to change. Thus you can achieve the system independence.

  • Tcode FILE problem

    I am trying to use the Direct Input method in the LSMW (It is my first time using the Direct Input method) but I encounter a problem during the Specify File step saying that No Logical Path was specified. I look into the forums and they told me that I needed to define one with the FILE Tcode but when go to the FILE Tcode a message pops up saying Changes to Repository or cross-client Customization are not permitted.
    What would cause this? How should I deal with it?

    Hi Obie,
    I guess you are testing in Testing client .
    Do it in development client.
    Mohinder

  • Unable to see the logical path and file created in FILE tcode from AL11 and unable to upload the file to this path from front end

    Hi Experts,
    I have created the logical path and filename in FILE tcode.I am trying to upload the pdf file to application server by using this path.But
    I am getting message like "Unable to open the file".Even I cannot find the this path in AL11 tcode.Kindly anyone advise how to upload pdf file using
    custom path and file created from FILE tcode.
    Thanks & Regards,
    Anusha.

    Hi Anusha,
    Please give as below.
    I forget to say you cannot open the PDF in AL11 and for that you need some configuration, i think it can be done using content server,not sure completely please wait for some more suggestions.
    Regards,
    Pavan

  • Changing physical path in FILE TCODE using ABAP CODE

    Hi all ,
    I want to change physical path linked to logical path in TCODE FILE dynamically using ABAP program. Is it possible.
    If yes then how?
    Thanks for your help.
    Regards,
    Uday.

    s

  • Is there a table/report that shows a list of the original tcodes vs tcodes?

    How to I find out the calling tcode of a transaction other than using SE93?
    e.g
    ABUM 's original tcode is AB01.
    Is there a table/report that shows a list of the original tcodes vs tcodes?

    Table TCDCOUPLES gives a list of called tcodes for a particular tcode.
    e.g
    For parameter tcode 1KEF  , called-tcodes are :
    1KE1
    1KEF
    1KEG
    OKKS
    BUT this table does not show which called-tcode is the original tcode.
    Using se93, I see that 1KEG is the original tcode.
    Is there a table that will show only the parameter tcodes vs orginal tcodes?

  • LOGICAL FILENAME / TCODE FILE

    In a selection screen I have put a parameters called p_log type fileintern.
    I'd like to read this file, is there any function module that would help me to do this or should I use open dataset....
    what if the name look like this
    <system>\hello.txt
    thanks 4 the help

    Hi,
      If you looking a FM to get the physical file name for a logical file then use the FM FILE_NAME_GET..
      If you want to get the file value..Check this code..
    DATA: v_buffer(2047) TYPE c.
    DATA: BEGIN OF i_buffer OCCURS 0,
           line(2047) TYPE c,
          END OF i_buffer.
    Open the unix file..
    OPEN DATASET p_unix FOR INPUT IN TEXT MODE.
    IF sy-subrc NE 0.
      DO.
        CLEAR: v_buffer.
        READ DATASET p_unix INTO v_buffer.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        MOVE v_buffer TO i_buffer.
        APPEND i_buffer.
      ENDDO.
    ENDIF.
    Thanks,
    naren

  • Error in TCODE- FILE

    Hi,
    We are using OHTs with destination type file.
    We have created a logical path.when we are trying to assign this logical path to the file,we are getting a dump.
    Runti.e Errors ASSI6N_SUBSTRIN6-N0L.ALL0WED
    Date and T1ne 06/1i812009 22:56-:350
    Short text
    ASSI6N to a substring not allowed.
    What happened?
    Error in the A8AP Applicat1on Program
    The current ABAP progran SAPLOSFNu201D had to be terminated because it has
    cone across a statenent that unfortunately cannot be executed.
    Error analysis
    A field symbol should have been set to a substring.
    However, this is not alliowed..
    Maybe a substring was intended to be used 1n a paraneter transfer
    This Is not possible, either.
    Trigger Location of Runtine Error
    Progran SAPLOsFN
    Include LOSFNIO1
    Row 223
    Module type (M0DuLE PAI)ASSIGN_SUBSTRING_NOT_ALLOWED
    Please help with this.
    Thanks,Girish

    Please apply the SAP Note 1297989 and it will fix the issue.
    Thanks.

  • TCode : FILE

    In my sap directory(AL11) , /usr/sap/<sysid> is already mapped and im creating notepad file (txt) at run time at this location. I could see the file created with the specified name successfully. But if i want to move my notepad file to another subfolder under this <sysid>, im unable to create the txt file even though i  assigned physical paths to logical path .
    <P=DIR_INTERFACE>/<SYSID>/ZTEST/<FILENAME>

    Hi,
    First you read the file in output mode using Open dataset and Read dataset statement with the initial application server path.
    Then write this data back to another file path by opening the file in Input mode and using Transfer statement.
    Example.
    open dataset <file1> mode output encding default.
    if sy-subrc = 0.
    do.
    read dataset <file1> into wa_itab.
    if sy-subrc = 0.
    append wa_itab to itab.
    else.
    exit.
    endif.
    enddo.
    open dataset <file2> mode input encding default.
    if sy-subrc = 0.
    loop at itab into wa_itab.
    transfer wa_itab to <file2>.
    endloop.
    endif.
    Regards.

  • Create a dynamic physical file path in FILE tcode

    Hi ,
    I have a requirement where i need to create a file on application server. the physical path depend on the month in which it is executing.
    For example I have a file with the name 29082011_hh:mm:ss.dat.
    This file should be stored in the directory file015\FI\appl\Aug\.
    So i require to create the logical file path as file15\Fi\appl\<month>\<filename>
    My question is do we need to maintain the folders for all the months in AL11 or it can be generated at runtime
    Plz reply

    You must create the directories beforehand.

  • Download to application server File tcode relavance

    Hi
    i need to know the process for application server download and defining the same in file transaction
    also the process further to move the logical path to the TQA etc system
    also pls send me working example of the downloading to application server to refer for ECC 7.0 as there are some issues to be taken care in new version
    regards
    Nishant

    no replies new quesion raised

  • Making changes in DME File TCode F111

    Hi Friends,
    I have to make changes in DME file in Transaction F111.
    Friend please help with some user exit or event module with some some info.
    Thanks in Advance,
    Best Regards

    Give yourself write access to the enclosing folder in that folder's Get Info window.
    (59544)

  • How to get TcodeA  when TcodeA calls TcodeB

    Hi
    I need to get the initial tcode from a second called tcode.
    That is , F-43 calls FB01 ; i'm doing some enhancement where i need to detect wich tcode is being executed , but i need the initial tcode F-43 not FB01.
    Does somebody knws how can i get that initial tcode executed by user from the second tcode called ?
    Thanks
    Frank

    Thanks Soumya
    I got already the exit but this exit is called inside FB01 , there are several FI tcodes wich calls FB01:
    F-43 -> FB01 -> program SAPMF05A
    F-02 -> FB01 -> program SAPMF05A
    FB05 -> FB01 -> program SAPMF05A
    FB22 -> FB01 -> program SAPMF05A  
    etc.
    (being in SAPMF05A i need to know wich initial tcode F-43/F-02/FB05/etc. was executed)
    In all exits, badis or enhancements executed wherever i access sy-tcode  it contains 'FB01' ; but i need to get the initial tcode executed by the user (F-43 or others) and not FB01 , because i need execute the enhancement just for some of those tcodes not for all , so in need to filter the tcodes inside it.
    I hope i give the explanation well.
    Best Regards
    Frank

Maybe you are looking for