PHYSICAL FILES FOR ABAP PROGRAM

hi friends
i would like to know are there any physical files on os level for the ABAP programs.for example, when we create a customized report for sales in ABAP does SAP also create a corresponding copy on os level. if yes then in which file system .?
we have ECC 5.0 on AIX & use oracle 9i.
thanks in advance.
regards.

imran mohd wrote:
> hi friends
>
> i would like to know are there any physical files on os level for the ABAP programs.for example, when we create a customized report for sales in ABAP does SAP also create a corresponding copy on os level. if yes then in which file system .?
>
>
> we have ECC 5.0 on AIX & use oracle 9i.
>
> thanks in advance.
>
> regards.
The code you write in ABAP is not stored on OS-level (at least not in an ABAP-stack system) - it's contained in the database. As for the 'copies' your management wishes (for some ambigous reason) to have - there's no need. The code you write is versionised, so that every change made to the code is automatically documented when you press 'Save'.
That was answering a 'basic' question - but you have made me very curious now: would you mind to explain why you would want a 'copy' of your custom code on OS-level? Any special reason??
Edited by: Mylène Dorias on Jun 9, 2010 1:37 PM typo

Similar Messages

  • Unzip files using ABAP program

    Hi All,
    Can anybody guide me how to Unzip a .zip file using ABAP program... Appreciate your immediate reply...
    actually, my scenario is to check whether zip file is created in appl.server or not.., and if zip file created then i need to check whether its blank file or any content exist inside the file...
    Thanks in advance
    Bhasker

    hi
    good
    parameters: command(236) lower case.
    data: std_lines(255) occurs 0 with header line.
      call function 'RFC_REMOTE_PIPE'
        destination 'SERVER_EXEC'
        exporting
          command = command
          read = 'X'
        tables
          pipedata = std_lines
        exceptions
          communication_failure = 1
          system_failure = 2.
    You should put your Unix command in the command parameter. "gunzip /yourfilepath/yourfilename" works on my Unix system. Once you determine the proper Unix command, you should be set. This technique is also nice because it provides you with echos back from Unix in table std_lines. For more complex Unix activity, you may want to consider throwing together a Unix script, and calling that via this code.
    reward point if helpful.
    thanks
    mrutyun^

  • How to print external file using ABAP program

    Hello
    I want to print an external file which is located in server (
    20.99.0.18\GUI\xyz\8.0QUALITY\QM_TS.DOC) .....i want to print these kind of files(which i have retrieved from table 'DRAW' field 'filep' )......i need to print these files using ABAP program.
    thank you
    Vikram.
    Message was edited by:
            Vikram Bojja

    extract the data and pass to script or smartform for printing

  • Logic to run Unix script file through ABAP program

    Hi Friends,
    I need to run the Unix script file from abap program, for that user provided file directory of application server.
    Is there any logic/FM  to run through abap programing.
    pls can any one provide logic.
    Thanks,
    Ravi

    report zsrchsap.
    *-This is a demo report for Search Sap
    *-Author : Sandeep Kulkarni
    *-Date : 09/20/2001
    parameters : p_sfile(60) lower case
              "File to be moved
              "Eg : /home/in/SFILE1.txt
                p_dfile(60) lower case.
              "File's Destination
              "Eg: /home/archive/SFILE1.txt
    data : t_btcxpm
           like btcxpm occurs 0,
           p_addparam
           like sxpgcolist-parameters.
      concatenate
      '/home/ABAP/scripts/Archive_file.sh'
      p_sfile
      p_dfile
      into p_addparam separated by space.
      refresh t_btcxpm. clear t_btcxpm.
      call function 'SXPG_CALL_SYSTEM'
        exporting
          commandname = 'ZSHELL'
          additional_parameters = p_addparam
        tables
          exec_protocol = t_btcxpm
        exceptions
          no_permission              = 1
          command_not_found          = 2
          parameters_too_long        = 3
          security_risk              = 4
          wrong_check_call_interface = 5
          program_start_error        = 6
          program_termination_error  = 7
          x_error                    = 8
          parameter_expected         = 9
          too_many_parameters        = 10
          illegal_command            = 11
          others                     = 12.
      if sy-subrc = 0.
        write : /
        'File',p_sfile,'moved to',p_dfile.
      else.
        write : / 'Error Occured'.
      endif.

  • How many softwares are there to create a setup file for java programs

    Hi, i am new to java
    I want to know how many softwares are there to create a setup file for java programs.
    I know one software i.e java launcher to create a setup file.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.
    And don't think that i am wastiing ur time with this question .
    Help me regarding this topic.
    Thanks in Advance

    superstar wrote:
    I want to know how many softwares are there to create a setup file for java programs.13, no wait, 42.
    I know one software i.e java launcher to create a setup file.You should clearly identify what you think you already know.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.Is this the one you talked before, or is this different?
    And don't think that i am wasting ur time with this question .Why should I not think that?

  • How to execute application server file from abap program

    Hi Friends,
    i have a requirement to execute application server file using abap program.
    i got a file directory like '/home/im3/hrintf/xxx.sh' , it's of unix file, so they want me to execute through abap program.
    pls suggest me with relevant logic.
    Thank you.
    Regards
    Ramesh M

    Define the external command in SM49/SM69
    Try with SXPG_CALL_SYSTEM or SXPG_COMMAND_EXECUTE
    Also check this link
    link:[Execute Unix Script|http://searchsap.techtarget.com/tip/0,289483,sid21_gci774071,00.html]

  • Enable to create ldt file for specific program using FNDLOAD submit request

    hi ALL ,
    i am trying to create .ldt file for specific program but the things is that following program creating .ldt file for all the program which are available on instance .
    please suggest me if i did anything wrong in my code ...
    DECLARE
    req_id fnd_concurrent_requests.request_id%TYPE;
    BEGIN
    fnd_global.apps_initialize (user_id => 1012001,
    resp_id => 20420,
    resp_appl_id => 1
    req_id :=
    fnd_request.submit_request
    (application => 'FND',
    program => 'FNDLOAD',
    description => NULL,
    start_time => NULL,
    sub_request => FALSE,
    argument1 => 'DOWNLOAD' ---Mode - UPLOAD
    argument2 => '@fnd:patch/115/import/afcpprog.lct'
    -- -LCT File
    argument3 => '/tmp/concqueues.ldt' -- -
    argument4 => 'PROGRAM',
    argument5 => 'XXFUJI'
    ,argument6 => 'XXSAG_FILE_DATA'
    DBMS_OUTPUT.put_line ('req_id= ' || req_id);
    COMMIT;
    END;
    thanks in advance
    sagar

    thanks for your reply ... Alex
    ... but... no i don't wanna create concurrent program for fndload neither i want to use FNDLOAD script ... the above FNDLOAD Submit request program worked for me and using that i have created ldt but my problem is that program is creating ldt for all program which are registered , it's not picking my my file which i pass as a parameter ...please have look into my code ...
    and please suggest me ..
    thanks
    sagar

  • Assign Logical file name for the physical file path through Program

    Hi all,
    I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
    Now I need to assign a logical file name for the physical file path through the program.
    Is there any FM or any other method to assign the same.
    Gaurav

    I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

  • XML files from ABAP programs

    Hi everyone!
    Is there a way in ABAP to output XML files?  Pls. send code/ function module if any.
    From ABAP programs, we are sure that we can output TEXT files, but how about XML files?
    The significance of this question is related
    Currently we are using XI to interface SAP and AMS, this question for ABAP to produce XML file arose, if for example, the XI server is down and we have to still send data from one system to another. IDocs can also produce XML files, pls confirm.  Earlier however, we have preferred XI rather than IDocs to do this.  Anyway, any idea regarding this scenario will be greatly appreciated. 
    Thanks and God bless!
    Celeste

    Hi,
    Please check this sample codes from other thread.
    1. itab --- > xml
        xml ---> itab.
    2. This program will do both.
    (just copy paste in new program)
    3.
    REPORT abc.
    *-------------- DATA
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    DATA : BEGIN OF itab OCCURS 0,
    a(100) TYPE c,
    END OF itab.
    DATA: xml_out TYPE string .
    DATA : BEGIN OF upl OCCURS 0,
    f(255) TYPE c,
    END OF upl.
    DATA: xmlupl TYPE string .
    ******************************* FIRST PHASE
    ******************************* FIRST PHASE
    ******************************* FIRST PHASE
    *------------------ Fetch Data
    SELECT * FROM t001 INTO TABLE t001.
    *------------------- XML
    CALL TRANSFORMATION ('ID')
    SOURCE tab = t001[]
    RESULT XML xml_out.
    CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
    EXPORTING
    TEXT = xml_out
    * IMPORTING
    * LENGTH =
    TABLES
    FTEXT_TAB = itab.
    *-------------- Download
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filetype = 'BIN'
    filename = 'd:xx.xml'
    TABLES
    data_tab = itab.
    ******************************* SECOND PHASE
    ******************************* SECOND PHASE
    ******************************* SECOND PHASE
    BREAK-POINT.
    REFRESH t001.
    CLEAR t001.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = 'D:XX.XML'
    filetype = 'BIN'
    TABLES
    data_tab = upl.
    LOOP AT upl.
    CONCATENATE xmlupl upl-f INTO xmlupl.
    ENDLOOP.
    *------------------- XML
    CALL TRANSFORMATION ('ID')
    SOURCE XML xmlupl
    RESULT tab = t001[]
    BREAK-POINT.
    Regards,
    Ferry Lianto

  • Where do i get sapshow files for ABAP

    anybody help me out in getting sapshow files for ABAP

    Hi,
        If u want to see created ABAP related programs go for SE80 Tcode and
    local prv objects         XXXXXXXXX(username) .
    clisk on display it will gives u all the temp programs  which u have created in your user.If u want to see all the programs select development class radio button and pass the development class name and then click on display.            
    or if u want all existing ABAP sample programs type ABAPDOCU in address bar and click enter it will sohw all sample abap programs.
    Please reward Points,
    Regards,
    Sunil

  • Import issue for ABAP program in Production Server ?

    Hi Experts,
    I have an ABAP program which gets executed properly in BW Development server but getting the following error when I am trying to execute it in the BW Production while  I could activate the program successfully.
    Kindly help me to resolve this issue.
    Thanks in advance !!!
    Regards,
    Gokulkumar RD

    Hi Golkul,
    Can you debug the program while execute?
    I think there is some hardcoding in the program for checkiing the client and then raised a custom message in the program.
    Can you share the coding of the prorgam if possible?
    Try to check for any messages raised in the program. Also click on the on the message pop up and see the details on the message and let us know.
    Thanks
    Amit

  • How to get Access key for ABAP Program development in HANA Studio

    Hi,
    I have got instance for ABAP on HANA development system.
    But while creating new program it is asking me for Access key, since I do not have user id pwd for service market place I couldnt able to create the access key.
    Can any one suggest the way to create ACCESS KEY??
    Thanks,
    Ram

    Dear Ram,
    it seems that you need to follow the chapter 6.1 in the documentation...:
    Kind regards, Stephan

  • TCode for abap program performance testing

    Hi
    I have tuned a abap program which was consuming lot of time. I still have the old version with diff name. I would like to know the tcodes where in i could see the performance of the program.
    regards
    Balaji

    Hi balaji,
    This is kiran Kumar.G.I will give some steps.you better to follow those steps to get ur report performance.
    If u r satisfy with my answer give me REWARD POINTS.
                HAVE A NICE DAY.
    STEPS:
    1.OPEN UR REPORT IN SE38 TRANSACTION.
    2.SELECT THE MENU PATH
      UTILITIES-->MORE UTILITIES-->RUNTIME ANALYSIS
    3.SELECT THE PROGRAM RADIO BUTTON AND GIVE UR REPORT NAME THERE.AND CLICK <b>EXECUTE</b> BUTTON
    4.IT WILL TAKE U TO ANOTHER SCREEN THERE U CAN EXECUTE UR REPORT AND COME BACK.
    5.CLICK ON ANALYZE BUTTON.(PRESENT IN BELOW OF THE SCREEN).
    THEN U WILL GET ONE GRAPH
    NOTE:
    1.IF IT IS RED UR PROGRAM IS HAVING VERY POOR PERFORMANCE
    2.IF IT IS GREEN IT IS OK.
    ABAP GRAPH : TELLS UR CODING IN THE REPORT.
    DATABASE  GRAPH : U R RETREIVE DATA FROM DATABASE IN UR REPORT..
    SOME STEPS USED TO IMPROVE UR PERFORMANCE:
    1.     Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2.     Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3.     Design your Query to Use as much index fields as possible from left to right in your WHERE statement
    4.     Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    5.     Avoid using nested SELECT statement, SELECT within LOOPs.
    6.     Avoid using INTO CORRESPONDING FIELDS OF TABLE. Instead use INTO TABLE.
    7.     Avoid using SELECT * and Select only the required fields from the table.
    8.     Avoid nested loops when working with large internal tables.
    9.     Use assign instead of into in LOOPs for table types with large work areas
    10.     When in doubt call transaction SE30 and use the examples and check your code
    11.     Whenever using READ TABLE use BINARY SEARCH addition to speed up the search. Be sure to sort the internal table before binary search. This is a general thumb rule but typically if you are sure that the data in internal table is less than 200 entries you need not do SORT and use BINARY SEARCH since this is an overhead in performance.
    12.     Use "CHECK" instead of IF/ENDIF whenever possible.
    13.     Use "CASE" instead of IF/ENDIF whenever possible.
    14.     Use "MOVE" with individual variable/field moves instead of "MOVE-
    CORRESPONDING", creates more coding but is more effcient.
    Regards,
    Kiran Kumar.G

  • Transport for ABAP Program

    Hello,
    Can anyone tell me how I can create a transport for and ABAP Program. It is currently in DEV but needs to go to test.
    Thanks

    I think you must have created this object as a Local Object. You need to do 2 things here :
    Reassign the Development Class to a Z Dev Class.
    Use trx code SE38. On the first screen, specify the program name & click on Goto-->Object Directory Entry.
    You will get a popup here, change the Dev Class to whatever you have on your side, this will prompt you for a Workbench Transport request. Follow up with Basis to get it to Test.

  • Creating Installer Files for SAP Programs

    Hi All,
    I have created one Z* transaction and I would like to create a installer file for this transaction. It includes tables, screens and reports and I would like to make it a installer file. All these objetcs are under one transport request. Any kind of help would be great in this regard.

    Hi,
    There is no concept of installer files in SAP. You can only transport the request to a different system and can start running the transaction code in the system.
    ABAP cannot be running as a stand alone EXE file, it needs the SAP environment.
    REgards,
    Ravi
    Note : Please mark all the helpful answers

Maybe you are looking for

  • Problem with substring or println

    Hi, I have the following code, and it basically is looking for text between <title></title> tags. I use substring to grab the code between the two tags, and debugging shows it is correct. However, when I output it, my code stops and I just have white

  • P2 Users might like to take a look at this .... (P2 Forge)

    I have just purchased this after a short trial and it is a very comprehensive application that does a lot more than P2 stuff.... Two main components (loaded with tools) P2 Viewer , P2 Ingest. Will playback what ever Codecs you have loaded in your sys

  • Installing Windows 7 On an X201

    I want to do a fresh installation of Windows 7 on an X201.  When I talked to tech support they refered me to: http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-66020 Which is: Installation instructions for Windows X

  • N80 Latest Firmware

    I have a UK N80 on a voda contract V3.0617.0.6 03-05-2006 RM-92 (42.02) I have read the forums on here about the different variants and I've been to carphone warehouse for an upgrade, but so far no joy. CPW told me that I had the latest firmware as d

  • How to swap CS5 Design Premium Mac serial no for Windows serial no? [was: Yes or no? If yes how so? If no why?]

    Am i able to switch my Mac OS serial to a Microsoft serial without having to buy a new edition?