Report to scan a program

Hello ABAPers,
i want to develop a program which will take the Program name as input and output will be list of all variables which are used in the program. i want to use this list for some other purpose. The output list should contain all variables and internal tables and class definitions etc.
can any one give some idea.
Thanks a lot in advance..
Rgds,
Mohan

i know this program will scan the report and give the list of lines where we use a particular string. but i want list of variables only. how to find a variable which is used in a program
Rgds,
Mohan

Similar Messages

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • About report groups and read programs for the object EC_PCA_SUM

    Hi Friends,
    Hope every one is doing well..!
    I've an issue with the report groups and read programs for the object EC_PCA_SUM. As we know that the report groups and read programs available for this object in the application customizing are used to analys the archived data.
    That is these programs comes into picture after the archiving operation.
    For more information, you can visit the below web site:
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/e4/69f353b75a11d1b5850000e82debc6/frameset.htm]
    Now, my question is how would I check the code for these analysing programs available for this object. I can't see this in SE38.
    Thanks to reply for this..
    Full marks will be awarded.
    Regards,
    Shamim

    Hi Lakshman,
    Thanks for the reply.
    Hi Deiter,
    You're right.
    Your provided transaction "GR55" helped me to find out the program name for a particular group. However, these are just Write and Painter reports.
    But can you please let me know the functionality of these report groups ?? what are these used for ???
    Do we have these programs for other archiving objects like CO_ITEM,CO_ML_BEL,MM_MATBEL,CO_ORDER,
    PP_PLAN,PP_BKFLUSH ??
    More points will be awarded.
    Thanks a lot.
    Regards,
    Shamim
    Edited by: S H A M I M on Sep 19, 2008 3:19 PM

  • Firefighter log report does not show programs executed under SA38/SE38

    We are on version 400_700 of Compliance Calibrator.  When executing the log report, the report name only shows "RFC".  We are testing SA38 & SE38.  I expected the report to display the program name.  Is there something set up wrong or are my expectations too high?  Thanks!

    Hi Vikki,
    I dont think you can see the programs executed under SA38/SE38.
    The functionality of Virsa Firefighter allows you to see the following log reports:
    Firefight log summary
    Reason/Activity report
    Firefight Transaction usage report
    Invalid Firefight ids/Owners/Control
    Log Report
    SOD conflicts in Firefighter
    Hope this helps.
    Thanks,
    Kiran Kandepalli.

  • How to obtain the alv reports in the dilog programing.

    how to obtain the alv reports in the dialog programming, that is when the push button in the screen in clicked it must be directed to the report, where to write the code for the report.

    Hi
    Use LEAVE TO LIST PROCESSING and develop your normal ALV dispaly as usual. System automatically takes care of this.
    I tried for normal report but try above even in the case of ALV reports
    Cheerz
    Ram

  • How to get report title in the program

    I want to get report title in the program for changing it according to different case. thanks.
    Moderator Message: Basic Question.
    Edited by: kishan P on Sep 15, 2010 10:05 AM

    Use the system variable SY-TITLE.
    if this = that.
      sy-title = 'this and that'.
    else.
      sy-title = 'something else'.
    endif.
    Regards,
    Rich Heilman

  • How to customize a seeded stanadrd report registered as java program

    Hi
    I am using oracle apps r12.1.2.
    Here i have a requirement to customize a report Ie (i need to take a copy of a report and after that i need to add two parameter to that report).
    I have Copied the report and i have added two parameter to that report. Now this program is registered as java concurrent program. When i ran the program i didnt get any output. The concurrent finished with normal.
    Can any one pls tell me the steps to customize or where i need to change the things in java concurrent program to get the output.
    I have used the same executable ''XDODTEXE'' but with different shortname so in some where i need to change.
    Can any one pls guide me the steps to do.
    Thanks & Regards
    Srikkanth

    Hi Sir,
    Thanks for your reply.
    I have seen the docs as you mentioned.
    My doubt is if we customize Java concurrent program means we need to modify class file to refer our short name i think so.
    so can you pls tell me what are the changes or what to do when we copy a standard java concurrent program.
    In the documents i can't able to find where the Main class file path of the Java concurrent program.
    My standard JAVA CP Executable file name is "JCP4XDODataEngine" I have seen the class file but there is no short name of the concurrent is referred. Can you pls tell me where i can get the class file that used to call or declare the parameter list and cp short name.
    Regards
    Srikkanth

  • Need to report last scan start and end times

    I need a report that shows each device's last scan date, last scan start time, last scan end time, and last scan upload. I can find/create a report that shows the last scan date, but am unable to find a way to get a report that shows the start, end and upload date/time. I know that informations exists somewhere because I can see it in the "show properties - Inventory" page of each individual device. However, I don't want to go to every device and manually record this info. in a spreadsheet. Is there a way to generate a report with this info?

    atobias,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Calling custom report from seeded spawned program

    Hi,
    I dont know how to call a custom report(ie.,My own report) when Dunning letter generate is kicked off rather than calling the original programs(ie., Dunning letter print from dunning letter generate etc).
    thanks in advance.

    Hello vishwam,
    as I remember, there is an option to keep the dunning conc request assigned but change to executable to your own.
    Keep in mind that this way is not fully supported, but it should work.
    Regards
    Volker

  • LV 8 problem with New Report.vi in compiled program

    I'm a novice LV programmer trying to finish my first project.  The project is the automation of an air flow stand using field point for acquisition/control.  Have the code written and everything seems to work fine until I compile.  Specifically, I get an error when I attempt to open an Excel template (XLT) using the New Report.vi included in the report generation add on.  When the compiled executable run I get a message with the header "Error 7 occured at Open VI reference in New Report vi>report2.vi>auto air flow testing.vi .   And then in the body of the message is says:
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.
    NI-488:  Non-existent board.
    VI Path: C:\builds\auto air flow\My Application\auto air flow 1a.exe\Excel_Open.vi
    Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared libr
    The input to the New Report.vi template connector is C:\Air Flow Data Files\templates\psc.xlt.  Again this works in design so I believe the formatting is correct and the file does exist.
    Why would this work in design environment but not the compiled program?  I recompiled several times and even tried reinstalling the report generation tool kit. Any help or pointers would be greatly appreciated. I will be happy to supply more info if necessary.   thanks. 

    Okay, I found the solution by doing a search here on 'Error 7".  My thanks to those who have posted the solution in the past.  Regards

  • Can't load Facebook on Firefox . Suspect malware/trojan. Downloaded 3 free scan/remove programs, all end in .exe and my Mac wants to know which "Application" to use to run them. Help?!

    Firefox 3.6.19
    Mac OS 10.4.11
    attempted the''' 3 free options''' listed here
    http://support.mozilla.com/en-US/kb/Firefox%20never%20finishes%20loading%20certain%20websites?s=cannot+load+page&as=s
    when I click on any of them, they don't just open/run. they want to know what application to use to open them. do these work for my Mac, or is there another free alternative?
    Here's what the Mozilla page above said
    Firefox never finishes loading certain websites
    If specific websites (not all) start to load, but never finish (i.e. The Firefox activity indicator may spin for several minutes, or the status bar may show "Done" on a blank page), it is either because of a software trojan called Vundo, or a file being in the wrong format.
    Table of Contents
    * Vundo trojan variant
    o Search for malware
    o More help
    * JavaScript file format
    Vundo trojan variant
    A variant of the Vundo trojan is known to cause Firefox to have problems loading certain high-traffic sites, including Google, Yahoo, MySpace, Facebook, and more.
    Search for malware
    Not all variants of the Vundo trojan can be detected or removed by malware scanners. However, you should scan your computer for infections first:
    * Run the Microsoft Malicious Software Removal Tool.
    * Run a full system virus scan with something other than your normal program:
    o A '''free solution online is Kaspersky's online scanner'''.
    * Run a full system spyware scan with something other than your normal program:
    o MalwareBytes' Anti-Malware
    o '''SUPERAntiSpyware''' is known to detect many variants of Vundo, and has a free version.
    o '''Spybot S&D''' is a well-known free solution.
    More help
    If you're having a problem loading sites other than the one described above, see the Error loading websites article to see if it addresses your problem. You can also check your Internet security software - resetting permissions for Firefox can often fix similar problems.
    There can be other causes of the symptoms described above. Before attempting these instructions, try the methods described in the Basic Troubleshooting article to see if they will address your problem.
    If you still have problems after scanning, you may ask a support question.

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • Calling a report from module pool program

    Hi all,
            I had a requirement where I need to call a report from the module pool program where in when we click REPORT button, it should display the report output in the another screen.
    Can we do by calling screen after pushing REPORT button. If so, where we should write that code ( In pbo or pai). Please give me an idea.
    Thanking you,
    Regards,
    Murali Krishna T

    Use submit syntax.
    Press F1 on submit, Donot use return statement with it.
    If so, where we should write that code ( In pbo or pai).
    Please understand about these two events before doing the requirement.

  • SUBMIT a report that uses screen programming

    I have a report which uses screens created in screen painter and not selection screens.
    currently the submit command supports only selection screens.Can you tell me how to achieve this for screens created by screen painter?

    SUBMIT is for type 1 programs only - i.e. reports with selection screens. If you've any dialog in there, SUBMIT simply won't work. CALL TRANSACTION is one route, as others have suggested, via BDC. But if the program your trying to run is a Z program, why not rewrite it so that the business functionality and screen handling are seperated - then you can call the business functionality direct from your calling program. (See MVC pattern for more detail or the whole programming concept of layered design).
    If the program you're wanting to run isn't your own, then look for BAPIs, FMs etc. some kind of API, and call them.
    matt

  • Error report on scanning HP officejet 5610 after installing os x 10.9.4

    Hi,
    I have an iMac intel mid 2007 on which I just installed 6 gb ram and upgraded to os x 10.9.4 Mavericks. In so doing I now have an issue with my Offficejet 5610 all in one giving me an error report when I try to scan. I have already done the HP upgrade but the scanner won't cooperate. Anyone have this issue? He is a copy of the report:
    Process:         HP Scan [1454]
    Path:            /Applications/Hewlett-Packard/HP Scan.app/Contents/MacOS/HP Scan
    Identifier:      com.hp.scan.app
    Version:         ???
    Code Type:       X86 (Native)
    Parent Process:  launchd [160]
    Responsible:     HP Scan [1454]
    User ID:         501
    Date/Time:       2014-07-03 14:24:35.523 -0400
    OS Version:      Mac OS X 10.9.4 (13E28)
    Report Version:  11
    Anonymous UUID:  39C62E65-7299-9766-2F98-65EF5AECD6DF
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /Library/Printers/hp/Frameworks/HPWorkflowsManager.framework/Versions/A/HPWorkf lowsManager
      Referenced from: /Applications/Hewlett-Packard/HP Scan.app/Contents/MacOS/HP Scan
      Reason: image not found
    Binary Images:
    0x8fead000 - 0x8fedf417  dyld (239.4) <FF5ED937-CC28-3FEF-BCAF-750B1CDBAE36> /usr/lib/dyld
    0x919fd000 - 0x9261bff3  com.apple.AppKit (6.9 - 1265.21) <1D31697B-6F33-3239-BACE-5D1361B1F79A> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x97b1e000 - 0x97e49ffe  com.apple.Foundation (6.9 - 1056.13) <C33A8984-7E97-36BE-B842-EE4FE35F53EA> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    Model: iMac7,1, BootROM IM71.007A.B03, 2 processors, Intel Core 2 Duo, 2 GHz, 6 GB, SMC 1.20f4
    Graphics: ATI Radeon HD 2400 XT, ATI,RadeonHD2400, PCIe, 128 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F7FBAFFFFFFFFFF, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    Memory Module: BANK 1/DIMM1, 4 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F7F7FF70000, 0x00004B363435315536344535363637460000
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (5.10.131.36.16)
    Bluetooth: Version 4.2.6f1 14216, 3 services, 22 devices, 1 incoming serial ports
    Network Service: Built-in Ethernet, Ethernet, en0
    Serial ATA Device: WDC WD2500AAJS-40RYA0, 250.06 GB
    Parallel ATA Device: OPTIARC  DVD RW AD-5630A
    USB Device: Keyboard Hub
    USB Device: Apple Keyboard
    USB Device: Built-in iSight
    USB Device: Bluetooth USB Host Controller
    USB Device: Officejet 5600 series
    USB Device: IR Receiver
    Thunderbolt Bus:
    Thank you for your help.
    Louise

    You might need to update your Scanner drivers.
    Open System Preferences > Printers & Scanners
    Do you see your Scanner?
    If not, you need to add scanner. If your scanner is supported, it should ask if you want to download software. You can check this list to see if your scanner is supported.
    OS X: Printer and scanner software available for download
    HP Printer Drivers v.2.16.1 for OS X
    Instead of using the scanner software....
    Open Preview in Applications.
    Under File, do you see Import from "name of scanner"
    If yes, you can use Preview.
    If this fails try Image Capture in Applications.

  • A question about a piece of scan port program

    The program as the following:
    import java.net.*;
    import java.io.*;
    public class Scan
      public static void main(String[] args)
        String host;
        Socket theTCPsocket;
        InetAddress hostAddress;
        if (args.length < 1)
          host = "localhost";
        else
          host = args[0];
        try
          hostAddress=InetAddress.getByName(host);
       for (int i = 0; i < 65535; i++)
            try
              theTCPsocket = new Socket(hostAddress, i);
              System.out.print("TCP port " + i + " of " + host + " is open");
              switch(i)
                case 21:
                System.out.println("(maybe there is a FTP server is running)");
                break;
                case 23:
                System.out.println("(maybe there is a TELNET server is running)");
                break;
                case 25:
                System.out.println("(maybe there is a SMTP server is running)");
                break;
                case 80:
                System.out.println("(maybe there is a HTTP server is running)");
                break;
                case 110:
                System.out.println("(maybe there is a POP server is running)");
                break;
                case 139:
                System.out.println("(This server's netBIOS is reachable)");
                break;
              theTCPsocket.close();
            catch (IOException e)
         catch (UnknownHostException e)
          System.err.println("the hostname:"+host+"is unknown or can not be analysed!");
    }  The question is: I don't know why the System.out.print("TCP port " + i + " of " + host + " is open"); in for (int i = 0; i < 65535; i++)
    try
    theTCPsocket = new Socket(hostAddress, i);
    System.out.print("TCP port " + i + " of " + host + " is open"); is not run everytime when i equal from 0 to65535,but it just run when i=21 and etc?
    Please help me!
    Thanks!
    yours
    spark
    Message was edited by:
    spark077

    Don't run this program except on your own computer(s), but the answer is that if the port isn't being listened to, the Socket constructor throws an IOException which you are handling with the following code:
        {}and then continuing with the loop. So if the port isn't being listened to, nothing will be printed.

Maybe you are looking for

  • Regarding PO Creation for a new plant

    Dear MM expets, In IDES Version I have created a new company code, plant and done the necessary configuaration settings and assignments. When I am trying to raise a PO, It is showing Earror message "Account assignment mandatory for material XXXX" Ear

  • Is it possible to Configure TDS  for Customer

    Dear Experts              pls consider this as an example 1.customer invoice  f-22       customer a/c dr 18000       Tds a/c          dr 2000              to                 sales a/c               20000 2.At the time of incoming payment f-28        

  • CRM survey suite - Test URL - Blank Screen

    Hi All,     I generated the URL for a survey but when when I try to test it gives a blank screen. The system I am testing is a system copy of another system. In the source system the URL works fine. I have made changes in the xml file to point to the

  • Why we are using certificate in infopath?

    Hi All, why we are using certificate in infopath? Thanks in advance!

  • Updated controller but not showing right version

    I just updated my 4404 controller with 7.0.116.0. After I rebooted and check the version number on the monitor page, it tells me its still version 7.0.98.0. The weird thing is, is that the Emergency Image Version is what changed to version 7.0.116.0.