RSCRM_BAPI - using logical path

Hi everybody,
I use rscrm_bapi in order to export data from bw.
Is it possible to use logical path name in this interface?
I try to write in the path field a logical path name which was define earlier (tran file),
but the system concatenate the logical path name with the file name.
For example:
File name: HANA
Path name: HADAR
result in al11: /defualt directory/HADARHANA
What is the right way to do it?
Hadar

RSCRM_BAPI - directly dumps a query as a .CSV in the app server - for an APD to work - you cannot specify the filename but then by specifyinf a logical file name - it can be run multiple times without any changes...
Arun

Similar Messages

  • Getting physical path from logical path

    Hi,
    I am using the FM FILE_GET_NAME  to get the physical path for a given logical path which I have specified within the FILE transaction.
    The code works fine when I run the program in foreground but it doesn't work when I run it in background.
    Can anyone advise on why this is and how I can get this to work correctly in background aswell as foregroud.
    The ultimate goal is to be able to poll a directory on the SAP server (which could be windows or unix) and to process the files in there.
    Thanks,
    Ruby

    Thank-you.
    I would prefer to to use a default path if possible. The reason I defined a logical path was so that this could be defined outside the program.
    Are you saying I cannot use this FM in background at all?
    Is there another FM which will do the same thing but will work in background?
    What I am trying to do is create a program which will run in the background polling a particular directory and then process the files in this directory if it finds any.
    Do you know how I could achieve this using logical paths rather than using hardcoded paths?

  • Logical path using in abap program

    hay,
    I want to create file in application server directory.
    so i want the user to select the Logical path and file name from screen.so that he can create the file and seved in selected logical path.{path used must be from Instance profile DIR_LOGGING,GLOBALPATH directory etc).
    could you pls tell me how to do this using parameter for user input selecting FILE PATH.
    Do we have Functional module for Retrieving physical path
    from logical path?
    could you pls help me..
    ambichan.

    hey,
    Thanks for your reply.
    Instead of using logical file name as input, can we allow the user to select logical path using parameter?
    I want user to select Logical path or logical file name from parameter. is it possible?
    (I want to avoid user to input insteal want to allow user to select the path)
    ambichan
    Message was edited by: ambi chan

  • ABAP development - Using Predefined Logical Path

    Hi,
    I need to save content of a table to a flat file which i am doing in my ABAP code  these files can be very large ,  What i want to know is chosing a folder location for these file i want to use predefined Logical path for this so that the ABAP code should work on any SAP System , So my question is which Predefined  Logical Path to use for storing these file  ? as the data is not specific to any set of tables it can be any table . Any standards needs to be follwed here
    on my system i checked there are 50+ Logical Path ( Predefined ).
    Any suggestions
    Edited by: Sourabhr on Jan 21, 2010 1:58 PM

    hey,
    Thanks for your reply.
    Instead of using logical file name as input, can we allow the user to select logical path using parameter?
    I want user to select Logical path or logical file name from parameter. is it possible?
    (I want to avoid user to input insteal want to allow user to select the path)
    ambichan
    Message was edited by: ambi chan

  • Logical Paths created using /nFILE transaction used in InfoSpokes

    Hi all,
    I am creating an InfoSpoke in 3.5, wherein I am using logical file/Path to store the file generated on application server.
    My path is something like this
    /interface/CCD/BWD/outbound.. (Where BWD is development server)
    When I will transport this to quality (Say BWQ), i want my path to be
    /interface/CCQ/BWQ/outbound..
    So will it automatically convert when I transport infospoke and Logical Path/File from development to quality?

    Use a Function Module exit (Z_FILENAME_EXIT_name). See below.<br/><br/>
    <strong>Use</strong><br/>
    The physical file name is used by the function module FILE_GET_NAME at runtime to compose a complete platform-specific file name. If nothing is entered in the field Logical path, the file name may also contain the file path. In this case, the file name applies only to one hardware platform and must conform to the syntax of this platform.<br/><br/>
    <strong>Procedure</strong><br/>
    Enter a file name. You can use reserved words, which are substituted by the current values at run time. Reserved words must be enclosed in angle brackets (ignore the '):<br/><br/>
    <strong>Reserved word</strong>             <strong>Word to be substituted</strong><br/>
    <'OPSYS'>                Operating system in call<br/>
    <'INSTANCE'>                R/3 application instance<br/>
    <'SYSID'>                   R/3 application name in SY-SYSID<br/>
    <'DBSYS'>                   Database system in SY-DBSYS<br/>
    <'SAPRL'>                   R/3 release in SY-SAPRL<br/>
    <'HOST'>                    Host name in SY-HOST<br/>
    <'CLIENT'>                  Client in SY-MANDT<br/>
    <'LANGUAGE'>                Log on language in SY-LANGU<br/>
    <'DATE'>                    Date in SY-DATUM<br/>
    <'YEAR'>                    Year in SY-DATUM, 4-character<br/>
    <'SYEAR'>                   Year in SY-DATUM, 2-character<br/>
    <'MONTH'>                   Month in SY-DATUM<br/>
    <'DAY'>                     Day in SY-DATUM<br/>
    <'WEEKDAY'>                 Day of the week in SY-FDAYW<br/>
    <'TIME'>                    Time in SY-UZEIT<br/>
    <'STIME'>                   Hour and minute in SY-UZEIT<br/>
    <'HOUR'>                    Hour in SY-UZEIT<br/>
    <'MINUTE'>                  Minute in SY-UZEIT<br/>
    <'SECOND'>                  Seconds in SY-UZEIT<br/>
    <'PARAM_1'>                 External parameter 1<br/>
    <'PARAM_2'>                 External parameter 2<br/>
    <'PARAM_3'>                 External parameter 3<br/><br/>
    <'P=name'>                  Name of a profile parameter (see Report RSPARAM for valid values)<br/><br/>
    <'V=name'>                 Name of a variable (stored in variable table)<br/><br/>
    <'F=name'>                  Return value of a function module<br/>
                                               Naming convention for this function module:<br/>
                                               FILENAME_EXIT_name<br/><br/>
    <'Y=name'>                  Return value of a function module<br/>
                                               Naming convention for this function module:<br/>
                                               Y_FILENAME_EXIT_name<br/><br/>
    <'Z=name'>                  Return value of a function module<br/>
                                               Naming convention for this function module:<br/>
                                               Z_FILENAME_EXIT_name<br/><br/>
    <strong>Dependencies</strong><br/>
    The function module for the run-time variable <F=name> must meet the following requirements:<br/>
    u2022     Name<br/>
            The name must begin with "FILENAME_EXIT_".<br/>
    u2022     Parameter<br/>
            -   An export parameter with name "OUTPUT" must exist. No structure may exist for the parameters<br/>
            -   Import parameters are only supported if they have default values.<br/>
            -   Table parameters are not supported.<br/><br/>
    Valid example: FILENAME_EXIT_EXAMPLE.<br/>

  • LSMW: Error concerning the logical path in Specify Files step

    Hi,
    I am trying on an ECC 6.0 EHP6 system to upload (open) POs from an existing SAP ERP system. Since I faced some complications in batch input recording method, I decided to go with the standard batch/direct input method.
    I selected object 0085 (Purchase Order) and method 0001 (Purchase Order). The program that is used is RM06EEI0. I followed all the usual steps, but in the "Specify Files" step I get the message:
    '****.lsmw.conv' does not exist; edit the logical path using transaction FILE
    Being aware of both the FILE and SF01 transactions, I created the logical path and file (through the FILE transaction). However, after the modification, I get the message:
    Logical file '****' is not assigned to physical file '****.lsmw.conv'
    There is also the related SAP Note 753511 (Logical and physical path and file name in transaction LSMW) that refers to this case.

    Hi,
    Click on specify file radio button>Legacy data-on the PC Front end
    where input file location like C:\mydocument\desktop\test.txt
    and give input in Name field: mydocument
    in delimiter section > select Tabular
    File structure section> tick on Field order matches source structure definition
    File type: Record end marker(Text file)
    then press enter key and other steps as same.
    Second thing you said that you have used Batch input recording
    after creation and recording finish , scroll the page below on recording and put a cursor unwanted field and remove unwanted input field.
    I hope your problem will resolve. you can find the steps pdf on Google search try now.
    Thanks
    Sanjeet Kumar

  • Logical path in lsmw

    hi friends,
    i have been uploading using the direct input method in lsmw.it is requiring the logical path and the logical file to be given.i tried to create them using the transaction FILE.but while using that in LSMW it is giving error stating that logical path doesn't point to the physical directory.can any how let me know how to create a logical file and logical path.
    thanks in advance.
    -senthilkumar

    hi ,
      goto the tcode file then u find the relation between the logical and physical paths ...and their assignment..
    hope it will helps u..
    regards,
    venkat.

  • Logical Path Problem

    hi,
    Good day guys
    Ive created the Logical path for mmi interface. its working fine. but in the logical path ive given the drive is H:
    Bcoz in the dev system drive is H: one which is maintain the file.
    But for the Quality and Production , Drive is different.. its in D:
    How to solve it? can any one plz tell me
    CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
    *   CLIENT                        = SY-MANDT
          logical_filename              = lv_log_file
    *   OPERATING_SYSTEM              = SY-OPSYS
          parameter_1                   = lv_log_file
    *      parameter_2                   = sy-uzeit
    *      parameter_3                   = '.txt'
          use_presentation_server       = 'X'
    *   WITH_FILE_EXTENSION           = ' '
    *   USE_BUFFER                    = ' '
    *   ELEMINATE_BLANKS              = 'X'
    IMPORTING
    *   EMERGENCY_FLAG                =
    *   FILE_FORMAT                   =
       file_name                     = outfile
    * EXCEPTIONS
    *   FILE_NOT_FOUND                = 1
    *   OTHERS                        = 2
      ELSE.
        CONCATENATE outfile sy-datum sy-timlo '.txt' INTO outfile.
      ENDIF.

    When you are not in development, you can assign a different physical path to the same logical path in your staging system via the file transaction. As long as you use the logical path name in your code, it will be interpreted correctly with the setup in the system.

  • Logical Path and File Name

    Hi Everybody,
    How could I check the actual value of 2 variables which I defined with transaction \nFILE for the Logical Path and the logical file name?
    Background to this question is that I am experiencing problems in using them and want to check if the variables have correct values.....
    Thanks in advance
    FedeX.

    Hi FedeX,
    Did not get exactly what you wanted.
    May be you can try this: You can check the varibale values in the table V_PARAMVAL.
    Bye
    Dinesh

  • 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

  • Logical path for getting a Flat file from application server

    Hi All,
    We have loaded some .csv files to application server, what is the logical path we have to mention in the infopackage scheduler screen? please guide me how to give the path for getting a flat file from application server.
    Thanks,
    Sairam.

    Hi Sairam,
    I hope you know which location you have saved in the Application server.
    Now if you go to the Infopackage and click on the "External Data" tab, there you will see Radio Buttons for
    1) Client Workstation
    2) Application Server
    Choose the second radio button, then in the Field "Name of the File" you will be able to use the F4 help and browse AL11 transaction through this option. You can then choose the File.
    Hope this helps
    Regards,
    Praveen.

  • Logical path

    Hi All,
    How to create logical path in SAP.
    thanks in ADV.

    Hi,
    Use the FILE transaction to create the logical file path.
    The table PATH stores this logical file path.
    You can retrieve the physical file path by supplying logical file path to FM FILE_GET_NAME_USING_PATH.
    Hope this helps.
    <b>Please reward points to all helpful answers and close the thread.</b>
    Regards,
    Amit Mishra

  • In InfoSpoke logical path made generic across landscapes

    Hi all,
    I am creating an InfoSpoke in 3.5, wherein I am using logical file/Path to store the file generated on application server.
    My path is something like this
    /interface/CCD/BWD/outbound.. (Where BWD is development server)
    When I will transport this to quality (Say BWQ), i want my path to be
    /interface/CCQ/BWQ/outbound..
    I am using <SYSID> variable to replace BWD part of the path. When it will be transported in Quality variable <SYSID> will contain BWQ.
    My question is what system variable i can use to replace CCD in the path? Or how can I create a new variable to replace CCD in path so that in Quality it will be CCQ?

    I never used profile parameters.
    I looked at
    http://help.sap.com/saphelp_nw04/helpdata/EN/c4/3a6247505211d189550000e829fbbd/frameset.htm
    It explains that no server should have to be restarted (as you also expect), so i don't get the problem.
    Maybe a question for the technical guys?

  • LSMW - No logical path specified

    Hi Experts,
    Am developing a Project to upload the data, so, am using spread sheet from my C drive..........but, am getting the following error,
    No logical path specified
    Message no. /SAPDMC/LSMW_OBJ_060046
    So, pls, let me know that,
    1 - How to fix it?
    2 - Why its throwing?
    thanq

    In the "Specify files" step, you see following 3 nodes: Legacy Data, Read Data & Concerted data.
    Double click on Converted data where you get a popup & you need to mention the logical path & Logical file name. ( Normally LSMW will be the logical path & specify the same path as presentation server path / File.
    If you do not have a logical path - LSMW, create one with tx: FILE.
    Regards.

  • Logical File creation in Logical path

    Hi all,
    I am after an info, how to create different logical file name in the same physical path.
    Suppose I have physical path: X/claims/interface/outbound which is assigned to logical path LP
    Now under this path I want to store some logical file say 1, 2, and 3
    What would be the naming convention? & how to do it?
    Any help would be highly appreciated.
    Regards,
    Kironmoy Banerjee.

    Hi,
    Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
    Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
    R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
    Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name: MONTHLY_SALES_FILE
    physical file name: VALUES<PARAM_1>
    logical path: SALES_DATA_PATH
    physical path (UNIX): /usr/<SYSID>/<FILENAME>
    physical path (Windows): C:\SALES\<FILENAME>.
    Santosh
    Edited by: Santhosh Nagaraj on Sep 30, 2009 2:45 PM

Maybe you are looking for

  • Exception Message number 30 and rescheduling date

    Hi everybody, This is about the exception message 30 which is displayed in MD04 and the rescheduling date.How is this date determined and what does the exception message signify. Further, it would be great if i can get any link on forward/backward sc

  • Is there a way to access my Mac via remote desktop from a Windows machine?

    Hi, I'm lookinf for a way to connect from work to my Mac at home. I can do this using VNC and it works, but it is freaking slow! I also dont want to use the Chrome remote dekstop plugin or TeamViewer, there must be a RDP client that can go from Windo

  • Reverse page printing-not available with 10.5 & Photoshop CS2

    Re printing images - With Tiger (10.4), I had the option for portrait, portrait reversed and landscape. When I upgraded to Leopard (10.5), I lost the portrait reversed. Instead there is a "reverse page orientation" square to check in the layout panel

  • "Invisible" iTunes 8 after upgrade

    Have read several topics related to this issue and am having similar problems after recent upgrade. Very frustrating for my son as it's on his computer and of course needs this immediately. Problem relates to nothing viewable except the topic menu ba

  • How to change credit limit used % in fd32

    Hi all, Credit limit has been maintained to customer with max of 2,00,000 inr previously. Now Credit exporsure is 1,50,000 inr. credit limit used  is 75%. But we are going to set new credit limit to a particular customer with 1,00,000 inr. We have ch