File extract from AL11

There are files which are sitting on production R3 directories - they can be accessed on R3 via transaction AL11
How can I extract these to BW production?
Thanks

Hi,
Yes normally it should be avaialble in SAP BW AL11,but you can also check couple of points
1. If basis can give you folder in R/3 that can be accessed via BW ,your and business life will be eaier.
2. Once files are placed in one folder you need to give path of same in Infopacakge and you have to also write file name next to the path.
3. Execute Infopacakge to get data to PSA
4. Execute DTP to get data from IP to data target.
I hope it is clear.
need vto select correct option not from local workstation in Infopacakage.
Thanks and regards
Kiran

Similar Messages

  • File copy from AL11

    Hi Experts,
      I generated a Extract from BW and placed it in a file in <b>AL11</b>  by using function module/program.
    for some reasons i can't use infospoke.
    The generated file is in AL11,How can i copy the file to by desktop
    Thanks

    Hi,
    you need to make an abap program.
    Try this code:
    *& Report  ZBAJARARCH
    REPORT  ZBAJARARCH.
    TABLES:
        sscrfields. "Campos en las imágenes de selección
    DATA:
        it(5000) OCCURS 100 WITH HEADER LINE.
    *-parameters----
    SELECTION-SCREEN:
        BEGIN OF BLOCK b1 WITH FRAME TITLE text-004.
    PARAMETERS:
        sfn(128) OBLIGATORY LOWER CASE MEMORY ID z0s   " server file name
                 DEFAULT 'C:',
        pfn(128) OBLIGATORY LOWER CASE MEMORY ID z0p   " pc file name
                 DEFAULT 'C:'.
    SELECTION-SCREEN END OF BLOCK b1.
    *-events----
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pfn.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           CHANGING
                file_name     = pfn
           EXCEPTIONS
                mask_too_long = 1
                OTHERS        = 2.
    START-OF-SELECTION.
      PERFORM getfrsrv.
          FORM getfrsrv                                                 *
    FORM getfrsrv.
      REFRESH it.
      PERFORM borrar_file_si_esixte.
      PERFORM dsopen_input_text
          USING sfn.
      PERFORM xfer2it.
    ENDFORM.
          FORM xfer2it                                                  *
    FORM xfer2it.
      DATA: cont TYPE i.
      WHILE sy-subrc = 0.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
             EXPORTING
                  percentage = cont
                  text       = 'Espere por favor'.
        PERFORM dsread
            USING    sfn
            CHANGING it.
        IF sy-subrc <> 0.
          EXIT.
        ELSE.
          ADD 1 TO cont.
        ENDIF.
        APPEND it.
        IF cont = 100.
          PERFORM download.
          REFRESH it. CLEAR it.
          CLEAR cont.
        ENDIF.
      ENDWHILE.
      PERFORM download.
      REFRESH it. CLEAR it.
      PERFORM dsclose
          USING sfn.
    ENDFORM.
          FORM dsclose                                                  *
    -->  DSN                                                           *
    FORM dsclose
        USING dsn TYPE c.
      CLOSE DATASET dsn.
      IF sy-subrc <> 0.
        MESSAGE e001(zk) WITH 'Error closing' dsn 'rc=' sy-subrc.
      ENDIF.
    ENDFORM.
          FORM dsopen_&1_&2                                             *
    -->  DSN                                                           *
    FORM dsopen_input_text USING
            dsn  TYPE c.
      DATA msg(80).
      OPEN DATASET dsn FOR INPUT IN TEXT MODE MESSAGE msg encoding default.
      IF sy-subrc <> 0.
        MESSAGE e001(zk) WITH 'Error opening' dsn msg.
      ENDIF.
    ENDFORM.
          FORM dsread                                                   *
    -->  DSN                                                           *
    -->  REC                                                           *
    FORM dsread
        USING    dsn TYPE c
        CHANGING rec.
      STATICS: rctr TYPE i.
      READ DATASET dsn INTO rec.
      CASE sy-subrc.
        WHEN 0.
          ADD 1 TO rctr.
        WHEN 4.
          MESSAGE s001(zk) WITH rctr 'records read from' dsn.
        WHEN OTHERS.
          MESSAGE e001(zk) WITH 'Error reading' dsn 'rc=' sy-subrc.
      ENDCASE.
    ENDFORM.
          FORM download                                                 *
    FORM download.
      DATA: ls_file TYPE string.
      ls_file = pfn.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                filename            = pfn
                mode                = 'A'
           TABLES
                data_tab            = it
           EXCEPTIONS
                file_open_error     = 1
                file_write_error    = 2
                invalid_filesize    = 3
                invalid_table_width = 4
                invalid_type        = 5
                no_batch            = 6
                unknown_error       = 7
                OTHERS              = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.
    *&      Form  borrar_file_si_esixte
          text
    -->  p1        text
    <--  p2        text
    FORM borrar_file_si_esixte.
      DATA: ls_file TYPE string,
            res,
            rc TYPE i.
      ls_file = pfn.
      CALL METHOD cl_gui_frontend_services=>file_exist
        EXPORTING
          file            = ls_file
        RECEIVING
          result          = res
        EXCEPTIONS
          cntl_error      = 1
          error_no_gui    = 2
          wrong_parameter = 3
          OTHERS          = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF res = 'X'.
        CALL METHOD cl_gui_frontend_services=>file_delete
          EXPORTING
            filename           = ls_file
          CHANGING
            rc                 = rc
          EXCEPTIONS
            file_delete_failed = 1
            cntl_error         = 2
            error_no_gui       = 3
            file_not_found     = 4
            access_denied      = 5
            unknown_error      = 6
            OTHERS             = 7.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " borrar_file_si_esixte
    Hope this helps.
    Regards,
    Diego

  • 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

  • Create Big XML files ( extract ) from Relational Tables

    Experts: I need to create a big XML extract more than 5Gb , from relations tables using SQLX. I read the excellent FAQ given by MDrake in the following thread.
    https://forums.oracle.com/thread/418001
    Question
    1) Is it better to use XML schema, My XML output format is pretty much going to be static, so I can register an XML schema .
    2) Does Registering the XMLschema help with better memory management. I recall I used to get out of memory exception when I generated xml documents on oracle 10g using DBMS_XMLGEN.
    3) Can I generate this 5 Gb of XML file using oracle's default DOM parser?
    Thanks
    Kevin

    Hi Kevin,
    1) Is it better to use XML schema, My XML output format is pretty much going to be static, so I can register an XML schema .
    2) Does Registering the XMLschema help with better memory management. I recall I used to get out of memory exception when I generated xml documents on oracle 10g using DBMS_XMLGEN.
    No, an XML schema won't help for the generation.
    It is useful though if you're looking for the opposite task, i.e. loading an XML file into database tables.
    3) Can I generate this 5 Gb of XML file using oracle's default DOM parser?
    What is the default DOM parser ? Do you mean DBMS_XMLDOM APIs?
    Since you want to generate XML, there's not much to parse.
    Generally, using SQL/XML functions is the way to go.
    You may still hit some performance/memory issues while reaching such a size, especially with large XMLAgg aggregation context.
    If you do, you may switch to chunk generation instead. I've got some pretty good result with this approach and the parallel query feature.

  • Regrdin file transer from al11 to archive directory  URGENT

    HI ,
    my actual require ment is
    in BDC inbound interface i have to read data from applcation server .i did that.
    but now i have to send that file to archive directory after succefully reading that.
    can anybody help on this
    wt is archive directory?
    how to send that application server file to archive directary after succesfull reading it? .......
    is there any function module for this....
    wt is archive directory?

    Hi,
    An archive directory is just a concept where one directory on the operating system holds files that have been processed.  You don't need to do anything special, either take the internal table you already have and write it to a file in this directory or call an operating system command to move the file.
    You just need to find out for your system which directory is the archive directory.
    Regards,
    Nick
    P.S. Please consider the rules of the forum and do not mark your post as URGENT.

  • Recorded Files extracted from UCCX 8.5 using sftp is only 1Kb

    Hi All,
    I have configured CCX agent recording using Cisco Desktop Workflow Administrator. When I am making calls to the agent I can see the files getting created on the server. I am also able to view these files on the Supervisor Record Viewer.
    The downloaded files are in RAW format and are of 1Kb in size. When I try to convert these RAW files to WAV, it gives an error that the recording file is empty. I have also tried to save these files in WAV using the Supervisor Record viewer. The files can be opened using a media player but I am not able to hear anything. The WAV shows the right audio duration as well.
    Please reply with your valuable suggestions.
    Thank you.
    Joseph Chirayath.

    OK - I don't see any packets except broadcast/mcast in that capture that aren't too or from your PC.
    What vendor/model NIC is this? It may not be enabled for promiscuous monitoring.
    Also do you definately have the PC plugged into the PC port of the phone for network access? You said 'I spanned the ports and ran wireshark.', but you don't need to SPAN anything for this; the phone should send copies of it's packets out the PC port and your PC should see them in the capture.
    And have you reset the phone since span/voice vlan access were enabled (if this was done recently)
    Aaron

  • Working with m2v files extracted from m2t

    Hey everyone. Here's a question...
    First, the background: I'm working with LumiereHD and a JVC GY-100U HDV camera recording in 24p. In the past, I have captured the m2t files into Lumiere, extracted the m2v and aif files, then created mov files for import and editing into FinalCut. This works perfectly..
    Now the other day, I accidentally imported the wrong set of files into Final Cut, those being the m2v files... what I found is that the m2v files will play in the viewer perfectly (and if the aif files of the same name are in the same folder will play with sync sound).
    My question is, since final cut can PLAY the m2v files, is there a timeline codec I can use so that I can edit with these m2v files and save the step of transcoding them to mov files?
    The problem here is that I'm working with ProHD 24p HDV files rather than the standard 30 frame HDV. I know Apple is supposed to be releasing support for 24p in it's next "technical update" but that news was released months ago and there still no sign of it on the horizon... (too bad you couldn't 'modify' one of the existing HDV templates to work in 24 frames).
    There may not be a work around here, but I figured if anyone knew if it would work, someone here would.
    Thanks!

    Almost forgot to mention... I was looking to gain real-time benefit. I can drop the m2v files on the timeline and RENDER them, but that defeats the purpose of working with the native m2v files...

  • Reg: File Extraction from SAP Queries via background job

    Hi ,
    Is it possible to Extract a file to the presentation Server by running the ABAP Query's through SQ01 as a back ground job to generate a file automatically without running it manually.
    I have tried recording the query's thru SQ01 with the File store Option to download it to Excel on the Presentation server.I have used CAll Transaction for SQ01 in the Zprg and submitted that Query to be able to download that Query in the mentioned path .The Zprg was executed via Background job.The file is extracted to the presentation server when the Zprg was executed via Foreground,but its not getting Downloaded to Excel Via Back ground job.
    Please provide me the solution.
    Thanks in advance,
    Prem

    Hi
    u cannot get file in presentation server.. in background..
    if you are scheduling any background jobs it should be out of any gui interface.. like gui_dowload , gui_upload// ur need to replace then with cl_gui_fronend_services Class
    or u have a option of writing file to application server in background using open dataset syntax.

  • Allow direct file extraction from SAP queries and YTRAN report

    To feed transportation planning macro, we use 2 SAP queries under user group
    YUGKO0001SIG,YQRYLO00002SIG,YQRYSD055SIG
    --User created variants for each query to extract with file store option to automatically transfer the extract file to the network.
    --User would like to set up a batch job via SM36 to extract the files and make them available in back ground, which is not possible in todays process
    --Also user need similar functionality for YTRAN report, being able to run it in background and generate a file on the net work

    Hi
    u cannot get file in presentation server.. in background..
    if you are scheduling any background jobs it should be out of any gui interface.. like gui_dowload , gui_upload// ur need to replace then with cl_gui_fronend_services Class
    or u have a option of writing file to application server in background using open dataset syntax.

  • Deleting file from Al11

    Hi,
    How to delete a file manually from AL11 or Application server.
    Thanks,
    Sravanthi

    Frame ur directory path by defining a variable and use the DELETE option for data set to delete ur particular file.
    Example below:
    data:w_outfile(50).
    concatenate '/' sy-sysid '/abc/xyz/'
    into w_outfile.
    concatenate w_outfile 'FileName.txt' into w_outfile.
    delete dataset w_outfile.
    Hope this will help you!
    Rahul

  • Hierarchy update from AL11

    Hi SDNs
    We have a Date hierarchy updated from a flat file data source and the path of the file was from AL11. Now we cant see that file in AL11 directory any more and we want to update the Date history for our Fiscal Year 2011. As we do not have the file available , we are looking for alternate approach of loading these date hierarchies using a flat creation. But before doing that , can we retrieve the files deleted from AL11? If so please explain how...also we already have the Hierarchies loaded till 2010, so can we get the format of Flat file using RSH1 ? Please let me know how to create Hierarchy flat file...
    Thanks
    Sam

    Hi Ravi
    I downloaded the heirarchy using Z program and now I'm trying to update the Fisc Year 2011 data by manually entering the data. But when I downloaded the heirarchy in to flat file, Fisc weeks are not coming in the same format as it existed in Heirarchy. Eg: Our hierarchy has SO/01.2010 as descr amd 201001 as the fisc week node . But when I down loaded it appears like this: SO/20/1001 as the descirption and node name as SO100120. Is there any setting I have to do  (may be in SU01) to download this in same format as it existed in heirarchy ?
    Please advice...

  • File extract critical

    Hello,
    I have datafile extract from DB2 AS/400, which has a text field. And the AS/400 guy is making a file extract which is very big in size
    like the structure is
    col1 length 6
    col2 length 10
    col3 length 2000
    And when he done with the extract from DB2 AS/400 the file becomes over 20GB in size, because the col3 length 2000 is not always 2000 95% of the records are having just 10-20 length.
    But the file is storing all these length 2000 for each records .
    Is there any better way or options or method to generate a file extract from DB2 AS/400, like comma delimited or any method, would be greatly appreciated
    Thanks,

    The guy who implemented the data extraction on DB2 AS/400 should do a TRIM( col3 ) when selecting the data. Maybe it's not just a SELECT-Statement he needs to do the work, but a small RPG Program which writes the data to the file.
    If that's not enough I could ask our DB2 developers on monday how they did it.
    We get our data from a DB2 on AS/400 too. And each field is delimited and has only the necessary length.

  • Delete the file from AL11

    hi all,
    how to delete file from application server(al11)?
    apart from using EPS_DELETE_FILE
    and writing a code  any other go to acheive it
    regards
    venkat

    Hi,
    AL11 is a tool to view files that exist on the operating system of the SAP instance (which I think is Rainer's point). 
    The only way to delete this files is either programatically (with the function module you mention or other ways) or to log onto the operating system directly and delete the file.  In either case you are not deleting them from AL11, you are deleting them from the operating system.
    Regards,
    Nick

  • How to delete a  file from AL11??????

    Hi Friends,
    how can i delete a file from AL11 directory....
    i have found FM's like EPS_DELETE_FILE, EDI_PORT_DELETE_FILE and some more from SAP system but those are not deleting the files....
    let me know if i can write a program for this and if yes then guide me for writing the same....
    Thanks,
    Nagesh.

    reference:http://saplab.blogspot.com/2007/10/sample-abap-program-to-delete-file-from.html
    REPORT ZDELETE.
    Delete a file on the application server.
    PARAMETERS: P_DIR LIKE RLGRAP-FILENAME
    DEFAULT '/usr/sap/trans/', *it will delete files from this dir
    P_FILE1 LIKE RLGRAP-FILENAME.
    DATA: P_FILE(128).
    DATA: W_ANS.
    START-OF-SELECTION.
    CONCATENATE P_DIR P_FILE1 INTO P_FILE.
    check file exists
    OPEN DATASET P_FILE FOR INPUT.
    IF SY-SUBRC NE 0.
    MESSAGE E899(BD) WITH P_FILE 'does not exist'.
    EXIT.
    ELSE.
    CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
    EXPORTING
    DEFAULTOPTION = 'N'
    TEXTLINE1 = P_DIR
    TEXTLINE2 = P_FILE1
    TITEL = 'ARE YOU SURE YOU WANT TO DELETE'
    START_COLUMN = 25
    START_ROW = 6
    IMPORTING
    ANSWER = W_ANS
    EXCEPTIONS
    OTHERS = 1.
    ENDIF.
    CLOSE DATASET P_FILE.
    CHECK W_ANS = 'J'.
    delete
    DELETE DATASET P_FILE.
    IF SY-SUBRC NE 0.
    MESSAGE E899(BD) WITH 'Invalid file name' P_FILE.
    ELSE.
    CLOSE DATASET P_FILE.
    MESSAGE I899(BD) WITH P_DIR P_FILE1 'DELETED'.
    ENDIF

  • How to download a file from AL11 inot Excel format without collapse the col

    Hi,
    Please suggest how to download a file from AL11 to Excel sheet.currenlty all field are merging into single column.I writing this file via using DATASET.
    Regards
    Ricky

    Hi,
       Try this code,
    ==============================================
    TYPES : BEGIN OF ty_emp,
              empno(2) TYPE c,
              empid(10) TYPE c,
              empname(3) TYPE c,
            END OF ty_emp.
    DATA : it_emp TYPE TABLE OF ty_emp,
            wa_emp TYPE ty_emp.
    DATA : pbk TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_file TYPE rlgrap-filename.
    PARAMETERS : p_asfile TYPE rlgrap-filename.
    SELECTION-SCREEN END OF BLOCK b1.
    pbk = p_file.
    OPEN DATASET p_asfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      DO.
        READ DATASET p_asfile INTO wa_emp.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        APPEND wa_emp TO it_emp.
      ENDDO.
    CLOSE DATASET p_asfile.
    Filling the already created file with download PS radiobutton
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
      BIN_FILESIZE                  =
          filename                      = pbk
      FILETYPE                      = 'ASC'
         append                        = 'X'
         write_field_separator         = ' '
      HEADER                        = '00'
      TRUNC_TRAILING_BLANKS         = ' '
      WRITE_LF                      = 'X'
      COL_SELECT                    = ' '
      COL_SELECT_MASK               = ' '
      DAT_MODE                      = ' '
    IMPORTING
      FILELENGTH                    =
        TABLES
          data_tab                      = it_emp
    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.
      ENDIF.
    ==============================================
    Regards,
    Krrishna

Maybe you are looking for

  • Operating system getting reboots randomly when SAP is started

    Hi, We have installed our production system and facing issues after installation and not able to proceed with further configuration. System Details: Product: ECC 6.0 - Kernel - 185 (ABAP+JAVA) Database: DB2 V9.1 FP5 OS: SuSe Linux 10.2 Kernel - 2.6.1

  • How to make Mail stop marking messages from my Contacts as Junk?

    I use Mail to access both my Gmail and Mac mail. Mail has begun marking as Junk messages from my Contacts, including VIPs. In Preferences, I have checked the boxes to have Contacts and Previous Recipients exempt from email filtering, yet they still s

  • RSSM: Checks Authorization Objects for Infoprovider are not activ

    Hello, we have BW 3.5 and we use RSSM Authorization Objects. When we create a new cube with an Infoobject that is authorization relevant, in our development-system in rssm the flags for the checks are automatically activ. When we transport the new cu

  • Communication Channel information in abap tables

    Hi , Could you let me know any abap table which contains information about communication channels in PI 7.0. I have checked the following link Re: XI--Table for communication channels But the table SMPREL3 is not active in our data dictionary. is the

  • How to stop the video from playing automatically

    I've imported video to flash using the Import Video function and one of their skins. How do i set the parameters so the video does not play automatically? Thanks, K